Leaves tooth detection

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