zubin
Uploaded by
9 SLIDES
415 VIEWS
90LIKES

MATLAB

DESCRIPTION

1 / 9

Download Presentation

MATLAB

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


    1. 1/10 MATLAB? ??? ?? ?? ?? 20022215 ??? 20022234 ??? 20042245 ??? 20042275 ???

    2. 2/10 ???? ?? ? ?? Matlab?? ???? ?? ?? ??? ???? ????. ?? ?? ???(Spatial Domain Filtering)?? ??? ??? ???. ?? ?? ??? ?? ??? ?? ??? ????. MFC? ???? ?? ??? ?? ????? ?????.

    3. 3/10 1 . ??? ???? 8 bit gray scale, jpg image ? gray_im= rgb2gray(rgb_im) ???? imwrite() ?? ???? ??? ??? ??? (gray scale image) ??? ????. color_img=imread(money.jpg','jpg'); % money.jpg ???? ???. image(color_img); % ??? color_img? ??. gray_img=rgb2gray(color_img); % rgb images?intensity images? ??. imshow(gray_img) % gray_img? ???? ?? ?? ?? ??? ???? ????.

    4. 4/10 2 . smoothing ??

    5. 5/10 3 . Sharpen ??

    6. 6/10 4. Edge filter ???? ?? ??? ?? ???? ?? edge filter ?? ? ??? ??? ???? ??? ??? ????. color_img=imread(money.jpg','jpg'); % money.jpg ???? ???. image(color_img); % ??? color_img? ??. bk = [0 -1 0 ; -1 4 -1 ; 0 -1 0]; % 3 * 3 ? ??? ??(bk : ????) edge_img = uint8(conv2(double(gray_img),double(bk))); % convolution? ???? pixel? ??? Table? weight? ?? ?? ??? ??? ?? ???? ??? ??? ???? ?? ????. imshow(edge_img); % edge_img? ???? ?? ?? ? ? ??? ???? ????. edge detecting : ??? edge detection Table? ???? convulution??. edge(??? ??? ?? ?? ??? ??)? ?? ???.

    7. 7/10 5. BLUR ?? - ??? Blur Table? ???? convolution??. ???? ???? ?? ??? ??. (mean filter? ????). <MATLAB CODE> % blur bk = [1/16 1/8 1/16 ; 1/8 1/4 1/8 ; 1/16 1/8 1/16]; blur_img = uint8(conv2(double(gray_img), double(bk))); imshow(blur_img);

    8. 8/10 6. BRIGHT, DARKEN ?? % bright for i = 1 : size(gray_img, 1) for j = 1 : size(gray_img, 2) bright_img(i, j) = uint8(double(gray_img(i, j))/255.0 * 200.0) + 55; end end imshow(bright_img); % darken for i = 1 : size(gray_img, 1) for j = 1 : size(gray_img, 2) bright_img(i, j) = uint8(double(gray_img(i, j))/255.0 * 200.0); end end imshow(darken_img);

    9. 9/10 7. ??? ?? ??? ??? ??? ???? ??? ??? ?? ? ???? ?/??? ???? ??/???? ???? ? ????(????) ? ??? ??? ??? ?? ??(?????? ??? ????/?? ??? ???)?? ??? ? ??.

    10. 10/10 8. ?? ?? ? ?? ?? ?? ? ????(??????)

More Related