Fix example of estimate_transform

This commit is contained in:
Johannes Schönberger
2012-08-30 09:53:41 +02:00
parent 1592e47e66
commit cb870fd069
+2 -2
View File
@@ -643,8 +643,8 @@ def estimate_transform(ttype, src, dst, **kwargs):
>>> warp(image, inverse_map=tform.inverse)
>>> # create transformation with explicit parameters
>>> tform2 = tf.SimilarityTransform()
>>> tform2.compose_implicit(scale=1.1, rotation=1, translation=(10, 20))
>>> tform2 = tf.SimilarityTransform(scale=1.1, rotation=1,
... translation=(10, 20))
>>> # unite transformations, applied in order from left to right
>>> tform3 = tform + tform2