cv.PCA/PCA - MATLAB File Help |
PCA constructors
pca = cv.PCA()
pca = cv.PCA(data, 'OptionName', optionValue, ...)
pca = cv.PCA(S)
Same set of options as the cv.PCA.compute method.
The constructor creates an empty PCA object without an argument. Use cv.PCA.compute to analyze data samples. The second form accepts data samples with the same arguments as cv.PCA.compute. The third form create a new PCA object from a scalar struct with 'eigenvectors', 'eigenvalues', and 'mean' fields.