Eigenvalues and eigenvectors in PCA

Is it possible to get the eigenvalues and eigenvectors for PCA with otbcli_DimensionalityReduction?
Is it possible to apply the inverse transform?
Thanks

Hello,

Unfortunately, it is not possible to get the eigenvalues and eigenvectors directly from the app, at the moment you can only output the “transformation matrix”, which is the whitening transformation D^-1/2 U , with D the matrix of eigenvalues and U the matrix of eigenvectors. You could retrieve them with this matrix, but I agree this is not very convenient.

And it is not possible to apply the inverse transform with the application. It is possible with the C++ API, but right now the transformation matrix cannot be serialized (we can write it in a text file, but there is nothing to read it to apply the transform).

Cédric