drawContours()函数解析
时间: 2023-02-20 16:57:45 浏览: 38
drawContours()函数是OpenCV中一个重要的图像处理函数,它可以将轮廓提取出来,并可以用来绘制轮廓,它的定义如下:drawContours(Mat image, vector<vector<Point>> contours, int contourIdx, Scalar color, int thickness),其中image是输入图像,contours是提取出来的轮廓,contourIdx是指定要绘制的轮廓,color是绘制轮廓的颜色,thickness是绘制轮廓的粗细。
阅读全文
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![ipynb](https://img-home.csdnimg.cn/images/20250102104920.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![zip](https://img-home.csdnimg.cn/images/20241231045053.png)
![docx](https://img-home.csdnimg.cn/images/20241231044901.png)
![zip](https://img-home.csdnimg.cn/images/20241231045053.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![zip](https://img-home.csdnimg.cn/images/20241231045053.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![txt](https://img-home.csdnimg.cn/images/20241231045021.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![pptx](https://img-home.csdnimg.cn/images/20241231044947.png)
![zip](https://img-home.csdnimg.cn/images/20241231045053.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)