Chapter 3 Capturing and Editing Digital Images 1.

Slides:



Advertisements
Similar presentations
Intro to Photoshop. Understand image resolution and size Open and Edit an image Camera Raw Adjust Tonal Range of an image Straighten and Crop an image.
Advertisements

Chapter 6 Raster Editing
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.
1 USING FIREWORKS Cropping an Image Obtaining Information Changing Image Size Rotating an Image Adjusting the Color of an Image Drawing Tools Using the.
Chapter 3 Capturing and Editing Digital Images “Computers and Creativity” Richard D. Webster, COSC 109 Instructor Office: 7800 York Road, Room 422 | Phone:
Chapter 5 Photoshop and ImageReady: Part I The Web Warrior Guide to Web Design Technologies.
Multimedia for the Web: Creating Digital Excitement Multimedia Element -- Graphics.
DECO1001: Optimising for the Web Format Colour File Size.
ETT 429 Spring 2007 Digital Photography/Scanners.
2.01 Understand Digital Raster Graphics
Vector vs. Bitmap SciVis V
The University of Adelaide Picture Perfect: Image Formats and Resolution Peter Murdoch March 2014 PREPARING GOOD LOOKING DOCUMENTS.
Photoshop: Designing Graphics for the Web Christine Vucinich & Vicki Weidler ITS Training Services 224 B Computer Building University Park, PA 16802
V Obtained from a summer workshop in Guildford County July, 2014
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.
Task 2 Create Your Competition Entry Guidance Notes.
Prepared by George Holt Digital Photography BITMAP GRAPHIC ESSENTIALS.
Raster/Paint Software
Vector vs. Bitmap
Bitmap Vs. Vector Graphics. To create effective artwork, you need to understand some basic concepts about vector graphics versus bitmap images, resolution,
8 Using Web Graphics Section 8.1 Identify types of graphics Identify and compare graphic formats Describe compression schemes Section 8.2 Identify image.
Presented By Nicole Stegall. Photoshop Uses Enhance and retouch digital photos Create Paintings Add Special Effects to Film Stills Create Web-Ready Graphics.
Photoshop I I450 Technology Seminar. Adobe Photoshop Illustrator Acrobat InDesign ImageReady.
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.
Section 8.1 Create a custom theme Design a color scheme Use shared borders Section 8.2 Identify types of graphics Identify and compare graphic formats.
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.
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.
Adobe photoshop digital image making. the basics Adobe PhotoShop is an image-editing program that lets you create and edit digital images. ◦PhotoShop.
Raster Graphics 2.01 Investigate graphic image design.
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.
Information Technology Images: Types, Resolution and Techniques.
Introduction to Images & Graphics JMA260. Objectives Images introduction Photoshop.
In the Know … Technological Vocabulary. Beginning Terms 1. Aperture – the mechanical opening in the lens that lets light in. 2. ASA / ISO – rating given.
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.
Chapter 3 1 Introduction to Computer Graphics Photoshop: An Overview.
Guilford County SciVis V104.03
13 June – Session : Graphics Different types of Graphics for the web Features of image editing software Good practice for image editing.
ITEC2110, Digital Media Chapter 3 Digital Image Processing 1 GGC -- ITEC Digital Media.
ITEC2110, Digital Media Chapter 3 Digital Image Processing 1 GGC -- ITEC Digital Media.
ITEC2110, Digital Media Chapter 3 Digital Image Processing 1 GGC -- ITEC Digital Media.
ITEC2110, Digital Media Chapter 3 Digital Image Processing 1 GGC -- ITEC Digital Media.
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.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
BITMAPPED IMAGES & VECTOR DRAWN GRAPHICS
Section 8.1 Section 8.2 Create a custom theme Design a color scheme
Chapter 6 Raster Editing
2.01 Understand Digital Raster Graphics
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Vector vs. Bitmap.
Digital Photo editing with Photoshop
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Image File Size and File Compression
Digital Images.
Chapter 3 Capturing and Editing Digital Images
Chapter 6 Raster Editing
Chapter 6 Raster Editing
Web Programming– UFCFB Lecture 7
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Presentation transcript:

Chapter 3 Capturing and Editing Digital Images 1

Scanners for Capturing Types ◦ Flatbed scanner : most commonly used, motorized scan head ◦ Sheet-fed scanner : portable, fixed scan head ◦ Handheld scanner: portable, depending on user’s hand movement ◦ Drum scanner : high resolutions in publishing industry, scanning large documents (blueprints) 2

How Scanners Work A flatbed scanner has a moving scan head. A scan head contains an array (or a row) of light sensors. The scan head moves across the scanner bed during scanning. Its movement is controlled by a stepper motor. 3

Dot Each sensor (dot) will produce a sample (color value) corresponding to a position of the picture being scanned. Each sample (color value) results in a pixel in the scanned image. Generally speaking, a dot (sensor) produces a sample (pixel). But a dot is not a pixel. Scanning resolution, measured in dpi (dots per inch) 4

Scanner Sensor A scan head only have one row of sensor. So how can it produce color values for a whole picture? ◦ Get a row of color values ◦ Move the scan head forward a little bit ◦ Get another row of color values ◦ Move the scan head forward a little bit 5

Sampling Recall sampling and sampling rate in the sampling step in digitization. Sampling rate in the x-direction of a picture: The number of sensors available in the row Sampling rate in the y-direction of a picture: The discrete stepwise movement of the scan head 6

Determining Scanning Resolution How the scanned image will be used: Print ◦ physical dimensions of the image ◦ requirement of the printing device (e.g. printing resolution) Web or on-screen display ◦ pixel dimensions of the image 7

Digital Cameras point-and-shoot cameras (autofocusing) D-SLR (digital single-lens reflex) ◦ Most D-SLR cameras use interchangeable-lenses Digital camera sensors ◦ Photon  Electron  Voltage-Analog-to-Digital Conversion ◦ Types  CCD (charge coupled device)  CMOS (complementary metal-oxide semiconductor) ◦ The size of the sensor and the number of light- sensing sites determine the maximum resolution of the digital camera. 8

Megapixels Example 1 megapixel = 1,000,000 pixels An image of 3000  2000 pixels has a total number of pixels of: 3000  2000 pixels = 6,000,000 pixels = 6,000,000 pixels/1,000,000 pixels/megapixel = 6 megapixels An approximate number of total pixels in an image Does not provide information about the aspect ratio (i.e., relative width and height) of the image 9

Does a digital camera with more megapixels mean better image quality? No Digital photo quality is determined by: ◦ the optics of the lens ◦ the size and quality of the sensor ◦ the camera electronics ◦ the camera’s image processing software 10

Does a digital camera with a higher megapixel rating give bigger prints? The print size depends on the printing resolution. Let's return to our megapixel examples: ◦ 6-megapixel image: 3000  2000 pixels ◦ 2-megapixel image: 1600  1200 pixels 11

Print Sizes of a 6-megapixel Image Printed at 150 ppi: 3000 pixels / 150 ppi = 20" 2000 pixels / 150 ppi = 13.3" Printed at 300 ppi: 3000 pixels / 300 ppi = 10" 2000 pixels / 300 ppi = 6.7" Printed at 600 ppi: 3000 pixels / 600 ppi = 5" 2000 pixels / 600 ppi = 3.3" 12

Print Sizes of a 2-megapixel Image Printed at 150 ppi: 1600 pixels / 150 ppi = 10.7" 1200 pixels / 150 ppi = 8" Printed at 300 ppi: 1600 pixels / 300 ppi = 5.3" 1200 pixels / 300 ppi = 4" Printed at 600 ppi: 1600 pixels / 600 ppi = 2.7" 1200 pixels / 600 ppi = 2" 13

Does a digital camera with a higher megapixel rating give bigger prints? As you see in the examples: With the same printing resolution, yes, images with more megapixels give bigger prints. With different printing resolutions, the 2- megapixel image (printed at 150 ppi) gives a bigger print than the 6-megapixel image (printed at 300 ppi). 14

Basic Steps of Digital Image Retouching 1. Crop and straighten the image 2. Repair small imperfections 3. Adjust the overall contrast or tonal range of the image 4. Remove color casts 5. Fine-tune specific parts of the image 6. Sharpen the image 15

Step 1. Crop and Straighten Why? The image may be tilted. You may only want part of the image. Photoshop Tool: Crop tool 16

Step 2. Repair Small Imperfections Why? Scanned images: dirt and dust Photoshop Tools: Clone Stamp Healing Brush 17

Step 3. Adjust overall contrast or tonal range of the image Why? To maximize the tonal range of the image to improve contrast Photoshop Tools: Image > Adjustment > Levels... Image > Adjustment > Curves... Image > Auto Tone Image > Auto Contrast 18

Step 4. Removing Color Casts Why? The image may contain color casts, i.e. appear tinted. Photoshop Tools: Image > Adjustments > Color Balance... Image > Adjustments > Auto Color 19

Color Balance Example 20 An image with a purple tint Color Balance dialog box

Step 5. Fine-tune specific parts of the image Why? There may be small distractions, such as power lines, small airplanes in the sky, a zit on the face. Photoshop Tools: Clone Stamp tool 21

Example Application of Dodge and Burn Tool 22 The image before fine-tuning with dodge and burn The image after fine-tuning with dodge and burn Bringing out highlights and shadows

Example Application of Clone Stamp Tool 23 The image before fine-tuning with the clone stamp tool The image after fine-tuning the clone stamp tool The paint on the drum is restored using the clone stamp tool.

Step 6. Sharpen the image Why? Scanned images usually look a little soft-focused. Scaling an image also can make the image soft- focused. Even if your image is a straight digital photograph from a digital camera, it is a good idea to experiment with sharpening to see if it improves the image’s overall clarity. Photoshop Tools: Filter > Sharpen > Unsharpen Mask... 24

Using Unsharp Mask 25

Don't Over-sharpen! 26

Selection Tools in Image Editing Crucial in image editing Let you apply image effect (such as tonal or color changes) on the selected area Let you move the selected area The nonselected area is protected from the alteration 27

Categories of Selection Tools in terms of the way they are designed to work Predefined shapes Lasso By color By painting with a brush By drawing an outline around the area 28

Predefined Shapes 29 Marquee tools

Lasso 30 Lasso tools

By Color: Magic Wand 31 Magic Wand

By Color: Color Range Select > Color Range... 32

By Painting with a Brush 33 Edit in Quick Mask Mode

By Drawing an Outline 34 Pen tool

Layer Basics Stacking order of layers Reordering layers Opacity Blending mode Create new layer Delete layer Rename layer 35

Layer: Beyond Basics Layer style (e.g. drop shadow, bevel effects) Adjustment layers Layer mask Clipping mask 36

Clipping Mask Example 37

Printing the Final Image The size of a digital image is described in terms of pixel dimensions. The physical print size (in inches) of an image depends on its pixel dimensions and the print resolution (in pixels per inch or ppi) The same image can be printed at different physical sizes using different ppi settings. 38 Pixel Dimension (in pixels) Print Dimension (in inches) = Print Resolution (ppi)

Resample Image With the Resample Image option on, the pixel dimensions can be varied. Scaling the pixel dimensions of an image is referred to as resampling because the number of samples (pixels) is changed. 39

Adjust Output Resolution or Print Size in Photoshop: Image > Image Size Scenario 1: Fixed Print Size (Maintaining the Physical Print Dimensions) If you change the Resolution, the Pixel Dimensions will be updated automatically while keeping the print size fixed. 600 pixels = 6 inches 100 ppi 1,200 pixels = 6 inches 200 ppi 1,800 pixels = 6 inches 300 ppi Resolution Pixel Dimension Print Size

Adjust Output Resolution or Print Size in Photoshop: Image > Image Size Scenario 2: Fixed pixel dimensions (Maintaining the Pixel Dimensions) You cannot change the pixel dimensions 600 pixels = 6 inches 100 ppi 600 pixels = 3 inches 200 ppi 600 pixels = 2 inches 300 ppi Resolution Pixel Dimension Print Size

Adjust Output Resolution or Print Size in Photoshop: Image > Image Size Scenario 3: Fixed Print Resolution (Maintaining the Print Resolution, ppi) If you change the Pixel Dimensions or Document Size, the other will be updated automatically while keeping the Resolution fixed. 600 pixels = 6 inches 100 ppi 1,200 pixels = 12 inches 100 ppi 1,800 pixels = 18 inches 100 ppi Resolution Pixel Dimension Print Size

Common File Formats for Web Images JPEG GIF PNG 43

JPEG best with: ◦ continuous-tone images with a broad color range ◦ subtle color and brightness variations e.g., photographs and images with gradients. JPEG supports 24-bit color (millions of colors) JPEG compression: lossy (it loses image data in order to make the file size smaller) 44

JPEG Does not work well with: – solid colors – contrast image – contrast edges Highly compressed JPEG images: – blur the image detail – show a visible artifact around the high contrast edges 45

JPEG Compression Artifacts 46 OriginalHighly compressed JPEG Note the ugly artifacts at the intersection between 2 colors. The solid colors are not solid colors anymore.

GIF most effective for images with solid colors such as illustrations, logos, and line art Up to 8-bit color (256 colors) Supports background transparency Animated GIF 47

Color Reduction GIF uses a palette of up to 256 colors to represent the image Need to reduce the colors if the original image has more than 256 colors Advantage: Smaller file size after reducing number of colors (i.e., reducing bit-depth or color- depth) 48

Example: Original TIF (file size: 406 KB) 49

Example: GIF 256 colors, no dither (file size: 28 KB) 50

Example: GIF 256 colors, no dithering (file size: 28 KB) 51 Note the stripes in the gradient areas. This is due to not enough colors.

Color Reduction Undesirable effects ◦ stripes in smooth gradient areas ◦ some colors are altered (remapped to a different colors on the palette) Use dithering to reduce the undesirable effects ◦ A technique to simulate colors that are outside of the palette by using a pattern of like colored pixels. 52

Example: GIF 256 colors, with dithering (file size: 34 KB) 53 The stripes in the gradient areas are less noticeable.

Without and With Dithering 54 Reduce the stripes effect Smooth out the color transition

Without and With Dithering 55 Some colors are not solid anymore, but with dithering

PNG PNG-8 ◦ up to 256 colors (8-bit) PNG-24 ◦ 24-bit colors ◦ lossless compression ◦ larger file size than JPEG but without the ugly JPEG compression artifacts 56

8-bit vs. 24-bit Color Depth Please estimate the number of available colors with 8-bit color depth image and 24-bit color depth image. 57 Review

Comparison between bitmapped graphics and vector graphics 58 Review

Comparison between gif format versus jpg format images 59 Review

Estimation Please estimate the file size of an original graphic image with 4,000 x 3,000 resolution represented with 24-bit depth RGB color model. 60 Review

Estimation Please estimate the file size (in Byte) of an original graphic image with 4,000 x 3,000 resolution represented with 24-bit depth RGB color model. File size = 4,000 x 3,000 (pixel) x 24 (bit/pixel) = 288,000,000 (bit) ≈ 36 MB 61 Review