Digital Image Processing HW1 Yi-Chun Wei Visual Communications Lab National Central University Mar. 2, 2012.

Slides:



Advertisements
Similar presentations
Introduction to Computer Graphics Raster Vs. Vector COMMUNICATION TECHNOLOGY.
Advertisements

Computer Science 101 Picture Files. Computer Representation of Pictures Common representation is as a bitmap. Common representation is as a bitmap. Two.
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Digital Image Processing #HW1 -Extraction of Bitmap Header File -Manipulation of Image Pixel Information Contact Information Tzu-Jui Wang ( 王子睿 ) Visual.
Measurements in Fluid Mechanics 058:180 (ME:5180) Time & Location: 2:30P - 3:20P MWF 3315 SC Office Hours: 4:00P – 5:00P MWF 223B-5 HL Instructor: Lichuan.
LING 111 Teaching Demo By Tenghui Zhu Introduction to Edge Detection Image Segmentation.
Bit Depth and Spatial Resolution SIMG-201 Survey of Imaging Science © 2002 CIS/RIT.
Noise Reduction in Digital Images Lana Jobes Research Advisor: Dr. Jeff Pelz.
Graphics File Formats. 2 Graphics Data n Vector data –Lines –Polygons –Curves n Bitmap data –Array of pixels –Numerical values corresponding to gray-
CS430 © 2006 Ray S. Babcock CS430 – Image Processing Image Representation.
Digital Image Processing HW#1 Hsueh-Han Lai Visual Communications Lab Department of Communication Engineering National Central University Jhongli, Taiwan.
Digital Image Processing Homework 4 TA. Yu-Lun Liu VC Lab. Dec.04, 2007.
Image Representation.
Eleven colors and rasters. Color objects Meta represents colors with color objects You can create a color by saying: [color r g b] r: amount of red (0-255)
Introduction to Computer Graphics
How Images are Represented Bitmap images (Dots used to draw the image) Monochrome images 8 bit grey scale images 24 bit colour Colour lookup tables Vector.
Data starts with width and height of image Then an array of pixel values (colors) The number of elements in this array is width times height Colors can.
Digital Images The digital representation of visual information.
Lecture 3. Fundamentals of Computer Graphics. Computer Graphics, a very broad term Fields Related to Computer Graphics Bitmap/Vector graphics, 2D/3D graphics,
Color Names All standards-compliant browsers should handle these color names These color names can be used with the CSS properties of color and background-color.
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Storing Graphics EXTENSION.
Objective Understand concepts used to create digital graphics. Course Weight : 15% Part Three : Concepts of Digital Graphics.
Getting the Basics Graphics for the Web McIntyre, Period 2 Kellogg, Period 5.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
Measurements in Fluid Mechanics 058:180:001 (ME:5180:0001) Time & Location: 2:30P - 3:20P MWF 218 MLH Office Hours: 4:00P – 5:00P MWF 223B-5 HL Instructor:
Digital Image Processing Homework II Fast Fourier Transform 2012/03/28 Chih-Hung Lu ( 呂志宏 ) Visual Communications Laboratory Department of Communication.
Colored Watermarking Technology Based on Visual Cryptography Author: Hsien-Chu Wu, Chwei-Shyong Tsai, Shu-Chuan Huang Speaker: Shu-Chuan Huang Date: May.
Image Processing Example of Digital image Fine name: F_01.JPG Type of file:JPEG Image Width: 512 Height:768 Resolution:96 Bit Depth:24 Size:46,744 bytes.
Images The Science of Images What is an Image on the computer? The Psychology of Images What do we use images for? What effect color has on our mood and.
September 21, COMPUTER VISION WEB PAGE IS UP !! OR Simply go to computer science homepage.
Digital Cameras And Digital Information. How a Camera works Light passes through the lens Shutter opens for an instant Film is exposed to light Film is.
1 Imaging Techniques for Flow and Motion Measurement Lecture 2 Lichuan Gui University of Mississippi 2011 Digital Image & Image Processing.
GRAPHICS. Topic Outline What is graphic. Resolution. Types of graphics. Using graphic in multimedia applications.
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
Digital Media Lecture 4.1: Image Encoding Practice Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Introduction to Image Processing. Image Processing is the steps of using image processing tools to covert different kinds of image sources into different.
Multimedia Basics (1) Hongli Luo CEIT, IPFW. Topics r Image data type r Color Model : m RGB, CMY, CMYK, YUV, YIQ, YCbCr r Analog Video – NTSC, PAL r Digital.
Images. Digital Images Rectangular arrays of pixel data Pixel - picture element, smallest addressable part of the frame buffer. Color depth - the depth.
1 Computer Science 631 Multimedia Systems Prof. Ramin Zabih Computer Science Department CORNELL UNIVERSITY.
Data Representation. What is data? Data is information that has been translated into a form that is more convenient to process As information take different.
CS 101 – Sept. 14 Review Huffman code Image representation –B/W and color schemes –File size issues.
Resolution The resolution of an image is determined by the number of individually addressable points that make up the image, whether it is the number.
Image File Formats By Dr. Rajeev Srivastava 1. Image File Formats Header and Image data. A typical image file format contains two fields namely Dr. Rajeev.
Digital Media Lecture 4.2: Image Encoding Practice Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
File formats bitmap and vector. Bitmap or raster: rectangular array of picture elements (pixels)  Example with height and width notations.
Computer Graphics Lesson 2 July 12, 2005 Image Formats What are some formats you are familiar with? There are 4 basic image format types: Uncompressed.
Mohammed AM Dwikat CIS Department Digital Image.
Yingfang Zhang Department of Computer Science UCCS
(Project) by:- ROHAN HIMANSHU ANUP 70282
Sampling, Quantization, Color Models & Indexed Color
Visual Info Processing Programming Guide (More Details)
Digital Media Lecture 4.1: Image Encoding Practice
Images in Binary.
Getting Image Data Image Data Files 11/15/2018
Resolution and Printing Tips
Representing Images 2.6 – Data Representation.
A Color Image Hiding Scheme Based on SMVQ and Modulo Operator
- orange white green - cyan - red - blue Example 1 24 bit RGB
Hiding Data in a Color Palette Image with Hybrid Strategies
Fourth Year – Software Engineering
COMS 161 Introduction to Computing
COMS 161 Introduction to Computing
COMS 161 Introduction to Computing
Digital Image Processing
Basic Concepts of Digital Imaging
Visuals are analog signals...
A Color Image Hiding Scheme Based on SMVQ and Modulo Operator
Authors: Chin-Chen Chang, Yi-Hui Chen, and Chia-Chen Lin
- orange white green - cyan - red - blue Example 1 24 bit RGB
Authors: Chin-Chen Chang, Yi-Hui Chen, and Chia-Chen Lin
Presentation transcript:

Digital Image Processing HW1 Yi-Chun Wei Visual Communications Lab National Central University Mar. 2, 2012

Outline Work Chart Introduction to Bitmap File Homework Details - Construct color histogram - Color image transform to gray-level image - Resize the image Grading Demo Schedule References 2

Work Chart 3 Extract header information 512*512 Extract pixel information Construct the histogram on Y Channel HW1-1 Transform to gray-level image Resize image 512* *480 HW1-2

Introduction to Bitmap File(1/2) 4 Bitmap File Header Identifier (ID)2 File Size4 Reserved4 Bitmap Data Offset4 Bitmap Info Header Bitmap Header Size4 Width4 Height4 Planes2 Bits Per Pixel2 Compression4 Bitmap Data Size4 H-Resolution4 V-Resolution4 Used Colors4 Important Colors4 Color Table (Palette) PaletteN*4 Bitmap Array Bitmap DataN/A Header file - File header (14 bytes) - Info header (54 bytes) Image content - Bit array (pixel information) Color table - ex: a 8 bit image, N= 2 8 Y. C. Dong, “Digital Image Processing HW1”, 2009

Introduction to Bitmap File(2/2) 5 Header + Color palette Header 54 bytes 54 bytes bytes Image content 24-bit Lena 8-bit Lena Scale: 512*512 Y. C. Dong, “Digital Image Processing HW1”, 2009

Color Image Transform to Gray- Level Image 6 Y = 0.299R G B 24-bit Lena8-bit Lena

Gray-level Histogram 7 Y histogram number Blue 196 Green 122 Red 83 Gray level pixel value Gray level ?

Resize Image 8 P: Desired Point Q: Known Points (four closet pixels) R: Point on the line with known points Z = A X + B Y + C XY+ D J. Nett,” Bilinear Interpolation”, Bilinear Interpolation: Gray level valueknown points Where A, B, C and D are obtained from the gray-level of the four neighbors.

Grading Demo Code (80%) - Extract header file (20%) - Color image transform to gray-level image (20%) - Construct color histogram (20%) - Resize image to 640*480 (20%) Report (20%) - Plot all your experimental results. (10%) - Describe your finding as rich as possible. (10%) 9

Demo Schedule Thursday night, March, Begin around at 19:00 at R3-307.(VCLab) 10 NOTE:  We will use another image to test your code.  The details will be announced on our course website. ( )

References Lena 24-bit color image, 512*512 About Bmp format website (wiki) %E9%BB%9E%E9%99%A3%E5%9C%96%EF%BC%88bitma p%EF%BC%89%E6%AA%94%E6%A1%88%E6%A0%BC%E5 %BC%8F 11