Skip to content

Commit

Permalink
Fix docstring (missing minus sign) for EuclideanTransform. (#7097)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkcor committed Apr 9, 2024
1 parent a61e04e commit b8ef57a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions skimage/transform/_geometric.py
Original file line number Diff line number Diff line change
Expand Up @@ -1264,9 +1264,9 @@ class EuclideanTransform(ProjectiveTransform):
where the homogeneous transformation matrix is::
[[a0 b0 a1]
[[a0 -b0 a1]
[b0 a0 b1]
[0 0 1]]
[0 0 1 ]]
The Euclidean transformation is a rigid transformation with rotation and
translation parameters. The similarity transformation extends the Euclidean
Expand Down Expand Up @@ -1414,9 +1414,9 @@ class SimilarityTransform(EuclideanTransform):
where ``s`` is a scale factor and the homogeneous transformation matrix is::
[[a0 -b0 a1]
[[a0 -b0 a1]
[b0 a0 b1]
[0 0 1]]
[0 0 1 ]]
The similarity transformation extends the Euclidean transformation with a
single scaling factor in addition to the rotation and translation
Expand Down

0 comments on commit b8ef57a

Please sign in to comment.