How to extract features from segmented skin cancer images

4 次查看(过去 30 天)
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.

采纳的回答

hamed abdulaziz
hamed abdulaziz 2013-12-22
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 个评论
hamed abdulaziz
hamed abdulaziz 2013-12-22
Is the allAreas represent total image area? and allBBAreas represent the lesion area ?
Image Analyst
Image Analyst 2013-12-22
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.

请先登录,再进行评论。

更多回答(3 个)

Image Analyst
Image Analyst 2013-12-22
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 个评论
Image Analyst
Image Analyst 2013-12-22
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');

请先登录,再进行评论。


hamed abdulaziz
hamed abdulaziz 2013-12-22
attached file for asymmetry index calculation

hamed abdulaziz
hamed abdulaziz 2013-12-22
attached another paper.pdf

类别

Help CenterFile Exchange 中查找有关 Biotech and Pharmaceutical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by