In order for POSIT to work, you need at least four non-coplanar 3D model points and their respective matchings in the 2D image. We add to that a termination criteria—since POSIT is an iterative algorithm—which generally is a number of iterations or a distance parameter. We then call the function cvPOSIT, which yields the rotation matrix and the translation vector.