pub fn decode(rgb: &[u8], width: u32, height: u32) -> Vec<f32>
Decode a flat width × height × 3 RGB buffer back to elevations.
width × height × 3
Panics if rgb.len() != (width * height * 3) as usize.
rgb.len() != (width * height * 3) as usize