100 likes | 269 Views
Digital Image Processing HW 1. Yi-Cin Dong Visual Communications Laboratory Department of Communication Engineering National Central University Jhongli, Taiwan Sep. 24, 2009. Outline. Work Flow Introduction to Bitmap File Histogram RGB to YUV Conversion Grading Demo Schedule. Work Flow.
E N D
Digital Image Processing HW1 Yi-Cin DongVisual CommunicationsLaboratoryDepartment of Communication EngineeringNational Central UniversityJhongli, Taiwan Sep. 24, 2009
Outline • Work Flow • Introduction to Bitmap File • Histogram • RGB to YUV Conversion • Grading • Demo Schedule
Work Flow Open bmp file Output I RGB histogram RGB/YUV conversion Output II YUV histogram
Introduction to Bitmap File (2/2) 24-bit lena 8-bit lena Header + Color palette 54 bytes Header 54 bytes+ 1024 bytes 512 Image content 512 Image content 512 512
Histogram • R,G,B component • Represent by histogram model Pixel value Frequency Figure1: beatles.bmp Figure2: RGB histogram
RGB to YUV Conversion • Color space • RGB • YUV • Y: luminance • U,V: chrominance • YCbCr • HSI • …
Grading • Demo code: 80% • Open file: 20% • RGB histogram: 30% • YUV histogram: 30% • Report: 20%
Demo Schedule • Thursday night, Oct. 08, 2009 • The detail of demo order will be listed on course website
Reference • Test image • 24-bit color image, 512 512 • lena.bmp • Source website • http://www.indinf.pub.ro/catalinp/proiect/lena512.bmp • Demo images • 24-bit color images, 640 640 • cNebula.bmp and cGolf.bmp • Source website • http://www.ianrichard.com/bpcs/