MATLAB vs C++ vs OpenCV – imresize
Yes, just be aware that MATLAB’s imresize has anti-aliasing enabled by default: imresize(A,scale,’bilinear’) vs. what you would get with cv::resize(), which does not have anti-aliasing: imresize(A,scale,’bilinear’,’AntiAliasing’,false) And as Amro mentioned, the default in MATLAB is bicubic, so be sure to specify. Bilinear No code modifications are necessary to get matching results with bilinear interpolation. Example … Read more