Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi! You should use zero-based index for column numeration, so, as soon as indices has nx1 dimensionality, use:

indices.at< unsigned int >(i,0)
About appropriate Mat usage see docs.