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.