Permalink
Browse files

DOC: minor fix ellipse_perim.

  • Loading branch information...
1 parent b1628e0 commit a3d73bdd61ba1685c1038af6658edb8682eb1a62 François Boulogne committed Mar 16, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 skimage/draw/_draw.pyx
View
@@ -293,12 +293,12 @@ def ellipse_perimeter(Py_ssize_t cy, Py_ssize_t cx, Py_ssize_t yradius,
cy, cx : int
Centre coordinate of ellipse.
yradius, xradius: int
- Main radial values.
+ Minor and major semi-axes. ``(x/xradius)**2 + (y/yradius)**2 = 1``.
Returns
-------
rr, cc : (N,) ndarray of int
- Indices of pixels that belong to the circle perimeter.
+ Indices of pixels that belong to the ellipse perimeter.
May be used to directly index into an array, e.g.
``img[rr, cc] = 1``.

0 comments on commit a3d73bd

Please sign in to comment.