Ask Your Question

maddy1445's profile - activity

2016-02-08 11:43:50 -0600 received badge  Famous Question (source)
2015-02-04 10:49:02 -0600 received badge  Notable Question (source)
2014-10-09 13:37:06 -0600 received badge  Popular Question (source)
2014-05-22 18:50:04 -0600 commented question conversion of matlab code to opencv code

you were right...

2014-05-16 11:42:30 -0600 asked a question conversion of matlab code to opencv code

I have a matlab code in which the image x has 512*512 size were M=512 and N=512 next step is this

r=x(:, 2:N) - x(:, 1:(N-1));

d= mean2(abs(r(:, 8:8:8*(floor(N/8)-1))));

a= (8*mean2(abs(r)) - d)/7;

Now I have to convert this steps in to opencv code so I am stuck with logic

 cv::Mat scrImage =imread(argv[1],CV_LOAD_IMAGE_ANYCOLOR); // Read the file 

 cv::Mat dst(scrImage.size(),CV_64FC3);//Image double

 int nrows = dst.rows;

 int ncols = dst.cols*dst.channels();

 for(int j=0;j<nrows;j++){

 for(int i=0;i<ncols;i++)
 {
}}

Any idea on this? Thanks in advance

2014-03-20 14:43:20 -0600 asked a question OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cv::cvtColor, file ..\..\..\..\opencv\modules\imgproc\src\color.cpp, line 3648

Hi every one i am doing a small program using opencv in qt. when i use cvtColor for conversion of bgr to rbg(for qt) i am getting dis error

2013-02-09 19:33:48 -0600 asked a question how to create own libraries using opencv

hi i am new to opencv

2013-01-19 16:59:30 -0600 answered a question pcl::PointCloud to cv::Mat -> optimal way?

hi can u tell me how to integrate pcl and opencv in qt

2013-01-18 16:11:35 -0600 answered a question Setting up a new project in Qt-creator using OpenCV and PCL

but how to integrate pcl with qt. ie is in .pro file the page show to install pcl but not integration

tq in advance