line_aa
skimage.draw.line_aa()
Generate anti-aliased line pixel coordinates. Parameters:
y0, x0 : int Starting position (row, column). y1, x1 : int End position (row, column). Returns:
rr, cc, val : (N,) ndarray (int, int, float) Indices of pixels (rr, cc) and intensity values (val). img[rr, cc] = val. References [R72]
A Rasterizing Algorithm for Drawing Curves, A. Zingl, 2012 http://members.chello.at/easyfilter/Bresenham.pdf
Examples >>> from skimage.draw import line_aa