Draw on Image
Annotates an image with drawings based on tabular data.
Algorithms: |
circle
Draws (non-filled) circles from given X,Y points with givenradii
- x:
Column name containing X-coordinates
- y:
Column name containing Y-coordinates
- radius:
Column name containing radii
- red color:
A number (0-1) or column name containing colors for first imagechannel.
- green color:
A number (0-1) or column name containing colors for second imagechannel, ignored for non RGB images
- blue color:
A number (0-1) or column name containing colors for third imagechannel, ignored for non RGB images
- alpha value:
A number (0-1) or column name containing alpha values used forblending the drawings over the image.
1.0 is opaque, 0.0 transparent
filled circle
Draws filled circles from given X,Y points with given radii
- x:
Column name containing X-coordinates
- y:
Column name containing Y-coordinates
- radius:
Column name containing radii
- red color:
A number (0-1) or column name containing colors for first imagechannel.
- green color:
A number (0-1) or column name containing colors for second imagechannel, ignored for non RGB images
- blue color:
A number (0-1) or column name containing colors for third imagechannel, ignored for non RGB images
- alpha value:
A number (0-1) or column name containing alpha values used forblending the drawings over the image.
1.0 is opaque, 0.0 transparent
lines
Draws lines from coordinates (X,Y) to coordinates (X2,Y2)
- x:
Column name containing X-coordinates
- y:
Column name containing Y-coordinates
- x2:
Column name containing X2-coordinates
- y2:
Column name containing Y2-coordinates
- red color:
A number (0-1) or column name containing colors for first imagechannel.
- green color:
A number (0-1) or column name containing colors for second imagechannel, ignored for non RGB images
- blue color:
A number (0-1) or column name containing colors for third imagechannel, ignored for non RGB images
- alpha value:
A number (0-1) or column name containing alpha values used forblending the drawings over the image.
1.0 is opaque, 0.0 transparent
symbols
Draws a symbol defined by number of vertices. Negative valuesare drawn as convex objects. Eg, triangles have N=3,squares N=4, hexagons N=6, stars N=-6
- x:
Column name containing X-coordinates
- y:
Column name containing Y-coordinates
- radius:
Column name containing radii
- red color:
A number (0-1) or column name containing colors for first imagechannel.
- green color:
A number (0-1) or column name containing colors for second imagechannel, ignored for non RGB images
- blue color:
A number (0-1) or column name containing colors for third imagechannel, ignored for non RGB images
- alpha value:
A number (0-1) or column name containing alpha values used forblending the drawings over the image.
1.0 is opaque, 0.0 transparent
- N:
Column name containing number of vertices
|
Inputs: | image : image
table : table
|
Outputs: | output : image
|
Ports:
Inputs:
image: | image
Image to draw on
|
table: | table
Table used for drawing
|
Outputs:
output: | image
Resulting image
|
Configuration:
- algorithm
- (no description)
- x
- (no description)
- y
- (no description)
- x2
- (no description)
- y2
- (no description)
- N
- (no description)
- radius
- (no description)
- red color
- (no description)
- green color
- (no description)
- blue color
- (no description)
- alpha value
- (no description)
-
class
node_draw.
ImageDraw
[source]