TrainImagesClassifier OpenCV Error
Mantis Issue 910, reported by sdinot, assigned to mgrizonnet, created: 2014-03-18
I'm trying to use Random Forests for classification, i use otbcli_TrainImagesClassifier with Pleiades images, it works fine with multispectral images but when i tried the same thing with panchromatic images i got this error :
OpenCV Error: One of arguments' values is out of range () in cvGetCols, file /build/buildd/opencv-2.3.1/modules/core/src/array.cpp, line 1357 2014 Mar 17 16:18:45 : Application.logger (FATAL) The following error occurred during application execution : /build/buildd/opencv-2.3.1/modules/core/src/array.cpp:1357: error: (-211) in function cvGetCols
i used the same shape file to classify the same panchromatic image with svm algorithm and it works, so the problem is related to the Random Forests algorithm.
1399478899 - grizonnetmPlease note that I think that your issue is related to the bug 922. I've recently updated this bug as I am now able to use the RF classifier in OTB with monoband image and the oepncv version packaged in Ubuntu 14.04 (OpenCV 2.4.8)
It could help if you could confirm that you're able to classify your panchromatic data with a more recent version of OpenCV
Thank you in advance.
1430725460 - grizonnetmunable to reproduce with opencv 2.4.8
1430725550 - grizonnetmunable to reproduce with oepncv > 2.4.
Close because of innactivity. Please re-open the bug if you still reproduce it on more recent version of opencv.