It is a simple wrapper around image_align()
and image_crop()
. In this case, only the option viewer = "base"
is used. To use viewer = "mapview"
, please, use such functions separately.
Examples
if (interactive() && requireNamespace("EBImage")) {
img <- image_pliman("flax_leaves.jpg")
prepare_to_shp(img)
}
#> Select 2 points drawing a line of desired aligment along the y axis.
#> Error in do.call(rbind, cord): second argument must be a list