Function swri_image_util::GetOverlappingArea
Defined in File geometry_util.h
Function Documentation
-
double swri_image_util::GetOverlappingArea(const cv::Rect &rect, const cv::Mat &rigid_transform)
Calculate the overlapping area of a rectangle an a rigidly transformed version of itself.
- Parameters:
rect – [in] The rectangle.
rigid_transform – [in] The rigid transform.
- Returns:
The area of intersection of the two rectangles.