Merge pull request #108 from WarrenWeckesser/ph-doc-fix

DOC: fix probabilistic_hough docstring
This commit is contained in:
tonysyu
2012-01-08 15:21:01 -08:00
+4 -4
View File
@@ -66,15 +66,15 @@ def probabilistic_hough(img, threshold=10, line_length=50, line_gap=10, theta=No
----------
img : (M, N) ndarray
Input image with nonzero values representing edges.
value_threshold: int
threshold : int
Threshold
line_length: int, optional (default 50)
line_length : int, optional (default 50)
Minimum accepted length of detected lines.
Increase the parameter to extract longer lines.
line_gap: int, optional, (default 10)
line_gap : int, optional, (default 10)
Maximum gap between pixels to still form a line.
Increase the parameter to merge broken lines more aggresively.
theta :1D ndarray, dtype=double, optional, default (-pi/2 .. pi/2)
theta : 1D ndarray, dtype=double, optional, default (-pi/2 .. pi/2)
Angles at which to compute the transform, in radians.
Returns