patch_set function

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