{'fraction_non_alphanumeric': 0.02756141402037148, 'fraction_numerical': 0.01737567405632115, 'mean_word_length': 5.549019607843137, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Skin lesion segmentation using an improved framework of encoder‐decoder based convolutional neural network

Automatic lesion segmentation is a key phase of skin lesion analysis that significantly increases the performance of subsequent classification steps. Segmentation is a highly complex task due to the varying nature of lesions, such as unique shapes, different colors, and structures. In this study, a two‐step system is proposed comprising preprocessing algorithm and lesion segmentation network. The hairlines removal algorithm is designed using morphological operators to eliminate noise artifacts. The resulting output images are fed to the convolutional neural network (CNN) to perform lesion segmentation. The proposed CNN network is a new framework designed from scratch based on encoder‐decoder architecture. The layers are stacked in a unique sequence to perform downsampling and upsampling, generating a high‐resolution segmentation map. Additionally, a Tversky loss function is implemented to reduce the error rate between predicted and target output. In this study, we focus on the challenges related to the extraction of accurate lesion regions and the presence of hairlines in lesion images that can occlude important information resulting in poor segmentation. The proposed model is evaluated on four publicly available datasets, namely ISIC 2016–2018. The mean intersection over union (IoU) obtained for ISIC 2016–2018 and PH2 is 87.1%, 77.8%, 85.2%, and 88.8%, respectively. The proposed model demonstrated higher performance as compared to other state‐of‐the‐art methods. The hair removal step aids in the improvement of the overall performance.