fix: 6149 (through CV_Error on wrong image type)

This commit is contained in:
Leonid Volnitsky
2016-02-25 12:23:49 +02:00
parent df89e76fb1
commit bebab8d647
2 changed files with 4 additions and 11 deletions

View File

@@ -3796,7 +3796,7 @@ enum ColormapTypes
/** @brief Applies a GNU Octave/MATLAB equivalent colormap on a given image.
@param src The source image, grayscale or colored does not matter.
@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
*/