Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

(j,i) is clearly wrong. it works in the demo, because width=height=512

(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.