Skip to main content
. 2023 Jan 28;13(2):348. doi: 10.3390/life13020348
Algorithm 1 GBHSV-Leuk.
Input: Microscopic Image
   for F(It[m][n]) = It[m][n] − Iut[m][n] do
      Apply Gaussian Blur technique
      if F(n) is not filled then
         Fill pixel
      end if
      Convert the blurred frame from RGB color space to HSV color space
      Convert the hue value using the largest RGB values
      Compute the Lb and Ub hues
      Calculate Im, which is the mask image
      Create 5 × 5 kernel to remove noise
      Compute the structuring element S
      Compute the dilation function
      Apply binary threshold
      Compute detection using threshold value and transformation function
      Apply Bitwise AND between the Original image and Threshold
   end for
   Highlight the cancerous cell with contours
   return
Output: Image with cancerous cell highlight using contours
   Notations in the algorithm:
   It = Image under test
   m = Number of rows of image pixels
   n = Number of columns of image pixels
   Lb = Lower hue
   Ub = Upper hue/ higher hue
   Im = Mask image
   S = Structuring element