NAryMatIterator documentation example does not compile
Hello, In OpenCV 2.4.9.0 documentation, the example function "computeNormalizedColorHist" for NAryMatIterator does not compile because the iterator it is declared twice. First as:
MatConstIterator_<vec3b> it = image.begin<vec3b>(), it_end = image.end<vec3b>();
then later as:
NAryMatIterator it(&hist, &plane, 1);
This needs to be fixed. Also, I find the documentation and examples for this function insufficient and hard to understand. Please advise on fixing this problem.
Rohit
you think, you could at least start it ?
I just created Bug#3787. I was looking for a way to do element-wise traversal of several matrices of same dimensions but unknown element size concurrently. I'm not sure if NAryMatIterator is the way to do it.
can't help you with that. still, you found a valid issue on the way, imho.