Fix label wrapper function

This commit is contained in:
Steven Silvester
2014-12-23 21:20:23 -06:00
parent 2d3ada19e5
commit 3829401e9f
+3 -2
View File
@@ -1,6 +1,7 @@
from ._ccomp import label as _label
def label(input, neighbors=8, background=None, return_num=False):
return _label(input, neighbors, background, return_num)
def label(input, neighbors=8, background=None, return_num=False,
connectivity=None):
return _label(input, neighbors, background, return_num, connectivity)
label.__doc__ = _label.__doc__