1 | initial version |
(j,i) is clearly wrong. it works in the demo, because width=height=512
2 | No.2 Revision |
(j,i) is clearly wrong. it works in the demo, because width=height=512
the Mat_ line makes a 2 element mat, [i,j]. so the svm just predicts for every pixel position.