1 / 11

Digital Image Processing #HW1

Digital Image Processing #HW1. Extraction of Bitmap Header File Manipulation of Image Pixel Information. Contact Information Tzu- Jui Wang ( 王子睿 ) V isual C ommunications Lab Dep. of Communications Engineering, N ational C entral U niversity

aaron
Download Presentation

Digital Image Processing #HW1

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. Digital Image Processing #HW1 Extraction of Bitmap Header File Manipulation of Image Pixel Information Contact Information Tzu-Jui Wang (王子睿) Visual Communications Lab Dep. of Communications Engineering, National Central University No.300, JhongdaRd., JhongliCity, TaoyuanCounty 32001, Taiwan (R.O.C.) Phone: +886958801691 E-mail: juliuswang0728@gmail.com

  2. Outline • Reference • Work Flow • Introduction to Bitmap File • Homework Details • Extract Header File • Construct Histogram • Extract Region of Interest with Specified Coordinate Set • Grading Policy • Demo Schedule

  3. Reference • A Beginners Guide To Bitmaps, • http://local.wasp.uwa.edu.au/~pbourke/dataformats/bitmaps/ • http://atlc.sourceforge.net/bmp.html • Data type in Computer, wiki resources, • http://en.wikipedia.org/wiki/Integer_(computer_science) Those might be useful !

  4. Work Flow Input coordinate set (xi, yi), i=1,..,4 of bounding box 24-bit 8-bit Extract header information Extract region of interest Extract pixel information (x1,y1) (x2,y2) Construct histogram on R, G, B channels, respectively (x3,y4) (x4,y4)

  5. Introduction to Bitmap File (1/2) File header (14 bytes) Header file (Image profile) Info header (50 bytes) Empty for 24-bit image i.e. a 8-bit image, N = 28 Pixel information Image content

  6. Introduction to Bitmap File (2/2) 54 bytes + 1024 bytes Header + Color palette Header 54 bytes Image content Image content 24-bit lena.bmp 8-bit lena.bmp

  7. Construct Histogram • Histogram on R, G, B channels Pixel value Frequency Figure1: beatles.bmp Figure2: RGB histogram

  8. Extract Region of Interest with Specified Coordinate Set • Suppose given (x1, y1), (x2, y2), (x3, y3), (x4, y4) • The bounding box will be as followed (x1,y1) (x2,y2) Final output (x4,y4) (x3,y3) Bounding box

  9. Grading Policy – Code & Demo (80%) • Everyone will be asked few questions. • Extract Header File (20%) • We’ll test your system with images except lovely Lena. • Construct Histogram (30%) • Same as the above. • Extract Region of Interest with Specified Coordinate Set (30%) • Arbitrarily give four coordinates, and create a new bitmap file with extracted region.

  10. Grading Policy – Report (20%) • Report (20%) • Plot all your experimental results. (10%) • Depict the .bmp format as clear as possible. (5%) • Describe your findings as rich as possible. (5%) • We don’t force you to write down how you feel about this homework. But, you can still show it up. • Too trivial, too hard, …too ? • You can describe any difficulty you’ve encountered.

  11. Demo Time • Demo time will be at 2010.10.07, begin around 7:00 pm (2 weeks later) at R3-307 (VCLab). • Demo orders will be announced later, 5 minutes for each, please refer TA’s website. • http://140.115.156.251/vclab/html/course/DIP2010.html • Bring your codes and report. • No delay is allowed except a special cause.

More Related