I have problem with MSE. I'm working on noise-reduction filters and one of type how to figure out which filter is bether is MSE. Here's code:
X = getappdata (0, 'X');
C = uigetfile('*.*');
C = imread(C);
err = immse(X,C);
fprintf('\n The mean-squared error is %0.4f\n', err);
Where X is imported image in other function. Denoised image is result from X so they have same size, I allready checked that. Any ideas how to figure this out?