Hi I want to detect apices and sinuses of leaves tooth but the shadows of the leaf give me bad results.
Here is the results I have :
It is due to the image binarization for find leaf contours which takes shadows as leaf parts.
How to remove these shadows please ?
Thank you
Best regards
noone has an answer please ?
always noone to answer ?
noone has an answer please ?
Did you try to edit binarization function to get correct edges of leaf? Using cv::adaptiveThreshold() might help you in getting better results.
ok thank you I will try
I don’t use adaptiveTreshold because it was very too slow on a 600DPI image but I passed the threshold from 200 to 127 and it works ! great !
finally I did an Otsu binarization