Skip to main content
Erschienen in: Diagnostic Pathology 1/2011

Open Access 01.12.2011 | Proceedings

Distributed computing in image analysis using open source frameworks and application to image sharpness assessment of histological whole slide images

verfasst von: Norman Zerbe, Peter Hufnagl, Karsten Schlüns

Erschienen in: Diagnostic Pathology | Sonderheft 1/2011

download
DOWNLOAD
print
DRUCKEN
insite
SUCHEN

Abstract

Background

Automated image analysis on virtual slides is evolving rapidly and will play an important role in the future of digital pathology. Due to the image size, the computational cost of processing whole slide images (WSIs) in full resolution is immense. Moreover, image analysis requires well focused images in high magnification.

Methods

We present a system that merges virtual microscopy techniques, open source image analysis software, and distributed parallel processing. We have integrated the parallel processing framework JPPF, so batch processing can be performed distributed and in parallel. All resulting meta data and image data are collected and merged. As an example the system is applied to the specific task of image sharpness assessment. ImageJ is an open source image editing and processing framework developed at the NIH having a large user community that contributes image processing algorithms wrapped as plug-ins in a wide field of life science applications. We developed an ImageJ plug-in that supports both basic interactive virtual microscope and batch processing functionality. For the application of sharpness inspection we employ an approach with non-overlapping tiles. Compute nodes retrieve image tiles of moderate size from the streaming server and compute the focus measure. Each tile is divided into small sub images to calculate an edge based sharpness criterion which is used for classification. The results are aggregated in a sharpness map.

Results

Based on the system we calculate a sharpness measure and classify virtual slides into one of the following categories - excellent, okay, review and defective. Generating a scaled sharpness map enables the user to evaluate sharpness of WSIs and shows overall quality at a glance thus reducing tedious assessment work.

Conclusions

Using sharpness assessment as an example, the introduced system can be used to process, analyze and parallelize analysis of whole slide images based on open source software.
Hinweise

Competing interests

The authors declare that they have no competing interests.

Background

Automated analysis of whole slide images (WSIs) is a growing challenge in scientific research in digital pathology. Image processing software usually works on standard-size images whereas virtual slides are very large. Due to the image size the computational cost of processing whole slide images in high resolution is immense. We present a system that combines virtual microscopy and public domain image analysis software running within a distributed parallel processing framework available in open source.
In terms of image analysis slide preparation, illumination, focus, and stitching are crucial factors for high quality scans. Image acquisition process for whole slide images has been considerably improved over the last years. Nevertheless, manual inspection of image sharpness is often still required after scanning. It is a tedious and time consuming task with a high inter and intra observer variability. We choose automatic sharpness assessment on histological WSIs as an exemplary application of distributed image analysis. It demonstrates how the new system can be used for standardized image quality assessment in high throughput scenarios.

Methods

With the availability of public domain image processing libraries and free open source parallelization frameworks, we have combined these with recent virtual microscopy technologies such as WSI streaming servers [1, 2] to provide a free processing environment for rapid prototyping of image analysis algorithms for WSIs.
NIH ImageJ [3, 4] is an interactive open source image processing software and library developed at the National Institutes of Health. Its large user community contributes extensions (plug-ins) in a wide field of life science applications. Several plug-in bundles for microscopic images are available that are based on ImageJ [5, 6]. We have developed a plug-in to add capabilities for handling WSIs.
Algorithms with large processing power requirements, such as most image analysis tasks on WSIs, can often be split into smaller parts and executed simultaneously on different computers. In this work the Java Parallel Processing Framework (JPPF) was used to process WSIs on standard PCs as compute nodes [7]. We employed an approach with non-overlapping tiles in a predefined resolution, where compute nodes retrieve image tiles of moderate size from a WSI streaming server. Each node processes the same set of ImageJ plug-ins independently. All resulting data are collected and merged within the JPPF environment using domain specific merger implementations.
Many different criteria exist to measure sharpness in an image [812]. Sun et al. compared 18 focus algorithms where sum-modified-Laplacian (SML) showed the best overall results [8]. Wei et al. confirmed its quality [9]. Besides, the well known Tenenbaum gradient has been found to be a reasonable focus measure when execution time is taken into account. Most publications deal with autofocus applications, where the sharpest image in a stack of focus images has to be found during image acquisition. In non z-stack WSIs sharpness has to be evaluated on a single focus plane after slide scanning. Analysis has to be done in full resolution, since sub sampling of images results in sharper images. We used a modified Tenenbaum gradient for sharpness assessment application and applied it to non-overlapping tiles. Compute nodes simultaneously determine the focus measure for distinct image tiles in full resolution. Each tile is divided into small sub images to calculate the sharpness measure. The results are aggregated in a sharpness map.

Results

We upgraded ImageJ to a virtual microscope (Fig. 1). Several WSI formats were added to ImageJ including JPEG2000 (ISO), NDPI (Hamamatsu), Zoomify (e.g. Metasystems, Leica), and Mirax (3DHISTECH). File system interfaces as well as web based WSI streaming servers are provided as image data sources to access virtual slides. Based on the ImageJ framework we developed a plug-in that shows a graphical user interface like a standard virtual microscope. Navigation elements such as panning and continuous zooming are offered. In addition to this, the microscope allows doing batch processing of WSIs.
We developed a seamless integration of the ImageJ plug-in interface and WSI streaming technologies within JPPF (Fig. 2). This enables the user to rapidly develop and test algorithms inside the ImageJ microscope and use this without any modifications inside a distributed and parallelized environment.
The scalable system was employed to refine and parallelize a gradient based sharpness measure. Its results were used to generate a sharpness map for subsequent visual inspection (Fig. 3). The map allows a user to evaluate overall focus quality at a glance. Virtual slides are classified into four sharpness categories – excellent quality, acceptable quality, to be reviewed and defective quality.
Figure 4 shows the overall amount of processing time needed to inspect sharpness as a function of two variables, tissue area and number of compute nodes. Tissue area to inspect is given in gigapixels. Time is measured in hours, minutes and seconds h:mm:ss.

Discussion

Automatic sharpness assessment of whole slide images is an exemplary application of the proposed framework. It could be shown that the chosen sharpness measure reproduces results of manual sharpness inspection.
JPPF offers functions to integrate standard PCs into a parallelization grid by running a worker node service with low priority. Standard office PCs can be employed for parallel processing purposes without interfering with regular work. Moreover, no additional costs for infrastructure or maintenance are generated.
So far limiting factors for scalability of the introduced system are 1) speed of delivering source images by the image provider and 2) amount of result data to be merged after processing. To improve image provider speed we are currently adding load balancing capabilities for multiple WSI streaming servers. Merging result data inside a relational database management system can resolve limitations of memory based merging.

Conclusions

The most prominent toolkit in open source medical image analysis, ImageJ with its wide range of available algorithms, has been made applicable to virtual microscopy. Hence, based on the presented components it is possible to interactively as well as automatically process and analyze WSIs within ImageJ. Furthermore, distributed batch processing of WSIs using an open source parallel processing framework (JPPF) is seamlessly integrated with the plug-in concept of ImageJ.
The introduced open system architecture can be adapted within various application contexts and proves flexibility and scalability. Furthermore, it reduces processing time. The introduced bridging technology between ImageJ, JPPF, and virtual microscopy image streaming servers has applications in rapid prototyping of scientific image analysis software, education and is also an option for cost effective solutions in upcoming high throughput image analysis scenarios.

Acknowledgements

This work was supported by the German Federal State of Berlin in the framework of the “Zukunftsfonds Berlin” and the Technology Foundation Innovation center Berlin (TSB) within the project “Virtual Specimen Scout”. It was co-financed by the European Union within the European Regional Development Fund (EFRE).
This article has been published as part of Diagnostic Pathology Volume 6 Supplement 1, 2011: Proceedings of the 10th European Congress on Telepathology and 4th International Congress on Virtual Microscopy. The full contents of the supplement are available online at http://​www.​diagnosticpathol​ogy.​org/​supplements/​6/​S1
This article is published under license to BioMed Central Ltd. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://​creativecommons.​org/​licenses/​by/​2.​0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Competing interests

The authors declare that they have no competing interests.
Literatur
1.
Zurück zum Zitat Saeger K, Schlüns K, Schrader T, Hufnagl P: The virtual microscope for routine pathology based on a PACS system for 6 Gb images. Proceedings of the 17th International Congress and Exhibition CARS 2003: 25-28 June 2003; London. Edited by: Lemke HU. 2003, Amsterdam: Elsevier, 299-304. Saeger K, Schlüns K, Schrader T, Hufnagl P: The virtual microscope for routine pathology based on a PACS system for 6 Gb images. Proceedings of the 17th International Congress and Exhibition CARS 2003: 25-28 June 2003; London. Edited by: Lemke HU. 2003, Amsterdam: Elsevier, 299-304.
2.
Zurück zum Zitat Zwönitzer R, Kalinski T, Hofmann H, Roessner A, Bernarding J: Digital pathology: DICOM-conform draft, testbed, and first results. Comput Methods Programs Biomed. 2007, 87: 181-188. 10.1016/j.cmpb.2007.05.010.CrossRefPubMed Zwönitzer R, Kalinski T, Hofmann H, Roessner A, Bernarding J: Digital pathology: DICOM-conform draft, testbed, and first results. Comput Methods Programs Biomed. 2007, 87: 181-188. 10.1016/j.cmpb.2007.05.010.CrossRefPubMed
4.
Zurück zum Zitat Abramoff MD, Magelhaes PJ, Ram SJ: Image Processing with ImageJ. Biophotonics International. 2004, 11: 36-42. Abramoff MD, Magelhaes PJ, Ram SJ: Image Processing with ImageJ. Biophotonics International. 2004, 11: 36-42.
5.
Zurück zum Zitat Schindelin J: Fiji is just ImageJ - Batteries included. Proceedings of the ImageJ User and Developer Conference: 6-7 November 2008. 2008, Luxembourg Schindelin J: Fiji is just ImageJ - Batteries included. Proceedings of the ImageJ User and Developer Conference: 6-7 November 2008. 2008, Luxembourg
6.
8.
Zurück zum Zitat Sun Y, Duthaler S, Nelson BJ: Autofocusing in computer microscopy: selecting the optimal focus algorithm. Microsc Res Tech. 2004, 65: 139-149. 10.1002/jemt.20118.CrossRefPubMed Sun Y, Duthaler S, Nelson BJ: Autofocusing in computer microscopy: selecting the optimal focus algorithm. Microsc Res Tech. 2004, 65: 139-149. 10.1002/jemt.20118.CrossRefPubMed
9.
Zurück zum Zitat Huang W, Jing Z: Evaluation of focus measures in multi-focus image fusion. Pattern Recognit Lett. 2007, 28: 493-500. 10.1016/j.patrec.2006.09.005.CrossRef Huang W, Jing Z: Evaluation of focus measures in multi-focus image fusion. Pattern Recognit Lett. 2007, 28: 493-500. 10.1016/j.patrec.2006.09.005.CrossRef
10.
Zurück zum Zitat Kayser K, Görtler J, Metze K, Goldmann T, Vollmer E, Mireskandari M, Kosjerina Z, Kayser G: How to measure image quality in tissue-based diagnosis (diagnostic surgical pathology). Diagn Pathol. 2008, 3 (Suppl 1): 11-10.1186/1746-1596-3-S1-S11.CrossRef Kayser K, Görtler J, Metze K, Goldmann T, Vollmer E, Mireskandari M, Kosjerina Z, Kayser G: How to measure image quality in tissue-based diagnosis (diagnostic surgical pathology). Diagn Pathol. 2008, 3 (Suppl 1): 11-10.1186/1746-1596-3-S1-S11.CrossRef
11.
Zurück zum Zitat Yeo T, Ong S, Jayasooriah SR: Autofocusing for tissue microscopy. Image Vis Comput. 1993, 11: 629-639. 10.1016/0262-8856(93)90059-P.CrossRef Yeo T, Ong S, Jayasooriah SR: Autofocusing for tissue microscopy. Image Vis Comput. 1993, 11: 629-639. 10.1016/0262-8856(93)90059-P.CrossRef
12.
Zurück zum Zitat Subbarao M, Choi T, Nikzad A: Focusing Techniques. Machine Vision Applications Architectures, and Systems Integration (Proceedings of SPIE): 17-18 November 1992; Boston. Edited by: Batchelor BG. 1992, SPIE, 163-174.CrossRef Subbarao M, Choi T, Nikzad A: Focusing Techniques. Machine Vision Applications Architectures, and Systems Integration (Proceedings of SPIE): 17-18 November 1992; Boston. Edited by: Batchelor BG. 1992, SPIE, 163-174.CrossRef
Metadaten
Titel
Distributed computing in image analysis using open source frameworks and application to image sharpness assessment of histological whole slide images
verfasst von
Norman Zerbe
Peter Hufnagl
Karsten Schlüns
Publikationsdatum
01.12.2011
Verlag
BioMed Central
Erschienen in
Diagnostic Pathology / Ausgabe Sonderheft 1/2011
Elektronische ISSN: 1746-1596
DOI
https://doi.org/10.1186/1746-1596-6-S1-S16

Weitere Artikel der Sonderheft 1/2011

Diagnostic Pathology 1/2011 Zur Ausgabe

Neu im Fachgebiet Pathologie