Return to old function name threshold_isodata

This commit is contained in:
Johannes Schönberger
2014-08-02 09:10:50 -04:00
parent 31cf1acf24
commit 8aa5ef8697
+1 -1
View File
@@ -193,7 +193,7 @@ def threshold_yen(image, nbins=256):
return bin_centers[crit.argmax()]
def isodata(image, nbins=256, return_all=False):
def threshold_isodata(image, nbins=256, return_all=False):
"""Return threshold value(s) based on ISODATA method.
Histogram-based threshold, known as Ridler-Calvard method or inter-means.