mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-29 11:26:57 +08:00
fix scale initialization in implicit composition of similarity
This commit is contained in:
@@ -339,7 +339,7 @@ class SimilarityTransform(ProjectiveTransform):
|
||||
|
||||
"""
|
||||
if scale is None:
|
||||
scale = (1, 1)
|
||||
scale = 1
|
||||
if rotation is None:
|
||||
rotation = 0
|
||||
if translation is None:
|
||||
|
||||
Reference in New Issue
Block a user