Ask Your Question

Ishita's profile - activity

2013-10-06 01:35:23 -0600 commented question gpu resize vs. cpu resize

signature of cpu ( c style ) cvResize is: cvresize(source array , destination array , interpolation method);

whereas ,signature of gpu resize is: gpu::resize(source array , destination array , destination image size , scale factor along x axis , scale factor along y axis , interploation method , asynchronous stream);

scale factors are the added ones.

2013-10-05 14:09:28 -0600 asked a question gpu resize vs. cpu resize

why there is a difference in output of resize API among its cpu and gpu version ? why is the scaling factor argument added in the gpu version of resize?

2013-10-05 14:01:44 -0600 commented question OpenCV 2.4.6.0 GPU resize interpolation bug/problem

I also observed the difference in cpu and gpu version of resize but still not able to figure out the reason behind it....

2013-07-20 07:49:54 -0600 received badge  Supporter (source)
2013-07-18 15:00:27 -0600 received badge  Editor (source)
2013-07-18 14:59:35 -0600 asked a question CPU GPU Performance Measurement

Does a cv::gpu API takes more time inside a for loop as compared to its corresponding C Style API in the for with same number of iterations.

i.e

` // GPU FOR LOOP

cv::gpu::GpuMat a , b; // assume they contain some data

for(int i = 0; i < 10180 ; i++)

cv::gpu::add(a ,b,a);

// CPU FOR LOOP

CvMat a1 , b1; //assume they contain some data

for(int i = 0; i < 10180 ; i++)

cvAdd(a1 ,b1,a1);

`

Timings:

GPU FOR LOOP : 0.87SEC

CPU FOR LOOP : 0.02SEC

why is it so ?