function patch2dimport { patch2d } from "https://deno.land/x/vectorizer@v0.3.7/src/feature/image.ts"; patch2d(image: Image, options: Patch2d): PatchCollectionExtract patches from a 2d image Parametersimage: ImageSource image to extract patches from options: Patch2dDimensions of a single patch ReturnsPatchCollectionA collection of patches as a single Uint8ClampedArray