mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
ApplyColorMap can be used with a user colormap
This commit is contained in:
@@ -4097,9 +4097,17 @@ enum ColormapTypes
|
||||
@param src The source image, grayscale or colored of type CV_8UC1 or CV_8UC3.
|
||||
@param dst The result is the colormapped source image. Note: Mat::create is called on dst.
|
||||
@param colormap The colormap to apply, see cv::ColormapTypes
|
||||
*/
|
||||
*/
|
||||
CV_EXPORTS_W void applyColorMap(InputArray src, OutputArray dst, int colormap);
|
||||
|
||||
/** @brief Applies a user colormap on a given image.
|
||||
|
||||
@param src The source image, grayscale or colored of type CV_8UC1 or CV_8UC3.
|
||||
@param dst The result is the colormapped source image. Note: Mat::create is called on dst.
|
||||
@param userColor The colormap to apply of type CV_8UC1 or CV_8UC3 and size 256
|
||||
*/
|
||||
CV_EXPORTS_W void applyColorMap(InputArray src, OutputArray dst, InputArray userColor);
|
||||
|
||||
//! @} imgproc_colormap
|
||||
|
||||
//! @addtogroup imgproc_draw
|
||||
|
||||
Reference in New Issue
Block a user