0
在我的书中,将图像从一个颜色空间转换为另一个颜色空间的方法是cv::cvtColor()
。但是,我无法在cv
命名空间中找到该方法!换句话说,我使用VS 2010表达式,intellisense也不知道这种方法!在颜色空间之间转换图像
我使用的是opencv 2.4,所以这个方法是移动到另一个命名空间或什么的?请参阅下面的方法,如果不是在CV
#include <iostream>
#include <opencv2\core\core.hpp>
#include <opencv2\highgui\highgui.hpp>
using namespace std;
using namespace cv;
int main()
{
Mat m;
//cv::cvtColor(Mat,Mat,int) is not there!
}
真棒!谢谢! – 2013-04-23 17:45:56