- Open Access
Automated estimation of parasitaemia of Plasmodium yoelii-infected mice by digital image analysis of Giemsa-stained thin blood smears
© Ma et al; licensee BioMed Central Ltd. 2010
- Received: 21 September 2010
- Accepted: 1 December 2010
- Published: 1 December 2010
Parasitaemia, the percentage of infected erythrocytes, is used to measure progress of experimental Plasmodium infection in infected hosts. The most widely used technique for parasitaemia determination is manual microscopic enumeration of Giemsa-stained blood films. This process is onerous, time consuming and relies on the expertise of the experimenter giving rise to person-to-person variability. Here the development of image-analysis software, named Plasmodium AutoCount, which can automatically generate parasitaemia values from Plasmodium-infected blood smears, is reported.
Giemsa-stained blood smear images were captured with a camera attached to a microscope and analysed using a programme written in the Python programming language. The programme design involved foreground detection, cell and infection detection, and spurious hit filtering. A number of parameters were adjusted by a calibration process using a set of representative images. Another programme, Counting Aid, written in Visual Basic, was developed to aid manual counting when the quality of blood smear preparation is too poor for use with the automated programme.
This programme has been validated for use in estimation of parasitemia in mouse infection by Plasmodium yoelii and used to monitor parasitaemia on a daily basis for an entire challenge infection. The parasitaemia values determined by Plasmodium AutoCount were shown to be highly correlated with the results obtained by manual counting, and the discrepancy between automated and manual counting results were comparable to those found among manual counts of different experimenters.
Plasmodium AutoCount has proven to be a useful tool for rapid and accurate determination of parasitaemia from infected mouse blood. For greater accuracy when smear quality is poor, Plasmodium AutoCount, can be used in conjunction with Counting Aid.
- Blood Smear
- Edge Pixel
- Foreground Pixel
- Manual Counting
Infection of mice with rodent Plasmodium species is routinely conducted to evaluate the efficacy of drugs and vaccines against malaria. Parasitaemia, the percentage of infected erythrocytes, is used to monitor the progress of infection and recovery of infected mice. To date, the most widely used technique for parasitaemia determination in mouse blood is manual microscopic enumeration of Giemsa-stained blood films. This process is onerous, time consuming and relies on the expertise of the experimenters with consequent person-to-person variability . An alternative method reported in recent years uses flow cytometry of fixed and stained cells. Although success has been reported [2–4], this approach has not been widely applied due to its limited specificity and the reliance on cytometry equipment, which is expensive and not commonly available in developing countries.
Image processing is an approach to automated determination of parasitaemia and uses more commonly available equipment:- a microscope with camera and a personal computer . A number of studies have explored the possibility of software for automated parasitaemia counting and success has been reported for examining blood smears from in vitro culture [5–9]. However, software of this type, such as MalariaCount , cannot be applied to examination of blood smears from in vivo studies due to the presence of nucleated cells (e.g. lymphocytes) and other formed elements (platelets), as well as the increased number of reticulocytes in the blood of infected animals. Here the development of an image-analysis programme, Plasmodium AutoCount, which can automatically generate parasitaemia values from Plasmodium-infected mouse blood smears is reported. This programme has been used to measure daily parasitaemia in infected mice for an entire challenge infection and achieved results comparable to manual counting.
Giemsa-stained blood smears
Groups of mice were infected with Plasmodium yoelii-parasitized red blood cells after immunization with PyMSP119, a well-characterized vaccine candidate, or with a saline control as described previously . Daily from day 3 post-infection, one drop of blood was taken from the tail tip of each mouse and used to make a thin blood smear. The smears were fixed with 100% methanol for 2 min, stained with 10% Giemsa stain in Sorensen's buffer for 5 min, and air-dried.
Image acquisition and standardization
An Olympus BX51 microscope with DP70 digital camera system was used to capture images of the smears. The smears were examined under oil immersion with a 100× objective and the numerical aperture set to 1.35. Automated exposure of fixed light intensity through a fully opened iris with one push white balance was used (although the image processing algorithm is robust to changes in background colour). Images were captured at a resolution of 1360×1024 pixels using the DP Controller programme and saved as TIFF files with the DP Manager programme.
Manual counting tool
The first step of processing is to split the image into pixels belonging to cells (or other entities) and background pixels. The image is then enhanced by applying a Gaussian blur of radius 1 to minimize noise. Background variation is reduced by subtracting 75% of a further blurred version of the image. The k-medians algorithm is then used to distinguish pixels belonging to cells from those belonging to the background.
Cell detection is by use of a modified version of the circular Hough transform  to detect circles of a given size. Background pixels having at least one foreground pixel as one of their eight neighbours, or vice-versa, are classified as edge pixels. The gradient of the image at each edge pixel is estimated using Sobel's operator , giving a direction normal to the edge. In the circular Hough transform, pixels one cell radius along the line normal to each edge pixel receive a vote toward being recognized as a cell centre. The "Hough transformed" image is an image representing the number of votes received by each pixel. The circular Hough transform by requiring that a corresponding edge pixel be present one cell diameter along each line was modified. Spurious votes from circles that are not of the desired size were eliminated. It also prevents elliptical cells from producing more than one centre. The transformed images are blurred with a Gaussian blur of radius one pixel. This modified Hough transform is taken for a range of radii (between 5 and 20 pixels), and for each pixel the radius with the maximum votes is found. If a pixel is called as a cell centre, the cell radius is the radius of Hough transform that produce the greatest votes for that pixel. Pixels are called as cell centres in decreasing order of maximum votes received, so long as they are not within 1.25 radii of a pixel receiving greater votes down to a specified minimum number of votes.
Parasites appear purple with Giemsa staining. Within this stained region, there are smaller lumps of darker stained material. The criterion for defining infection is the presence of stain spread over a region together with at least one lump. Since the staining is purple, it has the greatest effect on the green channel of the image, so stain and lump detection is performed on this channel. The same approach with different parameters is used for both stain and lump detection. A surrounding average for each pixel is produced, which is a Gaussian kernel weighted average of a given radius, but with only foreground pixels included. Pixels that are darker than a given percentage of the brightness of the surrounding average pixels are flagged. For stain detection, the Gaussian kernel radius used is 10 pixels. For lump detection, the Gaussian kernel radius is 3 pixels. As a measure of the non-localization of staining in a cell, the average location of all the stained pixels in a cell was evaluated, and then the mean squared distance of stained pixels from this average location was worked out. A cell with this mean squared distance exceeding 3 and at least one lump pixel is regarded as infected.
Spurious hit filtering
The Hough transform produces spurious hits to ruptured cells, debris, and white blood cells (WBC), which should be excluded from counting. Accordingly, Hough transform-detected "cells" are filtered if they are smaller than a 9 pixels, or the center of mass of foreground pixels was greater than a certain distance from the Hough transform determined centre, or contained greater than a certain proportion of darkly stained pixels (usually WBCs).
Parasitaemia totals obtained by manual or automated counting were compared using Pearson's correlation test. The coefficient of variations was also expressed as root-mean-square (RMS) using the following formula: RMS = , where ×1 and ×2 are two separate readings and n is the total number of counted smears. All analyses, apart from RMS calculation, were performed in Graphpad Prism 5.
Before the calibration of Plasmodium AutoCount programme, parasitaemia of selected images were counted manually using the Manual Counting Aid described in the Materials and Methods Section.
Comparison between automated and manual counting
Correlation and variation between manual and automated counting results from a challenge infection experiment
Two potential confounding factors in parasitaemia determination are the presence of WBCs and reticulocytes. To investigate whether the presence of WBC affects the accuracy of Plasmodium AutoCount, all the images for Day 3-6 that contained WBCs were chosen and the number of WBCs identified as infected cells (false positives) was determined. The results are shown in Additional file 2, Table S1. Out of 33 WBCs which should ideally be excluded, the programme regarded only one of them as infected. However, in nine other cases, uninfected red cells clumping around a central WBC were scored as infected. An example of this is shown in the Additional file 1, Figure S13.
The ability of Plasmodium AutoCount to differentiate between infected and uninfected reticulocytes was investigated. Images from Day 12 were chosen as there would be a substantial proportion of reticulocytes due to loss of RBC. The results are shown in Additional file 2, Table S2. Reticulocytes are classified manually as RBCs with more purple colour and often with slightly larger diameters. For uninfected reticulocytes, the identification by the programme is relatively easy. However, the identification of infected reticulocytes is harder as infected RBCs are quite often swollen and the colour also appears darker partly due to the presence of the parasite. The results indicated that the programme is relatively good at identifying uninfected reticulocytes as uninfected cells. However, there is a higher false negative rate in which infected reticulocytes were regarded as uninfected.
Variations in manual counting
Correlation and variation of manual counting results between different examiners as compared to automated counting
Despite advances in imaging technology, manual microscopic enumeration of Giemsa-stained blood smears remains the most widely and commonly used method for Plasmodium parasitaemia determination, particularly in the study of model infections. This is a time-consuming and tiring process that can be significantly affected by the expertise of the observer and has variable accuracy. An automated image analysis system that can be used for fast, accurate, reproducible and reliable determination of parasitaemia would be a worthwhile advance . Several automated image-processing approaches for blood smear analysis have been attempted with some reported success. For example, an automated image processing programme has been developed by Ross et al for the diagnosis and classification of Plasmodium species , which reported a sensitivity of 85% and a positive predictive value of 81%. An image analysis-based programme, named MalariaCount, was reported to provide rapid and accurate determination of parasitaemia for blood smears of in vitro P. falciparum culture material . No programme has been available for automated determination of parasitaemia from mouse challenge experiments. During a challenge infection, blood samples from a large number of mice are generally required to be counted on a daily basis and, in some cases, results are needed on the same day in order to make decision as to whether to sacrifice the mice. Proudfoot et al have reported a partial automation approach for counting infected mouse blood smears; however completely automated scoring remained elusive .
An image analysis programme, Plasmodium AutoCount, for the routine determination of percent-parasitaemia in thin blood smears from Plasmodium yoelii-infected mice was developed. The programme has also proved useful for analysis of samples taken from subjects at different stages of infection, with various levels of parasitaemia. The parasitaemia values generated automatically are highly correlated with those determined by manual counting, and the differences between them are comparable to those observed among different examiners. The procedure is rapid, and the time-saving is significant. About 100 images can be processed in half an hour using a standard desktop computer, in contrast to manual counting of these smears which would take about six hours. The programme was subsequently used to monitor parasitaemia from a total of 174 mice in four challenge experiments. Parasitaemia from up to 50 mice have been measured on a daily basis, and manual counting of randomly selected smears confirmed the accuracy of the automatically generated parasitaemia values.
Plasmodium AutoCount does not recognise the morphology of parasites; instead it detects the darkness levels of the images and identifies images that occupy a certain proportion of the whole cell. Its accuracy relies on well-prepared blood smears. Clean, evenly-stained smears containing separated cells with few lysed cells are necessary. The quality of photographs is also important, with sharply focused, well-illuminated images required. In reality, smear images can be far from optimal, such as the presence of clustered cells, WBCs or dead parasites, as well as colour variation due to differing incubation times with staining solution. These factors will significantly affect the results generated by Plasmodium AutoCount. In these situations, a hybrid method for semi-automated parasitaemia determination was suggested. Firstly the total number of cells is counted using Plasmodium AutoCount, then the infected cells are counted using the Cell Counting Aid. This method could be used to overcome any inaccuracy of the automated counting programme for some poorly prepared or irregular smears.
Two possible causes of significant error in parasitaemia estimation are the presence of WBCs and reticulocytes. As noted above WBCs are quite accurately excluded, but on occasions surrounding uninfected RBCs may be incorrectly judged to be infected. It is suggested that obvious clumping within an image be a criterion for not using that particular field for automated counting. If clumping is unavoidable, then given the ratio of white cells to red cells early in the course of murine infection, this would lead to an overestimation of parasitaemia of at most 0.03%. During the course of most infections, this is unlikely to be a significant problem in interpretation but may prevent cases of sterile protection being recognized. In this case, manual re-examination of the scored pictures would allow the investigator to arrive at the correct conclusion. A possible future modification to address this would be to build in the capacity for the software to recognize a clump and not interpret it as red cell cytoplasm surrounding an area of stain, an appearance similar to a parasitized cell.
With respect to reticulocytes, the problem is incorrect classification of infected reticulocytes as uninfected. Another version of the software was developed that gives more balanced error rates, but at present neither false positive or false negative reticulocyte rates can be corrected because altering the parameters to correct one problem, increases the reverse problem. This remains an ongoing area of study. The point to emphasize though is that these errors also occur among human observers and overall, the programme is very similar to the average counts obtained by manual counting, but with significantly less time and work and no requirement for experienced personnel together with the advantage of a permanent record of how the value was obtained.
Although Plasmodium AutoCount was calibrated on P. yoelii-infected mouse blood smears in its current version, the programme can potentially be extended to estimate parasitaemia from infected mouse, primate and even human blood smears, which may involve other Plasmodium species, by adjusting the parameters that set the threshold level for detection. It might also be adjusted to determine parasitaemia in cultured blood samples for in vitro experiments such as drug susceptibility tests and growth inhibition assays.
Plasmodium AutoCount has proven to be a useful tool for rapid and accurate determination of parasitaemia from infected mouse blood. The parasitaemia values are highly correlated with those determined by manual counting, and the variations between them are comparable to those observed among different examiners. The programme can be expanded to estimate parasitaemia from infected human blood as well as in vitro cultured infected blood samples.
This work was supported by the National Health and Medical Research Council (NHMRC) of Australia and ARC (Australian Research Council)/NHMRC Network in Parasitology. We would like to thank Fiona Glenister, Kate Fernendez and Lev Kats for their time in counting blood smears.
- Frean J: Improving quantitation of malaria parasite burden with digital image analysis. Trans R Soc Trop Med Hyg. 2008, 102: 1062-1063. 10.1016/j.trstmh.2008.04.017.View ArticlePubMedGoogle Scholar
- Barkan D, Ginsburg H, Golenser J: Optimisation of flow cytometric measurement of parasitaemia in plasmodium-infected mice. Int J Parasitol. 2000, 30: 649-653. 10.1016/S0020-7519(00)00035-7.View ArticlePubMedGoogle Scholar
- Jimenez-Diaz MB, Rullas J, Mulet T, Fernandez L, Bravo C, Gargallo-Viola D, Angulo-Barturen I: Improvement of detection specificity of Plasmodium-infected murine erythrocytes by flow cytometry using autofluorescence and YOYO-1. Cytometry A. 2005, 67: 27-36.View ArticlePubMedGoogle Scholar
- Xie L, Li Q, Johnson J, Zhang J, Milhous W, Kyle D: Development and validation of flow cytometric measurement for parasitaemia using autofluorescence and YOYO-1 in rodent malaria. Parasitology. 2007, 134: 1151-1162. 10.1017/S0031182007002661.View ArticlePubMedGoogle Scholar
- Le MT, Bretschneider TR, Kuss C, Preiser PR: A novel semi-automatic image processing approach to determine Plasmodium falciparum parasitemia in Giemsa-stained thin blood smears. BMC Cell Biol. 2008, 9: 15-10.1186/1471-2121-9-15.PubMed CentralView ArticlePubMedGoogle Scholar
- Ross NE, Pritchard CJ, Rubin DM, Duse AG: Automated image processing method for the diagnosis and classification of malaria on thin blood smears. Med Biol Eng Comput. 2006, 44: 427-436. 10.1007/s11517-006-0044-2.View ArticlePubMedGoogle Scholar
- Halim S, Bretschneider TR, Li Y: Estimating malaria parasitaemia from blood smear images. Proceedings of the IEEE International Conference on Control, Automation, Robotics and Vision. 2006, 648-853. 2006Google Scholar
- Sio SW, Sun W, Kumar S, Bin WZ, Tan SS, Ong SH, Kikuchi H, Oshima Y, Tan KS: MalariaCount: an image analysis-based program for the accurate determination of parasitemia. J Microbiol Methods. 2007, 68: 11-18. 10.1016/j.mimet.2006.05.017.View ArticlePubMedGoogle Scholar
- Proudfoot O, Drew N, Scholzen A, Xiang S, Plebanski M: Investigation of a novel approach to scoring Giemsa-stained malaria-infected thin blood films. Malar J. 2008, 7: 62-PubMed CentralView ArticlePubMedGoogle Scholar
- Kedzierski L, Black CG, Goschnick MW, Stowers AW, Coppel RL: Immunization with a combination of merozoite surface proteins 4/5 and 1 enhances protection against lethal challenge with Plasmodium yoelii. Infect Immun. 2002, 70: 6606-6613. 10.1128/IAI.70.12.6606-6613.2002.PubMed CentralView ArticlePubMedGoogle Scholar
- Plasmodium Autocount and Cell Counting Aid. [http://bioinformatics.net.au/software.autocount.shtml]
- Python Programming Language. [http://python.org/]
- NumPy. [http://numpy.org/]
- SciPy. [http://scipy.org/]
- Kimme C, Ballard D, Sklansky J: Finding circles by an array of accumulators. Commun ACM. 1975, 18: 120-122. 10.1145/360666.360677.View ArticleGoogle Scholar
- Sobel I, Feldman G: A 3×3 Isotropic Gradient Operator for Image Processing. Stanford Artificial Project. 1968Google Scholar
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.