rough_align: Initial alignment of mask and image

Description Usage Arguments Value

View source: R/rough_alignment.R

Description

Initial alignment of mask and image

Usage

1
rough_align(img, mask, img_fill_value = img_mode(img), ...)

Arguments

img

Image - greyscale, white(ish) as background, black as signal

mask

Mask; white (signal) and black (bkgd)

img_fill_value

value to fill any image padding with; defaults to the mode value (as calculated by img_mode).

...

extra parameters to pass to em_thresh for automatic thresholding

Value

list containing image and mask which have been aligned to center value and rotated via principal components so that PC1 is the positive y-axis.


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