image-js
Version:
Image processing and manipulation in JavaScript
8 lines • 316 B
TypeScript
/**
* Return a threshold for a histogram using Otsu algorithm.
* @param histogramCounts - The image histogram.
* @param total - Total number of pixels of the image.
* @returns The threshold.
*/
export declare function otsu(histogramCounts: Uint32Array, total: number): number;
//# sourceMappingURL=otsu.d.ts.map