Академический Документы
Профессиональный Документы
Культура Документы
REPRESENTASI DATA
MULTIMEDIA:
VIDEO DAN KOMPRESI
• Text
• Image
• Audio
• Video
• Animation
MULTIMEDIA
Type of Color Video Signal
MULTIMEDIA
Tabel Warna
Indeks Warna Indeks Warna Indeks Warna Merah Hijau Biru
0 0 0 0 0 0
1 5 5 5 5 5
Monochrome, 127 127 127 127 127
1 bpp 153 153 153 153 153
191 191 191 191 191
255 255 255 255 255
Greyscale, 8 Custom RGB Colour, 24 bpp
bpp Colour, 8 bpp
• Tabel Warna adalah kode yang memetakan indeks dengan warna tertentu
• Setiap sample gambar (pixel) berisi sebuah indek (terdiri dari bi-bit) dari
Tabel Warna
• Semakin banyak bit per indeks, semakin kaya warna yang dimungkinkan,
namun semakin boros bit digunakan per gambar
MULTIMEDIA
Additive Color RGB
Magenta
White
Blue
Red
Cyan
Yellow Green
MULTIMEDIA
Hue-Saturation-Brightnes
MULTIMEDIA
Video representation
1/6/06
MULTIMEDIA 9
Sinyal Video Digital
Time Time
Index Index
1 L
N x M pixel /
frame
B bit/pixel
MULTIMEDIA
OBJEK: VIDEO
MULTIMEDIA
Format Video Analog (Televisi)
MULTIMEDIA
• SECAM (Sequintial Colour and Memory System)
Séquentiel couleur avec mémoire
– Digunakan di Perancis, Rusia, dan Eropa timur
– Berdasarkan frequency modulation dengan 25 Hz
refresh rate dan 625 baris.
• HDTV (High Definition TV)
– Standar televisi baru dengan gambar layar lebar,
lebih jernih dan suara kualitas CD Auido.
– Aspek ratio 16:9 dibandingkan dengan sistem lain
4:3.
– Resolusi terdiri dari 1125 (1080 baris aktif) baris
MULTIMEDIA
Interlace Scan
MULTIMEDIA
Progressive Scan
MULTIMEDIA
Mode Interlacing dan Consecutive
• Mode Interlacing
MULTIMEDIA
MULTIMEDIA
Video Digital
MULTIMEDIA
Video Digital
MULTIMEDIA
Representasi Visual
MULTIMEDIA
2. Horizontal Detail dan Picture Width. Lebar
gambar pada TV konvensional = 4/3 x tinggi
gambar.
3. Total Detail Content
Resolusi vertikal = jumlah elemen pada tinggi
gambar
Resolusi horizontal = jumlah elemen pada
lebar gambar x aspek rasio.
Total pixel = pixel horizontal x pixel vertikal.
MULTIMEDIA
Karakteristik Spasial
MULTIMEDIA
4. Perception of Depth. Dalam pandangan /
penglihatan natural, kedalaman gambar
tergantung pada sudut pemisah antara gambar
yang diterima oleh kedua mata. Pada layar
flat, persepsi kedalaman suatu benda
berdasarkan subject benda yang tampak.
5. Warna Gambar berwarna dihasilkan dengan
mencampur 3 warna primer RGB (merah,
hijau, biru).
MULTIMEDIA
Properti warna pada sistem broadcast:
• LUMINANCE
– Brightness = jumlah energi yang menstimulasi mata
grayscale (hitam/putih).
• CHROMINANCE adalah informasi warna.
– Hue (warna) = warna yang ditangkap mata
(frekuensi)
– Saturation = color strength (vividness) / intensitas
warna.
– Cb = komponen U dan
Cr = komponen V pada sistem YUV
MULTIMEDIA
6. Continuity of Motion. Mata manusia melihat
gambar sebagai suatu gerakan kontinyu jika
gambar-gambar tersebut kecepatannya lebih
besar dari 15 frame/det. Untuk video motion
biasanya 30 frame/detik, sedangkan movies
biasanya 24 frame/detik.
7. Flicker. Untuk menghindari terjadinya flicker
diperlukan kecepatan minimal melakukan
refresh 50 cycles/s.
MULTIMEDIA
Transmisi
MULTIMEDIA
RGB -> YUV
MULTIMEDIA
RGB -> YIQ
MULTIMEDIA
RGB-SECAM Color Converter
• Konversi
– : Y = 0.299 R + 0.587 G + 0.114 B
– : Db = – 0.450 R – 0.833 G + 1.333 B
– : Dr = – 1.333 R + 1.116 G – 0.217 B
• Inversi
– : R = Y – 0.526 Dr
– : G = Y – 0.129 Db + 0.268 Dr
– : B = Y + 0.665 Db
MULTIMEDIA
DIGITAL VIDEO FORMAT
• CCIR-601/625 (Eropa)
- jumlah garis 625 (aktif 576)
- jumlah frame per detik 25
- jumlah pixel per garis 720
• CCIR-601/525 (USA)
- jumlah garis 525 (aktif 480)
- jumlah frame per detik 30
- jumlah pixel per garis 720
MULTIMEDIA
DIGITAL VIDEO FORMAT
• CCIR-601 untuk kualitas broadcats
MULTIMEDIA
DIGITAL VIDEO FORMAT
SIF (Source Input Format)
• Eropa: 360 pixel/garis, 288 garis per gambar, 25 gambar perdetik
• USA : 360 pixel/garis, 240 garis per gambar, 30 gambar per detik
• Scanning : progressive
• Pola sampling 4:2:0
CCIR-601 SIF
MULTIMEDIA
DIGITAL VIDEO FORMAT
CIF (Common Intermediate Format)
• Eropa/USA: 360 pixel/garis, 288 garis per frame, 30 frameperdetik
• Scanning : progressive
• Pola sampling 4:2:0
QSIF, QCIF
• untuk aplikasi video over mobile networks, video telephony
kurangi rate Eropa : 15, 10 dan 7,5 frame/s USA 12,5 dan
8,3 frame/s
• Resolusi spatial dikurangi setengahnya untuk tiap arah
Quarter-SIF (QSIF) dan Quarter-CIF (QCIF)
Sub-QCIF
• 128 pixel x 96 pixel, 5 frame/sec, 4:2:0 ukuran image standar
paling kecil
MULTIMEDIA
MULTIMEDIA
Digital Video Compression
MULTIMEDIA
• Software for editing digital video
• Apple QuickTime
• Adobe Premiere
• Strata Videoshop
• Video Action Pro
• TrueSpace 3D
• Ulead Video Editor
MULTIMEDIA
Software Video Digital Player
• QuickTime,
• Windows Media Player,
• ZoomPlayer,
• DivXPro,
• RealOne Player,
• Xing Mpeg Player,
• PowerDVD
MULTIMEDIA
3g2 3GPP Multimedia File Fla Macromedia Flash Animation
3gp 3GPP Multimedia File Flc FLIC Animation
3gp2 3GPP Multimedia File
3gpp 3GPP Multimedia File
Fli FLIC Animation
3mm 3D Movie Maker Movie Flv Flash Video
avs Application Visualization Flx FLIC Animation
System Format Gl GRASP Animation
byu Brigham Young University
Movie Grasp GRASP Animation
dir Macromedia Director Movie Ifo DVD-Video Disc Information
dv Digital Video File Ivf Intel Video Format
dvr-ms Microsoft Digital Video ivsInternet Streaming Video
Recording
dxrProtected Macromedia
Director Movie
MULTIMEDIA
.lsf Streaming Media Format .mvc Movie Collector Catalog
.lsx Streaming Media Shortcut .nvc NeroVision Express Project
.m1v MPEG-1 Video File .omf Open Media Framework
.m4e MPEG-4 Video File .prx Windows Media Profile
.m4u MPEG-4 Playlist .mpeg Moving Picture Experts
.mkv Matroska Audio/Video File Group Video File
.moov Apple QuickTime Movie .qtch QuickTime Cache File
.mpv2 MPEG-2 Video Stream .rmvb RealVideo Variable Bit
Rate
.rp RealPix Clip
.rts RealPlayer Streaming Media
MULTIMEDIA
Tugas
MULTIMEDIA
KOMPRESI DATA
MULTIMEDIA
Introduction to JPEG
MULTIMEDIA
JPEG compression guidelines
– Brightness vs color sensitivity
• RGB => YUV/YIQ
• chroma subsampling (4:2:0)
– Spatial correlation among nearby pixels
• slice an image into 8x8 blocks (bad for text)
– Remove redundancy in frequency domain
• discrete cosine transform (DCT)
• coarse quantization for high freq coefficients
• Blok citra 8 x 8:
• Koefisien DCT:
•
• Element T(k,l) adalah integer
• Merepresentasikan ukuran step kuantisasi
Quantization
2-D DCT
Entropy
Coder
MULTIMEDIA
Huffman Coding
1 1 4 1100
1 2 6 111001
1 3 7 1111001
1 4 9 111110110
2 1 5 11011
2 2 8 11111000
3 1 6 111010
3 2 9 111110111
4 1 6 111011
5 1 7 1111010
6 1 7 1111011
7 1 8 11111001
8 1 8 11111010
9 1 9 111111000
10 1 9 111111001