【发布时间】:2012-11-03 06:51:59
【问题描述】:
尝试在二进制图像上运行 findContours"
Mat conv(image.size(), CV_8U);
image.convertTo(conv, CV_8U);
vector<vector<cv::Point> > contours;
findContours(conv, contours, CV_RETR_LIST, CV_CHAIN_APPROX_SIMPLE);
throws 错误:
OpenCV Error: Unsupported format or combination of formats ([Start]FindContours support only 8uC1 images) in cvStartFindContours,
有什么想法吗? 谢谢
【问题讨论】: