CalcRotatedImageBufferSize
Defined in
<io/File.h>
Calculate the size of a buffer that would be needed to hold an image that is rotated. For example, if I rotate a 100x100 image by 45 degrees, it will no longer fit in a buffer allocated for 100x100 because now the corners would be outside of the original view.
(1) |
-
Parameters:-
const cv::Mat &
iImage
-