mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-02 09:04:31 +08:00
fix: ref and test_otsu doc
This commit is contained in:
@@ -5,9 +5,12 @@ instead of using [min, max]. It means that isolated bright or dark pixels will
|
||||
not produce halos.
|
||||
|
||||
The local histogram is computed using a sliding window similar to the method
|
||||
described in:
|
||||
described in [1].
|
||||
|
||||
.. [1] Reference: Huang, T. ,Yang, G. ; Tang, G.. "A fast two-dimensional
|
||||
References
|
||||
==========
|
||||
|
||||
.. [1] Huang, T. ,Yang, G. ; Tang, G.. "A fast two-dimensional
|
||||
median filtering algorithm", IEEE Transactions on Acoustics, Speech and
|
||||
Signal Processing, Feb 1979. Volume: 27 , Issue: 1, Page(s): 13 - 18.
|
||||
|
||||
|
||||
@@ -322,7 +322,9 @@ def test_empty_selem():
|
||||
|
||||
|
||||
def test_otsu():
|
||||
#
|
||||
# test the local Otsu segmentation on a synthetic image
|
||||
# (left to right ramp * sinus)
|
||||
|
||||
test = np.tile(
|
||||
[128, 145, 103, 127, 165, 83, 127, 185, 63, 127, 205, 43,
|
||||
127, 225, 23, 127],
|
||||
|
||||
Reference in New Issue
Block a user