remove some blank lines

This commit is contained in:
Johannes Schönberger
2012-07-22 08:21:31 +02:00
parent c07a76bda7
commit f971c25a0b
-5
View File
@@ -52,7 +52,6 @@ class GeometricTransform(object):
"""
raise NotImplementedError()
def inverse(self, coords):
"""Apply inverse transformation.
@@ -69,7 +68,6 @@ class GeometricTransform(object):
"""
raise NotImplementedError()
def __add__(self, other):
"""Combine this transformation with another.
@@ -131,7 +129,6 @@ class ProjectiveTransform(GeometricTransform):
def inverse(self, coords):
return self._apply_mat(coords, self._inv_matrix)
def estimate(self, src, dst):
"""Set the transformation matrix with the explicit transformation
parameters.
@@ -185,7 +182,6 @@ class ProjectiveTransform(GeometricTransform):
"types.")
class AffineTransform(ProjectiveTransform):
"""2D affine transformation of the form::
@@ -560,4 +556,3 @@ def warp(image, inverse_map=None, map_args={}, output_shape=None, order=1,
# The spline filters sometimes return results outside [0, 1],
# so clip to ensure valid data
return np.clip(mapped.squeeze(), 0, 1)