Image pre-processing in computer vision systems for melanoma detection