下面链接中的示例使用的是findHomography得到两组点之间的转换。我想限制转换中使用的自由度所以想替换findHomography与estimateRigidTransform.http://docs.opencv.org/doc/tutorials/features2d/feature_homography/feature_homography.html#feature-homography下面我用estimateRigidTransform获得对象和场景点之间的转换。objPoints和scePoints由vector表示.MatH=estimateRigidTransfo