Panel - PowerPoint PPT Presentation

1 / 23
About This Presentation
Title:

Panel

Description:

Title: Author: KT Nien Last modified by: tcu Created Date: 3/10/2004 9:41:14 AM Document presentation format: (4:3) Other titles – PowerPoint PPT presentation

Number of Views:35
Avg rating:3.0/5.0
Slides: 24
Provided by: KTN9
Category:
Tags: binary | erosion | panel

less

Transcript and Presenter's Notes

Title: Panel


1
???? ??(6)
  • 2008/04/09

2
????
  • ?????
  • ??
  • ??
  • ??

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

Panel
PictureBox
4
???????
  • ???Button?Text??button2?button6?Enabled?????false
    ?
  • ??Picture?????Panel???PictureBox?SizeMode???AutoS
    ize,Panel?AutoScroll???true?
  • ?OpenDialog?Filter?????
  • BMP??.bmp????.

5
????
  • ?Form1?????????
  • private Bitmap original
  • private bool , binary
  • original?????????????
  • binary???????????
  • true????
  • false????

6
??????
  • ???Open??Click??????????????

7
????
  • ????????
  • bool, Binary(Bitmap source, int threshold)
  • ?????????????threshold?????
  • void ShowResult(bool, data, PictureBox p1)
  • ???????data??????PictureBoxp1?
  • bool, Dilation(bool, source, int size)
  • ??source??????,size????????
  • bool, Erosion(bool, source, int size)
  • ??source??????,size????????
  • int Thinng(bool, source)
  • ????,?????????source,????????????

8
??????
  • ?trackBar1?ValueChanged?????????

9
?????????PictureBox
10
????
  • ???Binary Image??Click??????????????
  • ??Binary(),???????original????127????,???????binar
    y?????ShowResult???????PictureBox??

11
????(Morphological Dilation)
12
????(Morphological Erosion)
13
????
  • ???Dilation???Erosion??Click????????????????
  • ??????????????????binary??ShowResult???PictureBox?
    ????

14
????
  • ?????,????????(test.bmp)?????????????????????????
    ??,??????????,???????????????,???????????,????????

15
??????
  • ????????(Program.cs)????????????

16
????
  • ???????????????????????,??
  • true??????
  • false??????
  • ??????????????,?????????????,??????

17
??(Thinning)(1)
  • ???????Figure 9.21???????
  • ?????pattern???8x9????????

18
??(Thinning)(2)
  • ????????????????????pass?????????,???pass????????
    ????????????????????disconnected?

19
??(Thinning)(3)
20
??(Thinning)(4)
  • ?Pass??????????????,??????pass

21
????
  • ???Thinning??Click??????????????
  • ???????????????????

22
??????
  • ??????????????????????????????(Pruning)

23
?????
  • ????????,????Auto??Click?????????????
  • ??????????????????(??????????????),?????????(?????
    ?0?????)?
Write a Comment
User Comments (0)
About PowerShow.com