opencv - Recover plane from homography -
i have used opencv calculate homography relating views of same plane using features , matching them. there way recover plane itsself or plane normal homography? (i looking equation h input , normal n output.)
if have calibration of cameras, can extract normal of plane, not distance plane (i.e. transformation obtain scale), wikipedia explains. don't know implementation it, here couple of papers deal problem (i warn not straightforward): faugeras & lustman 1988, vargas & malis 2005.
you can recover real translation of transformation (i.e. distance plane) if have @ least real distance between 2 points on plane. if case, easiest way go opencv first calculate homography, obtain 4 points on plane 2d coordinates , real 3d ones (you should able obtain them if have real measurement on plane), , using pnp finally. pnp give real transformation.
Comments
Post a Comment