Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

try to do all parts below, the image that needs to be edited is below. Use Matlab/GNU Octave. Image to edit (lena.jpg) 1. Implement sobel_filter.m,

try to do all parts below, the image that needs to be edited is below. Use Matlab/GNU Octave.

image text in transcribed

Image to edit (lena.jpg)

image text in transcribed

1. Implement sobel_filter.m, use horizontal filter and save the image as sobel_h.jpg 2. Use vertical filter and save the image as sobel_v.jpg 3. Implement gaussian_filter.m, use hsize =5, sigma =2, and save the image as gaussian_5.jpg 4. Use hsize =9, sigma =4, and save the image as gaussian_9.jpg 5. Upload your output images and lab03.m, sobel_filter.m, and gaussian_filter.m * Use 'lena.jpg' as the input image for all questions. Bonus - Implement boundary padding - zero padding (pixels outside the image are zero) - replicated/repeated padding (pixels outside the image are the same as pixels on the boundaries) - You can try built-in function padarray or wextend, but you need to implement by yourself to get bonus points - Implement Gaussian kernel - compute a matrix based on g(x,y)=exp(22x2+y2) normalize the matrix to have sum equal to 1

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

Visual Basic 4 Ole Database And Controls Superbible

Authors: Michael Hatmaker, C. Woody Butler, Ibrahim Malluf, Bill Potter

1st Edition

1571690077, 978-1571690074

More Books

Students also viewed these Databases questions

Question

describe the main employment rights as stated in the law

Answered: 1 week ago