if we perform bicubic interpolation using matlab function:
[nrow, ncol] = 2*size(im_l);
im_b = imresize(im_l, [nrow, ncol], 'bicubic');
it shows PSNR =29.30 in MATLAB R2013a
resize(img, im_b, img.size()*2, 0, 0, INTER_CUBIC);
it shows PSNR 28.22 in visual studio 2010 and OpenCV 2.2.0
Can it be made equal?