skimage.draw.bresenham | Generate line pixel coordinates. |
skimage.draw.circle | Generate coordinates of pixels within circle. |
skimage.draw.ellipse | Generate coordinates of pixels within ellipse. |
skimage.draw.line | Generate line pixel coordinates. |
skimage.draw.polygon | Generate coordinates of pixels within polygon. |
Generate line pixel coordinates.
Parameters : | y, x : int
y2, x2 : int
|
---|---|
Returns : | rr, cc : (N,) ndarray of int
|
Generate coordinates of pixels within circle.
Parameters : | cy, cx : double
radius: double :
|
---|---|
Returns : | rr, cc : ndarray of int
|
Generate coordinates of pixels within ellipse.
Parameters : | cy, cx : double
b, a: double :
|
---|---|
Returns : | rr, cc : ndarray of int
|
Generate line pixel coordinates.
Parameters : | y, x : int
y2, x2 : int
|
---|---|
Returns : | rr, cc : (N,) ndarray of int
|
Generate coordinates of pixels within polygon.
Parameters : | y : (N,) ndarray
x : (N,) ndarray
shape : tuple, optional
|
---|---|
Returns : | rr, cc : ndarray of int
|