Add __all__ to grey module.

This commit is contained in:
Tony S Yu
2012-05-03 17:44:08 -04:00
parent 136a020088
commit 9358d785c3
+6
View File
@@ -12,6 +12,12 @@ import numpy as np
import skimage
__all__ = ['erosion', 'dilation', 'opening', 'closing', 'white_tophat',
'black_tophat', 'greyscale_erode', 'greyscale_dilate',
'greyscale_open', 'greyscale_close', 'greyscale_white_top_hat',
'greyscale_black_top_hat']
def erosion(image, selem, out=None, shift_x=False, shift_y=False):
"""Return greyscale morphological erosion of an image.