Deeplearning toolbox data input
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
George navash
le 6 Avr 2023
Modifié(e) : Abhishek Tripathi
le 7 Avr 2023
I have hyperspectral data cubes of 640*480*100. And want to use patches of my data 16*16*100 as an input for the deeplearning toolbox, but i can't seem to get to get it working. The toolbox only allows image formats, but saving the patches as images isn't possible due to the spectral dimension.
2 commentaires
Cris LaPierre
le 6 Avr 2023
Could you be more specific? The Deep Learning Toolbox is a collection of functions, apps, and examples for designing, training, and analyzing deep learning networks. Which one of these are you having difficulty using?
Réponse acceptée
Matt J
le 6 Avr 2023
Modifié(e) : Matt J
le 6 Avr 2023
but i cant use .mat as an input
Yes, you can.
imds = imageDatastore(location,"ReadFcn",@load);
You also don't necessarily need to keep your input data in files. The input to trainNetwork could be a 16x16x100xN numeric array, assuming you're using a recent enough version of Matlab.
4 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Hyperspectral Image Processing 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!