pub fn render_yuv422_uyvy(
width: usize,
height: usize,
background: u8,
blobs: &[(f64, f64)],
peak: f64,
sigma: f64,
) -> Vec<u8> ⓘExpand description
Render a width x height YUV422 (UYVY-packed) image of the same
neutral-gray scene as render_mono8: each pixel’s luma (Y) is the Mono8
value and the shared chroma (U, V) is neutral (128). The byte order is
[U, Y0, V, Y1] per horizontal pixel pair, matching
machine_vision_formats::pixel_format::YUV422. Stride equals width * 2.
width must be even (each 4-byte group encodes two pixels).