Skip to contents

Generate a set of coordinate "patches" of fixed size from an image object.

Usage

patch_set(x, dims, mask, ...)

Arguments

x

the object to extract patches from

dims

a vector indicating the dimensions of the patches

mask

mask indicating the valid patch area

...

additional args