mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-19 11:27:45 +08:00
Wrap lines
This commit is contained in:
@@ -493,8 +493,8 @@ class SimilarityTransform(ProjectiveTransform):
|
||||
for param in (scale, rotation, translation))
|
||||
|
||||
if params and matrix is not None:
|
||||
raise ValueError("You cannot specify the transformation matrix and "
|
||||
"the implicit parameters at the same time.")
|
||||
raise ValueError("You cannot specify the transformation matrix and"
|
||||
" the implicit parameters at the same time.")
|
||||
elif matrix is not None:
|
||||
if matrix.shape != (3, 3):
|
||||
raise ValueError("Invalid shape of transformation matrix.")
|
||||
|
||||
@@ -35,8 +35,8 @@ cdef inline void _matrix_transform(double x, double y, double* H, double *x_,
|
||||
y_[0] = yy / zz
|
||||
|
||||
|
||||
def _warp_fast(cnp.ndarray image, cnp.ndarray H, output_shape=None, int order=1,
|
||||
mode='constant', double cval=0):
|
||||
def _warp_fast(cnp.ndarray image, cnp.ndarray H, output_shape=None,
|
||||
int order=1, mode='constant', double cval=0):
|
||||
"""Projective transformation (homography).
|
||||
|
||||
Perform a projective transformation (homography) of a
|
||||
|
||||
Reference in New Issue
Block a user