Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Implement gaussian _ filter.m , use hsize = 9 , sigma = 4 , and save the image as gaussian _ 9 . jpg Please

Implement gaussian_filter.m, use hsize =9, sigma =4, and save the image as
gaussian_9.jpg
Please do this in MatLab using the pseudocode below. Gaussian Filter needs to be used.
Results can be compared using I = imfilter(img, H);
guassian_filter.m
function output = gaussian_filter(img, hsize, sigma)
H = fspecial('gaussian', hsize, sigma);
% YOUR CODE HERE
end
lab03.m
%% Gaussian filter
hsize =9; sigma =4;
img_gaussian = gaussian_filter(img, hsize, sigma);
figure, imshow(img_gaussian);
imwrite(img_gaussian, 'gaussian_9.jpg');

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

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

1.The difference between climate and weather?

Answered: 1 week ago

Question

1. What is Fog ?

Answered: 1 week ago

Question

How water vapour forms ?

Answered: 1 week ago

Question

What is Entrepreneur?

Answered: 1 week ago

Question

Which period is known as the chalolithic age ?

Answered: 1 week ago

Question

What is the basis for Security Concerns in Cloud Computing?

Answered: 1 week ago

Question

Describe the three main Cloud Computing Environments.

Answered: 1 week ago