Get rotation boundary
FwStatus | fwiGetRotateBound | ( | FwiRect srcRoi, double bound[2][2], double angle, double xShift, double yShift ); |
angle | Specifies the rotation angle in degrees, counterclockwise. | |
bound[2][2] | Boundary rectangle vertex coordinates for a transformed source ROI. | |
srcRoi | Source image ROI. | |
xShift | Shift value for X axis direction. | |
yShift | Shift value for Y axis direction. |
This function is used with the GetRotateQuad function. It computes the boundaries of the source ROI for the rotate functions.
Bound[0] contains the top right x and y coordinates
Bound[1] contains the bottom left x and y coordinates