Skip to contents

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, ...)

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.