I am trying to look for an equivalent opencv function for interp2 and I understand that
cv::remap
is a good way of doing this.
However, if I have the following:
f2 = interp2( x, y, f, x2, y2, 'bicubic' );
where x, y, x2
and y2
are all (say m x n) matrices, I am not sure how to use cv::remap
for this.
How would I use remap
for this? I know I have to convert it to a map ... but I'm unable to do so.
And,is there anything else that could do interp2
the way the matlab function does it?