Key points

Whole slide imaging (WSI) allows the creation of digital images of entire histology and cytology slides with sufficient detail to allow viewing at varying magnifications comparable to that achievable with a conventional light microscope.

Acquiring digital WSIs requires dedicated hardware systems which create composite images of individually acquired tiles or lines. Such slide scanners typically include slide loading mechanisms, a motorized stage, a light path, image capture device and software to create the composite image. Although the data files which represent these images are large, software techniques enable these images to be viewed on screen in a manner analogous to how a slide may be viewed on a physical microscope.

Digital representation of slides enables histology images to be distributed, viewed and shared over computer networks rather than relying on physical handling of the glass slide. This is likely to represent the future of histology and cytology departments.

Introduction

Whole-slide imaging refers to the creation of a digital representation of the image presented by a glass histology slide, at a level of detail comparable to that seen with a light microscope. ‘Digital pathology’ is a broader term encompassing related processes which maximize the practical utility of such images, including the storage, viewing, annotation and use in applications including educational, research and clinical practice.

Benefits of digital images over physical glass slides

Digital images have several advantages over glass slides. Unlike a physical object, a digital image file can be moved from one physical location to another almost instantaneously. Indeed, an image file can be viewed at the same time by two, or more pathologists, in different locations and potentially separated by thousands of miles. With appropriate data-security arrangements, digital images should be more durable than glass slides which are physical, fragile and prone to fading. The overhead of sorting, filing, storing and retrieving glass slides is particularly burdensome on larger laboratories and a fully digital workflow has the potential to significantly reduce this. Finally, digital images are a prerequisite for automated image analysis.

Digital images

Images can be represented in numerical form in a variety of manners. The text on this page, for example, is ultimately represented by the printing software, not as letters and words but as collections of lines and curves. The commonest method for representing complex real world scenes, including histology images, is to consider the image as a grid of individual points, each with brightness and, for color images, hue. These individual points are referred to as pixels, the term pixel being a contraction of ‘picture element’ and the smallest resolvable detail. In all commonly encountered digital image formats pixels are square, although other shapes, in particular hexagons, are in principle possible. This approach represents images mathematically as a matrix of brightness and hue values. The perceived quality of a digital image of this type relates to the total number of pixels (resolution) and a parameter called pixel depth.

Resolution

The size of the smallest resolvable detail in a whole slide image is defined by the original absolute size of the area represented by each pixel. This is determined by the quality of the slide scanner optics and sensor. Although WSI system vendors often refer to image quality as ‘x40 equivalent’ or ‘x20 equivalent’, reference to microns/pixel is preferable since this is an unambiguous measure of image resolution, unaffected by downstream variables such as monitor resolution and viewing distance ( ). Broadly however, when viewed under appropriate conditions, images in which each pixel represents a square of side 0.5 microns (0.5 µm/pixel) are regarded as providing an equivalent level of detail to that seen with a x20 objective on a high quality microscope, whilst 0.25 µm/pixel is regarded as comparable to a x40 objective.

Pixel depth

Image quality is not defined solely by resolution. The term ‘pixel depth’ refers to the extent to which subtly different colors can be distinguished. The crude but recognizable image in Fig. 22.1 has a pixel depth of 1, i.e. individual pixels represent either black or white. Only a single binary bit, 0 or 1, is required to capture this for each pixel. Most formats for the realistic representation of real life images use 24 bits, 8 to represent the intensity of each of the 3 colors red, green and blue. This enables 256 different intensity levels to be represented for each of these colors, a total of 16,777,216 different tones.

Fig. 22.1, When considering how images are represented ‘perfect’ fidelity may not be needed to convey meaningful information. The same original image is used throughout a - d . ( a ) A ‘normal’ full color image as produced by most conventional digital cameras. ( b ) The image modified to 256 shades of grey. ( c ) The image represented as only 16 possible shades of grey with a much reduced file size, but some discernible loss of image quality. ( d ) With only 2 possible values per pixel, the image is still recognizable and able to convey meaning, although it is significantly simplified and with a small fraction of the file size.

File size compression

The simplest format for representing a digital image is a matrix of pixels, each pixel represented by an appropriate number of bytes to capture the required color depth and the commonly used TIFF (tag image file format) is an example of this. A TIFF file representing an image of 1000 x 1000 pixels at 24-bit color depth, requires 3 million bytes, i.e. 3 MB.

Compressed image formats such as JPEG or JPEG 2000 reduce the required image file size using mathematical techniques to store the same data more efficiently, and through the identification of data which can be discarded with minimal impact on how the image is understood by a human observer. The term ‘lossless compression’ refers to techniques which allow for the extraction or ‘decompression’ of the exact original image with no loss of detail.

Conversely, ‘lossy compression’ techniques permanently discard information, aiming to do so only for information which is non-contributory to the overall appreciation of the image. Lossless compression techniques are typically only able to reduce image file sizes around 2-3 fold, whereas ‘lossy’ techniques can achieve 50-fold or higher compression ratios, albeit with noticeable artifact.

Histology as digital images

Whole slide images are distinguished by their sheer size. A typical 15 x 15 mm tissue section imaged at 0.25 μm/pixel at 24-bit pixel depth results in an uncompressed file size of just over 10 GB. The required file size may be compressed up to 30-fold using compression techniques without impact on diagnostic utility ( ), resulting in file sizes of the order of tens to hundreds of megabytes. It is worth noting that discernable artifacts may be introduced into the images at lower levels of compression without necessarily impacting on the diagnostic utility of the image ( ). Moreover, greater degrees of compression may be possible for non-H&E tinctorial stains than for H&E without undermining the practical utility of the image ( ).

The way in which pathologists interact with images also influences the way image data are stored. Many vendors of WSI systems use proprietary file formats, typically based around standard image compression techniques e.g. JPEG, JPEG 2000, but with additional features. Files may include the same image at multiple resolutions to support rapid zooming in and/or out as images are streamed over networks, i.e. pyramidal storage ( Fig. 22.2 ). Files may also store metadata such as a timestamp, image file type, image size, pixel depth, make and model of the scanner and objective, and resolution data such as microns/pixel. Accurate metadata is particularly important if the WSI is going to be quantitatively analyzed, either manually or by an image analysis algorithm as all measurements are calculated from resolution data.

Fig. 22.2, Digital pathology file formats often use a pyramidal system. Multiple separate images are stored at different magnifications and resolutions. A pathologist viewing a low power overview image only needs to access the ‘top’ tier. As the magnification is increased, the relevant individual tiles from deeper tiers are displayed. This mechanism avoids the need to send entire image files across networks.

Image acquisition

A slide scanner essentially comprises an optical microscope with a mechanized stage control and focusing, coupled to a digital image capture device, usually a charge-coupled device (CCD) similar to that found in a digital camera. Additional hardware may typically include mechanical apparatus to sequentially load slides, operator controls, a visual display area and computer control hardware. The smallest single slide systems may have a footprint of only 500 x 500 mm, whilst high capacity scanners holding 200-300 slides may be 750 x 1200 mm or more. A typical 15 x 15 mm tissue area may take 30 to 60 seconds to scan using a 40x objective at 25 µm/pixel.

Systems typically use a standard 20x or 40x objective with a light path to a CCD camera. Prior to image acquisition, the slide scanner may register the sample number by reading a barcode printed on the glass slide. A scanner may also perform a low resolution overview scan to determine where the tissue is on a slide and only scan that area, minimizing overall scan time and therefore file size.

The slide is moved by the motorized stage and images are captured by the camera. Two commonly used methods of image acquisition are line scanning and tile scanning. In line scanning, the slide is moved in a linear fashion so that the camera captures strips of the image. In tile scanning, small squares of the image are captured by the camera. A strobe light source and high frame rate camera are typically employed to reduce movement, the blur artifact. With both methods, an ‘image stitching’ algorithm is then applied to assemble the strips or squares of image into a whole slide image (WSI). Reconstruction of a tile scanned image is computationally more complex but modern multi-core processors negate the effect this has on overall scan time.

The topography of tissue on a glass slide can vary by up to 20% of the tissue thickness over a distance of 1 mm. An image scanned using one focal plane would appear blurry in places, making it diagnostically useless. To counter this, slide scanners use an image based autofocus technique. This requires the generation of a focus map either by the operator or automatically from the overview scan image. The scanner could apply autofocus on a tile-by-tile basis in the case of tile scanning or at several points along a strip of image in line scanning. This near continuous autofocus would result in prohibitively slow image acquisition. Instead, in a trade-off between speed and image fidelity, the scanner generates a representative autofocus map, or focuses on every third or fifth tile of an image.

Special cases

Large blocks

These mega or jumbo blocks can also be scanned, but the scanner needs to be designed to accommodate larger slides. There is an increase in slide acquisition time and file size owing to the larger tissue area which needs to be scanned. Large slides may interrupt the workflow of a digital laboratory as they may require loading in separate batches to the standard size slides. One alternative to scanning mega blocks is to create composite blocks of a sample then scan these as standard sized slides. Image stitching software can be used to create a virtual mega block from the composite blocks.

Cytology preparations

The 3-dimensional nature of a typical cytology slide presents challenges. Using a conventional glass slide, a pathologist manually adjusts the microscope to bring different ‘depths’ of the preparation into focus. This is not possible on a standard digital image. This problem is addressed by acquiring multiple images of the cytology slide at different focal points which are treated as a stack of 2-dimensional images, a process called z-stacking, where the z refers to the z-axis of a 3-dimensional image (x, y, z). Images must be captured in several planes of focus, with consequent multiplication of the total file size and the time taken to capture the image. When viewing these composite z-stack images on a monitor, additional image processing is required to allow the smooth transition between virtual planes of focus.

Fluorescent slides

Acquiring digital images of slides stained with fluorescent stains will typically require additional hardware, particularly a suitable light source and filters. Some vendors supply the fluorescence modules, or a dedicated scanner may be required.

Measures to ensure good quality digital images

The quality of the virtual image depends upon the production of a high quality physical slide and quality control processes relating to the scanner itself. When using a conventional light microscope, a pathologist can work around artifacts including tissue folds, wax on the coverslip, air bubbles and tissue not covered by the coverslip. A slide scanner will faithfully reproduce all of these artifacts, potentially diminishing the quality of the scanned slide.

Standard laboratory quality control procedures should ensure the production of the highest quality slides and the presence of artifacts need to be audited. Additionally, the scanner operator should re-check and if necessary clean or re-coverslip slides prior to scanning. Attention should also be paid to minimizing vibration during the scanning process. If a laboratory is situated close to a major road or rail line or other source of vibration it may be prudent to consider installing a scanner on a vibration-proof table ( Fig. 22.3 ).

Fig. 22.3, This high-capacity high speed scanner (Philips UFS) has been installed on a vibration-damping table to minimize artifact from a railway line running very close to the laboratory.

The slide scanner should be regularly serviced and cleaned to ensure consistent lighting and focusing. A daily test slide should be scanned to assess the basic function of the scanner and detect major errors such as poor sample detection and abnormal color profiles. This procedure will also generate diagnostic information such as scanner temperature, time-to-focus and time-to-scan, all of which can create variance in digital image consistency and laboratory throughput. Color calibration of the scanner has been shown to increase diagnostic confidence and produce digital slides which are subjectively similar to slides viewed under a light microscope. This is achieved by scanning a standardized color patch affixed to a slide. The color values of this patch are known and can be compared with the on-board reference of the scanner. An adjustment to the color reproduction is then made by the scanner. This procedure is important to ensure day-to-day consistency of color reproduction by the scanner and consistency between scanners in the same department ( Fig. 22.4 ).

Fig. 22.4, ( a ) Focusing artifact where the scanner has been unable to acquire a well-focused image of the entire tissue due to folds. Using a glass slide a pathologist may be able to compensate for this by focusing up and down through the depth of the tissue but such compensation is not possible on a digitally acquired image. ( b ) Striping artifact caused by inconsistent illumination across the slide. The scanner may require recalibrating.

Accessing and viewing whole slide images

You're Reading a Preview

Become a Clinical Tree membership for Full access and enjoy Unlimited articles

Become membership

If you are a member. Log in here