Calculate Difference between motion vectors
Show older comments
I have motion vectors from two different blockmatchers.
1) fmvs_x, fmvs_y
matrix size -90 x 160
2) ffmpeg_mvs_x, ffmpeg_mvs_y
matrix size - 92 x 160
so the vector difference would be magnitude of (fmvs_x - ffmpeg_mvs_x ) - (fmvs_y - ffmpeg_mvs_y). But the problem is that both the vectors have different matrix sizes.
Could you please advise how should I scale the size of matrix to get correct result.
4 Comments
darova
on 10 May 2020
Can't you just use part of the second matrix?
fmvs_x - ffmpeg_mvs_x(1:85,1:155)
ImageAnalyst
on 10 May 2020
darova
on 11 May 2020
Can you attach the data?
ImageAnalyst
on 11 May 2020
Accepted Answer
More Answers (0)
Categories
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!