Images. Digital Images Rectangular arrays of pixel data Pixel - picture element, smallest addressable part of the frame buffer. Color depth - the depth.

Slides:



Advertisements
Similar presentations
Raster Graphics 2.01 Investigate graphic image design.
Advertisements

Image Processing … computing with and about data, … where "data" includes the values and relative locations of the colors that make up an image.
Web Design Vocab 3 PNG, JPG, GIF, MP3, MPEG.
L.Ghadah R. Hadba CT1514-L1.  Computer Graphics :refers to processing of creating a new image from Geometry, Lighting parameters, Materials and Textures.Using.
Raster graphics. Colour depth 01 1 bit pr pixel = 2 combinations (2 1 ): 2 bits pr pixel = 4 combinations (2 2 ): bits pr pixel = 16 combinations(2.
ISYS 3074 Graphics File Formats File formats have developed with applications. At least 50 currently in use. Examples include: GIF, JPEG, TIFF, BMP, DIB,
Images.
Graphics in the web Digital Media: Communication and Design
Introduction to Computer Graphics
Image and Sound Editing Raed S. Rasheed Image Image. Digital image. – Raster images. – Vector Images. – Stereo Images. – Image File Formats Lossless.
File Types, Sizes & Dots Per Inch (dpi) Best practices applied to Photoshop file formats when creating media-specific documents. Bit Depth is the number.
Russell Taylor Week 3. Image File Formats - TIF, JPG, PNG, GIF - which to use? The three most common and important image file formats for for printing,
Zinnia Bell. RAWimages are image files that have not yet processed, they contain minimally processed data from the image sensor of either a image scanner,
WEB GRAPHICS. The Pixel Computer displays are comprised of rows and columns of pixels. Pixels are indivisible. Some common screen resolutions are:, 600.
Chpater 3 Resolution, File Formats and Storage. Introduction There are two factors that determine the quality of the picture you take; The resolution.
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.
Faculty of Sciences and Social Sciences HOPE Website Development Graphics Stewart Blakeway FML 213
Task 01 – Explain how different types of graphical images relate to file formats, file conversions, formats and compression. Emily Riley.
File Formats COM 366 Web Design & Layout. Native file format –Format native to software program –.psd > PhotoShop default Preserves layers –Use “Save.
Web Graphics Image File Formats Image optimization Accessibility issues Using images and colors on the web.
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.
THE COLORS OF LIGHT RED, GREEN and BLUE
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.
Bit-Mapped Graphic Data: Input (Capture) Hardware Multimedia – Section 2.
Understanding Images on the Computer How do images work and why?
Web Image Basics Comp 140 December 2. Vector Graphics Can be repositioned or resized – Will not diminish output quality Typically stored in AI, EPS, PICT.
Common file formats  Lesson Objective: Understanding common file formats and their differences.  Learning Outcome:  Describe the type of files which.
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.
Digital Darkroom I Theresa L. Ford. Objectives Basic Digital Image Terminology Screen Display of Pictures –Why are pictures too big for the screen? –Why.
Image formats. Basic terminologies… Pixels: Pixels are the building blocks of every digital image. a pixel is a single point in a graphic image. Resolutions:
Raster Graphics. An image is considered to be made up of small picture elements (pixels). Constructing a raster image requires setting the color of each.
Computer Images Can store color info about each pixel, but makes file BIG Compression for Web 15.
Graphics workshop Library and Information Services University of St Andrews.
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
Types of Graphics  Vector Individual scalable objects defined by mathematical equations  Bitmap Pixels (tiny, single-colored square) in a grid Most.
Bitmap Graphics. Bitmap Basics Bitmap Graphic Bitmap Graphic Paint Software Paint Software.
Graphics on the Web How much do you want to know?? Terry Griffin.
Graphics & Images What File Format Do I Use?. Graphics & Images …..are visual images presented on some form of media (drawings, print, web, digital video)
Color and Images. Color The natural colors we see and the colors we see on computer monitors are different. CMYK -natural RGB -monitor.
Raster Graphics 2.01 Investigate graphic image design.
Graphics Concepts Presentation
Digital Image Editing Presented by John Hohn. File Formats JPEG – Joint Photographic Experts Group PNP – Portable Network Graphics GIF – Graphic Interchange.
Introduction to Images & Graphics JMA260. Objectives Images introduction Photoshop.
Digital File Formats By Ali Aslam. JPEG JPEG Stands for Joint Photographic Experts Group. JPEG uses a lossy compression routine. Lossy compression means.
Digital Graphics for Computer Games Pixels Types of Digital Graphics (Raster and Vector) Compression.
Lesson 2: Introduction to Digital Imaging Digital Photography MITSAA IAP 2003 Rob Zehner.
HTTP transaction with Graphics HTML file + two graphics files.
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.
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
DIGITAL MEDIA FOUNDATIONS
David Meredith Aalborg University
Sampling, Quantization, Color Models & Indexed Color
Introduction to raster graphics
Image Formats.
Web Development A Visual-Spatial Approach
2.01 Investigate graphic image design.
Raster Images CPSC 1030.
2D Drawing Basics 1.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Digital Images.
Image File Size and File Compression
1.01 Investigate graphic types and file formats.
Web Design and Development
2.01 Investigate graphic image design.
Graphic File Format Skill Area
Basic Concepts of Digital Imaging
2.01 Investigate graphic image design.
2.01 Investigate graphic image design.
Presentation transcript:

Images

Digital Images Rectangular arrays of pixel data Pixel - picture element, smallest addressable part of the frame buffer. Color depth - the depth of each pixel in the frame buffer in terms of bits. – 8 bits : 256 unique colors – 24 bits : unique colors, typically used for RGB where each primary color (red, green and blue) has 256 possible values. – 32 bits : used for RGBA where there are 8 bits for each red, green, blue and alpha.

Image Size A raw image or an uncompressed image can be huge. Why? Let’s do the math! – An image that is 1280x1024 pixels -- not big -- contains 1,310,720 pixels. – Let’s assume each pixel has a color depth of 32 bits or 4 bytes pixels wide x 1024 pixels high = 1,310,702 pixels/image * 4 bytes/pixel = 5,242,808 bytes/image

Once More To print well, a image’s resolution (the number of pixels) should be at least 300 pixels per inch. Let’s say we want a 10x12in print. What should our resolution be? 3000 pixels wide x 3600 pixels high

And What Size Would the Image Be? Assume that our image is 3000 pixels wide x 3600 pixels high And it has color depth of 32. If the image is uncompressed what size in bytes will it be? 43,200,000 bytes / image

Compression Images are compressed to reduce their file sizes. – Compression schemes which lose image data are classified as “Lossy” GIF when more than 256 colors JPEG in all cases – Compression schemes which preserve all image data are classified as “Lossless” GIF when fewer than 256 colors PNG in all cases

File Formats Processing supports – JPEG – PNG – GIF

JPEG File Format Joint Photographic Expert Group Lossy 24 bit color depth Excellent Compression - although uneven compression because the image is compressed in small square sub-images.

GIF File Format Graphics Interchange Format Lossy if more than 256 colors 1 bit transparency Palette based – a palette contains 256 or fewer colors – Color depth of 8 – one (and only one) color in the palette may be designated as transparent

PNG File Format Portable Network Graphics Informally P NG is Not G IF Lossless 64 bit (or fewer) color depth 3 Possible Structures – True color (RGBA) – Grayscale – Palette Based (like GIF)

Using Images in Processing In processing, add the image (with the extension set correctly) by selecting – SKETCH > ADD FILE Or you can create a folder named data and place it inside of the current sketch folder.

Images in Processing PImage img; size(400,400); background(255); img = loadImage(“cartoonFace.gif"); image(img,0,0);

Scaling the Image PImage img; size(400,400); background(255); img = loadImage("cartoonFace.gif"); image(img,width/3,height/3,100,100);

Tinting tint (gray) tint(gray, alpha) tint(value1, value2, value3) tint(value1, value2, value3, alpha) tint(color)

Images in Processing PImage img; size(400,400); background(255); img = loadImage("cartoonFace.gif"); tint(255,0,0); image(img,width/3,height/3,100,100);

Something More Exciting PImage img; void setup() { size(400,400); background(255); img = loadImage("cartoonFace.gif"); } void draw() { tint(random(255), random(255), random(255), 50); image(img, random(350), random(350), 100, 100); }

In-class Lab Find two or more images on the Internet. Create a collage of the images. Show me you can use tint().