Learn R Programming

pliman (version 2.1.0)

prepare_to_shp: Prepare images to analyze_objects_shp()

Description

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.

Usage

prepare_to_shp(img, align = "vertical")

Value

An aligned and cropped Image object.

Arguments

img

A Image object

align

The desired alignment. Either "vertical" (default) or "horizontal".

Examples

Run this code
if(interactive()){
img <- image_pliman("flax_leaves.jpg")
prepare_to_shp(img)
}

Run the code above in your browser using DataLab