specialCrop: special cropping

Description Usage Arguments Value Author(s) Examples

View source: R/surgeRy.R

Description

cropping method specialized for our data augmenation approach

Usage

1
specialCrop(x, pt, domainer = NULL)

Arguments

x

input antsImage

pt

point in physical space around which we crop

domainer

vector of dimensionality equal to the image indicating the size of cropped region

Value

cropped region

Author(s)

Avants BB

Examples

1
2
library( ANTsR )
specialCrop( ri(1), c(60,66), c(32,32) )

stnava/surgeRy documentation built on Dec. 23, 2021, 6:37 a.m.