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

x/vectorizer/src/feature/types.ts>Image2d

Feature Extraction and Feature Selection in TypeScript
Go to Latest
interface Image2d
import { type Image2d } from "https://deno.land/x/vectorizer@v0.3.7/src/feature/types.ts";

Properties

width: number

Width of the image

height: number

Height of the image

channels: number

Number of channels in the image For a regular RGBA image, the value will be 4.

data: Uint8ClampedArray

Array of length width * height * channels