MATLAB: Segmentaion of dermoscopy image

digital image processingimageimage acquisitionimage analysisimage processingImage Processing Toolboximage segmentation

how to segment dermoscopy image by adaptive thresholding(AT)? can you share a code

Best Answer

Take the blue channel and threshold it to select dark things:
binaryImage = rgbImage(:,:,3) < 150; % Or whatever threshold works.
Then call bwareafilt() to take the largest blob
binaryImage = bwareafilt(binaryImage, 1);