estimateRigidTransform 函数具体使用方法,参考
http://blog.csdn.net/dongfang1984/article/details/52959308
此函数在opencv3中输入的vector或者mat,可以是double或者float类型,但是在opencv2中运行的时候如果是double或者float就会抛出异常。
Opencv Error:Unsupported format or combination of formats(Both input must have either 8uC1 or 8uc3 type) in cvEstimateRigidTransform
所以如果需要在opencv2中使用该函数,将输入类型变为8uC1 或者8uC3 就可以了