How can I convert multiple images (all the same size) into one matrix?
Show older comments
I have a folder of 100 images all 32x32. When I use M = imread(0001.png) a matrix populates but that's only for that one image in the folder. I need help to create a matrix with all of the images. This is the first step for me to be able to create a dataset for my neural network training. Thanks in advance!
M = imread(0001.png)
Accepted Answer
More Answers (1)
Akira Agata
on 1 Aug 2019
0 votes
To create image dataset for training a neural network, imageDatastore should be an easy and promissing way. So I would recommend trying this function!
1 Comment
Lauren Pitts
on 1 Aug 2019
Categories
Find more on Operators and Elementary Operations 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!