您当前的位置: 首页 >  opencv

柳鲲鹏

暂无认证

  • 0浏览

    0关注

    4642博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

OpenCV中,CV_FILLED(-1),其他值表示线宽

柳鲲鹏 发布时间:2019-02-14 17:03:32 ,浏览量:0

  在OpenCV中,填充一个矩形的代码:

        cvRectangle(iplImage,
             cvPoint(pElement->rect.left, pElement->rect.top),
             cvPoint(pElement->rect.left+pElement->rect.width, pElement->rect.top+pElement->rect.height),
             color,
             CV_FILLED,
             8, 0);

  有人问啦,如果吾不想填充,只画边怎么办?把CV_FILLED(-1)换成其他值(比如说2),就可以了。

关注
打赏
1665724893
查看更多评论
立即登录/注册

微信扫码登录

0.0561s