Click or drag to resize

Cv2ApplyColorMap Method

Applies a GNU Octave/MATLAB equivalent colormap on a given image.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void ApplyColorMap(
	InputArray src,
	OutputArray dst,
	ColormapTypes colormap
)

Parameters

src
Type: OpenCvSharpInputArray
The source image, grayscale or colored of type CV_8UC1 or CV_8UC3.
dst
Type: OpenCvSharpOutputArray
The result is the colormapped source image. Note: Mat::create is called on dst.
colormap
Type: OpenCvSharpColormapTypes
colormap The colormap to apply
See Also