mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-24 13:20:43 +08:00
fixed some typos
This commit is contained in:
@@ -10,8 +10,8 @@ calculates an "optimal" threshold (marked by a red line in the histogram below)
|
||||
by maximizing the variance between two classes of pixels, which are separated by
|
||||
the threshold. Equivalently, this threshold minimizes the intra-class variance.
|
||||
|
||||
Additionnally an adaptive thresholding is applied. Also known as local or
|
||||
dynamic thresholding where the the threshold value is the weighted mean for the
|
||||
Additionally an adaptive thresholding is applied. Also known as local or
|
||||
dynamic thresholding where the threshold value is the weighted mean for the
|
||||
local neighborhood of a pixel subtracted by a constant.
|
||||
|
||||
.. [1] http://en.wikipedia.org/wiki/Otsu's_method
|
||||
|
||||
@@ -10,8 +10,8 @@ __all__ = ['threshold_otsu', 'adaptive_threshold']
|
||||
def adaptive_threshold(image, block_size, offset, method='gaussian'):
|
||||
"""Applies an adaptive threshold to an array.
|
||||
|
||||
Also known as local or dynamic thresholding where the the threshold value is
|
||||
the weighted mean for the local neighborhood of a pixel subtracted by a
|
||||
Also known as local or dynamic thresholding where the threshold value is the
|
||||
weighted mean for the local neighborhood of a pixel subtracted by a
|
||||
constant.
|
||||
|
||||
Parameters
|
||||
|
||||
Reference in New Issue
Block a user