Graphics and image data representation

Slides:



Advertisements
Similar presentations
Image Data Representations and Standards
Advertisements

Graphics CS 121 Concepts of Computing II. What is a graphic? n A rectangular image. n Stored in a file of its own, or … … embedded in another data file.
Lecture 3: Spring 2009 Graphics and Image Data Representations
Guilford County SciVis V106.01
V Obtained from a Guildford County workshop-Summer, 2014.
Images and Color Multimedia Systems (Module 1 Lesson 2)
Image and Sound Editing Raed S. Rasheed Image Image. Digital image. – Raster images. – Vector Images. – Stereo Images. – Image File Formats Lossless.
Manipulating Images Image A visual representation of something that is seen in real life. It can be two-dimensional or three-dimensional A visual representation.
Part A Multimedia Production Rico Yu. Part A Multimedia Production Ch.1 Text Ch.2 Graphics Ch.3 Sound Ch.4 Animations Ch.5 Video.
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.
Fundamentals of Multimedia
1 Bitmap Graphics It is represented by a dot pattern in which each dot is called a pixel. Each pixel can be in any one of the colors available and the.
Department of Physics and Astronomy DIGITAL IMAGE PROCESSING
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
File Formats About graphic file formats And image compression.
Chapter 3 Graphics and Image Data Representations
Graphics and Image Data Representations Mr.Nael Aburas 1.
Module Code: CU0001NI Technical Information on Digital Images Week -2.
Lab #5-6 Follow-Up: More Python; Images Images ● A signal (e.g. sound, temperature infrared sensor reading) is a single (one- dimensional) quantity that.
Chapter 3 Graphics and Image Data Representations
Graphics/Image Data Types
Image Storage Bitmapped Graphics – in which an image is represented as a collection of dots Vector Graphics – in which an image is represented as a set.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
Digital Image: Representation & Processing (2/2) Lecture-3
HTML presentation Graphics H format H data compression H size H creating or finding H publishing.
Multimedia Elements II Graphics, Digital Video. UIT - Multimedia Production2 Multimedia Elements Multimedia elements include: Text Graphics Animation.
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 Ethics of Computing MONT 113G, Spring 2012 Session 10 HTML Tables Graphics on the Web.
Information Processes and Technology Multimedia: Graphics.
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
File Formats and Vector Graphics. File Types Images and data are stored in files. Each software application uses different native file types and file.
Chapter 2 File Format Objectives (1 of 2) Identify the difference between vector based graphics and bitmap-based graphics Clarify bitmap and vector graphic.
Graphics An image is made up of tiny dots called pixels (“picture elements”) The resolution determines the.
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.
Lecture 7: Intro to Computer Graphics. Remember…… DIGITAL - Digital means discrete. DIGITAL - Digital means discrete. Digital representation is comprised.
Dr. Rasha Orban CS Department. Graphics and Image Data Representations Lecture 4.
File Types. Terms Multimedia- the integration of text, sound, video and/or animation into a document Letters, brochures, newsletters, web pages or presentations.
CSCI-100 Introduction to Computing Hardware Part II.
Digital Images are represented by manipulating this…
Image File Formats. What is an Image File Format? Image file formats are standard way of organizing and storing of image files. Image files are composed.
Graphics Concepts Presentation
Digital Graphics for Computer Games Pixels Types of Digital Graphics (Raster and Vector) Compression.
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.
Image File Formats Harrow Computer Club – Wed, 1 Dec 2010 Bob Watson MA CMath MIMA MBCS.
Chapter 1 Definitions & Basics of Digital Image 1.Image 2.Digital Image 3.Raster 4. Vector 5.Image Editing 1.
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
Images and Graphics.
8th Lecture – Intro to Bitmap or Raster Images
BITMAPPED IMAGES & VECTOR DRAWN GRAPHICS
Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
Binary Notation and Intro to Computer Graphics
Computer Science Higher
Chapter 3 Graphics and Image Data Representations
Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny
Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny
2.01 Investigate graphic image design.
Chapter 3 Image Files © 2017 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Chapter 3_B Graphics and Image Data Representations
A computer display is made up of small squares, called pixels.
Fundamentals of Multimedia
Chapter 3:- Graphics Eyad Alshareef Eyad Alshareef.
Graphics Basic Concepts.
6th Lecture – Rectangles and Regions, and intro to Bitmap Images
Data Representation.
Representing Images 2.6 – Data Representation.
2.01 Investigate graphic image design.
COMS 161 Introduction to Computing
Multimedia System Image
2.01 Investigate graphic image design.
Presentation transcript:

Graphics and image data representation Dr. Wissam Alkhadour

DIGITAL IMAGE REPRESENTATION An image is a spatial representation of an object, a2D or 3D scene, etc. Abstractly, an image is a continuous function defining a rectangular region of a plane An image can be thought of as a function with resulting values of the light intensity at each point over a planar region

DIGITAL IMAGE REPRESENTATION For computer representation, the function (e.g. intensity) must be sampled at discrete intervals. Sampling quantizes the intensity values into discrete intervals. Points at which an image is sampled are called picture elements or pixels. Image resolution: The number of pixels in a digital image (higher resolution  better quality).

DIGITAL IMAGE REPRESENTATION A digital image is represented by a matrix of numeric values each representing a quantized intensity value. I(r,c) - intensity value at position corresponding to row r and column c of the matrix. Intensity value can be represented by 1-bit: black & white images 8-bits: grayscale images . 8-bit color images 24-bits: color images (RGB)

1-BIT IMAGES Monochrome Image: Each pixel is stored as a single bit (0 or 1), A 640 x 480 monochrome image requires 37.5 KB of storage. (640*480)/8

8-BIT GRAY-LEVEL IMAGES Each pixel has a gray- value between 0 and 255. Each pixel is represented by a single byte: e.g. dark pixels might have a value of 10, and a bright one might be 230. A 640 x 480 grayscale image requires over 300 KB of storage

8-BIT GRAY-LEVEL IMAGES Each image is usually stored as a byte (value between 0&255)  A 640x480 grayscale image requires a 300 KB of storage (640 x 480 = 307,200 bytes)

 8-BIT COLOR IMAGES Many systems can make use of 8 bits of color information (the so-called “256 colors”) in producing a screen image. With 8 bits per pixel and color lookup table we can display at most 256 distinct colors at a time Basically, the image stores not color, but instead just a set of bytes, each of which is actually an index into a table with 3- byte values that specify the color for a pixel with that lookup table index

24-BIT COLOR IMAGES In a color 24- bit image, each pixel is represented by three bytes, usually representing R, G, B. This format supports 256 x 256 x 256 possible combined colors, or a total of 16,777,216 possible colors. Such flexibility does result in a storage penalty: A 640 x 480 24-bit color image would require 921.6 KB of storage without any compression. Many 24-bit color images are stored as 32-bit images, the extra byte of data for each pixel is used to store an alpha value representing special effect information

IMAGE DATA TYPES Some formats are restricted to particular hardware/operating system platforms, while others are “cross-platform” formats. Even if some formats are not cross-platform, there are conversion applications that will recognize and translate formats from one system to another.

IMAGE DATA TYPES Most image formats incorporate some variation of compression technique due to the large storage size of image files. Compression techniques can be classified into either lossless or lossy.

Standard System Independent Formats The following brief format descriptions are the most commonly used formats. -GIF. -JPEG. -TIFF. -FLC -Fli -GL

GIF Limited to 8-bit (256) color images only, which, while pro-ducing acceptable color images, is best suited for images with few distinctive colors (e.g., graphics or drawing). GIF standard supports interlacing (images are displayed by loading either odd or even lines first, and then loading the other lines on the next cycle)

GIF GIF actually comes in two flavors: 1. GIF87a: The original specication. 2. GIF89a: The later version. Supports simple animation.

JPEG JPEG: The most important current standard for image compression. The human vision system has some specific limitations and JPEG takes advantage of these to achieve high rates of compression. JPEG allows the user to set a desired level of quality, or compression ratio.

JPEG As an example, the figure in next slide shows image, with a quality factor Q=10%. This image is a mere 1.5% of the original size. In comparison, a JPEG image with Q=75% yields an image size 5.6% of the original.

TIFF TIFF: stands for Tagged Image File Format. The support for attachment of additional information (re-ferred to as \tags") provides a great deal of flexibility. 1. The most important tag is a format signier: what type of compression etc. is in use in the stored image.

TIFF 2-TIFF can store many diverent types of image: 1-bit, grayscale, 8-bit color, 24-bit RGB, etc. 3. TIFF was originally a lossless format but now a new JPEG tag allows one to opt for JPEG compression. 4. The TIFF format was developed by the Aldus Corporation in the 1980's and was later supported by Microsoft.

Graphics Animation Files A few dominant formats aimed at storing graphics animations (i.e., series of drawings or graphic illustrations) as opposed to video (i.e., series of images). Difference: animations are considerably less demanding of resources than video.

Graphics Animation Files FLC is an animation or moving picture format; it was originally created by Animation Pro. Another format, FLI, is similar to FLC. GL better quality moving pictures, usually large file size.

System Dependent Formats Many graphical/imaging applications create their own file format particular to the systems they are executed upon. The following are a few popular system dependent formats:

System Dependent Formats Microsoft Windows: BMP A system standard graphics file format for Microsoft Windows Used in PC Paintbrush and other programs It is capable of storing 24-bit bitmap images .

System Dependent Formats 1. PAINT was originally used in the MacPaint program, initially only for 1-bit monochrome images. 2. PICT format is used in MacDraw (a vector-based drawing program) for storing structured graphics.