pub fn image_from_pixel_intensity( pixel_intensity: Vec<PixelIntensity>, ) -> Result<ImageBuffer<Rgb<u8>, Vec<u8>>, Box<dyn Error>>