Add __all__ to transform package

This commit is contained in:
Johannes Schönberger
2013-04-28 23:20:00 +02:00
parent 69eafa95df
commit 4da0084604
2 changed files with 37 additions and 8 deletions
+37 -7
View File
@@ -1,10 +1,10 @@
from ._hough_transform import (hough_circle,
hough_line,
probabilistic_hough_line)
from .hough_transform import *
from .radon_transform import *
from .finite_radon_transform import *
from .integral import *
from ._hough_transform import (hough_circle, hough_line,
probabilistic_hough_line)
from .hough_transform import (hough, probabilistic_hough, hough_peaks,
hough_line_peaks)
from .radon_transform import radon, iradon
from .finite_radon_transform import frt2, ifrt2
from .integral import integral_image, integrate
from ._geometric import (warp, warp_coords, estimate_transform,
SimilarityTransform, AffineTransform,
ProjectiveTransform, PolynomialTransform,
@@ -12,3 +12,33 @@ from ._geometric import (warp, warp_coords, estimate_transform,
from ._warps import swirl, resize, rotate, rescale
from .pyramids import (pyramid_reduce, pyramid_expand,
pyramid_gaussian, pyramid_laplacian)
__all__ = ['hough_circle',
'hough_line',
'probabilistic_hough_line'
'hough',
'probabilistic_hough',
'hough_peaks',
'hough_line_peaks',
'radon',
'iradon',
'frt2',
'ifrt2',
'integral_image', 'integrate',
'warp',
'warp_coords',
'estimate_transform',
'SimilarityTransform',
'AffineTransform',
'ProjectiveTransform',
'PolynomialTransform',
'PiecewiseAffineTransform',
'swirl',
'resize',
'rotate',
'rescale',
'pyramid_reduce',
'pyramid_expand',
'pyramid_gaussian',
'pyramid_laplacian']
@@ -4,7 +4,6 @@
"""
__all__ = ["frt2", "ifrt2"]
__docformat__ = "restructuredtext en"
import numpy as np
from numpy import roll, newaxis