Question
Okei i dont have any other photo.But i have other question.Check photo it is where f is the original image and s is the image
Okei i dont have any other photo.But i have other question.Check photo
it is
where f is the original image and s is the image with noise.
Pseudocode:
f = read original image s = read noisy image rows
MATLAB code: f = imread('originalImage'); %change it to meet your need s = imread('noisyImage'); %change it to meet your need [row col] = size(f); sq = 0; for i = 1:row for j = 1:col sq += (f(i,j) - s(i,j))^2; end end msq = sq/(row*col);
But i have an problem when i try to implement the code in matlab.Matlab says :
Error: "sq" was previously used as a variable, conflicting with its use here as the name of a function or command. See "How MATLAB Recognizes Command Syntax" in the MATLAB documentation for details.
Can anyone help me with this other question?
THanks
Enter the pseudo-code for calculating the "Mean Square Error" provided with MS Where f(i. j) is the original image s (i, j) image with noisesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started