CH6???? - PowerPoint PPT Presentation

1 / 24
About This Presentation
Title:

CH6????

Description:

ch6 6.1- 6.2- 6.3- 6.4- 6.5- 6.6- 6.7- ... – PowerPoint PPT presentation

Number of Views:66
Avg rating:3.0/5.0
Slides: 25
Provided by: Sky137
Category:
Tags: ch6

less

Transcript and Presenter's Notes

Title: CH6????


1
????
  • CH6????

2
  • 6.1-?????
  • 6.2-?????
  • 6.3-??????
  • 6.4-???????????
  • 6.5-??
  • 6.6-??
  • 6.7-??

3
 
  • ????????????????,?????,???????????????????,???????
    ????,?????????????????????????
  • ????????????????????????

4
6.1-?????
  • ???????????????3?????4???????8???,???????,??????4
    ?x??????x?????8?a?
  • ????x ????a
  • ???x?????????a????????????
  • ?????????????????,????????,?????????
  • ?????
    ?????

5
6.2?????
  • ????????????????
  • ?????????????????????
  • ??????????????,??????,???????????1,?????????1,????
    ?????????????

6
  • MATLAB???imresize?????????,????
  • resize(A,k, 'method' )
  • A????????,k?????,??('method') ?????('nearest')????
    ('bilinear')?
  • imresize???????
  • resize(A,m,n,'method')
  • m,n???????????
  • ???????,????4??????????
  • ???
  • cimread('cameraman.tif')
  • headc(3396,90153)
  • imshow(head)
  • head4nimresize(head,4,'nearest')figure,imshow(he
    ad4n)
  • head4bimresize(head,4,'bilinear')imshow(head4b)

7
  • ??1???????????

??2????? ??3??????
8
  • ????????????????????????????,?????????????????????
    ????,??????????????????????????????!?????????????
    ?????
  •  

9
6.3??????
  • ???????????????,????????????????????????
  • ??????????????????????????
  • ???MATLAB????????????,????imresize??????????????('
    bicubic')?
  • ???????????????
  • ???
  • head4cimresize(head,4,'bicubic')
  • imshow(head4c)
  • ????

10
6.4-???????????
  • ????????????????,??????????,???????????????,?????4
    X4
  • ???
  • mmagic(4)

11
  • ???????????????,????????????????????????m2??????m
  • m2zeroint(m)

12
  • ?????????????,????????????
  • ???????????????????????????????????

13
  • ???
  • filter2(1 1 01 1 00 0 0,m2)
  • ?????
  • filter2(1 2 12 4 21 2 1/4,m2)
  • ??????

14
  • ???????????
  • m2bimresize(m,8,8,'nearest')m2b
  • m2bimresize(m,7,7,'bilinear')m2b

15
  • ????????????7X7?????????????????????
  • ???
  • ???????????
  • ????????????????,????????

16
  • ???
  • imshow(hz)
  • imshow(filter2(1 1 01 1 00 0 0,hz)/255)
  • imshow(filter2(1 2 12 4 21 2 1/4,hz)/255)
  • bfilt1 4 6 4 14 16 24 16 46 24 36 24 64 16
    24 16 41 4 6 4 1/64
  • imshow(filter2(bfilt,hz)/255)
  • ??
  • Zero interlraving Nearest nrighbor
    Bilinear Bicubic
  • ????,??????????????,??????????? 

17
6.5-??
  • ???????????????????,??????????????????????????????
    ??,????(i,j),??i?j????4?????????????
  • ??,?????????,??????????????????????????????
  • tzeros(1024,1024)
  • u11024'
  • iuones(1,1024)
  • ji'
  • t((255.5)2lt(i-512).2(j-512).2)
    ((i-512).2(j-512).2lt(256.5)2)
  • tt

18
  • ???????????????
  • trimresize(t,0.25)
  • ???????????????????,???????????????????,
  • trcimresize(t,0.25,'bicubic')
  • ??????????,?????????
  • ??
    ??

19
6.6-??
  • ??????????,?????????????
  • ????????????????,?????????????????????????????????
    ?(???)??,????????????,????????????
  • ??????????????,?????????????????????(0,0)(0,b)(a,0
    )(a,b)?

20
  • ??????????????,???????????,???????????????????????
    ???,????????????????????????
  • MATLAB??????????imrotatr?imreaize??,????method????
    ?nearest????bilinear????bicubic??????????,????????
    ?????

21
  • ????,????????60????????????????
  • cimread(cameraman.tif)
  • crimrotate(c,60)
  • imshow(cr)
  • crcimrotate(c,60,'bicubic')
  • figure,imshow(crc)
  • ?????
    ??????
  • ???????
  • ???????
  • ?,?????
  • ???????
  • ???????

22
6.7-??
  • ?????????????,????????????,???????????????????????
    ??
  • ??MATLAB??
  • aimread('AMBASSADORS.JPG')
  • argb2gray(a)
  • imshow(a)


  • ??

23
  • ?????????????
  • ???
  • skulla(566743,157586)
  • figure,imshow(skull)

  • ??????
  • ????????????????????????,??????????????????????
  • skull2imresize(imrotate(skull,-22,'bicubic'),500
    ,150,'bicubic')

24
  • ??,??skull2???????????????
  • imshow(skull2(200350,))
Write a Comment
User Comments (0)
About PowerShow.com