Type Definition image_compare::RGBSimilarityImage
source · [−]pub type RGBSimilarityImage = ImageBuffer<Rgb<f32>, Vec<f32>>;Expand description
a three-channel f32 typed image containing a result-score per color channel for each pixel
Trait Implementations
sourceimpl ToColorMap for RGBSimilarityImage
impl ToColorMap for RGBSimilarityImage
sourcefn to_color_map(&self) -> RgbImage
fn to_color_map(&self) -> RgbImage
Clamps each input pixel’s channel-values to (0., 1.) and multiplies them by 255 before converting to an Rgb8-Image. See tests/data/*_compare_rgb.png images for examples. Read more