Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

USE MATLAB CODE! ) Load and visualize the image septagon.tif. (a) Add Gaussian noise with mean 0 and variance 10 to this image, and visualize

image text in transcribed
USE MATLAB CODE!
) Load and visualize the image septagon.tif.
(a) Add Gaussian noise with mean 0 and variance 10 to this image, and visualize the noisy
image and its histogram using the following code:
septagon = double(imread(septagon.tif));
noise = 10*randn(size(septagon));
septagonNoisy10 = septagon + noise;
figure;imshow(septagonNoisy10/max(septagonNoisy10(:)))
figure;histogram(septagonNoisy10)
What do you observe?
(b) Choose an appropriate threshold T and segment the image using the following code:
septagonSegmented = imbinarize(septagonNoisy10,T);
figure;imshow(septagonSegmented)
Have you managed to successfully segment the image?
(c) Repeat part (b) when the noise variance is 20. Can you successfully segment the image in this case? Is there any T value that will result in an acceptable segmentation
performance?
(d) Denoise the image you have generated in part (c) before segmentation, using the following code:
h = ones(3)/9;
denoisedSeptagon = filter2(h,septagonNoisy20);
figure;imshow(denoisedSeptagon/max(denoisedSeptagon(:)))
figure;histogram(denoisedSeptagon)
septagonSegmented = imbinarize(denoisedSeptagon,T);
Have denoising resulted in better segmentation performance?

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_2

Step: 3

blur-text-image_3

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

Beginning ASP.NET 4.5 Databases

Authors: Sandeep Chanda, Damien Foggon

3rd Edition

1430243805, 978-1430243809

More Books

Students also viewed these Databases questions

Question

9. Mohawk Industries Inc.

Answered: 1 week ago

Question

8. Satyam Computer Services Limited

Answered: 1 week ago

Question

2. Explain how the role of training is changing.

Answered: 1 week ago