Research Article

Computer Based Melanocytic and Nevus Image Enhancement and Segmentation

Algorithm 1

Stepwise specification of NBRF Algorithm.
Step  1.
   Calculate the hair mask.
       
Step  2.
   Set the intensity values of original image equals to zero where intensities of the Hair Mask are not equal to zero.
         
Step  3.
   Repeat the process while all Hairs are not inpainted.
   
   Do Erosion
       ;
   Perform Hair Inpainting
         
   
   End of the Iterative process.
Step  4.
   Final Inpainted image is obtained.
          
                  ;
               ;
                  () ≠ 0
                     = mean ;