1 of 24

PERTEMUAN KE 9 – KOMPRESI CITRA

PENGOLAHAN CITRA

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

2 of 24

R

P

S

DEFINISI KOMPRESI

01

TUJUAN KOMPRESI

02

JENIS KOMPRESI

03

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

3 of 24

DEFINISI KOMPRESI

01

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

4 of 24

  • 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

DEFINISI

Pada umumnya, representasi citra digital membutuhkan memori yang cukup besar.

Sebagagi contoh,�sebuah citra berukuran 512x512 pixel dengan depth 8-bit,�membutuhkan sektiar 256 KB memori (raw data).

Bagaimana jika resolusinya dan depth nya diperbesar ?

Tentu ukurannya akan jauh lebih besar

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

5 of 24

  • 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

Ukuran Citra yang terlalu besar, akan menimbulkan banyak masalah, seperti :

  • Boros kapasitas penyimpanan
  • Transmisi/distribusi yang lama
  • Membutuhkan memory yang besar saat diolah

Padahal,�ukuran citra dipengaruhi oleh besar resolusi dan depth,�Kedua hal ini berpengaruh langsung terhadap kualitas citra,��Dan tentu saja,�hari ini kita akan memilih citra dengan kualitas yang bagus

DEFINISI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

6 of 24

  • 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

Mana yang akan kalian pilih ?

DEFINISI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

7 of 24

  • 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

Di sisi lain,�untuk mempercepat proses pengolahan citra,

maupun transmisi citra,��citra dituntut memiliki ukuran sekecil mungkin,�akan tetapi dengan kualitas semaksimal mungkin

Mungkinkah ?

Bagaimana solusinya ?�

DEFINISI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

8 of 24

  • 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

Solusi untuk masalah tersebut adalah dengan �Pemampatan Citra atau Kompresi Citra

DEFINISI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

9 of 24

  • 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

Apa itu Kompresi Citra ?

Kompresi adalah proses mengurangi ukuran data (misalnya file gambar, video, teks, atau suara) tanpa mengubah isinya secara berarti.

Misal :�Gambar dengan ukuran asli 20 MB, dikompresi menjadi 500 KB

DEFINISI – JENIS TEPI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

10 of 24

  • 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

Prinsip Umum Kompresi

mengurangi duplikasi data di dalam citra sehingga memori yang dibutuhkan menjadi lebih sedikit,

akan tetapi memastikan bahwa kualitas citra tetap baik.

DEFINISI – JENIS TEPI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

11 of 24

TUJUAN KOMPRESI

02

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

12 of 24

  • 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

Secara umum,

ada dua tujuan kompresi citra yaitu :

Data Storing

Pada umumnya ukuran storage disk terbatas, sehingga semakin kecil ukuran file (dalam hal ini citra), maka storage akan mampu menyimpan lebih banyak file.

Data Transmission

Di era saat ini, dimana pertukaran data melalui internet menjadi hal yang wajar,�maka semakin kecl ukuran file/citra, maka menjadikan pertukaran data semakin cepat. Selain itu bandwidth yang dipakai semakin kecil (hemat)

Contoh : transmisi data lewat email, media sosial, messenger, pengiriman data rekam medis, pengiriman data dari luar angkasa, dll.

TUJUAN

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

13 of 24

  • 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

Kriteria Pemampacatan Citra

Ukuran File

Tujuan utama dari pemampatan adalah ukuran file, sehingga file/citra hasil pemampatan haruslah lebih kecil dari file aslinya.

Waktu Pemampatan

Proses pemampatan dan penirmampatan (compressin dan decompression), sebaiknya cepat. Beberapa metode memiliki proses pemampatan cepat dan penirmampatan lambat, ada pula sebaliknya.

Kualitas Citra

Citra yang sudah dimampatkan sebaiknya memiliki kualitas yang bagus. Akan tetapi biasanya kualitas citra berbanding lurus dengan ukurannya. Sehingga, semakin kecil ukuran file, biasanya akan memiliki kualitas yang juga rendah.

TUJUAN

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

14 of 24

JENIS KOMPRESI

03

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

15 of 24

  • 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 Kompresi secara umum dibagai dua, yaitu :

LOSSY

LOSSLESS

JENIS KOMPRESI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

16 of 24

  • 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

Definisi LOSSY

Metode lossy menghasilkan citra hasil pemampatan yang hampir sama dengan citra semula.

Ada informasi yang hilang akibat pemampatan, tetapi dapat ditolerir oleh persepsi mata, dikarenakan mata tidak dapat membedakan perubahan kecil pada gambar.

Metode pemampatan lossy menghasilkan nibah/efektifitas pemampatan yang tinggi daripada metode lossless.

Contoh metode lossy adalah metode JPEG dan metode fraktal.

JENIS KOMPRESI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

17 of 24

  • 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 KOMPRESI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

18 of 24

  • 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

Pada metode Lossy, apabila gambar diperbesar, maka akan terlihat perbedaannya dengan gambar aslinya (ada informasi yang hilang)

JENIS KOMPRESI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

19 of 24

  • 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

Berikut adalah format file yang umum yang menggunakan metode Lossy

JENIS KOMPRESI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

20 of 24

  • 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

Definisi Lossless

Metode lossless selalu menghasilkan citra hasil penirmampatan yang tepat sama dengan citra semula, pixel per pixel.

Tidak ada informasi yang hilang akibat pemampatan. Sayangnya nisbah (ratio) pemampatan citra metode lossless sangat rendah.

Metode lossless cocok untuk memampatkan citra yang mengandung informasi penting yang tidak boleh rusak akibat pemampatan. Misalnya memampatkan gambar hasil diagnosa medis.

Contoh : Metode Huffman.

JENIS KOMPRESI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

21 of 24

  • 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 KOMPRESI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

22 of 24

  • 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

Pada metode Lossless, apabila gambar diperbesar, maka tidak akan ada perbedaannya dengan gambar aslinya (tidak ada informasi yang hilang)

JENIS KOMPRESI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

23 of 24

  • 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

Berikut adalah format file yang umum yang menggunakan metode Lossless

JENIS KOMPRESI

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

24 of 24

Tim Penyusun:

1.

2.

3

TERIMA

KASIH

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA

PROGRAM STUDI INFORMATIKA

UNIVERSITAS GUNADARMA