Realm

oa::image::segmentation_overlay

Blend a class palette over an RGB/RGBA image using an I32 label map.

FnRust public API

Function Documentation

pub fn segmentation_overlay( input: &Image, mask: &Matrix, palette: &Matrix, alpha: f32 ) -> Result<Image>
Blend a class palette over an RGB/RGBA image using an I32 label map.