提交 a6f57175 编写于 作者: B berak 提交者: Your Name

resolves #20913

imgproc: remove asserts for circles_ in HoughCircles
上级 7da51787
......@@ -1728,7 +1728,6 @@ static void HoughCircles( InputArray _image, OutputArray _circles,
}
CV_Assert(!_image.empty() && _image.type() == CV_8UC1 && (_image.isMat() || _image.isUMat()));
CV_Assert(_circles.isMat() || _circles.isVector());
if( dp <= 0 || minDist <= 0 || param1 <= 0 || param2 <= 0)
CV_Error( Error::StsOutOfRange, "dp, min_dist, canny_threshold and acc_threshold must be all positive numbers" );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册