UNPKG

image-js

Version:

Image processing and manipulation in JavaScript

8 lines 316 B
/** * Return a threshold for a histogram using Shanbhag algorithm. * @param histogram - The image histogram. * @param total - Total number of pixels of the image. * @returns The threshold. */ export default function shanbhag(histogram: Uint32Array, total: number): number; //# sourceMappingURL=shanbhag.d.ts.map