In this project you are to create a program that will gradually (i.e., in an animated fashion) unmask an image. Start by creating a program called run_spiral_animation.m. Read in an image of your choosing using imread(). If the image that you chose is colored make use of rgb2gray() to convert it into a gray scale image (a lot easier to deal with). Also, convert the variable that contains the image into a double precision matrix so that you can process it. Initialize a variable called ‘mask’ so that it is the same size of image matrix filled with bunch of zeros (cast it as a double precision matrix if needed). The result that is to be displayed can be obtained by multiplying the image matrix with the mask (point to point multiplication). More specifically, you are to set the appropriate elements of the mask matrix equal to ones for the region(s) you would like to unmask. The unmasking process should start at the center of the image. Moreover, it should be carried out in a Archimedean spiral fashion until the image in its entirety is displayed ([url removed, login to view]). Set the parameters a and b of the spiral such that you complete at least 5 rotations before the end of your animation (i.e., before displaying the image in its entirety). Below is snapshot of my animation to give you an idea of what is expected.
You may use any of the
MATLAB code I have provided for the class, but you are not to use any other code in whole or in part written by anyone other than yourself.
30 freelancer đang chào giá trung bình $124 cho công việc này
Hi, sir! I have a good skill in matlab and mathematica programming. If you award this project to me, I'll complete it in time. Thank you in advance. Stay tuned, I'm still working on this proposal.