Add __all__ to morphology package

This commit is contained in:
Johannes Schönberger
2013-04-27 17:31:58 +02:00
parent 9d4647dca6
commit 6cae50cd40
+38 -2
View File
@@ -1,10 +1,46 @@
from .binary import (binary_erosion, binary_dilation, binary_opening,
binary_closing)
from .grey import *
from .selem import *
from .grey import (erosion, dilation, opening, closing, white_tophat,
black_tophat, greyscale_erode, greyscale_dilate,
greyscale_open, greyscale_close, greyscale_white_top_hat,
greyscale_black_top_hat)
from .selem import square, rectangle, diamond, disk, cube, octahedron, ball
from .ccomp import label
from .watershed import watershed, is_local_maximum
from ._skeletonize import skeletonize, medial_axis
from .convex_hull import convex_hull_image
from .greyreconstruct import reconstruction
from .misc import remove_small_objects
__all__ = ['binary_erosion',
'binary_dilation',
'binary_opening',
'binary_closing',
'erosion',
'dilation',
'opening',
'closing',
'white_tophat',
'black_tophat',
'greyscale_erode',
'greyscale_dilate',
'greyscale_open',
'greyscale_close',
'greyscale_white_top_hat',
'greyscale_black_top_hat',
'square',
'rectangle',
'diamond',
'disk',
'cube',
'octahedron',
'ball',
'label',
'watershed',
'is_local_maximum',
'skeletonize',
'medial_axis',
'convex_hull_image',
'reconstruction',
'remove_small_objects']