[英]Intersection of RotatedRect with Rect or RotatedRect OpenCV
我知道可以在OpenCV中相交两个Rect以获得相交区域。 有没有一种方法可以在C ++中将RotatedRect与另一个Rect或RotatedRect相交?
您可以使用rotatedRectangleIntersection函数:
cv::rotatedRectangleIntersection ( const RotatedRect & rect1,
const RotatedRect & rect2,
OutputArray intersectingRegion
)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.