Learn R Programming

neuroim2 (version 0.8.5)

patch_set,NeuroVol,numeric,missing-method: Create a patch set from a NeuroVol object

Description

This function creates a patch set from a NeuroVol object given specified dimensions

This function creates a patch set from a NeuroVol object given specified dimensions and a mask.

Usage

# S4 method for NeuroVol,numeric,missing
patch_set(x, dims, mask, ...)

# S4 method for NeuroVol,numeric,LogicalNeuroVol patch_set(x, dims, mask, ...)

Value

A deferred list of patches.

A deferred list of patches.

Arguments

x

a NeuroVol object

dims

the dimensions of the patch

mask

the mask defining the valid patch centers

...

additional args