I am trying to train a PCA(classification/recognition) with watershed transform(feature extraction) on Opencv 3.0 with C++. I have managed to get the watershed working but now I have trouble merging the watershed transform with the PCA.
Can Watershed algorithm be performed with PCA for training data?