Discrete Media: Text, Still Images

Slides:



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

Multimedia Mr. Sanchez.
L.Ghadah R. Hadba CT1514-L1.  Computer Graphics :refers to processing of creating a new image from Geometry, Lighting parameters, Materials and Textures.Using.
Image Data Representations and Standards
Multimedia for the Web: Creating Digital Excitement Multimedia Element -- Graphics.
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.
ETT 429 Spring 2007 Digital Photography/Scanners.
Digital Still Images ETT June Multimedia Assets Still Images Audio Video.
Introduction to Computer Graphics
Guilford County SciVis V106.01
Raster vs Vector and Image Resolution By Josh Gallagan.
Components Text Text--Processing Software A Word Processor is a software application that provides the user with the tools to create and edit text.
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.
Digital Images. Scanned or digitally captured image Image created on computer using graphics software.
 Scanned or digitally captured image  Image created on computer using graphics software.
Introduction to Graphic Arts Technology PRINT Versus WEB.
CS 1308 Computer Literacy and the Internet. Creating Digital Pictures  A traditional photograph is an analog representation of an image.  Digitizing.
File Formats COM 366 Web Design & Layout. Native file format –Format native to software program –.psd > PhotoShop default Preserves layers –Use “Save.
Dean Pentcheff NHMLAC MBPC/Crustacea 17 April 2006.
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
File Formats About graphic file formats And image compression.
Module Code: CU0001NI Technical Information on Digital Images Week -2.
Lecture 4 - Introduction to Computer Graphics
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.
Photoshop Software Rasterized, file formats, and printing choices.
Digital Image: Representation & Processing (2/2) Lecture-3
Bitmap Vs. Vector Graphics. To create effective artwork, you need to understand some basic concepts about vector graphics versus bitmap images, resolution,
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.
Information Processes and Technology Multimedia: Graphics.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 3 This presentation © 2004, MacAvon Media Productions Introduction to Computer Graphics.
GRAPHICS. Topic Outline What is graphic. Resolution. Types of graphics. Using graphic in multimedia applications.
Graphics. Graphic is the important media used to show the appearance of integrative media applications. According to DBP dictionary, graphics mean drawing.
CS- 375 Graphics and Human Computer Interaction Lecture 1: 12/4/1435 Fundamental Techniques in Graphics Lecturer: Kawther Abas.
Graphics workshop Library and Information Services University of St Andrews.
Photoshop Photoshop works with bitmapped, digitized images (that is, continuous-tone images that have been converted into a series of small squares, or.
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.
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.
Graphics & Images What File Format Do I Use?. Graphics & Images …..are visual images presented on some form of media (drawings, print, web, digital video)
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
 Scanned or digitally captured image  Image created on computer using graphics software.
Color and Images. Color The natural colors we see and the colors we see on computer monitors are different. CMYK -natural RGB -monitor.
DIGITAL IMAGE. Basic Image Concepts An image is a spatial representation of an object An image can be thought of as a function with resulting values of.
File Types. Terms Multimedia- the integration of text, sound, video and/or animation into a document Letters, brochures, newsletters, web pages or presentations.
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 Vocabulary Texas State University CI5363 Florence Yang.
Image File Formats Harrow Computer Club – Wed, 1 Dec 2010 Bob Watson MA CMath MIMA MBCS.
Image Editing Vocabulary Words Pioneer Library System Norman Public Library Nancy Rimassa, Trainer Thanks to Wikipedia ( help.
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.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
Understanding Images. Pixels pixels Every image is made up of very small squares called pixels, and each pixel represents a color or shade. Pixels within.
Bitmap vs. Vector How computers work with photographs and drawings.
BITMAPPED IMAGES & VECTOR DRAWN GRAPHICS
2.01 Understand Digital Raster Graphics
2.01 Understand Digital Raster Graphics
DIGITAL MEDIA FOUNDATIONS
Graphics and image data representation
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
2.01 Understand Digital Raster Graphics
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.
Digital Images.
Introduction to Computer Graphics
Graphics Basic Concepts.
2.01 Understand Digital Raster Graphics
2.01 Understand Digital Raster Graphics
Color and Images.
Multimedia System Image
Lecture 4 - Introduction to Computer Graphics
Presentation transcript:

Discrete Media: Text, Still Images Multimedia Discrete Media: Text, Still Images T.Sharon-A.Frank

Contents Discrete media types: Continuous media types: Text Still images: Vector Graphics Bitmapped Images Continuous media types: Audio Moving images: Animations Video Media/Tools Comparisons T.Sharon-A.Frank

Capture vs. Synthesize Computer synthesis Analog video Animation camera Capture A/D Animation Video Recognition Vector Graphics Electronic pen Text memo Printed documents Images Audio Sound T.Sharon-A.Frank

Conventional Classification of Media Types Time/space nature Audio Video Animation Continuous (time based) Images Text Vector Graphics Discrete (space based) Origin Captured from real world Synthesized by computers T.Sharon-A.Frank Remark: Conventionally for Origin means usually, not always

Synthesis vs. Captured  T.Sharon-A.Frank

Text Formats Issues Creation Presentation Plain (ASCII) Rich text (Word, Latex, HTML) Issues Tags Special characters Bilingual Creation Mostly synthesized (keyboard, OCR) Presentation T.Sharon-A.Frank

Text is critical to communication even in multimedia. Text in Multimedia Text is critical to communication even in multimedia. Hypertext uses text but is fundamentally different than traditional text. Choice of words is very important and should be done carefully. T.Sharon-A.Frank

Text File Size 2 bytes per character Each character 8x8 pixels (picture elements) Characters per page = = 4,800 Storage required = 4,800 * 2 = 9,600 bytes Total: ~9.4KB 640 * 480 8* 8 T.Sharon-A.Frank

Production and display of still images stored in digital form: Computer Graphics Production and display of still images stored in digital form: Digitize printed image with a scanner Capture image from digital camera Grab frame from video camera Create in digital form using graphics package Generate visual representation of data. T.Sharon-A.Frank

Use of Image/Picture Provide facts Explain a process Set a mood Evoke an idea Pinpoint location Illustrate relationships Tell stories Identify/Compare entities T.Sharon-A.Frank

Graphics File Formats Many graphics file formats in existence. Different ways of encoding image data. Different amounts/form of supplementary data. Different compression methods for images: Lossless: image can be reconstructed exactly from compressed version. Lossy: some information discarded; image can only be reconstructed approximately. T.Sharon-A.Frank

Rendering Image is displayed on monitor as array of pixels (picture elements) Rectangular (usually square) dots of color. Program (e.g., Web browser) sets pixels to an appropriate color to produce desired image Pixels merge optically to produce effect of continuous tone. Program must maintain a model of the image May be stored in a file and read by program. T.Sharon-A.Frank

Vector and Bitmapped Graphics Vector graphics – Image is modelled as mathematical description of curves and shapes: e.g., a vector is a line that is described by the location of its two endpoints. Rendered by computing pixels from description. Bitmapped graphics – Image is modelled as a matrix/grid of pixel values Rendered by direct mapping of logical pixels to physical pixels of screen, may need scaling and clipping. T.Sharon-A.Frank

Graphics (Vector) vs. Images (Bitmapped) Not revisable Format unaware of structural information Semantic content is not preserved Described as bitmaps formed of individual pixels Revisable documents Format can retain structural information Semantic content is preserved in the representation Described as objects A T.Sharon-A.Frank

Vector Graphics Format of Vector Graphics is: Compact Scalable Resolution-independent Hence it is attractive for networked multimedia. Widely used on Web, e.g., SWF and SVG. T.Sharon-A.Frank

Sample Vector Graphics Formats EPS (Encapsulated PostScript) Primarily print, use declining, superseded by PDF. SVG (Scalable Vector Graphics) W3C standard, still needs to be widely used. SWF (Shockwave Flash) From Adobe Flash; de facto standard; primarily for vector animation, but can be used for vector graphics. XAML (Extensible Application Markup Language) From Microsoft Silverlight; used for marking up vector graphics and animations. T.Sharon-A.Frank

Bitmapped Image An image is a spatial representation of an object. An image can be represented as a matrix/grid of pixels. Records a value for every pixel in the image. Also known as raster graphics. T.Sharon-A.Frank

Bitmapped Image Representation An image can be thought of as a function with resulting values of the light intensity at each point over a planar region. In computers, this function must be sampled at discrete intervals. Intensity at each pixel is represented by an integer into which the color of the image is encoded. If there are just 2 intensity values, 0 and 1 represent black and white (1 bit). If 8-bit integers, color levels range from 0 (black) to 255 (white). T.Sharon-A.Frank

Image Characteristics Image/Device Resolution (ppi/dpi) Color Depth (1 bit and halftone, grayscale, color, true color) – bits per pixel Color Model (RGB, CMY, YUV) T.Sharon-A.Frank

Device Resolution Printers, scanners: specified as dots per unit length, often dots per inch (dpi): Desktop printer 600dpi, typesetter 1270dpi, scanner 300–3600dpi, … Video, monitors: specified as pixel dimensions: PAL TV 768x576px, 17" CRT monitor 1024x768px, … dpi depends on physical size of screen. T.Sharon-A.Frank

Image Resolution Bitmaps are resolution dependent. Array of pixels has pixel dimensions, but no physical dimensions. By default, displayed size depends on resolution (dpi) of output device physical dimension = pixel dimension/resolution. Can store image resolution (ppi) in image file to maintain image's original size Scale by device resolution/image resolution. T.Sharon-A.Frank

Commonly used Color Models RGB: Red, Green, Blue – additive primary colors (color monitors). CMY: Cyan, Magenta, Yellow – subtractive primary colors plus black (color printers). YIQ (YUV): luminance, chrominance are decoupled (TV). HSV: Hue, Saturation and Value (color image manipulation). T.Sharon-A.Frank

Image Format A stored image is an array of values: Each value represents data associated with a pixel in the image. For color, this value may be: 3 numbers – intensities of red, green and blue components of color at that pixel 3 numbers – indices to tables of RGB intensities 1 number – index to table of color triples 1 number – index to other color models, such as CMY, YIQ, HSV, etc. T.Sharon-A.Frank

Sample Image File Formats BMP (Bit Map Picture) TIFF (Tagged Image File Format) GIF (Graphics Interchange Format) Lossless, 256 colors (indexed), transparency PNG (Portable Network Graphics) Lossless, variable number of colors, W3C standard JPEG (Joint Photographic Experts Group) Lossy (variable quality), millions of colors T.Sharon-A.Frank

GIF (Graphic Interchange Format) Most popular image format on Web. Good for condensing rows of pixels of identical color: logos, icons, line art, cartoons, etc. Compression is lossless since uses LZW algorithm which takes advantage of repetition in data streams. 8-bit indexed color – indexed means each pixel contains index to cell in color table. T.Sharon-A.Frank

More about GIF Interlacing: normal GIFs are displayed either 1 row of pixels at a time or all at once when entire image is downloaded. Interlaced GIFs displayed in 4 passes – every 4th line in each pass. GIF87a vs. GIF89a GIF89a allows animation and transparency. T.Sharon-A.Frank

JPEG (Joint Photographic Experts Group) Compression is lossy: based on spatial frequency. low frequency areas compressed more efficiently than high frequency areas. Good for photographic images (better than GIF compression anyway): how much compression depends on photo. e.g., detail-rich photo takes 85K as GIF but requires only 35K as JPEG. T.Sharon-A.Frank

More about JPEG Allows variable compression: Q setting between 1 and 100 (usually) varies among tools that create JPEGs lower number = lower image quality but better compression rates (smaller files) Q setting has no mathematical significance actual compression ratio depends on individual image. Lossy compression makes flat colors blotchy and pixilated. T.Sharon-A.Frank

PNG (Portable Network Format) Developed in early 1995 as non-proprietary alternative to GIF. Taking a while to catch on. Uses lossless compression: horizontal compression similar to GIF vertical compression using series of filters typically compresses 5-25% better than GIF. T.Sharon-A.Frank

More about PNG A good GIF substitute. Not a good JPEG substitute (lossless compression results in bigger files than JPEGs lossy compression). Supports 24 bit indexed color (and higher so could be a good TIFF substitute for detailed photos). Supports interlacing, transparency, and lots of other unique features. T.Sharon-A.Frank

Image Acquisition Capturing (as bitmaps) Synthesizing scanner digital camera Videotape/Analog camera + video card Synthesizing Drawing programs (Adobe Illustrator, Macromedia Freehand, Paint Shop Pro, MS Office, etc) Image-editing software (MS Paint, Adobe Photoshop, Photoshop Elements, ImageReady, GIMP, etc) T.Sharon-A.Frank

Image Presentation Computer Display PDA screens Printers T.Sharon-A.Frank

Memory Requirements Bitmapped – any picture of w x h pixels, using c bytes per pixel, occupies w x h x c bytes. Vector – space required depends on complexity of picture (how many shapes, segments of path, etc). Usually vector graphics memory requirements are smaller than those of bitmapped – when few vectors, more efficient than bitmaps. T.Sharon-A.Frank

Vector Graphics Size Typical screen – 500 elements. Say each element has: 1 attribute/color field – 8 bit 2 points containing: Bits per element: 2*(9+10)+8 = 46 bits Storage required per screen = 500*46/8 = 2,875 bytes Total: ~2.8KB x position – 10 bit (log2640) y position – 9 bit (log2480) T.Sharon-A.Frank

Color Raster Picture Size One screen: 640 * 480 = 307,200 pixels 256 colors – 1 byte per pixel = 307,200 bytes Total: ~300KB True color (16M colors) – 3 bytes per pixel = 307,200*3 = 921,600 bytes Total: ~900KB T.Sharon-A.Frank