browser-image
    Preparing search index...

    Pixel value counts. Transparent pixels (alpha 0) are not counted. Histograms of parts of one picture (tiles, strips) can be added with mergeHistograms.

    interface Histogram {
        mode: "rgb" | "gray";
        bins: Float64Array<ArrayBufferLike>[];
        count: number;
    }
    Index
    mode: "rgb" | "gray"

    rgb: one histogram per R, G, B. gray: one histogram of luminance.

    bins: Float64Array<ArrayBufferLike>[]

    256 counts per channel, indexed by 8-bit sRGB code.

    count: number

    Number of pixels counted.