OpenCV Transformationmatrix: affine vs. perspective warping

Viewed 9475

Hi I'm working on image transformation at the moment, but there is one thing I don't understand regarding warping. Namely whats the difference between the warpAffine() and warpPerspective()?

By that I don't mean whats the differences in transformation at all. My question is why I can use the same transformation matrix (3x3) in both of the above mentioned functions? And is the output the same (if run with the same transformation matrix)

Or when to use the one, when the other?

1 Answers
Related