Skip to content

Histogram

new Histogram(pixels, opts): Histogram

Pixels

HistogramOptions

Histogram

histogram.ts:20

bmax: number;

histogram.ts:9


bmin: number;

histogram.ts:8


getColorIndex: (r, g, b) => number;

number

number

number

number

histogram.ts:19


gmax: number;

histogram.ts:11


gmin: number;

histogram.ts:10


hist: Uint32Array;

histogram.ts:14


opts: HistogramOptions;

histogram.ts:22


pixels: Pixels;

histogram.ts:21


rmax: number;

histogram.ts:13


rmin: number;

histogram.ts:12

get colorCount(): number

number

histogram.ts:16