About
  1. | API Documentation
  2. | Common
  3. | io
  4. | CalcRotatedImageBufferSize

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.


double CalcRotatedImageBufferSize(const cv::Mat & iImage)
(1)

  1. Parameters:
    • const cv::Mat & iImage

SnakeStrike — An program for high-speed multi-camera data collection and triangulation.

Page owner(s): gwjensen  Last updated: 2020-09-28 07:40:17 +0000