1 / 19

Ciri Bentuk Pada Citra

Ciri Bentuk Pada Citra. Bentuk. Edge Detection Histogram (Integral Proyeksi) Compass Operator. Fitur Bentuk. Deteksi Tepi Kuantisasi Integral Proyeksi Histogram Sudut. Contoh Kasus(1). 0. 1. 0. 0. 0. 1. 0. 0. 0. 1. 0. 0. 0. 1. 0. 0. 16x16. Contoh Kasus(2). 0. 0. 0.

dacey
Download Presentation

Ciri Bentuk Pada Citra

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. Ciri Bentuk Pada Citra

  2. Bentuk • Edge Detection • Histogram (Integral Proyeksi) • Compass Operator

  3. Fitur Bentuk • Deteksi Tepi • Kuantisasi • Integral Proyeksi • Histogram Sudut

  4. Contoh Kasus(1) 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 16x16

  5. Contoh Kasus(2) 0 0 0 0 0 1 1 0 0 1 1 0 0 1 1 0 16x16

  6. Contoh Kasus(3) 0 0 0 0 0 1 1 0 0 1 1 0 0 0 0 0 16x16

  7. Deteksi Tepi 0 0 1 1 0 0 0 0 1 1 0 0 1 1 1 0 0 1 0 0 0 0 1 1 1 0 0 1 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 -1 1

  8. Metode Prewitt -1 0 -1 -1 -2 -1 1 -1 0 = + -1 0 1 0 0 1 -1 0 1 -1 0 1 1 1 1 4 1 2

  9. Metode Sobel -2 -1 -1 0 0 1 -1 0 1 -2 0 2 4 1 2 -1 0 1

  10. Mengenali Angka Menggunakan Fitur Bentuk Integral Proyeksi Achmad Basuki, Nana Ramadijanti PENS-ITS 2009

  11. Model Angka 0 1 2 3 4 5 6 7 8 9 Setiap angka disimpan sebagai file gambar dengan nama file sesuai dengan angka yang tertera, misalkan angka 4 disimpan dalam file 4.jpg

  12. Integral Proyeksi • Integral Proyeksi adalah suatu teknik yang menjumlahkan nilai setiap kolom atau setiap baris. • Integral proyeksi didefinisikan dengan:

  13. 0 0 1 0 1 0 2 0 1 0 0 1 0 2 0 1 0 0 1 0 2 Integral proyeksi vertikal 1 1 1 1 1 1 6 0 0 0 0 1 0 1 0 0 0 0 1 0 1 1 3 2 1 6 1 Integral proyeksi horisontal Integral Proyeksi Fitur : 1 3 2 1 6 1 2 2 2 6 1 1

  14. 1 0 0 1 1 1 0 1 1 1 1 0 6 2 0 0 1 0 0 0 0 0 1 1 0 0 1 2 0 0 0 1 0 0 1 0 1 0 0 0 2 1 Integral proyeksi vertikal Integral proyeksi vertikal 0 1 1 0 1 1 0 1 1 0 0 1 6 1 0 0 1 0 0 0 0 0 1 0 0 0 1 1 0 1 0 0 0 0 0 0 1 0 0 0 1 1 2 1 2 3 2 2 2 1 2 6 1 1 Integral proyeksi horisontal Integral proyeksi horisontal Membandingkan Fitur Gambar Angka Fitur angka 4: 1 3 2 1 6 1 2 2 2 6 1 1 Fitur Angka 7: 2 2 2 2 2 1 6 1 1 1 1 1 Nilai perbedaan= 1+1+0+1+4+0+4+1+1+5+0+0=18

  15. 0 0 1 1 1 1 1 1 1 1 0 0 4 4 1 1 0 0 0 0 0 0 0 0 1 1 2 2 1 0 1 0 1 0 1 0 0 1 0 1 2 4 Integral proyeksi vertikal Integral proyeksi vertikal 1 1 0 0 0 0 0 0 0 0 1 1 2 2 1 1 0 0 0 0 0 0 0 0 1 1 2 2 0 0 1 1 1 1 1 1 1 1 0 0 4 4 3 4 3 2 2 3 3 2 3 2 3 4 Integral proyeksi horisontal Integral proyeksi horisontal Membandingkan Fitur Gambar Angka Fitur angka 0: 4 2 2 2 2 4 4 2 2 2 2 4 Fitur Angka 8: 3 3 3 3 3 3 4 2 4 2 2 4 Nilai perbedaan= 1+1+1+1+1+1+0+0+2+0+0+0=7

  16. Membuat Aplikasi Pengenalan Angka • Aplikasi Mengambil Fitur: untuk mengajari komputer dengan menuliskan angka dan menyimpan fiturnya • Aplikasi Pengenalan: untuk mengenali angka yang ditulis.

  17. Desain Form Aplikasi Pengenalan Angka command1 command2 command3 Picture1

  18. Menyiapkan Modul Untuk Menuliskan Angka Pada Picture1 • Definisikan state awal tidak ada gambar dengan sw=0 pada saat form load. • Saat picture1, mouse diturunkan ubahlah statenya menjadi sw=1 • Saat picture1, mouse dinaikkan ubahlah statenya menjadi sw=0 • Saat picture1, mouse digerakkan. Bila sw=1 maka lakukan penggambaran kotak dengan fungsi line

  19. Blok Diagram Pengambilan Fitur Deteksi Posisi Sampling 16x16 Image Image Angka Integral Proyeksi Fitur

More Related