Optimization driven model and segmentation network for skin cancer detection. (October 2022)