How to consider each lesion area as a separate sample and extract features for training?
2 次查看(过去 30 天)
显示 更早的评论
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/278411/image.jpeg)
Any help is appreciated.
2 个评论
Ganesh Regoti
2020-3-24
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.
采纳的回答
Ganesh Regoti
2020-3-26
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!
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!