Ask Your Question

johnfulgor's profile - activity

2015-11-25 10:31:59 -0600 received badge  Editor (source)
2015-11-25 02:52:47 -0600 asked a question Inverse Perspective Mapping (newbie)

Hello all, I have a picture containing two geometric shapes on the same plane. The picure is taken from some unknown point of view. One shape is a square of know size, the other is unknown. Is it possible to revert the perspective transform, and measure the size of the unknown shapes? I am new to OpenCV, and I've only understood that this has to do with Inverse Perspective Mapping. What is the sequence of function calls? image description Thank you

I've tryed both affine and perspective transform, but the result is not what I want. The arch is still distorted, even if the square is not.

ORIGINAL

image description

AFFINE

image description

PERSPECTIVE

image description

Any idea?