I encountered the following error while trying to display a JET Colormap for my image:
applyColorMap(src(cv::Range(0, bitmapInfo.height), cv::Range(0, bitmapInfo.width)), output, COLORMAP_JET);
Error:
jni/ImageProcessing.cpp:93:98: error: 'COLORMAP_JET' was not declared in this scope
applyColorMap(src(cv::Range(0, bitmapInfo.height), cv::Range(0, bitmapInfo.width)), output, COLORMAP_JET);
↧