mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-11 11:25:30 +08:00
Added missing documentation about raised error
This commit is contained in:
@@ -110,6 +110,12 @@ def threshold_otsu(image, nbins=256):
|
||||
threshold : float
|
||||
Upper threshold value. All pixels intensities that less or equal of
|
||||
this value assumed as foreground.
|
||||
|
||||
Raises
|
||||
------
|
||||
|
||||
ValueError
|
||||
If `image` only contains a single grayscale value.
|
||||
|
||||
References
|
||||
----------
|
||||
|
||||
Reference in New Issue
Block a user