Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The last variable is the type of the labels output. If you use CV_8U, you can only have 255 components. CV_16U is 65535 components. CV_32S is a lot.

Those are the possible choices. CV_32S is just a good choice. It's not much slower than the others, and it can have all the components.