align_prcomp: Align an image and a mask based on principal components

Description Usage Arguments Value

View source: R/rough_alignment.R

Description

One of img or img_df must be supplied. If img is supplied, additional arguments to img_to_df may also be supplied using ....

Usage

1
align_prcomp(img = NULL, weighted = T, ...)

Arguments

img

image or data frame of the locations of nonzero pixels in an image (columns row, col, value*). If img is a data frame and has column value, value will be used to weight the results. If img is a list, each image in the list will be handled separately

weighted

should weighted calculation be used?

...

additional arguments to image_to_df

Value

angle to rotate the image by (in degrees)


srvanderplas/ShoeScrubR documentation built on Nov. 27, 2019, 2:09 p.m.