I am using this method to rotate a cvMat, whenever I run it I get back a rotated image however there is a lot of deadspace below it.
cvMat
void rotate(cv: