Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 photoimage text in transcribed

it is

image text in transcribed

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 noises

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transact SQL Cookbook Help For Database Programmers

Authors: Ales Spetic, Jonathan Gennick

1st Edition

1565927567, 978-1565927568

More Books

Students also viewed these Databases questions