How to use the opencv to implement the projective transformation in matlab?

asked 2013-01-03 02:45:56 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

 I want to implement an algorithm on Android platform. Now I have the matlab code of the algorithm. There is a function in the matlab code that I don't know how to implement in the opencv.

The matlab code: tfm=maketform('projective', scale_matrix'); image=imtransform(image, tfm, 'bicubic'); % The scale_matrix is a 3x3 matrix.

 How can I get the same function in opencv?
edit retag flag offensive close merge delete