fix: ref and test_otsu doc

This commit is contained in:
Olivier Debeir
2012-11-14 08:00:59 +01:00
parent 698d6ae13f
commit 70f2b67ef7
2 changed files with 8 additions and 3 deletions
+5 -2
View File
@@ -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.
+3 -1
View File
@@ -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],