Literature DB >> 35399225

WBC-based segmentation and classification on microscopic images: a minor improvement.

Xin-Hui Lam1, Kok-Why Ng1, Yih-Jian Yoong1, Seng-Beng Ng2.   

Abstract

Introduction White blood cells (WBCs) are immunity cells which fight against viruses and bacteria in the human body. Microscope images of captured WBCs for processing and analysis are important to interpret the body condition. At present, there is no robust automated method to segment and classify WBCs images with high accuracy. This paper aims to improve on WBCs image segmentation and classification method. Methods A triple thresholding method was proposed to segment the WBCs; meanwhile, a convolutional neural network (CNN)-based binary classification model that adopts transfer learning technique was proposed to detect and classify WBCs as a healthy or a malignant. The input dataset of this research work is the Acute Lymphoblastic Leukemia Image Database (ALL-IDB). The process first converts the captured microscope images into HSV format for obtaining the H component. Otsu thresholding is applied to segment the WBC area. A 13 × 13 kernel with two iterations was used to apply morphological opening on image to ameliorate output results. Collected cell masks were used to detect the contour of each cell on the original image. To classify WBCs into a healthy or a malignant category, characteristics and conditions of WBCs are to be examined. A transfer learning technique and pre-trained InceptionV3 model were employed to extract the features from the images for classification. Results The proposed WBCs segmentation method yields 90.45% accuracy, 83.81% of the structural similarity index, 76.25% of the dice similarity coefficient, and is computationally efficient. The accuracy of fine-tuned classifier model for training, validation and test sets are 93.27%, 92.31% and 96.15% respectively. The obtained results are high in accuracy and precision are over 96% and with lower loss value. Discussion Triple thresholding outperforms K-means clustering in segmenting smaller dataset. Pre-trained InceptionV3 model and transfer learning improve the flexibility and ability of classifier. Copyright:
© 2021 Lam XH et al.

Entities:  

Keywords:  Convolutional Neural Network; Image Classification; Image Processing; Image Segmentation; Microscopic Images; White Blood Cells

Mesh:

Year:  2021        PMID: 35399225      PMCID: PMC8976187          DOI: 10.12688/f1000research.73315.1

Source DB:  PubMed          Journal:  F1000Res        ISSN: 2046-1402


Introduction

According to, peripheral blood (PB) or whole blood is the circulating fluid through the entire human body. PB delivers oxygen and nutrients to all the body cells, tissues, and organs, and removes the carbon dioxide and other waste products. It consists of erythrocytes (red blood cells, RBCs), leukocytes (white blood cells, WBCs) and thrombocytes (platelets). RBCs transport oxygen from the lungs to all the body tissues; WBCs fight against the harmful bacteria, parasitic and fungal infections; while platelets clot the blood in wounds on surfaces of the tissue layers. WBCs with a single granulocyte are the monocyte and lymphocyte; while basophil, eosinophil, neutrophil are the WBCs with more than one granulocyte. Lymphocyte can be affected by acute lymphoblastic leukemia (ALL). Leukemia is a disease formed in tissues that produce large portions of malfunctional and abnormal WBCs that spreads from bone marrow. Based on findings of, chronic lymphoblastic leukemia (CLL) (35%) and acute myelogenous leukemia (AML) (32%) are the most common leukemias for adults, while ALL (75%) affects children and teens the most. The World Health Organization (WHO) once stated that ALL is one of the six cancers for children that requires extra attention. ALL, AML, CLL and chronic myelogenous leukemia (CML) are leukemia subtypes. Fast-growing cancer in lymphoid cells results in the formation of ALL, as opposed to CML; while fast-growing cancer in myeloid cells resulted in the formation of AML, as opposed to CLL. Those over 50 years old and children below 5 years old are the main affected populations of ALL, and the disease can be fatal if not treated earlier. PB smear analysis can detect potential disorders and inform health status, while pathology tests can help in tracking the ongoing status of infections, allergies, cancers etc. A WBC test is one sub-element of a complete blood count (CBC), one of the pathology tests that helps doctors discovers the unexposed infections. The University of Roschester Medical Center (UMRC) has declared that the normal range of WBCs per microliter of blood is 4,000 to 11,000; if WBCs exceed 11,000 per microliter, it is termed as leukocytosis. Traditional PB smear analysis and CBCs are based on the human inspection. It is laboriously suffered from the intra-observer variability and is not time-efficient or cost efficient. Today, computer-aided diagnosis (CADx) systems are employed and contain four main steps: preprocessing, segmentation, feature extraction, and classification. Previous work gained 99.14% and 94.12% accuracy for the nucleus segmentation and cell segmentation respectively, while classification accuracy was over 90%. Cell segmentation and binary classification works can be improved further.

Literature review

Studies by , summarized WBC segmentation works into pattern recognition-based, deformable model-based, threshold-based, morphological operations-based, and clustering-based segmentation. suggested a combination of dual-threshold and morphological operations which achieved 97.85% accuracy. Dual-threshold, binarization, and morphological opening were applied on both preprocessed contrast-stretched grey and H components images. A threshold method was also proposed by other researchers. – recommended a watershed-based and Otsu threshold-based segmentation which resulted in 99.3% and 93.3% accuracy, respectively. K-means clustering was another famous segmentation approach. – , , applied K-means clustering-based segmentation on the G component of RGB image for two datasets and gained 99.51% and 99.74% accuracy respectively; when applied to a CMYK image, 98.89% accuracy was obtained. Deep learning (DL) performed object class prediction by recognizing and learning patterns in visual inputs, making it the state-of-the-art method today. Region of interest (ROI) and neural networks were two other parts of machine learning that were popular nowadays. Recommended semantic segmentation that performed whole-slide WBCs segmentation and received 93.34% accuracy. Used four-moment statistical features and artificial neural networks (ANN) to segment based on local pixel information, and the overall accuracy was 97%. Work done by included WBC localization and Grabcut to perform WBCs segmentation. Edge density (ED) and color contrast (CC) were measured. DL gains high segmentation accuracy; however, it has complex architecture, making it challenging to be a robust and generalized DL model. For the WBCs classification works, – employed a deep convolutional neural network (DCNN); suggested two methods, neural network (NN) combined with the autoencoders, and a convolutional neural network (CNN); – also proposed CNN; , suggested the support vector machine (SVM); suggested the combination of K-means neighbours and social spider optimization. Works of , , , yielded great outputs. used DCNN to classify WBCs into monocytes, neutrophils, eosinophils, and lymphocytes with accuracy of 92.14%, 94.72%, 91.25%, and 94.61% respectively. This research project is a continuing work that aims to gain improved results for both the WBCs segmentation and classification works. The cell segmentation from the previous work has achieved high accuracy for the nucleus segmentation.

Method

The input dataset was the ALL-IDB2 dataset provided by the Department of Information Technology at University degli Studi di Milano. ALL-IDB2 contains a total of 260 normal and blasts WBCs images collected from blood samples of ALL patients which were designed to test the cell classification efficiency. Classification and labelling process to get the ground truth images was done by the expert oncologists. This dataset was captured using an optical laboratory microscope coupled with a Canon PowerShot G5 camera, saved as JPG format.

Cell segmentation

Figure 1 shows the overall flowchart of the proposed cell segmentation. H component is extracted from the transformed HSV formatted microscopic image ( Figure 2 and Figure 3). Subsequently, Gaussian filtering and Otsu thresholding , , are applied three times to remove RBCs, RBCs boundaries, and to segment the WBCs. Results for each round can be viewed in Figure 4. Then, a 13 × 13 morphological opening is employed to remove small objects from the foreground to get better results as shown in Figure 5. Finally, cell masks are collected to detect the cell contour from the original RGB formatted image as shown in Figure 6.
Figure 1.

Flowchart of proposed cell segmentation.

Figure 2.

BGR and HSV format input images.

Figure 3.

H, S and V channels.

Figure 4.

Results obtained from three times of Gaussian filtering and Otsu Thresholding respectively.

Figure 5.

Final segmentation results after applied morphological opening.

Figure 6.

(a) Original RGB image (b) Original RGB image with drawn contour.

Binary classification

Figure 7 shows the flowchart of the formation of the proposed binary WBCs classifier model. Characteristics and conditions of WBCs are crucial for this work.
Figure 7.

Flowchart of building up proposed binary CNN classifier model.

A pre-trained InceptionV3 model is employed. – It is used to extract features in a data preprocessing step which was inspired by. Also, the transfer learning technique is adopted. Dataset is divided into training, validation and testing sets, 208 images for training set, while validation and test sets each contains 26 images. All the input images are re-sized to 150 × 150 pixels and are normalized to (−1, 1) to fit into InceptionV3 model. First, a new classifier is built and its architecture is shown in Figure 8. It has 2049 trainable parameters, global average pooling that forms a feature map to prevent overfitting, and a dense layer that applies sigmoid activation to do the binary classification. The pre-trained InceptionV3 model extracts all the features from the training and validation sets. Next, the model is trained for 300 epochs. The training learning curves graph (accuracy and loss) of the newly defined classifier are shown in Figure 9 and Figure 10. The point of interception has the highest validation accuracy and smaller differences between training and validation accuracy. Hence, the epoch value along with the lead of intersection between the two curve lines is the best epoch chosen as a final classifier. New classifier will then be combined with the pre-trained InceptionV3 to form the final classifier. As shown in Figure 11, out of 21,804,833 parameters, the final classifier had a total of 6,321,857 trainable parameters.
Figure 8.

Architecture of the newly defined classifier.

Figure 9.

Training learning curve of accuracy for training and validation sets of newly defined classifier.

Figure 10.

Training learning curve of loss for training and validation sets of newly defined classifier.

Figure 11.

Architecture of fine-tuned classifier.

Data augmentation increases the diversity of data using various techniques such as flipping, rotation, translation etc. The benefit that comes along with this technique is reducing the model bias tendency towards a particular class of data. Thus, it is applied to both the training and validation sets to allow the model to learn better and to reduce the overfitting consequences. The training learning curves graph (accuracy and loss) of the fine-tuned classifier model can be viewed in Figure 12 and Figure 13. Epoch with the highest validation accuracy and lowest validation loss is chosen as the final classifier.
Figure 12.

Training learning curve of accuracy for training and validation sets of the fine-tuned classifier.

Figure 13.

Training learning curve of loss for training and validation sets of the fine-tuned classifier.

Results

Figure 14 shows some results of the proposed cell segmentation that attained 90.45%, 93.91%, 76.25% and 0.0186 seconds for the average accuracy, structural similarity, dice similarity coefficient and computational time respectively. The final results achieve high accuracy and similarity, over the average overlapping between the ground truth and the original images with short computation time. In short, the proposed cell segmentation method makes a performance.
Figure 14.

Results of proposed cell segmentation.

The sample results shown in Figure 14 demostrate that the first row yields an excellent segmentation outcomes while the following rows of images weren’t. This may be due to the undesirable illuminations and blur levels. In addition, the inconspicuous difference between the foreground (WBC) and the background caused by the uneven acquisition can be another factor that affects the final results. Table 1 and the bar chart in Figure 15 show the comparison between the K-means clustering and the proposed triple thresholding method. This work obtained higher accuracy in a shorter time.
Table 1.

Comparison between previous work (K-means clustering) and proposed work (Triple thresholding).

K-means clusteringTriple thresholding
Accuracy0.89050.9045
Structural similarity0.80050.8381
Dice similarity coefficient0.74380.7625
Computational time1.19350.0186
Figure 15.

Grouped bar chart for comparison between the K-means clustering and the proposed triple thresholding method.

Table 2 shows the performance of the newly defined classifier; while Table 3 shows the performance of the fine-tuned classifier.
Table 2.

Performance of newly defined classifier.

Training setValidation setTest set
Accuracy0.81730.80770.8974
Loss0.49060.52740.4982
Precision0.80000.78570.9444
Recall0.84620.84620.8308
True positive88.000011.00008.6667
True negative82.000010.000010.6667
False positive22.00003.00000.6667
False negative16.00002.00001.6667
Table 3.

Performance of fine-tuned classifier.

Training setValidation setTest set
Accuracy0.93270.92310.9615
Loss0.20280.29410.2229
Precision0.94120.92311.0000
Recall0.92310.92310.9231
True positive96.000012.000012.0000
True negative98.000012.000013.0000
False positive6.00001.00000.0000
False negative8.00001.00001.0000
It is observed that the accuracy, precision, recall, true positive and true negative for all the three sets of data increased while loss, false positive and false negative results decreased after the fine-tuned stage. This indicates that the fine-tuned classifier is a robust and good fitted classifier that can accurately predict and make fewer errors. Figure 16 and Figure 17 are the samples of the binary classification results. If the prediction value is over 0.5, they are considered as healthy WBCs; otherwise, they are ALL WBCs. Results of the predicted label by the classifier and the actual label are the same. Both the sample images are classified correctly.
Figure 16.

Sample ALL WBCs image being tested.

Figure 17.

Sample healthy WBCs image being tested.

Comparisons between the previous works and the proposed work for the binary classification are shown in Table 4 and the bar chart in Figure 18. The proposed binary classification work outperforms previous works with the highest accuracy, 96.15%. The proposed work is able to classify the WBCs into healthy and malignant groups accurately.
Table 4.

Comparisons between previous works and proposed work.

Proposed methodAccuracy (%)
[ 29]Feature extraction using SSOA and KNN95.23
[ 36]VGGNet features extractor and Improved Swarm optimization (SESSA) features selector96.11
[ 12]Transfer learning on MobileNetV2 classifier92.31
Proposed work Transfer learning on pre-trained InceptionV3 CNN classifier 96.15
Figure 18.

Bar chart for comparisons between previous works and proposed work.

Discussion

The proposed method in this study shows a new possible approach or direction for the future research work on WBC cell segmentation and binary classification. In the comparison table between the previous works and the proposed work for the cell segmentation, it is proven that the threshold-based segmentation can outperform the K-means clustering when dealing with a small dataset. Otsu thresholding uses the global thresholding while the K-means clustering uses the local thresholding to perform the segmentation. Otsu thresholding calculates the optimum thresholding after distributing the pixels into foreground and background classes. K-means clustering determines the k centroids, evaluates pixels and groups the similar pixels into the same cluster. Most images of the ALL-IDB2 contain large foreground (WBC) size leading to a good bimodal distribution of the histogram where Otsu thresholding is more capable and expertise than K-means clustering to perform segmentation due to the thresholding technique used. The pre-processing and post-processing are crucial as they can very much affect the final output of the Otsu thresholding. On the other hand, the proposed binary WBC classification that uses the pre-trained InceptionV3 and transfer learning technique yields 96% of accuracy. The pre-trained classifier model is trained with a large dataset, hence, it eliminates the need to build a classifier model from scratch. This makes it able to extract features better than VGGNet or SSOA in previous works. Transfer learning technique reuses pre-trained model on a different but similar problem is a noble approach. This gives the model a higher learning rate during the training. It is not only more intelligent but also able to accomplish works in higher performance. Using pre-trained and transfer learning approaches, the binary classifier model is more brilliant and flexible than the previous research. It can adapt quickly and use the best-fitted methods to perform classification on the dataset. Also, the InceptionV3 model requires fewer generated parameters of networks as compared with VGGNet. Hence, the final results are better than the previous works when combined with the binary WBCs classification. From Table 4, it is observed that the proposed work has a potential to be considered for the future application.

Conclusions

This research focuses on improving the WBC cell segmentation and binary classification works. A public dataset, ALL-IDB2 is used to perform the cell segmentation and binary classification. Triple thresholding method is proposed to achieve the first objective of this research and the results are 90.45%, 83.81%, 76.25%, and 0.0186 seconds for the accuracy, structural similarity index, dice similarity coefficient, and computation time respectively. Combining the pre-trained InceptionV3 model and the transfer learning technique produce over 96% accuracy and the precision with a lower loss value was suggested to accomplish the second objective of this research. The overall performance for both the segmentation and classification works have been improved.

Author contributions

LamXH, NgKW, YoongYJ and NgSB conceived the presented idea. LamXH carried out the experiment and wrote the manuscript. NgKW, YoongYJ and NgSB supervised the project and provided feedback.

Ethics

Ethical Approval Body: Research Ethic Committee 2021, Multimedia University Ethical Approval Number: EA1552021

Data availability

Data were obtained from Acute Lymphoblastic Leukemia Image Database for Image Processing (ALL-IDB) ( https://homes.di.unimi.it/scotti/all/). This dataset was not generated nor is it owned by the authors of this article; the listed owners is the Department of Computer Science - Università degli Studi di Milano. Therefore, neither the authors nor F1000Research are responsible for the content of this dataset and cannot provide information about data collection. This paper reports on an effort to segment and classify microscopic images. I wonder how the authors define "a minor improvement"? The baseline results on the original dataset should be listed, if applicable. Perhaps authors should consider if the listed publications at  https://homes.di.unimi.it/scotti/all/ are necessary to be cited. Why was InceptionV3 selected and not any other pre-trained model? Can the authors comment on the work entitled "IoT Application of Transfer Learning in Hybrid Artificial Intelligence Systems for Acute Lymphoblastic Leukemia Classification" ? It uses low power IoT devices with an encoder and a classification head. And achieves higher accuracy - what would be a fair comparison between this work and the author's work? Is the work clearly and accurately presented and does it cite the current literature? Partly If applicable, is the statistical analysis and its interpretation appropriate? Yes Are all the source data underlying the results available to ensure full reproducibility? Yes Is the study design appropriate and is the work technically sound? Yes Are the conclusions drawn adequately supported by the results? Yes Are sufficient details of methods and analysis provided to allow replication by others? Yes Reviewer Expertise: Deep Learning, Machine Learning I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard. The authors have used a novel methodology for White Blood Cell (WBC) segmentation and classification. They have proposed a new classifier and fine-tune the classifier for better accuracy. The results are prominent as the accuracy is high compared to the existing methods in Hedge et al. (2019) , Prellberg et al. (2019) and Sahlol et al. (2020) (references 29, 36, and 12 respectively in the article). The results are tabulated and represented in the form of graphs and charts. The authors have used Gaussian filtering with Otsu thresholding for three times with a 13 x 13 filter for segmentation of WBC and to remove Red Blood Cells (RBC). What is the significance of the 13 x 13 filter? The reason is not found in the paper. The authors experimented with neural networks combined with autoencoders for improved accuracy. The authors have used various pre-trained models for classification and also performed comparative studies with the existing techniques from the literature. Is the work clearly and accurately presented and does it cite the current literature? Yes If applicable, is the statistical analysis and its interpretation appropriate? Yes Are all the source data underlying the results available to ensure full reproducibility? Yes Is the study design appropriate and is the work technically sound? Yes Are the conclusions drawn adequately supported by the results? Yes Are sufficient details of methods and analysis provided to allow replication by others? Yes Reviewer Expertise: Myself working in the area of machine learning, deep learning and made good number of publications in bioinformatics, machine learning. I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard.
  8 in total

1.  Segmentation of White Blood Cells Image Using Adaptive Location and Iteration.

Authors:  Yuehua Liu; Feilong Cao; Jianwei Zhao; Jianjun Chu
Journal:  IEEE J Biomed Health Inform       Date:  2016-11-04       Impact factor: 5.772

2.  Proposals for the classification of the acute leukaemias. French-American-British (FAB) co-operative group.

Authors:  J M Bennett; D Catovsky; M T Daniel; G Flandrin; D A Galton; H R Gralnick; C Sultan
Journal:  Br J Haematol       Date:  1976-08       Impact factor: 6.998

3.  Segmentation of White Blood Cells From Microscopic Images Using a Novel Combination of K-Means Clustering and Modified Watershed Algorithm.

Authors:  Narjes Ghane; Alireza Vard; Ardeshir Talebi; Pardis Nematollahy
Journal:  J Med Signals Sens       Date:  2017 Apr-Jun

4.  Acute Lymphoblastic Leukemia Detection and Classification of Its Subtypes Using Pretrained Deep Convolutional Neural Networks.

Authors:  Sarmad Shafique; Samabia Tehsin
Journal:  Technol Cancer Res Treat       Date:  2018-01-01

5.  IoT Application of Transfer Learning in Hybrid Artificial Intelligence Systems for Acute Lymphoblastic Leukemia Classification.

Authors:  Krzysztof Pałczyński; Sandra Śmigiel; Marta Gackowska; Damian Ledziński; Sławomir Bujnowski; Zbigniew Lutowski
Journal:  Sensors (Basel)       Date:  2021-12-01       Impact factor: 3.576

6.  Segmentation of White Blood Cell from Acute Lymphoblastic Leukemia Images Using Dual-Threshold Method.

Authors:  Yan Li; Rui Zhu; Lei Mi; Yihui Cao; Di Yao
Journal:  Comput Math Methods Med       Date:  2016-05-22       Impact factor: 2.238

7.  Robust Method for Semantic Segmentation of Whole-Slide Blood Cell Microscopic Images.

Authors:  Muhammad Shahzad; Arif Iqbal Umar; Muazzam A Khan; Syed Hamad Shirazi; Zakir Khan; Waqas Yousaf
Journal:  Comput Math Methods Med       Date:  2020-01-21       Impact factor: 2.238

  8 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.