[][src]Function opencv::imgproc::apply_color_map_user

pub fn apply_color_map_user(
    src: &dyn ToInputArray,
    dst: &mut dyn ToOutputArray,
    user_color: &dyn ToInputArray
) -> 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