hyperpca applied to a set of several hyperspectral images
I am trying to perform the PCA of several hyperspectral images.
I want to make one PCA with the entire set of images, not one PCA per image. To do this I run into several problems.
The first problem is that the data takes up a large amount of memory and the hyperpca function does not accept using tall arrays. Matlab’s PCA function does allow me to work with tall arrays but I don’t know how to perform a PCA for a three-dimensional array.
The second is that if I have to carry out the PCA of each of the images individually, how can I combine the PCAs?
If anyone can give me a hand I would appreciate it.I am trying to perform the PCA of several hyperspectral images.
I want to make one PCA with the entire set of images, not one PCA per image. To do this I run into several problems.
The first problem is that the data takes up a large amount of memory and the hyperpca function does not accept using tall arrays. Matlab’s PCA function does allow me to work with tall arrays but I don’t know how to perform a PCA for a three-dimensional array.
The second is that if I have to carry out the PCA of each of the images individually, how can I combine the PCAs?
If anyone can give me a hand I would appreciate it. I am trying to perform the PCA of several hyperspectral images.
I want to make one PCA with the entire set of images, not one PCA per image. To do this I run into several problems.
The first problem is that the data takes up a large amount of memory and the hyperpca function does not accept using tall arrays. Matlab’s PCA function does allow me to work with tall arrays but I don’t know how to perform a PCA for a three-dimensional array.
The second is that if I have to carry out the PCA of each of the images individually, how can I combine the PCAs?
If anyone can give me a hand I would appreciate it. hyperpca MATLAB Answers — New Questions