Algorithm 2. GASISUK Algorithm. |
Let = preprocessed image (see Section 2.2.1) Let and be the original width and height of respectively Let = dominant color of If = predominantly light else = predominantly dark if is predominantly light assume gamma factor of 0.75 = gamma of = gray of = binary threshold of = morphology opening of using a 7 × 7 matrix = initial segmentation using bitwise_AND of and If == [0] … depicting black image = else assume gamma factor of 1.7 = gamma of = keypoint features of using ORB = clustering of keypoint features using DBSCAN = contour sketch of clustered keypoints = first-level contour filtering filter-off contours satisfying below characteristics ∗ contour is identified as inner contour ∗ contour has an area of less than 32.000 ∗ width and height of contour less than minimum width (variable, value of or fixed value of 200) and minimum height (variable value of or fixed value of 200) morphology erosion of contours = second-level contour filtering filter-off contours satisfying below characteristics ∗ ccontour has an area of less than 25.000 = segmented lesion image using filled mask of |