Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Your srcImage type is not correct. Make sure it is single channel (which should be) and it's depth is CV_8U.