patch_set,NeuroVol,numeric,missing-method {neuroim2}R Documentation

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 signature 'NeuroVol,numeric,missing'
patch_set(x, dims, mask, ...)

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

Arguments

x

a NeuroVol object

dims

the dimensions of the patch

mask

the mask defining the valid patch centers

...

additional args

Value

A deferred list of patches.

A deferred list of patches.


[Package neuroim2 version 0.8.1 Index]