[][src]Function opencv::imgproc::apply_color_map

pub fn apply_color_map(src: &Mat, dst: &mut Mat, user_color: &Mat) -> Result<()>

Applies a user colormap on a given image.

Parameters

  • src: The source image, grayscale or colored of type CV_8UC1 or CV_8UC3.
  • dst: The result is the colormapped source image. Note: Mat::create is called on dst.
  • userColor: The colormap to apply of type CV_8UC1 or CV_8UC3 and size 256