Skip to content

There has been numeruous advancements towards utilizing deep networks, ANNs, AI, etc in tasks like detecting the skin disease, type of tumour, etc. However, it becomes difficult for the networks to learn the features since, most of the skin images are occluded by hair. Thus, there is a need for pre-processing of the skin images to remove these obst

Notifications You must be signed in to change notification settings

AmazingAbhishek/DigitalHairRemoval

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DigitalHairRemoval

There has been numeruous advancements towards utilizing deep networks, ANNs, AI, etc in tasks like detecting the skin disease, type of tumour, etc. However, it becomes difficult for the networks to learn the features since, most of the skin images are occluded by hair. Thus, there is a need for pre-processing of the skin images to remove these obstructing hair. This sample project aims to remove the hair noise from the skin image with the help of Morphological filtering.

Steps involved in the DHR algorithm

- Convert the color image to a grayscale version. 
- Applying Morphological Black-Hat transformation on the grayscale image
- Creating the mask for InPainting task
- Applying inpainting algorithm on the original image using the mask prepared from the grayscale image in step 3

Examples:

Example 1

Original Image alt text
GrayScaled Image alt text
BlackHat filtering result alt text
Thresholded image for inpainting alt text
Image after Inpainting alt text

Example 2

Original Image alt text
GrayScaled Image alt text
BlackHat filtering result alt text
Thresholded image for inpainting alt text
Image after Inpainting alt text

Library

  • Numpy
  • OpenCV

About

There has been numeruous advancements towards utilizing deep networks, ANNs, AI, etc in tasks like detecting the skin disease, type of tumour, etc. However, it becomes difficult for the networks to learn the features since, most of the skin images are occluded by hair. Thus, there is a need for pre-processing of the skin images to remove these obst

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%