applyCustomColorMap function

Mat applyCustomColorMap(
  1. InputArray src,
  2. InputArray userColor, {
  3. OutputArray? dst,
})

ApplyCustomColorMap applies a custom defined colormap on a given image.

For further details, please see: https:///docs.opencv.org/master/d3/d50/group__imgproc__colormap.html#gacb22288ddccc55f9bd9e6d492b409cae

Implementation

Mat applyCustomColorMap(InputArray src, InputArray userColor, {OutputArray? dst}) {
  dst ??= Mat.empty();
  cvRun(() => cimgproc.ApplyCustomColorMap(src.ref, dst!.ref, userColor.ref));
  return dst;
}