How to convert images into grayscale, which are stored in the imagedatastore then split into testing and training?
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
hi,
I have 200 images in imagedatastore. I need to convert that images into grayscale and then split into training and testing.Then wanted to apply glcm feature extraction method for classification. Can any help me. Any help is appreciated.
0 Commenti
Risposte (1)
yanqi liu
il 30 Dic 2021
yes,sir,may be use ColorPreprocessing to aument data,such as
augimdsTrain = augmentedImageDatastore(inputSize(1:2),imdsTrain,'ColorPreprocessing','rgb2gray');
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!