pub fn normalize_rgb8_to_f32_chw(
rgb: &[u8],
w: u32,
h: u32,
mean: [f32; 3],
std: [f32; 3],
out: &mut [f32],
) -> Result<(), VisionError>Expand description
Normalize RGB8 to planar f32 CHW in out (len ≥ 3 * w * h). Mean/std per channel.