QUESTION 1.I want to detect the hairs from the images. I used the guassian kernal and the first order derivative of guassian. It is giving good results on some images but in some images, it is nor working at all. As you can see in the image, for first two images it is giving some results but in the third image, it is also detecting the region of interest. How to solve this problem. QUESTION 2. another question is in the binary image the hair detected are broken and there are some unnecessary details. how to remove the unnecessary details and connect the broken hairs. (I have used the morphological operations but it is not giving me the good results).
I will be really thankful if anyone can help me.