UNPKG

image-js

Version:

Image processing and manipulation in JavaScript

8 lines 318 B
/** * Return a threshold for a histogram using maximal enthropy algorithm. * @param histogram - Image histogram. * @param total - Number of pixels in the image. * @returns The threshold. */ export default function maxEntropy(histogram: Uint32Array, total: number): number; //# sourceMappingURL=maxEntropy.d.ts.map