image-js
Version:
Image processing and manipulation in JavaScript
17 lines • 577 B
TypeScript
import type { Image } from '../Image.js';
import type { Point } from '../geometry/index.js';
export interface VarianceOptions {
/**
* Points to calculate variance from.
*/
points: Point[];
}
/**
* Compute the variance of each channel of an image.
* @see {@link https://en.wikipedia.org/wiki/Variance}
* @param image - Image to process.
* @param options - Variance options.
* @returns The variance of the channels of the image.
*/
export declare function variance(image: Image, options?: VarianceOptions): number[];
//# sourceMappingURL=variance.d.ts.map