.svs, .tifaperioAperio slides are stored in single-file TIFF format. OpenSlide will detect a file as Aperio if:
ImageDescription tag starts with Aperio.| Tag | Description |
|---|---|
ImageDescription |
Stores some important key-value pairs and other information, see below |
Compression |
May be 33003 or 33005, which represent specific kinds of JPEG 2000 compression, see below |
NewSubfileType |
1 for the label associated image, 9 for the macro associated image |
ImageDescriptionFor tiled images, the ImageDescription tag contains some dimensional
downsample information as well as what look like
offsets. Additionally, vertical line-delimited key-value pairs are
stored, in at least the full-resolution image. A key-value pair is
equals-delimited. These key-values are stored as properties starting
with “aperio.”. Currently, OpenSlide does not use any of the
information present in these key-value fields.
http://www.aperio.com/documents/api/Aperio_Digital_Slides_and_Third-party_data_interchange.pdf page 14:
The first image in an SVS file is always the baseline image (full resolution). This image is always tiled, usually with a tile size of 240x240 pixels. The second image is always a thumbnail, typically with dimensions of about 1024x768 pixels. Unlike the other slide images, the thumbnail image is always stripped. Following the thumbnail there may be one or more intermediate “pyramid” images. These are always compressed with the same type of compression as the baseline image, and have a tiled organization with the same tile size.
Optionally at the end of an SVS file there may be a slide label image, which is a low resolution picture taken of the slide’s label, and/or a macro camera image, which is a low resolution picture taken of the entire slide. The label and macro images are always stripped.
Some Aperio files use compression type 33003 or 33005. Images using
this compression need to be decoded as a JPEG 2000 codestream. For
33003: YCbCr format with no MCT, possibly with a chroma subsampling of
4:2:2. For 33005: MCT, which OpenJPEG decodes into RGB. Note that the TIFF
file may not encode the colorspace or subsampling parameters in the
PhotometricInterpretation field, nor the YCbCrSubsampling field,
even though the TIFF standard seems to require this. The correct
subsampling can be found in the JPEG 2000 codestream.
The slide ICC profile is taken from the ICC Profile tag of the first
image.
There are up to three stripped images: a thumbnail image, which is always the second image in the file; and label and macro images at the end of the file, with subfile types 1 and 9 respectively.
labelmacrothumbnailAll key-value data encoded in the ImageDescription TIFF field is
represented as properties prefixed with “aperio.”.
openslide.mpp-xaperio.MPPopenslide.mpp-yaperio.MPPopenslide.objective-poweraperio.AppMaghttps://openslide.cs.cmu.edu/download/openslide-testdata/Aperio/