Hi everyone. I am trying to convert the Fisherface and Eigenface demos from C++ to Java. I am using OpenCV 3.1.0.
LDA seems to be from to be missing from the Java version of OpenCV. I have tried to substitute PCA methods but I am unsure about the conversion.
LDA version:
cv::LDA::subspaceProject(InputArray W, InputArray mean, InputArray src) cv::LDA::subspaceReconstruct(InputArray W, InputArray mean, InputArray src)
PCA version:
cv::PCAProject(InputArray data, InputArray mean, InputArray eigenvectors, OutputArray result) cv::PCABackProject(InputArray data, InputArray mean, InputArray eigenvectors, OutputArray result)
W->eigenvectors
mean->mean
data->src
Is this the correct mapping for the input parameters? Is PCABackProject the correct substitution for subspaceReconstruct?