Navigation :
Top/MATLAB Practice 5
MATLAB Practice 5
- 追加された行はこの色です。
- 削除された行はこの色です。
- MATLAB Practice 5 へ行く。
- MATLAB Practice 5 の差分を削除
#author("2022-06-06T12:42:14+09:00","default:mori","mori") #author("2022-06-06T12:48:24+09:00","default:mori","mori") * Image processing [#l6de6ce2] -Read and display the image data (smile.jpg) with RGB information. # imread, image, imagesc -Convert image data (smile.jpg) to gray scale image and display it. # rgb2gray - Calculate the intensity [sqrt{fx^2+fy^2}] from the first derivative of the gray scale image of #2, and perform the following two operations. --Make the original image ugly by superimposing on it an intensity that is a multiple of the first derivative. --Subtract a multiple of the first derivative from the original image to make it beautiful. - Save the image as -jpeg and check if it is visible in other software. - Save the image as jpeg and check if it is visible in other software. # imwrite *** Data [#s454e004] - Prepare the image data by yourself. *Create and use external functions [#je9232e8] - Create an external function using the --function statement for the beautification and disfiguration described in the previous exercise. -- Input --- Original image and beautification/degradation parameters -- Output Output --- the image after processing. -Note that RGB, not Gray Scale, should be used for the image.