Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

image description

Okay. I got it by myself. WarpPerspective() doesn't actually give us a right result when we want all contents in the image staying in a same relative position. WarpAffine is the answer. Only thing I think it's annoying is that it only transforms triangles.