mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-17 11:32:45 +08:00
remove long lines
This commit is contained in:
@@ -278,8 +278,8 @@ def percentile(image, selem, out=None, mask=None, shift_x=False, shift_y=False,
|
||||
p0=.0, p1=1.):
|
||||
"""Return greyscale local percentile of an image.
|
||||
|
||||
percentile is computed on the given structuring element. Returns the value of the p0 lower percentile of the
|
||||
neighborhood value distribution.
|
||||
percentile is computed on the given structuring element. Returns the value
|
||||
of the p0 lower percentile of the neighborhood value distribution.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
@@ -358,8 +358,9 @@ def percentile_threshold(image, selem, out=None, mask=None, shift_x=False,
|
||||
shift_y=False, p0=.0, p1=1.):
|
||||
"""Return greyscale local threshold of an image.
|
||||
|
||||
threshold is computed on the given structuring element. Returns thresholded image such that pixels
|
||||
having a higher value than the the p0 percentile of the neighborhood value distribution are set to 2^nbit-1
|
||||
threshold is computed on the given structuring element. Returns
|
||||
thresholded image such that pixels having a higher value than the the p0
|
||||
percentile of the neighborhood value distribution are set to 2^nbit-1
|
||||
(e.g. 255 for 8bit image).
|
||||
|
||||
Parameters
|
||||
|
||||
Reference in New Issue
Block a user