Nidhal K. EL Abbadi 2017, In this research. Skin lesion is determined on the ABCD rule. The median filter is used during pre-processing to get rid of bubbles, hair and other lighting effects. In order to segment data, follow these steps: First, a median filtering to filter out hair and background noise.