plotPoints {imageUtilities} | R Documentation |
plot points onto an image with lines around them (NOT YET WORKING)
plotPoints(img, ipts, radius = min(imgetnx(img, 1), imgetny(img, 1))/100, lines = FALSE, transparency = 0, col = "red", one.based = TRUE)
img |
the image to draw on to. |
ipts |
an nx2 matrix with points to be drawn on the image. Column names "X" and "Y". |
radius |
the radius of points to draw (pixels). CURRENTLY NOT RESPECTED. |
lines |
boolean,whether to draw lines in between the points |
transparency |
The transparency of the points. 0 for opaque, 1 for transparent. |
col |
The colour to draw the overlay in. Either a
string of a colour recognised by R, or a numeric vector
|
one.based |
whether the input points are one-based or not. |
image with the lines and points drawn on.
Other draw: drawImage
,
imdisp
, imdrawabline
,
imdrawline
, pointPicker