hShape1 = vision.ShapeInserter(... 'BorderColor', 'Custom', ... 'CustomBorderColor', [0 1 0]);
时间: 2023-06-26 15:09:30 浏览: 44
这段代码是使用 MATLAB 中的 Computer Vision Toolbox 中的 `vision.ShapeInserter` 函数创建一个形状插入器对象 `hShape1`。该函数可以用来在图像中插入不同形状的对象(如矩形、圆形等),并且可以设置插入的对象的颜色、线宽、填充等属性,这里的 `BorderColor` 和 `CustomBorderColor` 参数用来设置插入的边框颜色为绿色。
相关推荐
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![.zip](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)