Image rotation(by 90 degress) in OpenCV
matrix, opencv
Solution
It's not the most efficient way, but it's so easy
cv::transpose(img, res);
cv::flip(res, res, 1);
Problem
Can anyone suggest me how to rotate an image by 90 degrees? any implemented function in opencv? i think transpose of an image is totally different from 90 degree rotation (both clockwise and anti-clockwise)