Question: Assignment #1-Getting Comfortable with MATLAB 1- Do the following for the cameraman.tif image: Read it into variable Resize it to 256x256 if necessary Write aMatlabfunction

 Assignment #1-Getting Comfortable with MATLAB 1- Do the following for the

Assignment #1-Getting Comfortable with MATLAB 1- Do the following for the "cameraman.tif image: Read it into variable Resize it to 256x256 if necessary Write aMatlabfunction forthe following procedure: . Generate two random numbers xandy between 5and 251 Construct a white square of size 9x9aroundl(xy) Display themodified Image Generate two random numbers x andybetween 8and 248 nvert all poels of a 15x15 window aroundl(xy) Set all pixels around the inverted area to 255 Display the modified Image 2- Write a Matilab program to read "peppers png" image and do the following a- Changeit to gray scale image. b- Shrink the image by specified factor. The factor needs to be input to your progran c- Zoomthe image in (a) to its original size. Explain the reasons for the differences. Matlab functions for help: imshow, imread, imresize, rand,figure,rgh2gray

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!