fixed intra docstring reference links

This commit is contained in:
Christian Sachs
2015-06-30 16:33:03 +02:00
parent 2de03d018a
commit 639a046611
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -33,7 +33,7 @@ def skeletonize(image):
Notes
-----
The algorithm [1] works by making successive passes of the image,
The algorithm [1]_ works by making successive passes of the image,
removing pixels on object borders. This continues until no
more pixels can be removed. The image is correlated with a
mask that assigns each pixel a number in the range [0...255]
@@ -49,8 +49,8 @@ def skeletonize(image):
References
----------
.. [1] A fast parallel algorithm for thinning digital patterns,
T. Y. ZHANG and C. Y. SUEN, Communications of the ACM,
March 1984, Volume 27, Number 3
T. Y. Zhang and C. Y. Suen, Communications of the ACM,
March 1984, Volume 27, Number 3.
Examples
+3 -3
View File
@@ -7,7 +7,7 @@ import numpy as np
cimport numpy as cnp
def _fast_skeletonize(image):
"""Optimized parts of the Zhang-Suen [1] skeletonization.
"""Optimized parts of the Zhang-Suen [1]_ skeletonization.
Iteratively, pixels meeting removal criteria are removed,
till only the skeleton remains (that is, no further removable pixel
was found).
@@ -30,8 +30,8 @@ def _fast_skeletonize(image):
References
----------
.. [1] A fast parallel algorithm for thinning digital patterns,
T. Y. ZHANG and C. Y. SUEN, Communications of the ACM,
March 1984, Volume 27, Number 3
T. Y. Zhang and C. Y. Suen, Communications of the ACM,
March 1984, Volume 27, Number 3.
"""