image_prepare {pliman} | R Documentation |
Prepare an image
Description
This function aligns and crops the image using either base or mapview
visualization. This is useful to prepare the images to be analyzed with
analyze_objects_shp()
Usage
image_prepare(img, viewer = get_pliman_viewer())
Arguments
img |
An optional |
viewer |
The viewer option. If not provided, the value is retrieved
using |
Value
The alighed/cropped image for further visualization or analysis.
Examples
# Example usage:
if(interactive()){
img <- image_pliman("mult_leaves.jpg")
image_prepare(img, viewer = "mapview")
}