Ask Your Question

benwade's profile - activity

2014-01-21 22:07:59 -0600 asked a question stabilize image sequence

I want to stabilize an uncompressed image sequence, can I use videostab module to do this without convert the sequence to video? or there are other ways to stabilize image sequence?

2014-01-19 19:40:36 -0600 received badge  Editor (source)
2014-01-19 19:31:18 -0600 asked a question got CL_INVALID_MEM_OBJECT error on Intel hd graphics 4000

When I use ocl module on Intel hd graphics 4000 (select manually), I got an error message

OpenCV Error: Unknown error code -220 (CL_INVALID_MEM_OBJECT) in cv::ocl::openCL ExecuteKernel, file ......\src\modules\ocl\src\cl_operations.cpp, line 408

but the same code works on Nvidia GPU (auto selection), please help if anyone have idea~

2013-09-28 11:57:09 -0600 asked a question principle point after rectification

After execute sample code "stereo_calib", it will show rectified images with some green lines, in addition I can get ROI rectangle of each view, but the rectangle size of each view was not equal, so I crop both images to make them the same size, but there's a problem, how do I determine the new principle point of each view? or the principle point still remain the same?

2013-07-28 00:52:53 -0600 received badge  Student (source)
2013-07-24 04:32:57 -0600 asked a question multiple exposure video sequence

Hi, everyone, I want to know is it possible to get image sequence like this?

Frame0 (exposure A) -> Frame1 (exposure B) -> Frame2 (exposure A) -> Frame3 (exposure B)

As following was the way I tried, I expected that the “exposure 0” window showing the loner exposure image, and “exposure 1” showing the shorter one, but the result was both windows blink at the same time.

VideoCapture vc(0);

Mat src;

while( true )
{
    vc.set(CV_CAP_PROP_EXPOSURE, 0);
    vc >> src;
    imshow("exposure 0", src);

    vc.set(CV_CAP_PROP_EXPOSURE, -2);
    vc >> src;
    imshow("exposure 1", src);

    waitKey(1);
}

I guess there are some sync problem, because longer exposure makes longer response time, is there any solution?