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