Fix some doc strings for latex docs

This commit is contained in:
Johannes Schönberger
2013-03-12 09:39:42 +01:00
parent a1ad4ca34b
commit 0324737c47
3 changed files with 2 additions and 7 deletions
+2 -2
View File
@@ -669,7 +669,7 @@ def noise_filter(image, selem, out=None, mask=None, shift_x=False,
def entropy(image, selem, out=None, mask=None, shift_x=False, shift_y=False):
"""Returns the entropy [wiki_entropy]_ computed locally. Entropy is computed
"""Returns the entropy [1]_ computed locally. Entropy is computed
using base 2 logarithm i.e. the filter returns the minimum number of
bits needed to encode local greylevel distribution.
@@ -698,7 +698,7 @@ def entropy(image, selem, out=None, mask=None, shift_x=False, shift_y=False):
References
----------
.. [wiki_entropy] http://en.wikipedia.org/wiki/Entropy_(information_theory)
.. [1] http://en.wikipedia.org/wiki/Entropy_(information_theory)
Examples
--------
-3
View File
@@ -102,9 +102,6 @@ class MultiImage(object):
(15, 10)
(15, 10)
The two frames in this image can be shown with matplotlib:
.. plot:: show_collection.py
"""
def __init__(self, filename, conserve_memory=True, dtype=None):
"""Load a multi-img."""
-2
View File
@@ -140,8 +140,6 @@ def hough_line(img, theta=None):
>>> out, angles, d = hough(img)
.. plot:: hough_tf.py
"""
return _hough(img, theta)