BLOOD CELLS EXTRACTION USING COLOR BASED SEGMENTATION TECHNIQUE

Similar documents
Detection and Counting of Blood Cells in Blood Smear Image

AUTOMATED DIFFERENTIAL BLOOD COUNT USING IMAGE QUANTIZATION

Leukemia Detection With Image Processing Using Matlab And Display The Results In Graphical User Interface

White Blood Cells Identification and Counting from Microscopic Blood Image

An Image Processing Approach for Screening of Malaria

COMPUTERIZED HEMATOLOGY COUNTER

Comparison of Segmentation Framework on Digital Microscope Images for Acute Lymphoblastic Leukemia Diagnosis using RGB and HSV Color Spaces

Enhanced Identification of Malarial Infected Objects using Otsu Algorithm from Thin Smear Digital Images

AUTOMATED MALARIA PARASITE DETECTION BASED ON IMAGE PROCESSING PROJECT REFERENCE NO.: 38S1511

Keyword: Morphological operation, template matching, license plate localization, character recognition.

Estimating malaria parasitaemia in images of thin smear of human blood

Improved Fuzzy C Means Clustering For Complete Blood Cell Segmentation

Computational approach for diagnosis of malaria through classification of malaria parasite from microscopic image of blood smear.

An Evaluation of Automatic License Plate Recognition Vikas Kotagyale, Prof.S.D.Joshi

Acute Lymphocytic Leukemia Detection and Classification (ALLDC) System

Edge Detection of Sickle Cells in Red Blood Cells

Detection of License Plates of Vehicles

INDIAN VEHICLE LICENSE PLATE EXTRACTION AND SEGMENTATION

A Hybrid Colour Image Enhancement Technique Based on Contrast Stretching and Peak Based Histogram Equalization

Number Plate Recognition Using Segmentation

Segmentation of Microscopic Bone Images

Automatic Morphological Segmentation and Region Growing Method of Diagnosing Medical Images

The Use of Neural Network to Recognize the Parts of the Computer Motherboard

Available online at ScienceDirect. Ehsan Golkar*, Anton Satria Prabuwono

][ R G [ Q] Y =[ a b c. d e f. g h I

Introduction to computer vision. Image Color Conversion. CIE Chromaticity Diagram and Color Gamut. Color Models

Fast identification of individuals based on iris characteristics for biometric systems

Detection of Defects in Glass Using Edge Detection with Adaptive Histogram Equalization

Segmentation of Liver CT Images

PARAMETER ESTIMATION OF METAL BLOOMS USING IMAGE PROCESSING TECHNIQUES

Urban Feature Classification Technique from RGB Data using Sequential Methods

Identification of Fake Currency Based on HSV Feature Extraction of Currency Note

Quality Control of PCB using Image Processing

Detection and Verification of Missing Components in SMD using AOI Techniques

Segmentation and Analysis of Microscopic Osteosarcoma Bone Images

COLOR IMAGE SEGMENTATION USING K-MEANS CLASSIFICATION ON RGB HISTOGRAM SADIA BASAR, AWAIS ADNAN, NAILA HABIB KHAN, SHAHAB HAIDER

Automatic Licenses Plate Recognition System

Pupil Segmentation of Abnormal Eye using Image Enhancement in Spatial Domain

COMPARATIVE PERFORMANCE ANALYSIS OF HAND GESTURE RECOGNITION TECHNIQUES

A Proficient Matching For Iris Segmentation and Recognition Using Filtering Technique

VEHICLE LICENSE PLATE DETECTION ALGORITHM BASED ON STATISTICAL CHARACTERISTICS IN HSI COLOR MODEL

Vehicle Number Plate Recognition with Bilinear Interpolation and Plotting Horizontal and Vertical Edge Processing Histogram with Sound Signals

CHAPTER 4 LOCATING THE CENTER OF THE OPTIC DISC AND MACULA

Brain Tumor Segmentation of MRI Images Using SVM Classifier Abstract: Keywords: INTRODUCTION RELATED WORK A UGC Recommended Journal

Image Processing and Particle Analysis for Road Traffic Detection

Implementing RoshamboGame System with Adaptive Skin Color Model

A Novel Morphological Method for Detection and Recognition of Vehicle License Plates

ME 6406 MACHINE VISION. Georgia Institute of Technology

A SURVEY ON HAND GESTURE RECOGNITION

Retinal blood vessel extraction

Received on: Accepted on:

Centre for Computational and Numerical Studies, Institute of Advanced Study in Science and Technology 2. Dept. of Statistics, Gauhati University

QUALITY CHECKING AND INSPECTION BASED ON MACHINE VISION TECHNIQUE TO DETERMINE TOLERANCEVALUE USING SINGLE CERAMIC CUP

An Efficient Method for Vehicle License Plate Detection in Complex Scenes

Studying of Reflected Light Optical Laser Microscope Images Using Image Processing Algorithm

International Journal of Advance Engineering and Research Development

AUTOMATIC NUMBER PLATE DETECTION USING IMAGE PROCESSING AND PAYMENT AT TOLL PLAZA

Biometrics Final Project Report

Implementation of Barcode Localization Technique using Morphological Operations

PRACTICAL IMAGE AND VIDEO PROCESSING USING MATLAB

MAV-ID card processing using camera images

Label and Barcode Detection in Wide Angle Image

Image Extraction using Image Mining Technique

AUTOMATIC IRAQI CARS NUMBER PLATES EXTRACTION

Wheeler-Classified Vehicle Detection System using CCTV Cameras

An Effective Method for Removing Scratches and Restoring Low -Quality QR Code Images

Automatic Detection Of Optic Disc From Retinal Images. S.Sherly Renat et al.,

AGRICULTURE, LIVESTOCK and FISHERIES

Detection of Malaria Parasite Using K-Mean Clustering

Human Brain Microwave Imaging Signal Processing: Frequency Domain (S-parameters) to Time Domain Conversion

IJSRD - International Journal for Scientific Research & Development Vol. 4, Issue 05, 2016 ISSN (online):

2014, IJARCSSE All Rights Reserved Page 157

Area Extraction of beads in Membrane filter using Image Segmentation Techniques

Hand Segmentation for Hand Gesture Recognition

Spring 2005 Group 6 Final Report EZ Park

The Classification of Gun s Type Using Image Recognition Theory

Vehicle License Plate Recognition System Using LoG Operator for Edge Detection and Radon Transform for Slant Correction

MICROCHIP PATTERN RECOGNITION BASED ON OPTICAL CORRELATOR

A Real Time based Image Segmentation Technique to Identify Rotten Pointed Gourds Pratikshya Mohanty, Avinash Kranti Pradhan, Shreetam Behera

License Plate Localisation based on Morphological Operations

Color Image Processing

Image Processing Based Vehicle Detection And Tracking System

MEASUREMENT OF ROUGHNESS USING IMAGE PROCESSING. J. Ondra Department of Mechanical Technology Military Academy Brno, Brno, Czech Republic

Extraction and Recognition of Text From Digital English Comic Image Using Median Filter

Original and Counterfeit Money Detection Based on Edge Detection

Colored Rubber Stamp Removal from Document Images

NON UNIFORM BACKGROUND REMOVAL FOR PARTICLE ANALYSIS BASED ON MORPHOLOGICAL STRUCTURING ELEMENT:

A Modular and Generic Virtual Reality Training Framework for Micro-Robotic Cell Injection Systems

A Novel Approach for Automated Color Segmentation of Tuberculosis Bacteria through Region Growing

An Automatic System for Detecting the Vehicle Registration Plate from Video in Foggy and Rainy Environments using Restoration Technique

Classification of Clothes from Two Dimensional Optical Images

OPEN CV BASED AUTONOMOUS RC-CAR

Automatic License Plate Recognition System using Histogram Graph Algorithm

CHAPTER 1 INTRODUCTION

Traffic Sign Recognition Senior Project Final Report

DISEASE DETECTION OF TOMATO PLANT LEAF USING ANDROID APPLICATION

Morphological Image Processing Approach of Vehicle Detection for Real-Time Traffic Analysis

Image Processing by Bilateral Filtering Method

Iris Recognition using Hamming Distance and Fragile Bit Distance

Iris Segmentation & Recognition in Unconstrained Environment

Transcription:

Int. J. LifeSc. Bt & Pharm. Res. 2013 Nasrul Humaimi Mahmood et al., 2013 Research Paper BLOOD CELLS EXTRACTION USING COLOR BASED SEGMENTATION TECHNIQUE Nasrul Humaimi Mahmood 1,2 *, Poon Che Lim 2, Siti Madihah Mazalan 1 and Mohd Azhar Abdul Razak 2 ISSN 2250-3137 www.ijlbpr.com Vol. 2, No. 2, April 2013 2013 IJLBPR. All Rights Reserved *Corresponding Author: Nasrul Humaimi Mahmood, nasrulhumaimi@biomedical.utm.my Blood cell segmentation and identification is a vital in the study of blood as a health indicator. A complete blood count is used to determine the state of a person s health based on the contents of the blood in particular the white blood cells and the red blood cells. The main problem arises when massive amounts of blood samples are required to be processed by the hematologist or Medical Laboratory Technicians. The time and skill required for the task limits the speed and accuracy with which the blood sample can be processed. This project aims to provide userfriendly software based on MATLAB allowing for quick user interaction with a simple tool for the segmentation and identification of red and white blood cells from a provided image. In order to perform the segmentation, this project used color based segmentation using International Commission on Illumination L*a*b* (CIELAB) color space. The completed project is able to obtain quick and accurate blood cell segmentation of both red and white blood cells. The accuracy of this project ranges from 64% to 87% depending on the type of processing used and the type of cells being extracted. Keywords: MATLAB, Segmentation, Identification, Red and white blood cells, CIELAB color space INTRODUCTION Human blood is composed mainly of three main cell types, White Blood Cells (WBCs), Red Blood Cells (RBCs) and platelets. The counting of these blood cells is known as a complete blood count and provides information such as the lack or overabundance of certain cells which could indicate certain diseases such as leukemia or anemia. WBCs in particular can help to determine the state of health of a person as well as some diseases they may have. The reason for this is that WBCs are produced as a reaction to illness. Overproduction or underproduction can also indicate certain diseases including infections, allergies, blood related conditions and the body s response to treatment. The number and shape of the RBCs can also indicate certain medical problems. Since the RBC carries oxygen from the lungs and carbon dioxide to the lungs, the 1 Department of Biotechnology and Medical Engineering, Faculty of Biosciences and Medical Engineering (FBME), Universiti Teknologi Malaysia, 81310 UTM Johor Bahru, Johor, Malaysia. 2 Infocomm Research Alliance, Faculty of Electrical Engineering, Universiti Teknologi Malaysia, 81310 UTM Johor Bahru, Johor, Malaysia. 233

RBC count is a great indicator to determine the body s oxygen level. As such, counting RBC content in blood is also a medical asset. Blood cell segmentation and identification are centered on the pre-processing of the image, segmentation of the Regions of Interest (ROI) and identification or classification of the cells. Recent studies have suggested different method for segmentation and identification of blood cells. Sadeghian et al. (2009) proposes a flow that makes use of the gray levels to extract the WBC. The nucleus of the WBC is then extracted using a method of contour modeling called the Gradient Vector Flow (GVF) snakes model. This proposed method was found to have 92% accuracy in segmenting W BCs and 78% accuracy in segmenting cytoplasm. It does not however identify either and is used primarily as an image segmentation method. Hiremath et al. (2010) proposed a two pass method to identify and classify WBCs. Their proposed method consists of segmenting the WC based on either gray levels or HSV hue detection. This method was found to have a 92-99% success rate depending on the feature values used in the classification. Similar results were also obtained when using HSV color image formats coupled with hue determination for the WBC extraction. From the work done by Poomcokrak et al. (2008) used neural networks in the cell analysis and classification. The proposed flow is itself very rudimentary and comprises of cell extraction followed by classification and finally counting. This method produces a 74% accurate system of segmentation and counting of RBC. Another body of work using contour tracing is seen in Vromen et al. (2006). Their proposed system makes use of monochrome images and performs contour tracing using gradient vectors of individual pixels. This method was found to be 85% accurate in detecting perfect contours and 95% accurate when including occluded contours. Hough transform technique has been used by Mahmood and Mansor (2012) and Maitra et al. (2012) to detect and count the number of RBC in the microscopic blood cell image. This technique used features such as the shape of RBC for counting process. METHODOLOGY A. Color Segmentation The first step is segmentation of the image. Similar to Hiremath et al. (2010) and Sinha and Ramakrishnan (2002) this project will use color based segmentation. The input images are converted from their original RGB format to CIE L*a*b* color space as opposed to the HSV color model. B. User Specified CIELAB Range The default values for this project were found through the analysis of three sample images. It was found that the WBC could be segmented through the b axis alone. This is due to the fact that the b axis defines the color along the blue to yellow color line. Since the Wright s stain gives the WBC a purplish stain skewing to blue, the b axis is impacted the most. The RBC on the other hand can be segmented using the L axis due to the RBCs being darker than the background. From the sample seen in Figure 1, it can be seen that the WBC has a b axis value of approximately 80 and the RBC has an L value of approximately 130. Filtering done on three images gives us the range of 80-100 on the b axis for the WBC and 130-150 for the RBC on the L axis. For the rest of the parameters, a range of 0-255 was given which means that any value is acceptable. The effect of the default values on the CIELAB extraction can be seen in Figure 2. 234

Figure 1: Sample image for User Specified CIELAB remove platelets and any other particulates or noise in the image. Two separate masks are then produced from this image. The first mask is obtained by eroding the image. This produces a mask of a smaller area than the cell and is used to remove unwanted edges found within the boundary of the cell as seen in Figure 3. The second mask is the inverse of the dilated image which generates a mask that encompasses the Figure 3: Mask Edges Inside the Cell Figure 2: User Specified CIELAB Range Output Figure 4: Mask Edges Outside the Cell C. Image Filtering The next step in the flow is the image filtering. This step cleans up the image and leaves only the outline of the potential cells in preparation for the cell extraction. The way this is done is by applying morphological operators to the segmented images coupled with edge detection. First, the segmented image is converted into a binary image which will later on act as a mask. Morphological closing followed by opening is performed with a circular structured element to area outside the cell thus illuminating the edges detected outside the cell s borders. This can be seen in Figure 4. Next, the edges of the cells are obtained from the original RGB image. The image is first 235

converted to a gray level image. The edges are then extracted using the Canny operator as seen in Figure 6. The masks from the previous step Figure 5: Mask Edges Outside the Cell intensity gradients followed by edges with low intensity gradients following the directional information gained from the high intensity gradient edge detection. What this means is that the Canny edge detector does not discard weak edges. This is important when it comes to blood smear images which include cells without clearly defined edges such as some RBCs which almost blend in with the background. D. Cell Extraction and Counting Figure 6: Final Extracted Edges are used to remove the edges inside and outside the cell s borders. What remains are the edges of the actual cell seen in Figure 5. The Canny edge detector was chosen as the default edge extraction operator because it is the most effective of MATLAB s built in edge detection methodologies. Canny edge detection is used to ensure that the transition between weak edges and strong edges are bridged allowing for a higher hit count for the Hough transform algorithm. Canny uses hysteresis to first detect edges with high After the edges are extracted from the image, they are used to extract the cells by means of a circular Hough transform followed by a ROI polygon area measurement. For this project, the cells are assumed to be mostly circular in shape. This is done to ensure a similar processing method can be used on both the RBC and WBC. In order to extract circular shapes, the Hough transform is used. The Hough transform is a method to extract features with certain shapes through a voting process. Hough transform uses Equation (1) to parameterize a point in space, or in the case of this project, a pixel location. This equation can also be written in two separate forms as seen in Equations (2) and (3). These equations make the Hough transform suitable for describing circles since a full sweep of the across 360 degrees will provide a circle of radius R with a centre located at (a,b) where a and b is the location on the x and y axis of the image. x cos + y sin = R...(1) x = a + R cos...(2) y = b + R sin...(3) The circular Hough transform is used in this project to find the a and b locations throughout the image given a range of R corresponding to 236

the minimum and maximum radius of the WBC and RBC. The algorithm used within MATLAB to achieve this is based on the three basic steps of the algorithm which consist of the accumulator array computation, centre estimation and radius estimation. The detailed implementation of the algorithm is unspecified due to the fact that the Hough transform itself is not a rigidly defined algorithm. To begin the algorithm, the pixels of high gradient values are denoted as candidate pixels and their votes are cast in the accumulator array. These votes cast by each candidate pixel form a circle around them as seen in Figure 7(a). This step is known as the accumulator array computation. Once the accumulator array is fully updated, the centre estimation can begin. As seen by the solid dots on the solid circle in Figure 7(b), the voting tends to increase the accumulator values at the centre of the actual circle which is the cross in the middle of the solid circle. From this high vote count, the centre of the circle can be estimated. Finally, the algorithm performs Figure 7: Circular Hough Transform Accumulator Votes to specify the minimum and maximum radius of the WBC and the RBC, this project allows for the processing of a range of input images as seen in the results which were done by processing 108 Figure 8: Circular Hough Transform Output simple images from a range of 300X to 500X magnification. Figure 8 shows a sample output after the Hough transform was used. E. Full System After covering the core cell segmentation and identification steps, user interactive features are added to the GUI to make it more users friendly. These features are file or directory selection, data saving, data reset, automated flow, cell type selection, color segmentation method, CIELAB space parameter input and cell radius input. Additionally, each step in the flow is made available as a separate feature accessible by push buttons. This is coupled with a text window displaying the Figure 9: Final MATLAB GUI radius estimation. This has to be done separately as most accumulator arrays are used for single radius values. By specifically allowing the user of the system 237

processing time, process name and the number of cells detected. Figure 9 shows what the final Graphical User Interface (GUI) looks like. The included image is a sample image extracted from one of the 108 database images and acts as a demo image. The flow segment marked by the red box is the stepby-step process of the system. RESULTS AND DISCUSSION A. Test Samples and System Used Test samples are obtained from 108 images from the Acute Lymphoblastic Leukaemia Image Database for Image Processing database set up and maintained by Fabio Scotti, Department of Information Technology from the Università degli Studi di Milano and are obtained from the image repository provided by the M. Tettamanti Research Center for Childhood Leukemias and Hematological Diseases, Monza, Italy. These images are JPEG images captured in RGB format with a resolution of 2592 x 1944 pixels using a Canon PowerShot G5 camera coupled with an optical laboratory microscope. The magnification of the images ranges from 300-500. These images are blood smear images that have been stained with Wright s Stain, giving the WBC a purplish color. The system used was run on an Intel Core i5-2520m CPU using MATLAB R2012a. Microsoft Excel 2010 was used to open the csv output files. MATLAB R2012a was chosen as it contains the imfindcircles function which enhances the circular Hough transform. B. Result Table 1 show the results of the system on all 108 images when user specified CIELAB range algorithm is used. Figures 10 and 11 shows the pie chart representation of the same data. Table 1: Result of User Specified CIELAB Range Accuracy Range (%) Number of Images Within Range Percentage of Images Within Range Number of Images Within Range Percentage of Images Within Range 0 6 6 4 4 1-10 0 0 1 1 11-20 0 0 1 1 21-30 0 0 6 6 31-40 0 0 9 8 41-50 6 6 8 7 51-60 8 7 8 7 61-70 15 14 9 8 71-80 8 7 25 23 81-90 6 6 29 27 91-100 57 53 7 6 >100% over defect 2 2 1 1 238

Figure 10: Result of User Specified CIELAB Range on WBC Figure 11: Result of User Specified CIELAB Range on RBC In Table 1, the number of images within range refers to the number of images that have the number of detected cells falling within the related accuracy range. For example, in Table 1, there are 6 images that have 41%-50% of their WBC accurately detected. The numbers listed in the legend of Figures 10 and 11 are the upper limits of the accuracy range. Table 2: Summary of the Result White Blood Cells Average accuracy using user specified CIELAB range Red Blood Cells Average accuracy using user specified CIELAB range 81% 64% Table 2 summarizes the average accuracy of the system when the over detected accuracy numbers are capped to 100%. The average time for processing is 28 s per image. CONCLUSION The goal of this project is to approach the segmentation and identification of the WBCs and RBCs through a MATLAB GUI in order to provide an open sourced system for future development. This has been achieved with the system presented in the previous portions of this thesis. The final system will be open sourced and modular. Each step of the image processing flow used in the system can stand alone and is easily modified or added upon. The segmentation and identification process achieved ~80% accuracy for 108 samples with magnification ranging from 300X to 500X. Finally, the system is contained within a user friendly GUI based on MATLAB allowing students of image processing as well as Medical Laboratory Technicians and hematologists to easily use it. ACKNOWLEDGMENT We would like to express our sincere gratitude to get test samples are obtained from 108 images from the Acute Lymphoblastic Leukemia Image Database for Image Processing database set up and maintained by Fabio Scotti, Department of Information Technology from the Università degli Studi di Milano and are obtained from the image repository provided by the M. Tettamanti Research Center for Childhood Leukemias and Hematological Diseases, Monza, Italy. This work is also supported by Research University Grant (GUP) of Universiti Teknologi Malaysia (UTM), with reference number of PY/2012/00151,Q.J130000. 2623.05J58. 239

REFERENCES 1. Sadeghian F, Seman Z, Ramli A R, Abdul Kahar B H and Saripan M I (2009), A Framework For W hite Blood Cell Segmentation In Microscopic Blood Images Using Digital Image Processing., Biological procedures online, Vol. 11, No. 1, pp. 196-206. 2. Hiremath P S (2010), Automated Identification and Classification of White Blood Cells ( Leukocytes ) in Digital Microscopic Images, IJCA Special Issue on Recent Trends in Image Processing and Pattern Recognition (RTIPPR), Vol. 2, pp. 59-63. 3. Poomcokrak J and Neatpisarnvanit C (2008), Red Blood Cells Extraction and Counting, The 3 rd International Symposium on Biomedical Engineering, pp. 199-203. 4. Vromen J M B (2006), Red Blood Cell Segmentation Using Guided Contour Tracing, The 18 th Annual Colloquium of the Spatial Information Research Centre, pp. 251-255. 5. Mahmood N H and Mansor M A (2012), Red Blood Cells Estimation using Hough Transform Technique, Signal & Image Processing: An International Journal (SIPIJ), Vol. 3, No. 2, pp. 53-64. 6. Maitra M, Gupta R K and Mukherjee M (2012), Detection and Counting of Red Blood Cells in Blood Cell Images using Hough Transform, International Journal of Computer Applications, Vol. 53, No. 16, pp. 18-22. 7. Sinha N and Ramakrishnan A G (2002), Blood Cell Segmentation Using EM Algorithm, Proceedings of the Third Indian Conference on Computer Vision, Graphics & Image Processing. 240