Skip to content

kawin7538/Dull-Razor-with-Otsu-Method-and-Animation

Repository files navigation

Dull-Razor-with-Otsu-Method

execute Dull razor algorithm with otsu method and play animation

From Original Image

input_image

convert into grayscale

input_gray

compute otsu threshold

  • within class variance graph withinClassVariance

binary mask from optimal threshold

output_binarymask

Next, find contour from the binary mask above

  • image with all contours

image_w_all_contours

Last, find biggest contour (as lesion image)

image_w_contour

crop image using BITWISE AND operator between image contour floodfill and zeros ndarray cropped_result

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published