mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-02 12:41:06 +08:00
Removed nbins input (from use with histogram input)
This commit is contained in:
1 parent
979d7515f0
commit
5eef38bba5
1 file changed
+1
-4
@@ -305,16 +305,13 @@ def threshold_isodata(image, nbins=256, return_all=False):
|
||||
return thresholds[0]
|
||||
|
||||
|
||||
def threshold_li(image, nbins=256):
|
||||
def threshold_li(image):
|
||||
"""Return threshold value based on Li's Minimum Cross Entropy method.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
image : array
|
||||
Input image.
|
||||
nbins : int, optional
|
||||
Number of bins used to calculate histogram. This value is ignored for
|
||||
integer arrays.
|
||||
|
||||
Returns
|
||||
-------
|
||||
|
||||
Reference in new issue
Block a user