DOC: Fix formatting to prevent Sphinx warnings

This commit is contained in:
Tony S Yu
2012-09-02 17:51:37 -04:00
parent 1d91ed98ff
commit dc10efe4e1
+7 -5
View File
@@ -24,11 +24,13 @@ def threshold_adaptive(image, block_size, method='gaussian', offset=0,
method : {'generic', 'gaussian', 'mean', 'median'}, optional
Method used to determine adaptive threshold for local neighbourhood in
weighted mean image.
* 'generic': use custom function (see `param` parameter)
* 'gaussian': apply gaussian filter (see `param` parameter for custom
sigma value)
* 'mean': apply arithmetic mean filter
* 'median' apply median rank filter
* 'generic': use custom function (see `param` parameter)
* 'gaussian': apply gaussian filter (see `param` parameter for custom
sigma value)
* 'mean': apply arithmetic mean filter
* 'median' apply median rank filter
By default the 'gaussian' method is used.
offset : float, optional
Constant subtracted from weighted mean of neighborhood to calculate