I = imread('cameraman.tif');L = imrotate(I,50);M= imrotate(L,-50);imshow(M)x_corr = normxcorr2(I,M);[max_c, imax] = max(abs(x_corr(:)))
I tested with above code to see the effect of imrotate had on image. The result if the correlation was 0.94, less than what i expected and the image M was blur.
Any way to rotate the image without effecting its pixel value?
Thanks
Best Answer