pub fn normalize<T: PixelComponent, const CHANNELS: usize>(
input: ImageView<'_, T, CHANNELS>,
scale: f32,
mean: [f32; CHANNELS],
std: [f32; CHANNELS],
) -> VisionResult<Image<f32, CHANNELS>>Expand description
Converts packed scalar values to f32, then applies value * scale, mean
subtraction, and per-channel standard-deviation normalization.