mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-03 22:25:49 +08:00
Removed nbins input (from use with histogram input)
This commit is contained in:
@@ -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