As a prepossessing requirement of my project I have to remove skin hairs from the image. For this I found an already existing program. The implementation is done in Matlab.
The above link quotes the following
As for the above part which mentions generalized grayscale morphological closing operation
I could not find out what it meant and not being able to implement it in Matlab either
Currently what I need to do is simply
I was wondering if you could suggest any methods that could be used for the implementation of this algorithm (edge detection and such) as currently so far all attempts havent worked out properly. Any matlab functions that could be used would be very helpful as well. Also was wondering on what method that I could use to verify the pixels as thin and long structures
Updated : As I am new to image processing I do not have any prior knowledge of what methods to use on how to identify the hair pixels, verify them and replace them with neighboring pixels, thus the requesting of guidance
I will assume that you understand what a grayscale image is and operations upon it are. If not, edit your question to clarify.
The Matlab Image Processing Toolbox includes the imclose function. Morphological closing is explained on Wikipedia. The Internet is awash with information about mathematical morphology for image processing.
EDIT after comment
This page gives a general introduction for mathematical morphology for image processing. One view of what you are trying to do is remove noise from your image, where that noise is expressed as long(-ish) thin(-ish) dark elements against a light background -- if, that is, the hairs are dark and the skin is light. This isn't an application I've looked at so I can't provide any more help. Have fun.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With