Ask Your Question

Is estimateRigidTransform removed from Latest OpenCV?

asked 2018-11-18 22:22:05 -0500

AbhiTronix gravatar image

updated 2018-11-18 22:26:37 -0500

Is estimateRigidTransform removed from Latest OpenCV or moved to somewhere else? Here's my output:

Python 3.6.6 (default, Sep 12 2018, 18:26:19) 
[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> cv2.estimateRigidTransform()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'cv2' has no attribute 'estimateRigidTransform'
>>> cv2.__version__
edit retag flag offensive close merge delete

Comments I think it is replaced by estimateAffinePartial2D? @berak Please confirm?

AbhiTronix gravatar imageAbhiTronix ( 2018-11-18 23:40:30 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2018-11-19 00:47:21 -0500

berak gravatar image

updated 2018-11-19 00:53:54 -0500

deprecated, but still there

and the resp. pr is here

for reasons i don't know, the python / java bindings were removed, though ;(

edit flag offensive delete link more


@berak yes, removed and replaced with estimateAffinePartial2D which is similar. More info here: I found no proper example/document of using estimateAffinePartial2D in python, Please any help related to its usage, is appreciated :)

AbhiTronix gravatar imageAbhiTronix ( 2018-11-19 01:11:59 -0500 )edit

i've never used it, so no real idea, sorry.

there are a few use-cases to look at

berak gravatar imageberak ( 2018-11-19 01:19:36 -0500 )edit

Maybe I'll try to figure it out myself. Thanks a lot anyway @berak

AbhiTronix gravatar imageAbhiTronix ( 2018-11-19 01:28:25 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-11-18 22:22:05 -0500

Seen: 1,369 times

Last updated: Nov 19 '18