Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Apply rotation matrix to image

I am working with openCV api for java.
I have a images pair and want to apply the rotation matrix which I get from


and I want to use it. I have try for both images, right and left, with


But it doesnt work. I get a black image.

With < warpAffine() > I dont know how to use the rotation matrix because R is 3x3 but the input for warpaffine must be 2x3

Somebody has any idea