Lecture # 19 Image Processing II. 2 Classes of Digital Filters Global filters transform each pixel uniformly according to the function regardless of.

Slides:



Advertisements
Similar presentations
Watercolor Effect in Photoshop Tutorial. Go to the File, click the Open tab and set your canvas of 1920 X 1200 pixels, in RGB mode.
Advertisements

CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 4 – Digital Image Representation Klara Nahrstedt Spring 2009.
Advanced Imaging Techniques Lumberton High Sci Vis II V
V Material obtained from a July, 2014 summer workshop in Guildford County.
Chapter 4 Making Selections. Chapter Lessons Make a selection using shapes Modify a marquee Select using color and modify a selection Add a vignette effect.
Welcome To Photoshop CS5 S.K. Sublania, Sr. Technical Officer, Division of Computer Applications, Indian Agricultural Statistics Research Institute, New.
Image Processing. Processing Digital Images digital images are often processed using “digital filters” digital filters are based on mathematical functions.
1Ellen L. Walker ImageJ Java image processing tool from NIH Reads / writes a large variety of images Many image processing operations.
Image Filtering CS485/685 Computer Vision Prof. George Bebis.
1 Image filtering Hybrid Images, Oliva et al.,
Processing Digital Images. Filtering Analysis –Recognition Transmission.
MSU CSE 803 Stockman Linear Operations Using Masks Masks are patterns used to define the weights used in averaging the neighbors of a pixel to compute.
1 Vladimir Botchko Lecture 4. Image Enhancement Lappeenranta University of Technology (Finland)
1 Image Filtering Readings: Ch 5: 5.4, 5.5, 5.6,5.7.3, 5.8 (This lecture does not follow the book.) Images by Pawan SinhaPawan Sinha formal terminology.
Image Enhancement.
Adobe Photoshop CS Design Professional SELECTIONS MAKING.
1 Image filtering Images by Pawan SinhaPawan Sinha.
Image Analysis Preprocessing Arithmetic and Logic Operations Spatial Filters Image Quantization.
Digital Media 11 – Photoshop SELECTIONS MAKING. Chapter C Getting Started with PhotoShop 7.02 Make a selection using shapes Make a selection using shapes.
MSU CSE 803 Linear Operations Using Masks Masks are patterns used to define the weights used in averaging the neighbors of a pixel to compute some result.
1 Introduction to Photoshop Or Why Paint is “yesterday’s news…”
ECE 472/572 - Digital Image Processing Lecture 4 - Image Enhancement - Spatial Filter 09/06/11.
CS 376b Introduction to Computer Vision 02 / 26 / 2008 Instructor: Michael Eckmann.
CSC/FAR 020, Computer Graphics, October 23, 2013 Dr. Dale E. Parson Week 7 More filters, compositional effects.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
Media Arts – Review Day 2 Photoshop Tools and Functions.
Filtering and Enhancing Images. Major operations 1. Matching an image neighborhood with a pattern or mask 2. Convolution (FIR filtering)
AdeptSight Image Processing Tools Lee Haney January 21, 2010.
MULTIMEDIA TECHNOLOGY SMM 3001 MEDIA - IMAGES. Processing digital Images digital images are often processed using “digital filters” digital images are.
Image processing Fourth lecture Image Restoration Image Restoration: Image restoration methods are used to improve the appearance of an image.
© 2011 Delmar, Cengage Learning Chapter 4 Making Selections.
Chapter 3 Making Selections. Chapter Lessons Make a selection using shapes Modify a marquee Select using color and modify a selection Add a vignette effect.
Image Processing Part II. 2 Classes of Digital Filters global filters transform each pixel uniformly according to the function regardless of its location.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
11/29/ Image Processing. 11/29/ Systems and Software Image file formats Image processing applications.
Magnify an image to see pixels Toolbox Document Tab Zoom Level Status Bar Document Window Panels Options Bar Menu Bar.
Image Manipulation CSC361/661 – Digital Media Spring 2002 Burg/Wong.
Intelligent Vision Systems ENT 496 Image Filtering and Enhancement Hema C.R. Lecture 4.
Sejong Univ. CH3. Area Processes Convolutions Blurring Sharpening Averaging vs. Median Filtering.
Homework 2 (Due: 3/26) A. Given a grayscale image I,
WORKING WITH SELECTIONS MASKS and CHANNELS 3D IMAGES LAYER BASICS PHOTO.
Digital Image Processing Part 3 Spatial Domain Processing.
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
Introduction to photoshop Photo Editing From Your Desktop.
Photoshop tools Move tool Moves selected area Selection tools + shift = add to existing selection + alt = remove from existing selection Square / ellipse.
Lecture 1: Images and image filtering CS4670/5670: Intro to Computer Vision Noah Snavely Hybrid Images, Oliva et al.,
Advanced Imaging Techniques V Guilford County Sci Vis.
ITEC2110, Digital Media Chapter 3 Digital Image Processing 1 GGC -- ITEC Digital Media.
Image enhancement algorithms & techniques Point-wise operations
Photoshop Selection Tools
ECE 692 – Advanced Topics in Computer Vision
Introduction to Computer and Human Vision
Discussion #29 – Images II
Histogram Histogram is a graph that shows frequency of anything. Histograms usually have bars that represent frequency of occuring of data. Histogram has.
Chapter 8, Exploring the Digital Domain
Graphic Editing Terms Cropping
Image filtering Images by Pawan Sinha.
Lecture 3 (2.5.07) Image Enhancement in Spatial Domain
CS654: Digital Image Analysis
Image filtering Images by Pawan Sinha.
Image filtering Images by Pawan Sinha.
Linear filtering.
Digital Image Processing
Technique 6: General gray-level transformations
Image filtering Images by Pawan Sinha.
Image filtering
Technique 6: General gray-level transformations
Lecture 2: Image filtering
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
CSC/FAR 020, Computer Graphics, October 15, 2014
Presentation transcript:

Lecture # 19 Image Processing II

2 Classes of Digital Filters Global filters transform each pixel uniformly according to the function regardless of its location in the image Local filters transform a pixel depending upon its relation to surrounding ones

Global Filters: REVIEW Brightness and Contrast control Histogram thresholding Histogram stretching or equalization Color corrections Inversions

Local Filters  Blurring Sharpening Unsharp Masking Edge and line detection Noise filters

Blurring Algorithm For (every pixel in column x) {For (every pixel in row y of column x) { average image[x,y] with it ’ s neighbors; }

Blurring Average each pixel with its neighbors by : multiplying each pixel and its neighbors by 1: = - add multiplied pixels and divide by 9 - store result in a new array The new array contains a blurred image

Gaussian Blur Multiply neighbors by less than middle

Blur Demo Photoshop –Filter->Blur->Blur –Filter->Blur->Gaussian Blur

Local Filters Blurring  Sharpening  Unsharp Masking Edge and line detection Noise filters

Subtract neighboring pixels by : multiplying each pixel and its neighbors by: = - add multiplied pixels - store result in a new array The new array contains a sharpened image. Sharpening

Unsharp Masking Unsharp masking also sharpens an image The Algorithm: 1. call the original (unblurred) image A 2. blur the image (call it B) 3. subtract B from the unblurred image (let C = A-B) 4. Multiply C by some number, k (k > 1) 5. Sharpened Image = A + kC

Sharpen/Unsharp mask Photoshop –Filter->Sharpen->Sharpen –Filter->Sharpen->Unsharp mask

Local Filters Blurring Sharpening Unsharp Masking  Edge and line detection Noise filters

Edge and Line Detection Multiply each pixel and its neighbors by the following corresponding patterns (numbers) - add results - clip to result = “ Edge ” image Gets Gets Vertical Edges Horizontal Edges

Edge Detection edge detection is often used to recognized objects of interest in the image

Edge Detection Photoshop –Filter->Stylize->Find Edges

Local Filters Blurring Sharpening Unsharp Masking Edge and line detection  Noise filters

Noise Filters A median filter takes away “ salt & pepper ” noise (speckles)

Noise Filter Photoshop –Filter->Noise->Median Filter

Kernel Filtering Blur Sharpen Edges Apply same algorithm at every pixel using different kernel values

Image Editing

 Selection Tools Painting Tools Cut & Paste Cloning Layers and Blending

Selection Tools Lasso Tool - manually draw outline (free hand) - manually outline (line segments) - magnetic lasso (semi-automated) Magic Wand DEMOS Tool Bar

Image Editing Selection Tools  Painting Tools Cut & Paste Cloning Layers and Blending

Painting Tools Airbrush Tool Paint Bucket Tool Paintbrush Tool Pencil Tool DEMOS

Image Editing Selection Tools Painting Tools  Cut & Paste Cloning Layers and Blending

Cut & Paste Word Processors - cut & paste strings of characters (1D arrays) Image Editing - cut & paste pixels (2D arrays) - replace old pixels with new pixels

Image Editing Selection Tools Painting Tools Cut & Paste  Cloning Layers and Blending

Cloning Copy pixels from one part of an image - to another part of an image... Interactively DEMO

Image Editing Selection Tools Painting Tools Cut & Paste Cloning  Layers and Blending

Can create arbitrary number of layers for - animation - special effects in movies - morphing Layers and Blending Layer 1 Layer 2 Layer n

The idea: Blended image =.3 x +.7 x is a weighted combination (sum) of two or more other images. Blending

Example Blend.3 x+.7 x = Bearastronaut

The idea: Create another image where the value of pixels is the weighting term for a blend operation: Masking

Summary Digital Images and pixels Digitize a picture by –Sampling –Quantization Color Models –RGB, CMYK, and HSB Storage Formats –.gif,.jpg,.png,.bmp

Summary Global Filters –Contrast & Brightness Control –Thresholding –Histogram stretching & equalization –Color corrections –Inversion

Summary Local filters –Blurring –Sharpening –Unsharp Masking –Edge and line detection –Noise filters

Summary Image Editing –Selection Tools –Painting Tools –Cut & Paste –Cloning –Layers and Blending