creating a cell array for classifying images using the trained stacked autoencoders
    11 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
Hi, I am having a folder of 10000 images (64*64 double, .bmp format), say at C:\images. How can I create a cell array of 1*10000 cell (each cell containing a 64*64 double image) and name the cell array as "digitaldata"?
0 commentaires
Réponses (3)
  Renee Coetsee
    
 le 23 Mar 2017
        Since you have so many images, I recommend checking out "ImageDatastore". You input a path to a folder of images and it will not put all the images into memory. If you store each image in a cell array, it will use a lot of memory. Here is a link to the documentation page for "ImageDatastore":
To load the images into a cell array, you can use a for loop and the "imread" function.
0 commentaires
  Jason Vann
 le 21 Fév 2018
        ImageDatastore cannot be used as an input to an Autoencoder (as of R2017b), even though it can be used with CNNs. Is there workaround for this issue? I guess one could theoretically put an autoencoder in a loop (saving all of the weights and biases) then continually load a new image matrices.
0 commentaires
Voir également
Catégories
				En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



