OpenCV笔记(RotatedRect)
2014-04-24 10:51
351 查看
// 代表一个旋转的矩形,包含矩形的中心,矩形的大小,旋转的角度。class CV_EXPORTS RotatedRect{public: //! various constructors RotatedRect(); RotatedRect(const Point2f& center, const Size2f& size, float angle); RotatedRect(const CvBox2D& box); //! returns 4 vertices of the rectangle void points(Point2f pts[]) const; //! returns the minimal up-right rectangle containing the rotated rectangle Rect boundingRect() const; //! conversion to the old-style CvBox2D structure operator CvBox2D() const; Point2f center; //< the rectangle mass center Size2f size; //< width and height of the rectangle float angle; //< the rotation angle. When the angle is 0, 90, 180, 270 etc., the rectangle becomes an up-right rectangle.};
来自为知笔记(Wiz)
来自为知笔记(Wiz)
相关文章推荐
- opencv2.32学习笔记 有向边框RotatedRect的绘制 以及外边框计算
- opencv学习笔记:RotatedRect和CvBox2D的角度疑云
- 【OpenCV】通过鼠标在图像中绘制RotatedRect旋转矩形
- OpenCV中两个旋转矩形RotatedRect的交集
- opencv:RotatedRect和CvBox2D的角度疑云
- OpenCV RotatedRect angle is wrong
- OpenCV学习六:findContours、drawContours、仿射变换、RotatedRect区域矫正及获取
- opencv 3.0 旋转矩形 RotatedRect
- 获取OpenCV中RotatedRect的绝对角度
- OpenCV中RotatedRect 以及 Rect介绍
- 关于opencv中RotatedRect的角度疑问
- 【转】OpenCV对图片中的RotatedRect进行填充
- 【OPENCV】点与RotatedRect矩形的包含关系
- OpenCV对图片中的RotatedRect进行填充
- 【OpenCV学习笔记】【函数学习】十六(Rect参数介绍)
- 获取OpenCV中RotatedRect的绝对角度
- OpenCV学习笔记(21)OpenCV的Rect矩形类用法
- Opencv学习笔记(九)光流法
- opencv学习笔记8 将文字打印到图片上
- 【OpenCV】笔记(10)——视频稳定处理