flow to map
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
Unfortunately, there is no such function in gpu module. You have to implement it by yourself.
Is this means there exists this function in cpu or just use for each to add x, y by myself?
As I remember there is no such function on cpu too.