Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to Invert 3x2 Transformation Matrix

Hi, i am having trouble inveting an 3x2 Transformation Matrix. If my original transformation is rotation with +5°, i want the inverse, which rotation is -5°. Then i want to transform some point with the new inverse Matrix. If I use

    cv::Mat inverse;
    inverse = H.inv(cv::DECOMP_SVD);

I get back a matrxi, but it is 2x3 instead of 3x2, and then i cannt use cv::transform anymore because it gets a SIGABRT.

What am i doing wrong ?

regard Peter