Digital Images. Analogic Signal

Size: px
Start display at page:

Download "Digital Images. Analogic Signal"

Transcription

1 Digital Images Analogic Signal t 1

2 Sampling T a t Samples T a t 2

3 Quantifying N2 N1 N4 N3 t Quantifying Error N2 N1 N4 N3 t 3

4 Coding N4= N3= N2=01 01 t N1=00 00 Digital Sinal: D/A Conversion t 4

5 D/A Conversion t Digital Representation Advantages A single storing device can be used for several data type. Transmission of different data types can be achieved over a unified digital network. Digital signal is stronger than analogic signals: Less noise sensitivity. Reconstruction capability. Avoids losses in transmission or storing. Several methods to detect and correct errors are available. Easy to secure data using cipher codes. 5

6 Digital Representation Disadvantages Converting from Analog to Digital can add distortion: Signal bandwidth is limited the sampling rate. The quantifying error depends on number of quantification classes and the bits per sample. Reducing distortion requires an increase in the sampling rate and/or the number bits used to code each sample. Successive A/D and D/A conversions can produce a signal different from the original. Resolution: Nr of pixels 3x6 12x24 48x96 192x384 NL linhas NPix = NC * NL NC colunas 6

7 Spatial Resolution Pixels per linear lenght unit (density). Can take different values for x and y. Usual Units: DPI (dots per inch) PPI (point per inch) PPM (points per meter) Examples: 300 DPI = High Resolution, for printing jobs. 72 DPI = Low Resolution, for monitor presentations. Res x = NC / X Res y = NL / Y Spatial Resolution X Y NL linhas Medium Resolution: Res m = (Res x + Res y ) / 2 Diagonal Resolution NC colunas Area resolution: Res A = (NL*NC) / (X*Y) = Res x * Res y [P/mm 2 ] ou [DPI 2 ] 7

8 Resolution: Example Photograph 4 x 6 ( 10 cm x 15 cm) Sampled by 1200 x 1800 pixels The sampling resolution is: Res x = 300 DPI Res y = 300 DPI Res = 300 DPI! Res = 300 DPI x 300 DPI Res = 300 x 300 DPI Res = DPI Res = DPI 2 - Correct - Acceptable - Wrong! Ambiguity if Res x!=res y Pixel Pitch Distance between pixels Pixel Size Pitch = 1 / Res p w = 1 / Res w = W / NC p h = 1 / Res h = H / NL Units: W p w mm, m, in, mm / pix m / pix in / pix H p h NL linhas NC colunas 8

9 Color Depth Defines the number of colors a pixel can take. Units: colors bits Bits Colors n colors = 2 b bits b bits = log 2 (n colors) Pixel Size (PS) Usually: PS = b bits = log 2 (n colors) Color in Images and Video Visible light is an electromagnetic wave in the 400 nm nm range. Most light we see is not one wavelength, it's a combination of many wavelengths. 18 9

10 The Human Retina The eye functions on the same principle as a camera. Each neuron is either a rod or a cone. The rods contain the elements that are sensitive to light intensities. Rods are not sensitive to color. Cones come in 3 types: red, green and blue. Each responds differently to various frequencies of light. 19 Cones and Color The cones provide humans with vision during the daylight and are believed to be separated into three types, where each type is more sensitive to a particular wavelength The color signal to the brain comes from the response of the 3 cones to the spectra being observed. That is, the signal consists of 3 numbers: where E is the light and S is the sensitivity function 20 10

11 RGB A color can be represented by a vector of 3 distinct light intensities (R,G,B). PS = b r + b g + b b G R B CMY Models Used in electrostatic and ink-jet plotters that deposit pigment on paper Cyan, magenta, and yellow are complements of red, green, and blue, respectively White (0, 0, 0), black (1, 1, 1) CMYK Model: K (black) is used as a primary color to save ink deposited on paper => dry quicker - popularly used by printing press (minus red) Cyan C 1 R M 1 G Y 1 B Green Black Yellow (minus blue) Red Blue Magenta (minus green) 11

12 YUV Y luma, brightness, luminancia U, V chrominance, crominância Idea: Y = R + G + B -> monochromatic image U = Y-B V = Y-R R = Y-V B = Y-U G = Y-R-B Advantages: A monochromatic receiver can use only the Y channel. Resolution for U and V channels can be reduced... Variations: Y UV, YCbCr, YPbPr Y UV Y gamma corrected Y 12

13 Information Quantity Image Memory Size Image Byte Size [Image File Size] Space required to store a complete image without compression M = NPix * PS = NC * NL * PS Image File header Pixel Array Header can include: File format Identifier. Number of rows and columns. Pixel format Resolution (pixel density) Aspect Ratio Compression Method Data Author File Size (FS): FS = Header + M = = Header + NPix * PS = = Header + NC * NL * PS 13

14 Multiples IEC prefixes for binary multiples: Name Symbol Value quilo k 10 3 = mega M 10 6 = giga G 10 9 = tera T = peta P = exa E = zetta Z = yotta Y = Name Symbol Value kibi Ki 2 10 = mebi Mi 2 20 = = gibi Gi 2 30 = = tebi Ti 2 40 = pebi Pi 2 50 = exbi Ei 2 60 = zebi Zi 2 70 = yobi Yi 2 80 = GIF(GIF87a,GIF89a): File Formats: GIF Graphics Interchange Format (GIF) devised by the UNISYS Corp. and Compuserve, initially for transmitting graphical images over phone lines via modems. Uses the Lempel-Ziv Welch algorithm (compression). Supports only 8-bit (256) color images. Supports interlacing GIF89a supports simple animation 28 14

15 File Formats: JPEG JPG or JPEG. A standard for photographic image compression created by the Joint Photographics Experts Group Takes advantage of limitations in the human vision system to achieve high rates of compression Lossy compression which allows user to set the desired level of quality/compression 29 TIFF TIFF: Tagged Image File Format Stores many different types of images (e.g., monochrome, grayscale, 8-bit & 24-bit RGB, etc.) Developed by the Aldus Corp. in the 1980's and later supported by Microsoft TIFF is a lossless format (when not utilizing the new JPEG tag which allows for JPEG compression) It does not provide any major advantages over JPEG and is not as user-controllable it appears to be declining in popularity 30 15

16 BMP BMP: Windows BitMap Picture: A system standard graphics file format for Microsoft Windows. It is capable of storing 1, 4, 8, 16, 24 or 32 bit/pixel. Used in PC Paintbrush and many other programs. 31 XBM: X-windows BitMap XBM Primary graphics format for the X Window system Supports 24-bit color bitmap Many public domain graphic editors, e.g., xv Used in X Windows for storing icons, pixmaps, backdrops, etc

17 PNG PNG: Portable Network Graphics Designed to replace the older and simpler GIF format W3C recommendation and ISO standard Features: Main image types: o Truecolor: 24 or 48 bits/pixel (as TIFF). o Grayscale: 1, 2, 4, 8 or 16 bits/pixel. o Palette-based: 1, 2, 4, or 8 bits/pixel (similar to GIF). Alpha channels (variable transparency) Gamma correction Two-dimensional interlacing (for progressive display) Lossless compression (5-25% better than GIF) Shortcomings: No Animation 33 Aspect Ratio Display Aspect Ratio (DAR) Image Aspect Ratio (IAR) Relation between the horizontal and vertical dimesions of an image or a device. DAR = W:H Storage Aspect Ratio (SAR) SAR = NC:NL 17

18 Aspect Ratio Pixel Aspect Ratio (PAR) Pixel Aspect Ratio Relation between the horizontal and vertical dimansions of one pixel. W pw p w H Y p h Usually: PAR 1 NC colunas NL linhas PAR p H W H W H NC NL NL NC W H NC NL 18

19 PAR <-> DAR PAR W NC H NL DAR NC NL DAR NL NC PAR = DAR / SAR DAR PAR NC NL When PAR = 1:1 => DAR = SAR = NC:NL 4:3 -> 16:9 19

20 Resolution ImageMagick Conjunto de ferramentas para edição não interactiva de imagens Código aberto Usável na maioria dos sistemas operativos API para maioria das linguagens de programação Suporta mais de 100 formatos (PPM, GIF, JPEG, PDF, PhotoCD, PNG, Postscript, SVG, TIFF, ) 20

21 ImageMagick Animate Compare Composite Conjure Convert Display Identify Import Mogrify Montage Stream animate an image sequence on any X server. mathematically and visually annotate the difference between an image and its reconstruction. overlap one image over another. interpret and execute scripts written in the Magick Scripting Language (MSL). convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. display an image or image sequence on any X server. describe the format and characteristics of one or more image files. save any visible window on an X server and outputs it as an image file. You can capture a single window, the entire screen, or any rectangular portion of the screen. resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. Mogrify overwrites the original image file, whereas, convert writes to a different image file. create a composite image by combining several separate images. The images are tiled on the composite image optionally adorned with a border, frame, image name, and more. copies one or more pixel components of the image or portion of the image to your choice of storage formats. It writes the pixel components as they are read from the input image a row at a time. Transparency - Blending colors - Alpha Blending - Transparency 21

22 Opaque drawing (overwriting) Drawing a rectangle or image: Source: color of rectangle or image Destination: pixels in frame buffer Source written into Destination Source overwrites Destination Chapter 12 Blending vs. Over writing Instead of over writing D S Compute a new value for D based on current D and S D f (D A d, S A s ) 22

23 Blender Hardware Buff Source Color (S) A D ALU R B G A s A s :Source Blending Factor A D :Destination Blending Factor Blending Function Frame Buffer (D) Blending Functions / Factors Blending Functions Add Sub -Sub Copy Destination Copy Source Max Min Blending Factors One Zero Constant SrcAlpha DestAlpha 1 - SrcAlpha 1 - DestAlpha 23

24 Example: Simple blending Draw a blue rectangle (no blending) Define: Source blend factor: Destination blend factor: Blending function: Add Draw a red rectangle: A s = (0.7, 0.7, 0.7) A d = (0.2, 0.2, 0.2) D D S 0.7 D r D r S r 0.7 D g D g S g 0.7 D b D b S b 0.7 Blending images P 1 P 2 D 70% + 30% = D P P D P 1 D D P

25 Blending and Alpha Channel Store blending factor as part of color Instead of Color = (r, g, b) Include a 4 th channel: (r, g, b, α) Pixel called RGBA, RGBα or 32 bits RGB α cannot affect pixel color directly (r, g, b) changes pixel directly α used as o source blend factor (A s ) o A s = α RGB Blending colors using Alpha is called: Alpha Blending 32 bit pixel values alpha Compositing with Alpha blending X1 X2 X3 X4 pandn pandn pandn pandn 0000h FFFFh 0000h FFFFh + = X1!=green Y1 Y2 Y3 Y4 X + Y = S pand pand pand green pand green 0000h FFFFh 0000h FFFFh X2=green X3!=green X4=green =? =? =? =? green green X1 0000h X3 0000h α X α 0000h FFFFh 0000h FFFFh 0000h Y2 0000h Y4 (1-α) Y S=α X + (1-α) Y 25

26 Alpha as: Opacity When: o Source Blend Factor o Destination Blend Factor o Blend Function: Add Alpha is opacity Alpha = 1 o Destination is over-written Alpha = 0 o Source is completely invisible! Transparency Example Draw a normal blue rectangle Pixel color (Destination) o D r D g D b = (0.1, 0.1, 0.8) Blending setting: Source blend: A s = S α Destination blend: A d = (1 - S α ) Blending Function: Add Now, a red rectangle with Source Color: o S r S g S b S α = (0.9, 0.1, 0.1, 0.8) 26

27 Transparency with Alpha Blending Transparent front color with opacity Solid back color rgb rgb f ( 1 ) rgb b Multiple Transparency Transparent color (rgb 1 )with opacity 1 Transparent color (rgb 2 )with opacity Solid back color rgb rgb (1 ) rgb rgb rgb (1 ) [ rgb 1 rgb rgb (1 ) rgb rgb' (1 ) rgb ] 1 2 (1 ) (1 ) rgb

28 Blending Alphas Transparent front color with opacity f Transparent back color with opacity b rgb rgb f f (1 ) Process in either front to back or back to front order But can t insert surface between them later. Requires alpha channel on the destination. f (1 ) rgb f b f b b Alpha Buffer R G B A ALU Blending Function Frame Buffer (D) 28

29 Premultiply alpha Transparent front color with opacity f Transparent back color with opacity b rgb rgb f f (1 ) f (1 ) rgb f b f b b Notice - rgb always appears multiplied by it s Can store rgb s as premultiplied by Transparency in OpenGL glenable(gl_blend); glblendequation(gl_func_add); glblendfunc(gl_src_alpha, GL_ONE_MINUS_SRC_ALPHA) // Draw polygons with alpha values set gldisable(gl_blend); 29

30 alpha channel Encodes transparency (or pixel coverage): Alpha = 1: opaque object (complete coverage) Alpha = 0: transparent object (no coverage) 0<Alpha<1: semi-transparent (partial coverage) Example: alpha = 0.7 Partial coverage or semi-transparency Compositing - example 30

31 Alpha mask prodution Problem Definition: The separation of an image C into o A foreground object image C o, o a background image C b, o and an alpha matte C o and can then be used to composite the foreground object into a different image Hard problem Background subtraction unknown For movies/tv, manual segmentation of each frame is infeasible Chroma Key 31

32 Blue Screen Blue Screen matting Most common form of matting in TV studios & movies Petros Vlahos invented blue screen matting in the 50s. His Ultimatte is still the most popular equipment. He won an Oscar for lifetime achievement. A form of background subtraction: Need a known background Compute alpha as SSD(C,Cb) > threshold o Or use Vlahos formula: = 1-p 1 (B-p 2 G) Hope that foreground object doesn t look like background o no blue ties! Why blue? Why uniform? 32

33 Chroma Key Equipment The Ultimatte p 1 and p 2 33

34 Semi-transparent mattes Requires true alpha matte, which involves semi-transparency Alpha between 0 and 1 3D compositing 34

35 Images with Alpha Channel Some image file formats can include Alpha information for each pixel: Alpha Channel Example: PNG 1 pixel: RGBA = 32 bits 16 millions colors * 256 opacity levels. The GIF format supports a transparent color identification: 256 colors = 255 opaque colors + 1 transparent color Additional Reading

Dr. Shahanawaj Ahamad. Dr. S.Ahamad, SWE-423, Unit-06

Dr. Shahanawaj Ahamad. Dr. S.Ahamad, SWE-423, Unit-06 Dr. Shahanawaj Ahamad 1 Outline: Basic concepts underlying Images Popular Image File formats Human perception of color Various Color Models in use and the idea behind them 2 Pixels -- picture elements

More information

LECTURE 02 IMAGE AND GRAPHICS

LECTURE 02 IMAGE AND GRAPHICS MULTIMEDIA TECHNOLOGIES LECTURE 02 IMAGE AND GRAPHICS IMRAN IHSAN ASSISTANT PROFESSOR THE NATURE OF DIGITAL IMAGES An image is a spatial representation of an object, a two dimensional or three-dimensional

More information

4 Images and Graphics

4 Images and Graphics LECTURE 4 Images and Graphics CS 5513 Multimedia Systems Spring 2009 Imran Ihsan Principal Design Consultant OPUSVII www.opuseven.com Faculty of Engineering & Applied Sciences 1. The Nature of Digital

More information

Images and Graphics. 4. Images and Graphics - Copyright Denis Hamelin - Ryerson University

Images and Graphics. 4. Images and Graphics - Copyright Denis Hamelin - Ryerson University Images and Graphics Images and Graphics Graphics and images are non-textual information that can be displayed and printed. Graphics (vector graphics) are an assemblage of lines, curves or circles with

More information

Raster (Bitmap) Graphic File Formats & Standards

Raster (Bitmap) Graphic File Formats & Standards Raster (Bitmap) Graphic File Formats & Standards Contents Raster (Bitmap) Images Digital Or Printed Images Resolution Colour Depth Alpha Channel Palettes Antialiasing Compression Colour Models RGB Colour

More information

INTRODUCTION TO COMPUTER GRAPHICS

INTRODUCTION TO COMPUTER GRAPHICS INTRODUCTION TO COMPUTER GRAPHICS ITC 31012: GRAPHICAL DESIGN APPLICATIONS AJM HASMY hasmie@gmail.com WHAT CAN PS DO? - PHOTOSHOPPING CREATING IMAGE Custom icons, buttons, lines, balls or text art web

More information

Fundamentals of Multimedia

Fundamentals of Multimedia Fundamentals of Multimedia Lecture 2 Graphics & Image Data Representation Mahmoud El-Gayyar elgayyar@ci.suez.edu.eg Outline Black & white imags 1 bit images 8-bit gray-level images Image histogram Dithering

More information

LECTURE 03 BITMAP IMAGE FORMATS

LECTURE 03 BITMAP IMAGE FORMATS MULTIMEDIA TECHNOLOGIES LECTURE 03 BITMAP IMAGE FORMATS IMRAN IHSAN ASSISTANT PROFESSOR IMAGE FORMATS To store an image, the image is represented in a two dimensional matrix of pixels. Information about

More information

Bitmap Image Formats

Bitmap Image Formats LECTURE 5 Bitmap Image Formats CS 5513 Multimedia Systems Spring 2009 Imran Ihsan Principal Design Consultant OPUSVII www.opuseven.com Faculty of Engineering & Applied Sciences 1. Image Formats To store

More information

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester Lecture 8: Color Image Processing 04.11.2017 Dr. Mohammed Abdel-Megeed Salem Media

More information

Multimedia. Graphics and Image Data Representations (Part 2)

Multimedia. Graphics and Image Data Representations (Part 2) Course Code 005636 (Fall 2017) Multimedia Graphics and Image Data Representations (Part 2) Prof. S. M. Riazul Islam, Dept. of Computer Engineering, Sejong University, Korea E-mail: riaz@sejong.ac.kr Outline

More information

CMPSC 390 Visual Computing Spring 2014 Bob Roos Review Notes Introduction and PixelMath

CMPSC 390 Visual Computing Spring 2014 Bob Roos   Review Notes Introduction and PixelMath Review Notes 1 CMPSC 390 Visual Computing Spring 2014 Bob Roos http://cs.allegheny.edu/~rroos/cs390s2014 Review Notes Introduction and PixelMath Major Concepts: raster image, pixels, grayscale, byte, color

More information

Image Perception & 2D Images

Image Perception & 2D Images Image Perception & 2D Images Vision is a matter of perception. Perception is a matter of vision. ES Overview Introduction to ES 2D Graphics in Entertainment Systems Sound, Speech & Music 3D Graphics in

More information

Digital Imaging & Photoshop

Digital Imaging & Photoshop Digital Imaging & Photoshop Photoshop Created by Thomas Knoll in 1987, originally called Display Acquired by Adobe in 1988 Released as Photoshop 1.0 for Macintosh in 1990 Released the Creative Suite in

More information

6. Graphics MULTIMEDIA & GRAPHICS 10/12/2016 CHAPTER. Graphics covers wide range of pictorial representations. Uses for computer graphics include:

6. Graphics MULTIMEDIA & GRAPHICS 10/12/2016 CHAPTER. Graphics covers wide range of pictorial representations. Uses for computer graphics include: CHAPTER 6. Graphics MULTIMEDIA & GRAPHICS Graphics covers wide range of pictorial representations. Uses for computer graphics include: Buttons Charts Diagrams Animated images 2 1 MULTIMEDIA GRAPHICS Challenges

More information

Image is a spatial representation of an object or a scene. (image of a person, place, object)

Image is a spatial representation of an object or a scene. (image of a person, place, object) Graphics & Images Table of Content 1. Introduction 2. Types of graphics 3. Resolution 4. Memory/Storage requirement 5. Types of images 6. Image colour schemes 7. Colour dithering 8. Image processing 9.

More information

Multimedia-Systems: Image & Graphics

Multimedia-Systems: Image & Graphics Multimedia-Systems: Image & Graphics Prof. Dr.-Ing. Ralf Steinmetz Prof. Dr. Max Mühlhäuser MM: TU Darmstadt - Darmstadt University of Technology, Dept. of of Computer Science TK - Telecooperation, Tel.+49

More information

Color & Compression. Robin Strand Centre for Image analysis Swedish University of Agricultural Sciences Uppsala University

Color & Compression. Robin Strand Centre for Image analysis Swedish University of Agricultural Sciences Uppsala University Color & Compression Robin Strand Centre for Image analysis Swedish University of Agricultural Sciences Uppsala University Outline Color Color spaces Multispectral images Pseudocoloring Color image processing

More information

Computers and Imaging

Computers and Imaging Computers and Imaging Telecommunications 1 P. Mathys Two Different Methods Vector or object-oriented graphics. Images are generated by mathematical descriptions of line (vector) segments. Bitmap or raster

More information

Course Objectives & Structure

Course Objectives & Structure Course Objectives & Structure Digital imaging is at the heart of science, medicine, entertainment, engineering, and communications. This course provides an introduction to mathematical tools for the analysis

More information

Digital Asset Management 2. Introduction to Digital Media Format

Digital Asset Management 2. Introduction to Digital Media Format Digital Asset Management 2. Introduction to Digital Media Format 2010-09-09 Content content = essence + metadata 2 Digital media data types Table. File format used in Macromedia Director File import File

More information

Sampling Rate = Resolution Quantization Level = Color Depth = Bit Depth = Number of Colors

Sampling Rate = Resolution Quantization Level = Color Depth = Bit Depth = Number of Colors ITEC2110 FALL 2011 TEST 2 REVIEW Chapters 2-3: Images I. Concepts Graphics A. Bitmaps and Vector Representations Logical vs. Physical Pixels - Images are modeled internally as an array of pixel values

More information

Specific structure or arrangement of data code stored as a computer file.

Specific structure or arrangement of data code stored as a computer file. FILE FORMAT Specific structure or arrangement of data code stored as a computer file. A file format tells the computer how to display, print, process, and save the data. It is dictated by the application

More information

3.1 Graphics/Image age Data Types. 3.2 Popular File Formats

3.1 Graphics/Image age Data Types. 3.2 Popular File Formats Chapter 3 Graphics and Image Data Representations 3.1 Graphics/Image Data Types 3.2 Popular File Formats 3.1 Graphics/Image age Data Types The number of file formats used in multimedia continues to proliferate.

More information

Computer Graphics. Rendering. Rendering 3D. Images & Color. Scena 3D rendering image. Human Visual System: the retina. Human Visual System

Computer Graphics. Rendering. Rendering 3D. Images & Color. Scena 3D rendering image. Human Visual System: the retina. Human Visual System Rendering Rendering 3D Scena 3D rendering image Computer Graphics Università dell Insubria Corso di Laurea in Informatica Anno Accademico 2014/15 Marco Tarini Images & Color M a r c o T a r i n i C o m

More information

Lecture - 3. by Shahid Farid

Lecture - 3. by Shahid Farid Lecture - 3 by Shahid Farid Image Digitization Raster versus vector images Progressive versus interlaced display Popular image file formats Why so many formats? Shahid Farid, PUCIT 2 To create a digital

More information

Images and Colour COSC342. Lecture 2 2 March 2015

Images and Colour COSC342. Lecture 2 2 March 2015 Images and Colour COSC342 Lecture 2 2 March 2015 In this Lecture Images and image formats Digital images in the computer Image compression and formats Colour representation Colour perception Colour spaces

More information

Chapter 3 Graphics and Image Data Representations

Chapter 3 Graphics and Image Data Representations Chapter 3 Graphics and Image Data Representations 3.1 Graphics/Image Data Types 3.2 Popular File Formats 3.3 Further Exploration 1 Li & Drew c Prentice Hall 2003 3.1 Graphics/Image Data Types The number

More information

Chapter 3 Graphics and Image Data Representations

Chapter 3 Graphics and Image Data Representations Chapter 3 Graphics and Image Data Representations 3.1 Graphics/Image Data Types 3.2 Popular File Formats Li, Drew, & Liu 1 1 3.1 Graphics/Image Data Types The number of file formats used in multimedia

More information

1 Li & Drew c Prentice Hall Li & Drew c Prentice Hall 2003

1 Li & Drew c Prentice Hall Li & Drew c Prentice Hall 2003 Chapter 3 Graphics and Image Data Representations 3.1 Graphics/Image Data Types 3.2 Popular File Formats 3.3 Further Exploration 3.1 Graphics/Image Data Types The number of file formats used in multimedia

More information

Introduction to Multimedia Computing

Introduction to Multimedia Computing COMP 319 Lecture 02 Introduction to Multimedia Computing Fiona Yan Liu Department of Computing The Hong Kong Polytechnic University Learning Outputs of Lecture 01 Introduction to multimedia technology

More information

ITP 140 Mobile App Technologies. Images

ITP 140 Mobile App Technologies. Images ITP 140 Mobile App Technologies Images Images All digital images are rectangles! Each image has a width and height 2 Terms Pixel A picture element Screen size In inches Resolution A width and height DPI

More information

CHAPTER 3 I M A G E S

CHAPTER 3 I M A G E S CHAPTER 3 I M A G E S OBJECTIVES Discuss the various factors that apply to the use of images in multimedia. Describe the capabilities and limitations of bitmap images. Describe the capabilities and limitations

More information

Introduction to Color Theory

Introduction to Color Theory Systems & Biomedical Engineering Department SBE 306B: Computer Systems III (Computer Graphics) Dr. Ayman Eldeib Spring 2018 Introduction to With colors you can set a mood, attract attention, or make a

More information

Digital Imaging and Image Editing

Digital Imaging and Image Editing Digital Imaging and Image Editing A digital image is a representation of a twodimensional image as a finite set of digital values, called picture elements or pixels. The digital image contains a fixed

More information

The next table shows the suitability of each format to particular applications.

The next table shows the suitability of each format to particular applications. What are suitable file formats to use? The four most common file formats used are: TIF - Tagged Image File Format, uncompressed and compressed formats PNG - Portable Network Graphics, standardized compression

More information

Wireless Communication

Wireless Communication Wireless Communication Systems @CS.NCTU Lecture 4: Color Instructor: Kate Ching-Ju Lin ( 林靖茹 ) Chap. 4 of Fundamentals of Multimedia Some reference from http://media.ee.ntu.edu.tw/courses/dvt/15f/ 1 Outline

More information

B.Digital graphics. Color Models. Image Data. RGB (the additive color model) CYMK (the subtractive color model)

B.Digital graphics. Color Models. Image Data. RGB (the additive color model) CYMK (the subtractive color model) Image Data Color Models RGB (the additive color model) CYMK (the subtractive color model) Pixel Data Color Depth Every pixel is assigned to one specific color. The amount of data stored for every pixel,

More information

Topics. 1. Raster vs vector graphics. 2. File formats. 3. Purpose of use. 4. Decreasing file size

Topics. 1. Raster vs vector graphics. 2. File formats. 3. Purpose of use. 4. Decreasing file size Topics 1. Raster vs vector graphics 2. File formats 3. Purpose of use 4. Decreasing file size Vector graphics Object-oriented graphics or drawings Consist of a series of mathematically defined points that

More information

Digital Imaging - Photoshop

Digital Imaging - Photoshop Digital Imaging - Photoshop A digital image is a computer representation of a photograph. It is composed of a grid of tiny squares called pixels (picture elements). Each pixel has a position on the grid

More information

Bitmap Vs Vector Graphics Web-safe Colours Image compression Web graphics formats Anti-aliasing Dithering & Banding Image issues for the Web

Bitmap Vs Vector Graphics Web-safe Colours Image compression Web graphics formats Anti-aliasing Dithering & Banding Image issues for the Web Bitmap Vs Vector Graphics Web-safe Colours Image compression Web graphics formats Anti-aliasing Dithering & Banding Image issues for the Web Bitmap Vector (*Refer to Textbook Page 175 file formats) Bitmap

More information

PENGENALAN TEKNIK TELEKOMUNIKASI CLO

PENGENALAN TEKNIK TELEKOMUNIKASI CLO PENGENALAN TEKNIK TELEKOMUNIKASI CLO : 4 Digital Image Faculty of Electrical Engineering BANDUNG, 2017 What is a Digital Image A digital image is a representation of a two-dimensional image as a finite

More information

Coreldraw Crash Course

Coreldraw Crash Course Coreldraw Crash Course Yannick Kremer Vrije Universiteit Amsterdam, February 27, 2007 Outline - Introduction to the basics of digital imaging - Bitmaps - Vectors - Colour: RGB vs CMYK - What can you do

More information

Lecture #2: Digital Images

Lecture #2: Digital Images Lecture #2: Digital Images CS106E Spring 2018, Young In this lecture we will see how computers display images. We ll find out how computers generate color and discover that color on computers works differently

More information

Raster Image File Formats

Raster Image File Formats Raster Image File Formats 1995-2016 Josef Pelikán & Alexander Wilkie CGG MFF UK Praha pepca@cgg.mff.cuni.cz http://cgg.mff.cuni.cz/~pepca/ 1 / 35 Raster Image Capture Camera Area sensor (CCD, CMOS) Colours:

More information

UNIT 7C Data Representation: Images and Sound

UNIT 7C Data Representation: Images and Sound UNIT 7C Data Representation: Images and Sound 1 Pixels An image is stored in a computer as a sequence of pixels, picture elements. 2 1 Resolution The resolution of an image is the number of pixels used

More information

Understanding Image Formats And When to Use Them

Understanding Image Formats And When to Use Them Understanding Image Formats And When to Use Them Are you familiar with the extensions after your images? There are so many image formats that it s so easy to get confused! File extensions like.jpeg,.bmp,.gif,

More information

Welcome Back to Fundamentals of Multimedia (MR412) Fall, 2012 Chapter 3. ZHU Yongxin, Winson

Welcome Back to Fundamentals of Multimedia (MR412) Fall, 2012 Chapter 3. ZHU Yongxin, Winson Welcome Back to Fundamentals of Multimedia (MR412) Fall, 2012 Chapter 3 ZHU Yongxin, Winson zhuyongxin@sjtu.edu.cn Chapter 3 Graphics and Image Data Representations 3.1 Graphics/Image Data Types 3.2 Popular

More information

15110 Principles of Computing, Carnegie Mellon University

15110 Principles of Computing, Carnegie Mellon University 1 Overview Human sensory systems and digital representations Digitizing images Digitizing sounds Video 2 HUMAN SENSORY SYSTEMS 3 Human limitations Range only certain pitches and loudnesses can be heard

More information

15110 Principles of Computing, Carnegie Mellon University

15110 Principles of Computing, Carnegie Mellon University 1 Last Time Data Compression Information and redundancy Huffman Codes ALOHA Fixed Width: 0001 0110 1001 0011 0001 20 bits Huffman Code: 10 0000 010 0001 10 15 bits 2 Overview Human sensory systems and

More information

COMPSCI 111 / 111G Mastering Cyberspace: An introduction to practical computing. Digital Images Vector Graphics

COMPSCI 111 / 111G Mastering Cyberspace: An introduction to practical computing. Digital Images Vector Graphics COMPSCI 111 / 111G Mastering Cyberspace: An introduction to practical computing Digital Images Vector Graphics Students should be able to: Learning Outcomes Describe the differences between bitmap graphics

More information

IMAGE SIZING AND RESOLUTION. MyGraphicsLab: Adobe Photoshop CS6 ACA Certification Preparation for Visual Communication

IMAGE SIZING AND RESOLUTION. MyGraphicsLab: Adobe Photoshop CS6 ACA Certification Preparation for Visual Communication IMAGE SIZING AND RESOLUTION MyGraphicsLab: Adobe Photoshop CS6 ACA Certification Preparation for Visual Communication Copyright 2013 MyGraphicsLab / Pearson Education OBJECTIVES This presentation covers

More information

Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology

Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology Course Presentation Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology Physics of Color Light Light or visible light is the portion of electromagnetic radiation that

More information

CS 262 Lecture 01: Digital Images and Video. John Magee Some material copyright Jones and Bartlett

CS 262 Lecture 01: Digital Images and Video. John Magee Some material copyright Jones and Bartlett CS 262 Lecture 01: Digital Images and Video John Magee Some material copyright Jones and Bartlett 1 Overview/Questions What is digital information? What is color? How do pictures get encoded into binary

More information

Digital Images. Digital Images. Digital Images fall into two main categories

Digital Images. Digital Images. Digital Images fall into two main categories Digital Images Digital Images Scanned or digitally captured image Image created on computer using graphics software Digital Images fall into two main categories Vector Graphics Raster (Bitmap) Graphics

More information

CS101 Lecture 19: Digital Images. John Magee 18 July 2013 Some material copyright Jones and Bartlett. Overview/Questions

CS101 Lecture 19: Digital Images. John Magee 18 July 2013 Some material copyright Jones and Bartlett. Overview/Questions CS101 Lecture 19: Digital Images John Magee 18 July 2013 Some material copyright Jones and Bartlett 1 Overview/Questions What is digital information? What is color? How do pictures get encoded into binary

More information

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB Unit 5 Graphics and Images Slides based on course material SFU Icons their respective owners 1 Learning Objectives In this unit you will learn

More information

Digital Images: A Technical Introduction

Digital Images: A Technical Introduction Digital Images: A Technical Introduction Images comprise a significant portion of a multimedia application This is an introduction to what is under the technical hood that drives digital images particularly

More information

Learning Outcomes. Black and White pictures. Bitmap Graphics. COMPSCI 111/111G Digital Images and Vector Graphics

Learning Outcomes. Black and White pictures. Bitmap Graphics. COMPSCI 111/111G Digital Images and Vector Graphics Learning Outcomes COMPSCI 111/111G Digital Images and Vector Graphics Lecture 13 SS 2018 Students should be able to: Describe the differences between bitmap graphics and vector graphics Calculate the size

More information

Chapter 11. Preparing a Document for Prepress and Printing Delmar, Cengage Learning

Chapter 11. Preparing a Document for Prepress and Printing Delmar, Cengage Learning Chapter 11 Preparing a Document for Prepress and Printing 2011 Delmar, Cengage Learning Objectives Explore color theory and resolution issues Work in CMYK mode Specify spot colors Create crop marks Create

More information

Graphics for Web. Desain Web Sistem Informasi PTIIK UB

Graphics for Web. Desain Web Sistem Informasi PTIIK UB Graphics for Web Desain Web Sistem Informasi PTIIK UB Pixels The computer stores and displays pixels, or picture elements. A pixel is the smallest addressable part of the computer screen. A pixel is stored

More information

ITP 140 Mobile App Technologies. Colors Images Icons

ITP 140 Mobile App Technologies. Colors Images Icons ITP 140 Mobile App Technologies Colors Images Icons Establish a style Look and Feel Create or choose a color palette Pick colors that complement each other Pick colors that are representative of your app

More information

Mahdi Amiri. March Sharif University of Technology

Mahdi Amiri. March Sharif University of Technology Course Presentation Multimedia Systems Color Space Mahdi Amiri March 2014 Sharif University of Technology The wavelength λ of a sinusoidal waveform traveling at constant speed ν is given by Physics of

More information

Colors in Images & Video

Colors in Images & Video LECTURE 8 Colors in Images & Video CS 5513 Multimedia Systems Spring 2009 Imran Ihsan Principal Design Consultant OPUSVII www.opuseven.com Faculty of Engineering & Applied Sciences 1. Light and Spectra

More information

CATEGORY SKILL SET REF. TASK ITEM

CATEGORY SKILL SET REF. TASK ITEM ECDL / ICDL Image Editing This module sets out essential concepts and skills relating to the ability to understand the main concepts underlying digital images and to use an image editing application to

More information

Computer and Machine Vision

Computer and Machine Vision Computer and Machine Vision Lecture Week 7 Part-2 (Exam #1 Review) February 26, 2014 Sam Siewert Outline of Week 7 Basic Convolution Transform Speed-Up Concepts for Computer Vision Hough Linear Transform

More information

CGT 511. Image. Image. Digital Image. 2D intensity light function z=f(x,y) defined over a square 0 x,y 1. the value of z can be:

CGT 511. Image. Image. Digital Image. 2D intensity light function z=f(x,y) defined over a square 0 x,y 1. the value of z can be: Image CGT 511 Computer Images Bedřich Beneš, Ph.D. Purdue University Department of Computer Graphics Technology Is continuous 2D image function 2D intensity light function z=f(x,y) defined over a square

More information

CS101 Lecture 12: Digital Images. What You ll Learn Today

CS101 Lecture 12: Digital Images. What You ll Learn Today CS101 Lecture 12: Digital Images Sampling and Quantizing Using bits to Represent Colors and Images Aaron Stevens (azs@bu.edu) 20 February 2013 What You ll Learn Today What is digital information? How to

More information

Color and Images. Computer Science and Engineering College of Engineering The Ohio State University. Lecture 16

Color and Images. Computer Science and Engineering College of Engineering The Ohio State University. Lecture 16 Color and Images Computer Science and Engineering College of Engineering The Ohio State University Lecture 16 Colors in CSS Use: fonts, borders, backgrounds Provides semantic signal: Green go, success,

More information

UNIT 7C Data Representation: Images and Sound Principles of Computing, Carnegie Mellon University CORTINA/GUNA

UNIT 7C Data Representation: Images and Sound Principles of Computing, Carnegie Mellon University CORTINA/GUNA UNIT 7C Data Representation: Images and Sound Carnegie Mellon University CORTINA/GUNA 1 Announcements Pa6 is available now 2 Pixels An image is stored in a computer as a sequence of pixels, picture elements.

More information

HTTP transaction with Graphics HTML file + two graphics files

HTTP transaction with Graphics HTML file + two graphics files HTTP transaction with Graphics HTML file + two graphics files Graphics are grids of Pixels (Picture Elements) Each pixel is exactly one color. At normal screen resolution you can't tell they are square.

More information

Image Processing Computer Graphics I Lecture 20. Display Color Models Filters Dithering Image Compression

Image Processing Computer Graphics I Lecture 20. Display Color Models Filters Dithering Image Compression 15-462 Computer Graphics I Lecture 2 Image Processing April 18, 22 Frank Pfenning Carnegie Mellon University http://www.cs.cmu.edu/~fp/courses/graphics/ Display Color Models Filters Dithering Image Compression

More information

A raster image uses a grid of individual pixels where each pixel can be a different color or shade. Raster images are composed of pixels.

A raster image uses a grid of individual pixels where each pixel can be a different color or shade. Raster images are composed of pixels. Graphics 1 Raster Vector A raster image uses a grid of individual pixels where each pixel can be a different color or shade. Raster images are composed of pixels. Vector graphics use mathematical relationships

More information

Indexed Color. A browser may support only a certain number of specific colors, creating a palette from which to choose

Indexed Color. A browser may support only a certain number of specific colors, creating a palette from which to choose Indexed Color A browser may support only a certain number of specific colors, creating a palette from which to choose Figure 3.11 The Netscape color palette 1 QUIZ How many bits are needed to represent

More information

Applying mathematics to digital image processing using a spreadsheet

Applying mathematics to digital image processing using a spreadsheet Jeff Waldock Applying mathematics to digital image processing using a spreadsheet Jeff Waldock Department of Engineering and Mathematics Sheffield Hallam University j.waldock@shu.ac.uk Introduction When

More information

Vector VS Pixels Introduction to Adobe Photoshop

Vector VS Pixels Introduction to Adobe Photoshop MMA 100 Foundations of Digital Graphic Design Vector VS Pixels Introduction to Adobe Photoshop Clare Ultimo Using the right software for the right job... Which program is best for what??? Photoshop Illustrator

More information

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song Image and video processing () Colour Images Dr. Yi-Zhe Song yizhe.song@qmul.ac.uk Today s agenda Colour spaces Colour images PGM/PPM images Today s agenda Colour spaces Colour images PGM/PPM images History

More information

The BIOS in many personal computers stores the date and time in BCD. M-Mushtaq Hussain

The BIOS in many personal computers stores the date and time in BCD. M-Mushtaq Hussain Practical applications of BCD The BIOS in many personal computers stores the date and time in BCD Images How data for a bitmapped image is encoded? A bitmap images take the form of an array, where the

More information

STANDARD ST.67 MAY 2012 CHANGES

STANDARD ST.67 MAY 2012 CHANGES Ref.: Standards - ST.67 Changes STANDARD ST.67 MAY 2012 CHANGES Pages DEFINITIONS... 1 Paragraph 2(d) deleted May 2012 CWS/2... 1 Paragraph 2(q) added May 2012 CWS/2... 2 RECOMMENDATIONS FOR ELECTRONIC

More information

IMAGES AND COLOR. N. C. State University. CSC557 Multimedia Computing and Networking. Fall Lecture # 10

IMAGES AND COLOR. N. C. State University. CSC557 Multimedia Computing and Networking. Fall Lecture # 10 IMAGES AND COLOR N. C. State University CSC557 Multimedia Computing and Networking Fall 2001 Lecture # 10 IMAGES AND COLOR N. C. State University CSC557 Multimedia Computing and Networking Fall 2001 Lecture

More information

Color, graphics and hardware Monitors and Display

Color, graphics and hardware Monitors and Display Color, graphics and hardware Monitors and Display No two monitors display the same image in exactly the same way 1. Gamma settings - hardware setting on a monitor that controls the brightness of the pixels

More information

Chapter 3 Digital Image Processing CS 3570

Chapter 3 Digital Image Processing CS 3570 Chapter 3 Digital Image Processing CS 3570 OBJECTIVES FOR CHAPTER 3 Know the important file types for digital image data. Understand the difference between fixed-length and variable-length encoding schemes.

More information

GUIDELINES & INFORMATION

GUIDELINES & INFORMATION GUIDELINES & INFORMATION This document will provide basic guidelines for the use of the World Animal Day logo and general knowledge about the various file formats provided. Adhering to these guidelines

More information

Welcome to Photoshop CS

Welcome to Photoshop CS Chapter 1 Welcome to Photoshop CS COPYRIGHTED MATERIAL Photoshop CS is the latest version of Photoshop, Adobe s powerful image-editing program. It s part of Adobe s Creative Suite, a package of design

More information

Ch. 3: Image Compression Multimedia Systems

Ch. 3: Image Compression Multimedia Systems 4/24/213 Ch. 3: Image Compression Multimedia Systems Prof. Ben Lee (modified by Prof. Nguyen) Oregon State University School of Electrical Engineering and Computer Science Outline Introduction JPEG Standard

More information

Byte = More common: 8 bits = 1 byte Abbreviation:

Byte = More common: 8 bits = 1 byte Abbreviation: Text, Images, Video and Sound ASCII-7 In the early days, a was used, with of 0 s and 1 s, enough for a typical keyboard. The standard was developed by (American Standard Code for Information Interchange)

More information

Photoshop Elements Week 1 - Photoshop Elements Work Environment

Photoshop Elements Week 1 - Photoshop Elements Work Environment Menu Bar Just like any computer program, you have several dropdown menus to work with. Explore them all! But, most importantly remember to SAVE! Photoshop Elements Toolbox (with keyboard shortcut) Photoshop

More information

MOTION GRAPHICS BITE 3623

MOTION GRAPHICS BITE 3623 MOTION GRAPHICS BITE 3623 DR. SITI NURUL MAHFUZAH MOHAMAD FTMK, UTEM Lecture 1: Introduction to Graphics Learn critical graphics concepts. 1 Bitmap (Raster) vs. Vector Graphics 2 Software Bitmap Images

More information

Photoshop 01. Introduction to Computer Graphics UIC / AA/ AD / AD 205 / F05/ Sauter.../documents/photoshop_01.pdf

Photoshop 01. Introduction to Computer Graphics UIC / AA/ AD / AD 205 / F05/ Sauter.../documents/photoshop_01.pdf Photoshop 01 Introduction to Computer Graphics UIC / AA/ AD / AD 205 / F05/ Sauter.../documents/photoshop_01.pdf Topics Raster Graphics Document Setup Image Size & Resolution Tools Selecting and Transforming

More information

What You ll Learn Today

What You ll Learn Today CS101 Lecture 18: Image Compression Aaron Stevens 21 October 2010 Some material form Wikimedia Commons Special thanks to John Magee and his dog 1 What You ll Learn Today Review: how big are image files?

More information

Images and Displays. Lecture Steve Marschner 1

Images and Displays. Lecture Steve Marschner 1 Images and Displays Lecture 2 2008 Steve Marschner 1 Introduction Computer graphics: The study of creating, manipulating, and using visual images in the computer. What is an image? A photographic print?

More information

Assistant Lecturer Sama S. Samaan

Assistant Lecturer Sama S. Samaan MP3 Not only does MPEG define how video is compressed, but it also defines a standard for compressing audio. This standard can be used to compress the audio portion of a movie (in which case the MPEG standard

More information

Compression and Image Formats

Compression and Image Formats Compression Compression and Image Formats Reduce amount of data used to represent an image/video Bit rate and quality requirements Necessary to facilitate transmission and storage Required quality is application

More information

LECTURE 07 COLORS IN IMAGES & VIDEO

LECTURE 07 COLORS IN IMAGES & VIDEO MULTIMEDIA TECHNOLOGIES LECTURE 07 COLORS IN IMAGES & VIDEO IMRAN IHSAN ASSISTANT PROFESSOR LIGHT AND SPECTRA Visible light is an electromagnetic wave in the 400nm 700 nm range. The eye is basically similar

More information

By Washan Najat Nawi

By Washan Najat Nawi By Washan Najat Nawi how to get started how to use the interface how to modify images with basic editing skills Adobe Photoshop: is a popular image-editing software. Two general usage of Photoshop Creating

More information

Digital imaging or digital image acquisition is the creation of digital images, typically from a physical scene. The term is often assumed to imply

Digital imaging or digital image acquisition is the creation of digital images, typically from a physical scene. The term is often assumed to imply Digital imaging or digital image acquisition is the creation of digital images, typically from a physical scene. The term is often assumed to imply or include the processing, compression, storage, printing,

More information

CD: (compact disc) A 4 3/4" disc used to store audio or visual images in digital form. This format is usually associated with audio information.

CD: (compact disc) A 4 3/4 disc used to store audio or visual images in digital form. This format is usually associated with audio information. Computer Art Vocabulary Bitmap: An image made up of individual pixels or tiles Blur: Softening an image, making it appear out of focus Brightness: The overall tonal value, light, or darkness of an image.

More information

CS 565 Computer Vision. Nazar Khan PUCIT Lecture 4: Colour

CS 565 Computer Vision. Nazar Khan PUCIT Lecture 4: Colour CS 565 Computer Vision Nazar Khan PUCIT Lecture 4: Colour Topics to be covered Motivation for Studying Colour Physical Background Biological Background Technical Colour Spaces Motivation Colour science

More information

CHAPTER 8 Digital images and image formats

CHAPTER 8 Digital images and image formats CHAPTER 8 Digital images and image formats An important type of digital media is images, and in this chapter we are going to review how images are represented and how they can be manipulated with simple

More information

Resolution: The Peanut Butter Analogy

Resolution: The Peanut Butter Analogy Resolution: The Peanut Butter Analogy When you scan an image or take a digital picture you are collecting a batch of pixels. The mega pixel rating of your camera or your scanner s sensitivity will determine

More information