1 of 37

PERTEMUAN KE 5 – OPERASI MORFOLOGI

PENGOLAHAN CITRA

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

Tim Penyusun:

1. Atit Pertiwi

2. Condro Wibawa

3. Noor Vika H

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

2 of 37

R

P

S

OPERASI MORFOLOGI

01

STRUCTURING ELEMENT

02

JENIS-JENIS OPERASI MORFOLOGI

03

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

3 of 37

OPERASI MORFOLOGI

01

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

4 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

OPERASI MORFOLOGI

Operasi morfologi adalah serangkaian teknik dalam pengolahan citra yang didasarkan pada bentuk (shape) dan struktur objek dalam citra.

Biasanya diterapkan pada citra biner (hitam-putih), tetapi juga dapat digunakan pada citra grayscale.

Tujuan utamanya:

  1. Membersihkan noise kecil
  2. Menyambungkan atau memisahkan bagian objek
  3. Mengekstraksi bentuk atau struktur tertentu

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

5 of 37

STRUCTURING ELEMENT

02

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

6 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

OPERASI MORFOLOGI

Pada Operasi Morfologi,�kita mengenal istilah SE (Structuring Element),�atau semacam Kernel pada Operasi Konvolusi

Structuring element (SE) bisa dianggap sebagai "stempel kecil" atau "alat penggesek" yang kita tempelkan ke sebuah citra untuk melihat bagaimana bentuk objek bereaksi.

Bayangkan kamu punya citra biner berupa kertas bergambar hitam-putih.

Lalu kamu punya cap karet kecil (structuring element).

Kamu gesek cap ini di atas gambar:

  • Kalau semua bagian cap yang padat (1) pas kena tinta hitam → cap itu "cocok" (untuk erosi).
  • Kalau ada sedikit saja bagian cap yang kena tinta hitam → berarti ada "cocok" (untuk dilasi).

Dengan cara ini, SE jadi alat untuk mengecek apakah pola kecil sesuai dengan gambar besar.

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

7 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

OPERASI MORFOLOGI

Serba-serb SE :

  • SE biasanya berbentuk kotak kecil (misalnya 3×3, 5×5).
  • Di dalamnya ada nilai 1 (aktif) dan 0 (tidak aktif).
  • Titik tengah SE disebut origin, dan itu yang menentukan posisi pergeseran di citra.

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

8 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

OPERASI MORFOLOGI

Bentuk SE

  • SE biasanya berbentuk kotak kecil (misalnya 3×3, 5×5).
  • Di dalamnya ada nilai 1 (aktif) dan 0 (tidak aktif).
  • Titik tengah SE disebut origin, dan itu yang menentukan posisi pergeseran di citra.

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

9 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

OPERASI MORFOLOGI

SE PERSEGI : �Ini bentuk SE paling dasar dan paling sering dipakai.

  • Menyentuh semua piksel di area kotak 3×3.
  • Cocok untuk efek merata ke semua arah (horizontal, vertikal, diagonal).
  • Bisa juga dibuat ukuran lebih besar (misalnya 5×5, 7×7) untuk efek lebih kuat.

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

10 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

OPERASI MORFOLOGI

SE SILANG/PLUS:

  • Fokus hanya ke arah horizontal dan vertikal.
  • Tidak memperhitungkan diagonal.
  • Cocok untuk operasi morfologi pada objek yang cenderung lurus (misalnya teks).

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

11 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

OPERASI MORFOLOGI

SE HORIZONTAL :

Fokus ke arah horizontal saja, terdiri dari 5 pixel.

Cocok untuk:

  • Menghubungkan komponen yang sejajar mendatar
  • Menghapus noise vertikal kecil
  • Menebalkan garis hoizontal

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

12 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

OPERASI MORFOLOGI

SE Vertical :

Fokus ke arah vertikal saja, terdiri dari 5 pixel.

Cocok untuk:

  • Menghubungkan komponen yang sejajar berdiri
  • Menghapus noise horizontal kecil
  • Menebalkan garis vertikal

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

13 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

OPERASI MORFOLOGI

SE Lingkaran :

Membentuk efek bulat, lebih “halus” daripada kotak.

Cocok untuk:

  • Mengolah objek bulat atau organik
  • Mengurangi efek sudut tajam

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

14 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

OPERASI MORFOLOGI

SE Bentuk Lainnya :

Dan lain-lain, tergantung kebutuhan.�Bahkan bisa membuat bentuk custom sendiri

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

15 of 37

JENIS-JENIS MORFOLOGI

02

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

16 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

OPENING�CLOSING�DILASI�EROSI�OPERASI LANJUTAN

Jenis Operasi Morfologi

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

17 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

Fungsi Operasi Morfologi,�secara umum

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

18 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

DILASI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

19 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

DILASI

Aplikasi :

  • Menutup lubang kecil di dalam objek
  • Menebalkan bentuk
  • Menyambungkan objek yang hampir menyatu

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

20 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

SE untuk DILASI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

21 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

DILASI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

22 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

23 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

EROSI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

24 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

EROSI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

25 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

EROSI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

26 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

27 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

OPENING

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

28 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

OPENING

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

29 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

OPENING

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

30 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

31 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

CLOSING

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

32 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

CLOSING

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

33 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

CLOSING

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

34 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

35 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

Perbandingan Dilasi, Erosi, Opening, dan Closing

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

36 of 37

  • Input the text content you want according to the content you need, and input the text and other information.Input the text content you want according to the content you need, and input the text and other information.

  • Input the text content you want according to the content you need, and input the text and other information.

20NN

JENIS MORFOLOGI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

37 of 37

TERIMA

KASIH

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

Tim Penyusun:

1. Atit Pertiwi

2. Condro Wibawa

3. Noor Vika H

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA