1 / 41

多媒體概論

多媒體概論. 吳育龍老師. 電腦的單位. 0/1-> 1 bit(b) 1 byte(B) = 8 bits 1 Word(W) = 2 bytes 1KB = 1024 bytes 1MB = 1024 KB 1GB = 1024 MB 1TB = 1024 GB 1PB = 1024 TB. 為什麼是 1024, 不是 1000?. 電腦的單位. Hz- 每秒鐘工作次數 bps(bit per second)- 每秒鐘資料量 (bit) 為什麼不是 byte? fps(frame per second)- 每秒鐘畫面數 越多動畫越順暢

read
Download Presentation

多媒體概論

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. 多媒體概論 吳育龍老師

  2. 電腦的單位 • 0/1-> 1 bit(b) • 1 byte(B) = 8 bits • 1 Word(W) = 2 bytes • 1KB = 1024 bytes • 1MB = 1024 KB • 1GB = 1024 MB • 1TB = 1024 GB • 1PB = 1024 TB 為什麼是1024, 不是1000?

  3. 電腦的單位 • Hz- 每秒鐘工作次數 • bps(bit per second)- 每秒鐘資料量(bit) • 為什麼不是byte? • fps(frame per second)- 每秒鐘畫面數 • 越多動畫越順暢 • 常見是24fps • 240 frames以24fps播放, 此動畫幾秒?

  4. 影像資訊類別 • 點陣 • Bitmap • Photoshop • Photoimpact • GIMP • 向量 • Vector • Illustrator • CorelDRAW • Inkscape

  5. 影像解析度 • DPI(Dot per Inch) • 平面輸出-印表機 • PPI(Pixel Per Inch) • 螢幕輸出 • 同樣解析度, 螢幕尺寸較小, PPI較高 • 人眼可辨識30公分約477dpi, iphone4為326dpi

  6. 影像的組成元素 • Image • Pixel • Color

  7. Color Model HSV CMYK RGB

  8. Color Model • RedGreenBlue • RedGreenBlue Alpha • Range • 0->最暗 • 255->最亮 • 加色法

  9. Color Model • CyanMagentaYellowBlack • Range • 0%-最淡 • 100%-最濃 • 減色法

  10. Color Model • 互補色 • 加色系統->相加變白色 • 減色系統->相加變黑色

  11. Color Model • HSV(Hue Saturation Value) • HSL(Hue Saturation Lightness) • HSB(Hue Saturation Brightness)

  12. Color Model • ICC Profile(International Color Consortium) • RGB->CMYK • 確保顯示與輸出色彩一致 • 色彩校正 • 色彩管理

  13. 影像檔案的色彩深度 • 色彩深度- 儲存顏色的位元數

  14. 影像檔案大小 • 文件尺寸 • 解析度 • 色彩深度 • 壓縮 像素尺寸 / 解析度=文件尺寸 像素(pixel) 3x5吋全彩影像, 解析度為200ppi, 未壓縮影像檔大小 (200x3) x (200x5) x 24/8= 約1.7 MB

  15. 影像檔案大小 Full Color Gray Level B/W

  16. 70GP(700億) • http://70gigapixel.cloudapp.net/ • 26GP • http://www.dresden-26-gigapixels.com/dresden26GP • 16GP • http://www.haltadefinizione.com/magnifier.jsp?idopera=1

  17. 影像壓縮 • 壓縮與解壓縮 • 非破壞性壓縮(Lossless Compression) • 影像解壓縮後與壓縮前相同 • 破壞性壓縮(Lossy compression) • 影像解壓縮後與壓縮前不同 • 壓縮比

  18. 影像壓縮 • Run-length encoding • AAAAAABBCCCCDDD -> 15 words

  19. 影像壓縮 • Run-length encoding • AAAAAADBBCCCCDDD -> 16 words

  20. 影像檔案格式 • 未壓縮 • BMP • 格式簡單 • 檔案很大 • 壓縮 • JPEG(Joint Photographic Experts Group) • 全彩 • 不支援alpha • GIF(Graphics Interchange Format) • 256色, 適用於卡通內容 • 可放置動畫 • 可設定透明色但不支援alpha

  21. 影像檔案格式 • PNG(Portable Network Graphics) • 無專利 • 全彩 • 支援alpha • PSD • Photoshop專屬格式 • 支援圖層

  22. 影像檔案格式整理與比較

  23. 延伸閱讀 • http://www.savs.ilc.edu.tw/unit/computer/image_design_course/index.html • http://zh.wikipedia.org/wiki/BMP • http://zh.wikipedia.org/wiki/GIF • http://zh.wikipedia.org/wiki/JPG • http://zh.wikipedia.org/wiki/PNG • http://zh.wikipedia.org/w/index.php?title=LZW&variant=zh-tw

  24. 影片壓縮

  25. 影片檔案格式 • MPEG • Moving Picture Experts Group • dat-MPEG-1 for VCD • vob -MPEG-2 for DVD • AVI • Audio Video Interactive, Microsoft • RM • Real Media, RealNetworks • QT • QuickTime, Apple • WMV • Windows Media Video, Microsoft

  26. 串流影片 • Streaming Video • 可邊下載邊撥放 • 需要有Server支援(Streaming Server) • 常見格式 • WMA • MOV • FLV Non-streaming Streaming

  27. 延伸閱讀 • What is “Container” • http://en.wikipedia.org/wiki/Container_format_%28digital%29

  28. 聲音資訊類別 • 波形資訊 • 將聲波震動資訊轉換為數位化 • 可儲存各種聲音 • MIDI音訊 • 只記錄樂器代號、高低、長短、大小 • 只能儲存樂器類聲音

  29. 聲音儲存原理 • 類比轉數位(Analog-to-Digital Conversion, ADC) 音量, 單位為dB

  30. 聲音儲存原理 • 取樣(Sampling) • 取樣率單位為Hz • 取樣解析度單位為位元 以CD為例, 取樣率為44.1KHz, 取樣解析度為16位元(共65536音階) 2秒的聲音資料量為 2 * 44100 *16=705.6kbps

  31. 聲音檔案格式 • WAV • Wave, Microsoft • 無壓縮 • MP3 • MPEG-1 Audio Layer 3 • 失真壓縮 • WMA • Windows Media Audio, Microsoft • 失真壓縮 • MIDI • 檔案小 • 效果不一致

  32. 聲音壓縮 • 人類聽覺為20-20000 Hz • 忽略高頻與低頻聲音

  33. WAV頻譜

  34. MP3頻譜

  35. WMA頻譜

  36. 綠-WAV, 紅-MP3, 黃-WMA, 紫-AAC

  37. 延伸閱讀 • http://zh.wikipedia.org/w/index.php?title=Mp3&variant=zh-tw

  38. 編解碼器 • Codec / Decodec • K-Lite • Install and test

  39. 轉換檔案格式 • Format Factory • Freemake Video Converter

  40. 儲存媒介 • CD, 700MB • DVD, 4.7GB • BD, 25GB • DL, 2 layers, 50G • XL, 4 layers, 128G • ROM- 只可讀 • R- 只可寫入一次 • RW- 可重複寫入

  41. 儲存媒介 • 數位版權管理(Digital Rights Management,DRM) • 限制許可 • 加密與浮水印 • 來源->發送->接收->播放

More Related