What is the best method to use for interpolating RGB true colour images? It seems that I am not using the following 4 methods very well, the first and the fourth are actually the same, and the second interp2 cannot interpolate the R,G,B channels at the same time? The third method only supports ndgrid grid points and cannot interpolate images?
dstImg = imwarp(src,tform,OutputView=outputView);
birdsEyeImgR = interp2(src(:,:,1),mapX,mapY,"linear",0);
[X,Y] = ndgrid(1:size(src,1),1:size(src,2));
F = griddedInterpolant(X,Y,src,'linear','nearest');
birdsEyeImgF = F(mapX,mapY);
BEV = transformImage(birdsEye,src);
Any recommendations for a more efficient method? your answer would be greatly appreciate!