skimage2.draw#

Warning

This module is part of the experimental skimage2 namespace and is subject to change without notice. Do not use it in production code. See the migration guide for more details.

Drawing primitives, such as lines, circles, text, etc.

bezier_curve

Generate Bezier curve coordinates.

circle_perimeter

Generate circle perimeter coordinates.

circle_perimeter_aa

Generate anti-aliased circle perimeter coordinates.

disk

Generate coordinates of pixels within circle.

ellipse

Generate coordinates of pixels within ellipse.

ellipse_perimeter

Generate ellipse perimeter coordinates.

ellipsoid

Generate ellipsoid for given semi-axis lengths.

ellipsoid_stats

Calculate analytical volume and surface area of an ellipsoid.

line

Generate line pixel coordinates.

line_aa

Generate anti-aliased line pixel coordinates.

line_nd

Draw a single-pixel thick line in n dimensions.

polygon

Generate coordinates of pixels inside a polygon.

polygon2mask

Create a binary mask from a polygon.

polygon_perimeter

Generate polygon perimeter coordinates.

random_shapes

Generate an image with random shapes, labeled with bounding boxes.

rectangle

Generate coordinates of pixels within a rectangle.

rectangle_perimeter

Generate coordinates of pixels that are exactly around a rectangle.

set_color

Set pixel color in the image at the given coordinates.