TrainImagesClassifier application does not work with Random Forest with monoband image input
Mantis Issue 922, reported by mgrizonnet, assigned to mgrizonnet, created: 2014-04-04
It was reported in bug 910 but it is a more general problem which I think happen in all cases with mono-bands images.
Don't now exactly the reason for this, if it is a limitation of RF in OpenCV or more probably that we're not using the API correctly in OTB
Error message:
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 Apr 04 16:56:49 : 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
1399478692 - grizonnetmFYI I am now not able to reproduce this issue with OpenCV 2.4.8 on Ubuntu 14.04