.dcmdicomOpenSlide will detect a file as DICOM if:
.tif or .tiff filename extension or cannot
be parsed as a TIFF file.1.2.840.10008.5.1.4.1.1.77.1.6).OpenSlide uses libdicom to parse and load DICOM files.
OpenSlide non-recursively scans the containing directory for other DICOM files with the same Series Instance UID attribute value as the specified file. It uses the Image Type attribute of each matching file to determine the file’s role within the whole slide image:
| Role | Allowed Image Type values |
|---|---|
| Slide level | ORIGINAL\PRIMARY\VOLUME\NONEDERIVED\PRIMARY\VOLUME\NONEDERIVED\PRIMARY\VOLUME\RESAMPLED |
| Associated image | ORIGINAL\PRIMARY\LABEL\NONEORIGINAL\PRIMARY\OVERVIEW\NONEORIGINAL\PRIMARY\THUMBNAIL\RESAMPLEDDERIVED\PRIMARY\LABEL\NONEDERIVED\PRIMARY\OVERVIEW\NONEDERIVED\PRIMARY\THUMBNAIL\RESAMPLED |
| Ignored | All others |
If multiple files in the directory have the same SOP Instance UID, the extra copies are ignored.
A file’s Dimension Organization Type can be TILED_FULL, TILED_SPARSE,
or 3D. These transfer syntaxes and photometric interpretations are
supported:
| Pixel encoding | Transfer Syntax UID | Allowed Photometric Interpretation values |
|---|---|---|
| Uncompressed little-endian | 1.2.840.10008.1.2.1 |
RGB |
| JPEG baseline | 1.2.840.10008.1.2.4.50 |
RGBYBR_FULL_422 |
| JPEG 2000 | 1.2.840.10008.1.2.4.91 |
RGBYBR_ICT |
| JPEG 2000 lossless | 1.2.840.10008.1.2.4.90 |
RGBYBR_ICT |
The slide ICC profile is taken from the ICC Profile attribute of the highest-resolution image. Associated image ICC profiles are taken from the ICC Profile of the associated image.
| Associated image | Allowed Image Type values |
|---|---|
label |
ORIGINAL\PRIMARY\LABEL\NONEDERIVED\PRIMARY\LABEL\NONE |
macro |
ORIGINAL\PRIMARY\OVERVIEW\NONEDERIVED\PRIMARY\OVERVIEW\NONE |
thumbnail |
ORIGINAL\PRIMARY\THUMBNAIL\RESAMPLEDDERIVED\PRIMARY\THUMBNAIL\RESAMPLED |
Many DICOM attributes are represented hierarchically as properties prefixed
with “dicom.”.
openslide.mpp-xopenslide.mpp-yopenslide.objective-powerhttps://openslide.cs.cmu.edu/download/openslide-testdata/DICOM/