Shadows on image (segmentation)
Hello everybody, I have segmented the leaflets By Otsu binarization but the shadows around the leaflets have been tagged leaflet, how do I correctly segment the leaflets please ? Thank you
I like to do some grabcut after getting the ROI from Otsu but actually I think to ride out of the shadow is a really difficult task.
A person on channel #opencv advised me to use saturation for grayscale transformation before Otsu binarization instead of luminosity , what do you think about this ? The kmeans seems not working because how to segment after ?
You can simply use a mask to segment image using labels images. with 4 labels you can extract :
mask =labels==1 connectComponnent(mask,...
if I tag the parts it is that I already know the parts but what I want to do is to discover them automatically