Hair removal in dermoscopic images using SegFormer and inpainting
Litsenziya: cc-by
Annotatsiya
Dermoscopic images are widely used in the early detection and differential diagnosis of skin tumors.However, hair artifacts found in these images cause significant problems in the diagnostic process.As a result of hair covering pigment networks, lesion boundaries, and color gradients, both AI-based models and physicians visual assessment processes may lose reliability.In this study, a two-stage deep learningbased approach was proposed for hair removal from dermoscopic images.In the first stage, hair and shadows are segmented using the SegFormerWithDropout architecture.The dropout mechanism enhances the models stability, while the shadow-aware extended channel allows for masking of shadows as well.In the second stage, a hybrid MAT+LaMa inpainting generator is employed to restore masked areas based on global and local context, reconstructing clinical structures without artifacts.The proposed approach was tested on the HAM10000 dataset and achieved high performance metrics, including Dice (0.967), IoU (0.935), and SSIM (0.915).The obtained results demonstrated that the proposed method can potentially improve the overall effectiveness of diagnostic systems by enhancing the quality of dermoscopic images.
Hali tarjima qilinmagan