How to consider each lesion area as a separate sample and extract features for training?
2 views (last 30 days)
Show older comments
Mohammad Farhad Aryan
on 20 Mar 2020
Commented: Mohammad Farhad Aryan
on 28 Mar 2020
I have fewer number of images for my project but every image has more than one lesion area so after segmentation, I want to consider every lesion area as a separate sample for the feature extraction step in order to increase the number of training samples. I got the idea from this paper 'Ra, S., Suhilb, M., & Guruc, D. S. (2015). Segmentation and classification of skin lesions for disease diagnosis. Procedia Computer Science, 45, 76-85.' but can not apply it in code.
A sample image after segmentation.
Any help is appreciated.
2 Comments
Ganesh Regoti
on 24 Mar 2020
Hi,
The question looks a bit vague. Can you explain what all you have tried so far? May be that could help us in understanding the problem.
Accepted Answer
Ganesh Regoti
on 26 Mar 2020
Hi,
As per my understanding you want to implement given paper in MATLAB. Here is my answer
- There is a paper referenced to identify the lesions in an image, may be some algorithm is used to identify it. You can make use of regionprops for that.
- To make multiple samples after finding the lesions, you can use imcrop and save it as seperate file using imwrite.
- For understanding on how segmentation is done in MATLAB, you can refer the following link.https://www.mathworks.com/help/images/examples.html?category=image-segmentation
Hope this helps!
More Answers (0)
See Also
Categories
Find more on Image Segmentation and Analysis 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!