How to increase the number of samples for training?

1 次查看(过去 30 天)
I am using SVM for skin disease classification but have fewer number of images and each image has more than one lesion so how I can take every lesion as a separate sample in order to increase the number of samples for training.
Any help is greatly appreciated.

回答(1 个)

Dinesh Yadav
Dinesh Yadav 2020-3-24
I think you can simply crop and save one lesion at a time. This will give you increased no of samples. Also you can use data augmentation. Lets say you have original image with 10 lesions you can crop it in any way having 10 images with 1 lesion each or 2 images with 5 lesions or any such combination and use data augmentation on cropped images also to increase no of training samples.
  3 个评论
Mohammad Farhad Aryan
Thanks Dinesh Yadav for your help!
I am going forward with blob detection using regionprops which I think some papers have used it.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by