opencv2.32学习笔记 有向边框RotatedRect的绘制 以及外边框计算

本文详细介绍了OpenCV中的RotatedRect类,包括构造函数、参数含义以及如何获取旋转矩形的顶点和边界框。通过对旋转矩形的中心点、尺寸和旋转角度的探讨,展示了如何在实际应用中操作和绘制有向边框。
摘要由CSDN通过智能技术生成

RotatedRect

class RotatedRect

The class represents rotated (i.e. notup-right) rectangles on a plane. Each rectangle is specified by the centerpoint (mass center), length of each side (represented by cv::Size2f structure)and the rotation angle in degrees.

C++: RotatedRect::RotatedRect()

C++: RotatedRect::RotatedRect(const Point2f& center, const Size2f& size, float angle)

C++: RotatedRect::RotatedRect(const CvBox2D& box)

Para

评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值