plot.image_shp {pliman} | R Documentation |
S3 method plot
for image_shp
objects
Description
Draws the bounding boxes for each object computed with image_shp()
.
Usage
## S3 method for class 'image_shp'
plot(
x,
img = NULL,
col_line = "black",
size_line = 2,
col_text = "black",
size_text = 0.75,
...
)
Arguments
x |
An object computed with |
img |
The image that was used to compute the shapefile (optional) |
col_line , col_text |
The color of the line/text in the grid. Defaults to
|
size_line , size_text |
The size of the line/text in the grid. Defaults to
|
... |
Currently not used. |
Value
A NULL
object
Examples
library(pliman)
flax <- image_pliman("flax_leaves.jpg")
shape <- image_shp(flax, nrow = 3, ncol = 5)
# grid on the existing image
plot(flax)
plot(shape)
[Package pliman version 2.1.0 Index]