How to increase the number of samples for training?

4 views (last 30 days)
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.

Answers (1)

Dinesh Yadav
Dinesh Yadav on 24 Mar 2020
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 Comments
Mohammad Farhad Aryan
Mohammad Farhad Aryan on 31 Mar 2020
Thanks Dinesh Yadav for your help!
I am going forward with blob detection using regionprops which I think some papers have used it.

Sign in to comment.

Categories

Find more on Agriculture in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!