Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/vectorizer/src/feature/extraction/image/patches/patch_2d.ts>patch2d

Feature Extraction and Feature Selection in TypeScript
Go to Latest
function patch2d
import { patch2d } from "https://deno.land/x/vectorizer@v0.3.7/src/feature/extraction/image/patches/patch_2d.ts";

Extract patches from a 2d image

Parameters

image: Image

Source image to extract patches from

options: Patch2d

Dimensions of a single patch

Returns

A collection of patches as a single Uint8ClampedArray