Ask Your Question

rfkmartin's profile - activity

2014-06-04 10:47:05 -0600 asked a question Increasing CPU usage in OpenCV app

I wrote a simple OpenCV app in Win7 that opens an RGB image file, multiplies it pixelwise, and then saves it under a new name. I compiled OpenCV with TBB yet cannot seem to get this app to use more than one core nor get it to use more than ~40% of a single core. System idle is around 60% and it seems like I could squeeze some more speed out of OpenCV if I knew how.

Can anyone get me pointed in the right direction?

Thanks.

2014-05-27 10:54:20 -0600 asked a question Vectorizing matrix access like Matlab

Is there a way to access multiple elements of a matrix in a way that is similar to Matlab? I have a list of indices for one matrix that I want to copy into another matrix using another list of indices. It's a nonlinear mapping so I haven't found an easy way to do this other than in Matlab. I've tried going through the list and copy each item using At, but that is much too slow. Any other options to try?

Thx