flow to map

asked 2013-03-11 03:34:50 -0600

Gianluigi gravatar image

I want to use optical flow result to remap image
The problem is that optical flow store relative position but remap needs absolutely position.
Is there any exist function can transfer it or I need to implement them by myself?

I know it is easy on cpu, but I want to use the gpu version.
And I was still struggling with the transfer of GpuMat, PtrStepSz and float* in CUDA

edit retag flag offensive close merge delete

Comments

Unfortunately, there is no such function in gpu module. You have to implement it by yourself.

Vladislav Vinogradov gravatar imageVladislav Vinogradov ( 2013-03-11 03:42:38 -0600 )edit

Is this means there exists this function in cpu or just use for each to add x, y by myself?

Gianluigi gravatar imageGianluigi ( 2013-03-11 20:55:00 -0600 )edit

As I remember there is no such function on cpu too.

Vladislav Vinogradov gravatar imageVladislav Vinogradov ( 2013-03-12 01:43:49 -0600 )edit