Simultaneous Segmentation of Leukocyte and Erythrocyte in Microscopic Images Using a Marker-Controlled Watershed Algorithm.
The number and type of blood cells must be counted in routine peripheral blood and bone marrow cell diseases . Traditional manual methods require haematologists to carefully observe the morphological characteristics of leukocytes and erythrocytes under a microscope. This process heavily depends on their skills and experiences, and the morphological characteristics may be misjudged and missed. Computer-aided systems based on digital image processing can reduce the erroneous judgment of human factors, improve inspection efficiency, and assist examiners in making decisions . The steps in these expert systems are separating target cells from cell clusters or image background, extracting the feature vector of the cells, and classifying unidentified cells by a trained classifier. Segmentation results directly affect the accuracy of cell classification and counting and play an important role in the expert systems. The background of blood smear image is complicated, and cells significantly overlap with one another. Consequently, complete cell extraction is difficult to realise and has become a new topic in medical image processing.
Several works on microscopic segmentation of blood smear images are available in the literature. Most of the works have focused on leukocyte (also referred to as white blood cell, WBC) segmentation, whereas limited research is available on erythrocyte (also called red blood cell, RBC) segmentation algorithms. This inequality is attributed to two main reasons. The first reason is that WBCs which are called immune cells and can help the body fight infection and external substances are more important in disease diagnosis than RBCs. The second reason is the high density of RBCs in blood, the complex distribution of RBCs, the variation in RBCs in blood smear images, and the difficulty in using traditional segmentation methods.
Several approaches have been developed for WBC segmentation. In principle, the methods can be categorised into three classes: threshold-, learning-, and deformable mode-based methods. Zhang et al.  proposed a method for segmenting WBCs on the basis of a colour enhancement technique and Otsu's threshold. Huang et al.  developed circle detection to obtain complete cells. Cuevas et al.  used a combination of k-means algorithm and colour space transformation to segment the WBCs in leukocytes and blast cells. Sadeghian et al.  presented a WBC segmentation framework that segments the cytoplasm by using a gradient vector flow (GVF) snake.
Similarly, studies that have worked on RBC segmentation methods have been documented. For example, Ma et al.  presented a new method based on the quality of binary images preprocessed using a Pulse Coupled Neural Network (PCNN) to infer RBC contours. Rashid et al.  used moving k-means clustering algorithm to segment an unsupervised colour image of thalassemia disease. Wei and Cao  segmented overlapping cells by combining region-growing algorithm and colour space transformation.
The above-mentioned algorithms are aimed at obtaining only WBCs or RBCs in blood smear images. No cell segmentation method that can simultaneously acquire WBCs and RBCs in blood smear can be used for analysing the two types of cells in experiments. A segmentation method for blood cell images is presented in this paper. This method realises the simultaneous segmentation of WBCs and RBCs in the blood smear images and can simplify operations and save time.
2. Background and Challenges
The blood smear images from a microscope provide important information for diagnosing and predicting diseases in the haematological analysis. Blood samples are prepared and sent to a blood cell counter for calculating each cell type. If haematologists find an unusual number of cells in any type, then they will investigate further by exploring the microscopic blood smear, recounting the number of cells and checking their morphology in detail. Any blood cells with irregular shapes or characteristics may trigger severe diseases. The visual inspection by haematologists is tedious and time-consuming. Therefore, an automating process is highly desirable to accelerate the process. Three types of blood components, that is, RBCs, WBCs, and platelets (PLTs), are present in a blood smear. The RBCs transport oxygen from lungs to all living tissues in the body and carry carbon dioxide. The RBCs are normally found in up to 40%-50% of the total blood volume. The diameter of RBCs is 6-8 [micro]m. The WBCs play an important role in the immune system of the body by defending it against infectious diseases and foreign materials. Therefore, an analysis of the WBC and RBC characteristics is essential.
A successful solution of cell segmentation requires incorporating domain-specific characteristics of images into the segmentation algorithm, similar to many segmentation problems. Figure 1 demonstrates two sample images containing different cell types, each of which has its own characteristics. WBCs come from the nucleus and cytoplasm. Mature RBCs are nonnucleated, biconcave disc-shaped cells, and PLTs exhibit a colour that is similar to the WBC nuclei and an irregular shape. The purple-like colour of WBCs typically makes them easy to differentiate from RBCs and the background. However, false positives might be produced when the RBCs are abutting these cells because their boundary regions may show similar colouration.
In the blood smear images, WBCs and RBCs are adhered to each other, the cells overlap, and the image background is complex. These features are challenging for image segmentation algorithms. The traditional image segmentation methods are invalid to these images and cannot get the satisfactory results. In addition, these methods often need to first distinguish blood cells from two different types, namely, WBCs and RBCs, and, respectively, segment them in independent procedures. It makes the process of image processing more tedious and time-consuming. From the above viewpoint, we try to make the process of blood cell image segmentation more simple and effective.
3. The Proposed Segmentation Algorithm
In the blood cell images, stained cell nucleus, WBC cytoplasm, and RBCs present visual differences. We divide the blood cell segmentation algorithm into two major steps. In the WBC nucleus segmentation step, a cell nucleus enhancer is proposed to segment the region we are interested in by enhancing the region of the leukocyte nucleus and suppressing the other region of the blood smear image.
We must separate the WBC cytoplasm region and RBCs from the background of the image in the blood cell segmentation step. The cell extraction process can be considered the image foreground and background of the two classification problems because the grey values of the background and other regions in the image are large and easy to distinguish. This step usually consists of two procedures. One procedure is separating cells from the background or the interfering part to generate the binarised image of the cells, where the target cell region is 1. The other procedure is separating cells, including the separation of adherent cells. This step is typically difficult. Figure 2 depicts the proposed framework on the segmentation scheme.
3.1. Leukocytes Nucleus Segmentation. The WBC nucleus region is equivalent to the WBC marker; that is, WBC nucleus and WBC marker exhibit a one-to-one correspondence. The nuclei in the WBCs are markedly different from the other parts of the image given their physical and chemical properties after the blood cells are stained. In Figure 3(a), test images with 360 x 360 sizes are captured by a charge-coupled device (CCD) camera with 100 times objective lens. Blood smear image-staining density can be described by the saturation colour component (Figure 3(b)), where a bright image indicates a high colour saturation value. The stained nuclei have a high value on the S-channel and are bright in the image. By contrast, the cytoplasm region, RBCs, and image background have a low grey value and are dark in the image.
The grey distribution of the nuclei in the I-channel (Figure 3(c)) is frequently opposite to that in the S-channel. Thus, image enhancement techniques are used to extend the dynamic range of the histogram and distinguish the nuclei from other parts of the original image. The two channels can be combined using the following formula:
[IMG.sub.1] = S/I, (1)
where [IMG.sub.1], S, and I represent the enhanced image, S-channels, and I-channels of the original image in colour space, respectively. Processing of pixels point by S and I images in the formula, as shown in Figure 3(d), is easier to extract in nucleus region of IMGX. Because the S-channel information and the I-channel information are independent of the colour, the method is more robust and will not be affected by other staining schemes. Note that the unit unified step of formula (1) is omitted.
By analysing the [IMG.sub.1] grey histogram, the cytoplasmic region, the image background, and the RBCs and the nucleus region formed two distinct peaks on the histogram. Otsu's threshold segmentation method can be used to obtain the nucleus binary map, as shown in Figure 3(e). Notice that the platelet and WBC nucleus have colour similarity to cause platelet to be misclassified into the WBC nucleus. This paper does not discuss the platelet, which can be removed by postprocessing based on regional thresholds. The postprocessing result is shown in Figure 3(f).
3.2. Blood Cells Segmentation. The blood cells segmentation method delineates cell boundaries by using a priori shape and edge information obtained from the distance and gradient maps and combining them in a marker-controlled watershed algorithm two times. To this end, it first defines a set of markers as foreground maker on the distance map, where each marker corresponds to an estimated location of a single cell, which is defined as a combination of the intensity and distance maps, in the flooding process of the watershed. At the end, it takes the ridge line obtained from the previous watershed transformation as a background marker. These markers correspond to the background of the image, combine the foreground markers with the background markers to reconstruct the edge gradient topographic map, and get the smooth cell boundary through the second watershed.
As shown in Figure 5, the proposed cells segmentation could be divided into four main steps: binary image extraction, foreground mark extraction, background mark extraction, and gradient topographic map reconstruction. The details are explained in the following subsections.
3.2.1. Binary Image Extraction. Cells in blood smear images overlap with one another. Consequently, correct separation results are difficult to obtain when the original image is directly used for subsequent processing. A gradient image reflects the grey level change information of the pixel. The edge of blood cells in the gradient image is presented as a significant highlight value different from the image background; this image background can be considered the topographic map in the watershed operation and as a priori knowledge of image binarisation.
According to the above discussion, we can use Sobel edge operator  in obtaining the gradient image of the cell (Figure 4(b)) and [nabla]I to represent it. The cell edge in [nabla]I is easy to distinguish in grey scale images and can be obtained by the threshold segmentation operation, as displayed in Figure 4(c). In this step, we obtain the key material of the binarisation operation, that is, the cell edge, which can be separated through the cell edge when the cells overlap. Burrs do not affect subsequent image manipulation, despite many burrs in the cell edge.
The left histogram in Figure 4 shows the I-channel grey value distribution of the blood cell image. We can select the extremes of the first valley as a threshold to replace the cell edge by analysing the grey histogram. Thus, we combine the cell edge and image background into a new image (Figure 4(d)), and the binary mask VB is obtained through threshold segmentation and filling operations (Figure 4(e)).
Gradient images [nabla]I and [nabla]B are obtained through a previous work. These images can be used to extract foreground and background markers on the basis of marker watershed transformations.
3.2.2. Foreground Mark Extraction. Marker-controlled watershed  is proposed to eliminate pseudoextreme points, thereby suppressing the oversegmentation phenomenon. The general idea is finding the mark points with the target or image background before the segmentation step. The mark points are regarded as the minimum point of the topographic map to modify thereof whilst shielding other local extreme points. Thus, selecting meaningful mark points becomes the top priority.
The distance transformation image embodies object shape. The binarised image of the cells is transformed into a distance map because the cell is nearly circular, and the number of cells and foreground mark can be obtained by an infinite corrosion operation and area threshold determination.
(1) Building Distance Topographic Maps and Extracting Mark Points. Distance transformation is an operation that converts a binary image into a grey scale image. In this grey scale image, the distance between each pixel and the closest background is represented by the grey level of the pixel. Distance transformation algorithms comprise two main types, namely, non-Euclidean and Euclidean distances . The non-Euclidean distance calculation is simple but is difficult to meet the accuracy requirements. Therefore, Euclidean distance transformation algorithm is used in many applications. The distance map is calculated by using the following formula:
[I.sub.Dist](i, j) = 255 - [d.sub.ij]. (2)
[nabla]B is denoised by Gaussian filtering to acquire the distance topographic map [I.sub.Dist], where (i, j) is the Euclidean distance of [d.sub.ij] coordinate point in the graph, as presented in Figure 6(a). [I.sub.Dist] reflects the shape characteristics of the cells. The largest point or point set in each connected region is the central region of individual cells, thereby satisfying the conditions of the foreground marker. The use of distance map to extract the local maximum value thereof can effectively obtain multiple adhesion targets that correspond to numerous foreground markers and thus can effectively separate the adhesion target. The previously obtained WBC markers are also considered foreground markers and are superimposed on the marker map to avoid the impact of the nucleus region on the segmentation algorithm.
(2) Removing Pseudomarker Points. In the image of cell adhesion, if most of the overlapping regions exist among the cells, then the overlap region will have multiple local maxima in the distance map. The additional extreme points, that is, pseudomarker points, are not required.
We can use the predetermined cell size information and shape similar to circular geometric information to remove the pseudomarker points. The maximum value of grey scale [d.sub.max] in the distance transformation map is obtained. [d.sub.max] is the radius of the largest cell in the map and can be used to estimate the cell size. The minimum Euclidean distance between the nth mark and its adjacent mark points is denoted by [T.sub.n]. If [T.sub.n] is smaller than the threshold T (e.g., T = 2 x [d.sub.max]), then the nth marker point can be judged as a pseudomarker and filtered out, where n is smaller than the marker point number.
3.2.3. Background Mark Extraction. The proposed method performs the watershed transformation based on [I.sub.Dist] in Figure 6(c) and marks the transformed watershed ridge as the background mark. The result is displayed in Figure 6(d). The watershed ridge is distributed throughout the background area, thereby dividing the image into multiple regions and the adherent cells to form a cell corresponding to a connected region. The overlaid foreground and background markers form a new marker map [I.sub.Mark] (Figure 6(e)).
3.2.4. Gradient Topographic Map Reconstruction. The H-minima technique  in mathematical morphology is used to modify [nabla]I, thereby suppressing the oversegmentation of watershed transformation. The basic principle is comparing the basin depth of the topographic map with a given threshold [t.sub.i] to eliminate the local minimum of the basin depth below [t.sub.i]. The process of elimination is similar to the process of filling a shallow basin. The calculation of H-minima is expressed by formulas (3) and (4).
The basin depth h is defined as the difference between the minimum gradient values and [([nabla]I).sup.Exterier.sub.min] within the region at the boundary of an area in the image.
h = [([nabla]I).sup.Exterier.sub.min] - [([nabla]I).sup.Interier.sub.min]. (3)
H-minima refer to the local minimum of all local minima by suppressing [nabla]I(i, j). The minimum depth h is less than the given [t.sub.i] and can be achieved by using the following formulas:
[mathematical expression not reproducible] (4)
where [R.sup.erode.sub.[nabla]I]([nabla]I + [t.sub.i]) indicates that [nabla]I(i,j) is corroded according to [nabla]I + [t.sub.i] of the image. The range of [t.sub.i] is generally between 2 and 4. Therefore, we select 3. The local minimum in the corrected gradient topographic image will only exist at the marker location. A foreground marker corresponds to a cell, and the background marker is distributed on the image background, thus forming a one-to-one relationship which can suppress the oversegmentation phenomenon. The modified gradient image [[nabla]I.sub.mark] is presented in Figure 7(c).
Figure 7 depicts the 2D and 3D representations of the three types of topographic maps, where (a) graph is the distance topographic map [I.sub.Dist], (b) graph is the unmodified gradient topographic map [nabla]I, and (c) graph is the modified gradient topographic map [[nabla]I.sub.mark] . Compared with map (b), map (c) exhibits the edge of the formation of the cell peak top and the cell interior and background areas for the trough terrain.
The marker-controlled watershed algorithm based on [[nabla]I.sub.mark] is performed to obtain the segmentation result, such as the colour map illustrated in Figure 7(e), given the blood cell segmentation.
3.3. Classification. In Section 3.2, the segmented blood cell is obtained through foreground, background mark extraction, gradient topographic map reconstruction, and marker-controlled watershed. In order to further distinguish which blood cells are WBCs or RBCs, it can be based on the characteristics of WBCs that have nuclei and RBCs without nuclei. We classify the cells according to the WBC markers obtained in Section 3.1.
As shown in Figure 7(e), the cells that contain blue lines that represent the cell nuclei are WBCs and the other cells are RBCs.
4. Experimental Results
Numerous microscopic images with 760 x 567 pixels are used to test and verify the timeliness and robustness of the proposed method. All test images are downloaded from the CellAtlas application. A dataset consists of 100 test images. The experimental results are summarized in Tables 1 and 2 to prove the performance of the proposed method. The proposed method obtains the contours of WBCs and RBCs simultaneously, whereas other methods can only acquire the contours of either WBCs or RBCs. The statistical indicators of WBCs and RBCs are thus calculated. The main purpose of Experiment 1 is testing the time complexity of the method, and the aim of Experiment 2 is verifying the robustness of the method. In Experiment 1, the average consumption time of the method for 100 cells is counted to compare the time complexity of multiple methods. The proposed method can obtain two types of cells; hence, the statistical data of 50 of the two types of cells are counted. The results are as follows.
Table 1 implies that the proposed method is the least average time-consuming method compared with other methods under the same conditions. The proposed method does not achieve a significant time advantage because this method uses two watershed operations. However, the method can also be effective for two cell types simultaneously, and two algorithms are not required to handle two cell types. Therefore, the image processing is simplified.
In Experiment 2, the automatically segmented results are compared with the results obtained manually by a haematologist. The proposed method is consistent and coherent in datasets, with the accuracy rates of the WBC segmentation at 97.2% and RBCs at 94.8%. In this evaluation, the segmentation result is considered accurate when the automatically detected boundary closely matches the manually traced boundary.
The proposed method has a greater advantage than the existing algorithms in statistical performance, especially in the undersegmentation index. In the statistical data of our methods, the one-to-one rate of WBCs is 97.2%, and the RBC segmentation accuracy rate is 94.8%. The oversegmentation and undersegmentation rates of RBCs are 3% and 1%, correspondingly. The results of extracting WBCs and RBCs separately are compared with the above algorithm results. We also obtain a small advantage. Our "fault" rate is the lowest, thereby proving the algorithm's robustness.
Table 2 indicates that the proposed method is tested on the database with satisfactory results, especially the undersegmentation. The oversegmentation and undersegmentation rates of RBCs are 3% and 1%, respectively. The "fault" rate of our method is the lowest. These statistical data show that the proposed method is robust.
The segmentation results are presented in Figure 8, where the red line is the outline of the blood cells, the blue line is the nucleus contours, and the cells containing the nucleus are WBCs. The test images comprise an image containing a plurality of WBCs. For these special cases, the method can effectively obtain the cytoplasm and nucleus. The method also obtains satisfactory segmentation results for RBC images.
In this article, we present a new method for simultaneous segmentation of WBCs and RBCs in blood smear images. We model the edge gradient and shape characteristics of these cells by defining two transformations and efficiently using these transformations in a marker-controlled watershed. The experiments show that this method can simultaneously extract the two blood cell types to simplify operations and reduce computing time. However, the proposed method must be further improved because producing slices and other causes of cell adhesion is serious, and the moderate image quality can negatively impact the accuracy of the segmentation algorithm.
All test images were downloaded from the CellAtlas application.
Conflicts of Interest
The authors declare that they have no conflicts of interest.
 B. A. Fenderson, "Molecular biology of the cell, 5th edition," Shock, vol. 30, no. 1, p. 100, 2008.
 V. Piuri and F. Scotti, "Morphological classification of blood leucocytes by microscope images," in Proceedings of the IEEE International Conference on Computational Intelligence for Measurement Systems and Applications (CIMSA '04), pp. 103-108, Boston, Mass, USA, July 2004.
 C. Zhang, X. Xiao, X. Li et al., "White blood cell segmentation by color-space-based k-means clustering," Sensors, vol. 14, no. 9, pp. 16128-16147, 2014.
 D. C. Huang, K. D. Hung, and Y. K. Chan, "A computer assisted method for leukocyte nucleus segmentation and recognition in blood smear images," Journal of Systems & Software, vol. 85, no. 9, pp. 2104-2118, 2012.
 E. Cuevas, D. Oliva, M. Diaz, D. Zaldivar, M. Perez-Cisneros, and G. Pajares, "White blood cell segmentation by circle detection using electromagnetism-like optimization," Computational and Mathematical Methods in Medicine, vol. 2013, Article ID 395071, 15 pages, 2013.
 F. Sadeghian, Z. Seman, A. R. Ramli, B. H. Abdul Kahar, and M.-I. Saripan, "A framework for white blood cell segmentation in microscopic blood images using digital image processing," Biological Procedures Online, vol. 11, no. 1, pp. 196-206, 2009.
 R. Ma, Y. Liang, and Y. Ma, "A self-adapting method for RBC count from different blood smears based on PCNN and image quality," in Proceedings of the 2016 IEEE International Conference on Bioinformatics and Biomedicine, BIBM 2016, pp. 1611-1615, December 2016.
 N. Z. N. Rashid, M. Y. Mashor, and R. Hassan, "Unsupervised color image segmentation of red blood cell for thalassemia disease," in Proceedings of the 2nd International Conference on Biomedical Engineering, ICoBE 2015, pp. 1-6, March 2015.
 X. Wei and Y. Cao, "Automatic counting method for complex overlapping erythrocytes based on seed prediction in microscopic imaging," Journal of Innovative Optical Health Sciences, vol. 9, no. 5, 2016.
 R. C. Gonzalez and P. Wintz, Digital Image Processing, Publishing House of Electronics Industry, 2010.
 K. Haris, S. N. Efstratiadis, N. Maglaveras, and A. K. Katsaggelos, "Hybrid image segmentation using watersheds and fast region merging," IEEE Transactions on Image Processing, vol. 7, no. 12, pp. 1684-1699, 1998.
 G. Borgefors, "Distance transformations in digital images," Computer Vision Graphics and Image Processing, vol. 34, no. 3, pp. 344-371, 1986.
 P. Soille, Morphological Image Analysis: Principles and Applications, Springer, Berlin, Germany, 2nd edition, 2003.
Huisi Miao (1,2) and Changyan Xiao (iD) (1,2)
(1) College of Electrical and Information Engineering, Hunan University, Changsha, China
(2) Kunshan Hunan University Robot Technology Co., Ltd., Kunshan, China
Correspondence should be addressed to Changyan Xiao; firstname.lastname@example.org
Received 7 September 2017; Revised 15 December 2017; Accepted 18 January 2018; Published 22 February 2018
Academic Editor: Michele Migliore
Caption: Figure 1: Sample blood smear images.
Caption: Figure 2: Flowchart of the proposed method.
Caption: Figure 3: Flowchart of leukocytes nucleus segmentation: (a) original image, (b) S-channels image, (c) I- channels image, (d) [IMG.sub.1] [the result after formula (1)], (e) the binary image of nucleus, and (f) the binary image after postprocessing.
Caption: Figure 4: Flowchart of cell binarisation: (a) grey histogram of I-channel in cell image, (b) edge gradient image of cells, (c) image of cell contour through a gradient threshold, (d) I-channel cell image modified by cell contour, and (e) binary image of cell.
Caption: Figure 5: Flowchart of the blood cell segmentation.
Caption: Figure 6: Flowchart of image mark generation: (a) distance topographic maps of cells, (b) foreground marker, (c) modified distance topographic map, (d) colour map of the ridge line after the watershed [the ridge line as the background mark], and (e) [I.sub.Mark] [a new marker map is combined with foreground and background markers].
Caption: Figure 7: Topographic maps and cell segmentation results: (a) distance topographic maps [2D and 3D], (b) gradient topographic map [2D and 3D], (c) reconstruction map of gradient topographic [2D and 3D], (d) segmented blood cell, and (e) segmented WBCs and RBCs after classification.
Caption: Figure 8: Example of the proposed algorithm's segmentation results.
Table 1: Algorithm time complexity. Method Time (s) Cuevas et al.'s method  0.30 Wei and Cao's method  0.46 Proposed method 0.32 Table 2: Segmentation performance. Method Cell One-to-one Overseg. Underseg. Fault Cuevas et al.'s WBCs 96.2% 0.8% 2.4% 1.0% method  Wei and Cao's RBCs 94.0% 2.0% 3.0% 1.0% method  Proposed WBCs 97.2% 1.0% 1.8% 0.0% method RBCs 94.8% 3.0% 1.0% 0.8%
|Printer friendly Cite/link Email Feedback|
|Title Annotation:||Research Article|
|Author:||Miao, Huisi; Xiao, Changyan|
|Publication:||Computational and Mathematical Methods in Medicine|
|Date:||Jan 1, 2018|
|Previous Article:||Analysis and Study of Diabetes Follow-Up Data Using a Data-Mining-Based Approach in New Urban Area of Urumqi, Xinjiang, China, 2016-2017.|
|Next Article:||Mathematical Modeling of Biofilm Structures Using COMSTAT Data.|