{'fraction_non_alphanumeric': 0.018581081081081082, 'fraction_numerical': 0.0, 'mean_word_length': 5.620111731843576, '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}}
Illumination correction in dermatological photographs using multi-stage illumination modeling for skin lesion analysis

A novel algorithm for correcting illumination variation in dermatological photographs via a multi-stage modeling of the underlying illumination is proposed for the purpose of skin lesion analysis. First, an initial illumination estimate is obtained via a non-parametric modeling strategy based on Monte Carlo sampling. Next, a subset of pixels from the non-parametric estimate is used to determine a parametric estimate of the illumination based on a quadratic surface model. Using the parametric illumination estimate, the reflectance map is obtained and used to correct the photograph. The photographs corrected using the proposed algorithm are compared to uncorrected photographs and to a state-of-the-art correction algorithm. Qualitatively, a visual comparison is performed, while quantitatively, the coefficient of variation of skin pixel intensities is calculated and the precision-recall curve for segmentation of skin lesions is graphed. Results show that the proposed algorithm has a lower coefficient of variation and an improved precision-recall curve.