Ask Your Question

light's profile - activity

2020-10-22 16:54:41 -0600 received badge  Notable Question (source)
2018-07-18 00:52:49 -0600 received badge  Popular Question (source)
2013-01-15 02:45:12 -0600 commented answer About GpuMat

LeftPoint = LeftPoints.at(i); u1 = (LeftPoint.x-cx1)/sx1;

2013-01-15 02:43:12 -0600 commented answer About GpuMat

The code like this: for(...) { CV_MAT_ELEM(A0,float,0,0) = u1ProjectMatrixPara1[8] - ProjectMatrixPara1[0]; ....... CV_MAT_ELEM(B0,float,0,0) = ProjectMatrixPara1[3] - u1ProjectMatrixPara1[11]; ....... cvSolve(A0,B0,X0,CV_SVD); ResultPt3D.x = CV_MAT_ELEM( *X0, float, 0, 0 ) ; ..... Pts3D.push_back(ResultPt3D); }

I want put it into gpu,is there any way to solve it?

2013-01-15 02:22:43 -0600 commented answer About GpuMat

But if I want to sets dev_mat[0,0] to 0 and dev_mat[0,0] to 1 in gpu what should I do.

2013-01-15 02:02:59 -0600 received badge  Editor (source)
2013-01-15 01:56:35 -0600 asked a question About GpuMat

Hi all,

I wonder to know that is there a way to set a GpuMatrix elements to specified value?Just like CV_MAT_ELEM in cpu.I read the documentation,but cannot solve it.Can someone help me with it,Your help is much appreciated!

Best regards,