Professional Documents
Culture Documents
Counting of RBC & WBC IN URINE SAMPLE
Counting of RBC & WBC IN URINE SAMPLE
113
Based from the previous studies using microscopic images in examined with the use of microscope with a magnification of
analyzing urine, researchers focused on the detection of red blood 400x equipped with Motic camera for capturing.
cells in urine image captured under microscope by image
processing. From the study of Xu Ma, Gang An, and Bin Li [1], it 3. METHODOLOGY
was found out that autofocus feature was not applied. Compared The study makes use of pre-centrifuged urine sample as the
to this study, the variance of Laplacian method will be used for subject to the image processing algorithms namely Canny Edge
autofocusing of the microscope.In this paper of Navea, Dupo, and Detection, and Circular Hough Transform. Upon undergoing these
Bacudio arises as closest to this study. According to their paper, a processes, the result shall be the count of detected blood cells,
blob detection algorithm was used to detect and differentiate both red blood cell (RBCs) and white blood cells (WBCs) present
RBCs from WBCs [1]. Another technique that was used from in the urine sample. Please refer to Figure 2.
other paper is the Hue, Saturation, Value (HSV) thresholding
method and connected component labeling [2]. According to the
paper of Dela Cruz, et al., HSV thresholding background
subtraction was used for blood cell segmentation while connected
component labelling was used for blood cell counting. The study
of Tangsuksant, et al. proposed the segmentation and detection of
RBCs and WBCs in urine sediment images [3]. This is through
use of development algorithm to count blood cells in urine
sediment using ANN and Hough Transform. From the study of
Dela Cruz, et al., the researchers determined blood components
(WBCs, RBCs, and Platelets) count in microscopic images using
image processing and analysis [4]-[6]. Here, the sample used for
the image processing is a stained blood. The process of classifying Figure 2. Conceptual framework of methodology
and placing sharp discontinuities in an image is called the edge
detection [7].
The canny edge detection algorithm also known as optimal edge
detector is used for medical and defense application. Also, in
industry, the Canny edge detection technique is one of the
standard edge detection techniques. The algorithmic steps are as
follows as can be seen in Figure 1.
• Convolve image f(r, c) with a Gaussian function to get
smooth image f^(r, c). f^(r, c)=f(r,c)*G(r,c,6)
• Apply first difference gradient operator to compute edge
strength then edge magnitude and direction are obtained as
before.
• Apply non-maximal or critical suppression to the gradient
magnitude
• Apply threshold to the non-maximal suppression image.
(1)
(2)
115
Table 1. Comparison between manual and automatic blood cell count
Number of Fields considered for Manual Counting: 88
Number of Fields considered for Automatic Counting: 32
Manual Blood Cell Count Automatic Blood Cell Count
Automatic Blood
Actual Blood Cell Total Blood Total Detected
Urine Sample Cell Actual
Count Cell Count Blood Cell Count
Count
RBC WBC RBC WBC RBC WBC RBC WBC
1 6 10 48 80 185 324 5.78 10.13
2 1 6 8 48 33 191 1.03 5.97
3 4 29 32 232 126 924 3.94 28.88
4 2 6 16 48 63 193 1.97 6.03
5 0 1 0 8 2 33 0.06 1.03
6 3 16 24 128 93 505 2.91 15.78
7 9 56 72 448 288 1804 9 56.38
8 5 9 40 72 159 281 4.97 8.78
9 7 12 56 96 225 375 7.03 11.72
10 9 9 72 72 286 282 8.94 8.81
The percentage errors for both RBCs and WBCs are shown on
Table 2 using the percentage error formula as defined in (3).
(3)
The average percentage errors (Mean of Error %) for RBC and
WBC counts are 1.56 and 1.06, respectively.
116
Table 3. RBC actual count result and WBC count results have no significant difference in
comparison to the manual RBC and WBC count results because
Urine Automatic Manual
d the absolute values of the calculated Ts for both RBC and WBC
Sample Count Count
are less than the t-table at an alpha level of 0.05.
1 5.78 6 -0.22
Table 5. Normal range of RBC and WBC in a urine sample
2 1.03 1 0.03
Parameter Normal Range
3 3.94 4 -0.06
Red Blood Cell (RBC) 0 – 2 RBCs/hpf
4 1.97 2 -0.03
White Blood Cell (WBC) 0 – 5 WBCs/hpf
5 0 0 0
6 2.91 3 -0.09
Indicated above in Table 5, is the normal range of red blood cells
7 9 9 0
(RBCs) and white blood cells (RBCs) in a human urine sample.
8 4.97 5 -0.03
9 7.03 7 0.03
5. CONCLUSIONS
The study has successfully integrated image processing
10 8.94 9 -0.06 algorithms that allows determination, differentiation, and counting
Mean of differences -0.0446 of red blood cells (RBCs) and white blood cells (WBCs) present
in a urine sample. This research employed Canny Edge Detection
Standard deviation of differences 0.137 and Circular Hough Transform using Raspberry Pi 3 Model B.
t -1.778 These were used for the detection and counting of the WBCs
present in a urine sample. For the output, the final counts are
displayed on a GUI made. The result from the automatic blood
Table 4. WBC actual count result cell count were compared to the manual blood cell count on the
same urine samples, and this was made possible with the help of
Urine Automatic Manual
d the partner laboratory. Furthermore, the researchers have tested
Sample Count Count
the accuracy of the device base on the manual blood cell count by
1 10.13 10 0.13 determining the mean of error for white blood cell and red blood
2 5.97 6 -0.03 cell. The RBC count mean of error (1.55%) produced a higher
error compared to that of the WBC count (1.06%). With this,
3 28.88 29 -0.12 using a sample size of thirty (30), the proposed system has a
4 6.03 6 0.03 percentage accuracy range of at least 93.229% with respect to the
manual blood cell count administered by the partner laboratory.
5 0.97 1 -0.03
6 15.78 16 -0.22 6. RECOMMENDATIONS
It is recommended to improve the accuracy of the proposed
7 56.38 56 0.38 system. Other image processing algorithms can be applied, and
8 8.78 9 -0.22 more urine samples can be examined to verify the effectivity of
the system. Future researchers are also advised to include a
9 11.72 12 -0.28
system data storage so that data retrieval will be easier. Finally, it
10 8.81 9 -0.19 is recommended to count other urine components such as crystals
Mean of differences 0.0497 and bacteria.
118