pub fn equalize_hist(input: &Image) -> Result<Image>Expand description
Equalize a normalized FP32 image histogram per (batch, channel) plane.
Pixel values are quantized into 256 uniform buckets over [0, 1], the
per-plane cumulative distribution is spread back over [0, 1] following
the equalizeHist contract, and the result keeps the input layout and
format. Values outside [0, 1] clamp into the edge buckets.
ยงErrors
Returns an error unless the image is nonempty FP32 NCHW/CHW and all sizes fit the shader ABI.