Clear Filters
Clear Filters

How to extract features from segmented skin cancer images

12 views (last 30 days)
Hi all,
I have a data of melanoma images, I segmented them now I need to extract the following features from them :
1-Asymmetry feature 2-Color variation feature 3-Border feature 4-Diameter feature To use them in the ABCD rule for melanoma detection
Could anyone help me to do this job please? Or have a MATLAB code to calculate these features? Thanks in advance.

Accepted Answer

hamed abdulaziz
hamed abdulaziz on 22 Dec 2013
chulls = bwconvhull(seg_image_bw);
measurements = regionprops(chulls, 'Area', 'BoundingBox');
% Compute the areas of each convex hull:
allAreas = [measurements.Area];
% Compute the area of each bounding box.
boundingBoxes = [measurements .BoundingBox];
allBBAreas = boundingBoxes(3:4:end) .* boundingBoxes(4:4:end);
  2 Comments
hamed abdulaziz
hamed abdulaziz on 22 Dec 2013
Is the allAreas represent total image area? and allBBAreas represent the lesion area ?
Image Analyst
Image Analyst on 22 Dec 2013
Please stop creating additional "Answers" to your question that aren't really answers at all. If you have a comment to something someone wrote, make it a comment.
allAreas is a list of all the areas. If there are 10 blobs in your segmentation, then it's a 10 element vector. If there is 1 area, then it's just a single number.

Sign in to comment.

More Answers (3)

Image Analyst
Image Analyst on 22 Dec 2013
There are a lot of algorithms here: http://iris.usc.edu/Vision-Notes/bibliography/medical899sk.html#Medical%20Applications%20--%20Skin%20Cancer,%20Melanoma,%20Skin%20Lesions Pick one and code it up. Once you've identified the cancer regions, you can do the ABCD measurements with standard image processing, like is shown in my Image Segmentation tutorial. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
  13 Comments
Image Analyst
Image Analyst on 22 Dec 2013
hamed said this in an "Answer" which I moved here because it was not an answer but was a comment:
bw=im2bw(seg_image);
STATS = regionprops(bw, 'Area','BoundingBox');

Sign in to comment.


hamed abdulaziz
hamed abdulaziz on 22 Dec 2013
attached file for asymmetry index calculation

hamed abdulaziz
hamed abdulaziz on 22 Dec 2013
attached another paper.pdf

Categories

Find more on Biotech and Pharmaceutical in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!