Computer Vision – Enhancement(Part II) Hanyang University Jong-Il Park.

Slides:



Advertisements
Similar presentations
Lecture 2: Convolution and edge detection CS4670: Computer Vision Noah Snavely From Sandlot ScienceSandlot Science.
Advertisements

Spatial Filtering (Chapter 3)
Topic 6 - Image Filtering - I DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Image Processing Lecture 4
CS & CS Multimedia Processing Lecture 2. Intensity Transformation and Spatial Filtering Spring 2009.
Chapter 3 Image Enhancement in the Spatial Domain.
Lecture 6 Sharpening Filters
Image processing (spatial &frequency domain) Image processing (spatial &frequency domain) College of Science Computer Science Department
EE 4780 Image Enhancement. Bahadir K. Gunturk2 Image Enhancement The objective of image enhancement is to process an image so that the result is more.
Digital Image Processing
Digital image processing Chapter 6. Image enhancement IMAGE ENHANCEMENT Introduction Image enhancement algorithms & techniques Point-wise operations Contrast.
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
Chapter 3: Image Enhancement in the Spatial Domain
6/9/2015Digital Image Processing1. 2 Example Histogram.
2007Theo Schouten1 Enhancements Techniques for editing an image such that it is more suitable for a specific application than the original image. Spatial.
Digital Image Processing
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)
2-D, 2nd Order Derivatives for Image Enhancement
Linear filtering.
Lecture 2. Intensity Transformation and Spatial Filtering
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.
ECE 472/572 - Digital Image Processing Lecture 4 - Image Enhancement - Spatial Filter 09/06/11.
Chapter 3 (cont).  In this section several basic concepts are introduced underlying the use of spatial filters for image processing.  Mainly spatial.
Presentation Image Filters
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
Spatial Filtering: Basics
Chapter 5 Neighborhood Processing
Linear Filtering – Part I Selim Aksoy Department of Computer Engineering Bilkent University
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering Prof. Charlene Tsai.
Lecture 03 Area Based Image Processing Lecture 03 Area Based Image Processing Mata kuliah: T Computer Vision Tahun: 2010.
Introduction to Image Processing
Image Processing is replacing Original Pixels by new Pixels using a Transform rst uvw xyz Origin x y Image f (x, y) e processed = v *e + r *a + s *b +
Digital Image Processing CSC331 Image Enhancement 1.
Chapter 5: Neighborhood Processing
Linear filtering. Motivation: Noise reduction Given a camera and a still scene, how can you reduce noise? Take lots of images and average them! What’s.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
Spatial Filtering.
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 3 Intensity Transformations.
Image Subtraction Mask mode radiography h(x,y) is the mask.
Sharpening Filters To highlight fine detail or to enhance blurred detail. –smoothing ~ integration –sharpening ~ differentiation Categories of sharpening.
Intelligent Vision Systems ENT 496 Image Filtering and Enhancement Hema C.R. Lecture 4.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 15/16 – TP7 Spatial Filters Miguel Tavares Coimbra.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering March 9, 2004 Prof. Charlene Tsai.
Image enhancement Last update Heejune Ahn, SeoulTech.
EE 7730 Image Enhancement. Bahadir K. Gunturk2 Image Enhancement The objective of image enhancement is to process an image so that the result is more.
Linear filtering. Motivation: Image denoising How can we reduce noise in a photograph?
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
Digital Image Processing Lecture - 6 Autumn 2009.
Image Enhancement by Spatial Domain Filtering
Digital Image Processing Week V Thurdsak LEAUHATONG.
Digital Image Processing CSC331
Amity School of Engineering & Technology 1 Amity School of Engineering & Technology DIGITAL IMAGE PROCESSING & PATTERN RECOGNITION Credit Units: 4 Mukesh.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Image Enhancement in the Spatial Domain.
Image Subtraction Mask mode radiography h(x,y) is the mask.
Fundamentals of Spatial Filtering:
Digital Image Processing CSC331
Image enhancement algorithms & techniques Point-wise operations
ECE 692 – Advanced Topics in Computer Vision
Math 3360: Mathematical Imaging
CS-565 Computer Vision Nazar Khan Lecture 4.
Digital Image Processing
CIS 350 – 3 Image ENHANCEMENT SPATIAL DOMAIN
Image Enhancement in the Spatial Domain
Lecture 3 (2.5.07) Image Enhancement in Spatial Domain
Linear filtering.
Linear Operations Using Masks
Image Enhancement in the Spatial Domain
Presentation transcript:

Computer Vision – Enhancement(Part II) Hanyang University Jong-Il Park

Department of Computer Science and Engineering, Hanyang University Local Enhancement Global enhancement  The same operation for all pixels Local enhancement  Different operation for each pixel  According to the statistics of local support

Department of Computer Science and Engineering, Hanyang University Local Histogram Equalization Using a fixed window at each point Computationally expensive  Histogram equalization at each point

Department of Computer Science and Engineering, Hanyang University Use of statistics of local support Eg. m  E Enhanced image Original image

Department of Computer Science and Engineering, Hanyang University Spatial Operations Spatial averaging and spatial LPF for noise smoothing Input image * output Spatial mask ( 3  3, 5  5,  )

Department of Computer Science and Engineering, Hanyang University Spatial Mask

Department of Computer Science and Engineering, Hanyang University Spatial Averaging Mean-filtering  Noise reduction

Department of Computer Science and Engineering, Hanyang University Spatial Averaging Mask  Spatial averaging masks a(k,l)  Disadvantage : blurring

Department of Computer Science and Engineering, Hanyang University Effect of window size

Department of Computer Science and Engineering, Hanyang University Eg. Spatial Averaging(1)

Department of Computer Science and Engineering, Hanyang University Eg. Spatial Averaging(2) Original image Averaging 후의 image

Department of Computer Science and Engineering, Hanyang University Cf. Multi-image averaging

Department of Computer Science and Engineering, Hanyang University Spatial Operations - Filtering Parametric Low Pass Filter  but to preserve the mean

Department of Computer Science and Engineering, Hanyang University Spatial LPF, BPF, HPF Spatial averaging LPF + + (a) Spatial low-pass filter(b) Spatial high-pass filter (c) Spatial band-pass filter

Department of Computer Science and Engineering, Hanyang University Original image Lowpass Filter 된 후의 image Eg. Spatial LPF

Department of Computer Science and Engineering, Hanyang University Spatial High-Pass Filtering

Department of Computer Science and Engineering, Hanyang University Original image Highpass filtered image Eg. Spatial HPF

Department of Computer Science and Engineering, Hanyang University Original imageLowpass Filter(Short Term) =A Lowpass Filter(Long Term) =B Bandpass Filter 된 후의 Image =B-A Spatial Band-Pass Filtering

Department of Computer Science and Engineering, Hanyang University Denoising by LPF Noisy!Blurred! Trade-off?

Department of Computer Science and Engineering, Hanyang University Directional Smoothing  to protect the edges from blurring while smoothing  l k

Department of Computer Science and Engineering, Hanyang University Original imageLowpass Filter ( Long Term ) Direc. Smoothing ( 대각선 ) Direc. Smoothing ( 수 직 ) Eg. Directional Smoothing

Department of Computer Science and Engineering, Hanyang University Median Filtering Median Filter  Properties  nonlinear filter  Example

Department of Computer Science and Engineering, Hanyang University Eg. 1D Median Filtering

Department of Computer Science and Engineering, Hanyang University Discussion – Median filter 1) median filter preserve discontinuities in a step function 2) smooth a few pixels whose values differ significantly from the surrounding, without affecting the other pixels. 3) pulse function, whose width is less than one half the filter length, are suppressed

Department of Computer Science and Engineering, Hanyang University 2D Median Filtering Original Image Filtered Image Filter

Department of Computer Science and Engineering, Hanyang University Eg. Median Filtering Original 7x7 Median filtered image Salt-and-pepper noise(=impulsive noise)  Excellent performance!

Department of Computer Science and Engineering, Hanyang University Eg. Median Filter – Impulsive Noise

Department of Computer Science and Engineering, Hanyang University Eg. Median Filter – Impulsive Noise

Department of Computer Science and Engineering, Hanyang University Eg. Median Filter – Gaussian Noise Moderate performance

Department of Computer Science and Engineering, Hanyang University Various patterns for median filter Neighborhood patterns used for median filtering

Department of Computer Science and Engineering, Hanyang University Eg. Median filter – Square pattern Original image 10% black, 10% white Median filtering using 3 by 3 square region Median filtering using 5 by 5 square region

Department of Computer Science and Engineering, Hanyang University Eg. Median filter – Octagon pattern Original image 5 by 5 octagonal median filter

Department of Computer Science and Engineering, Hanyang University Eg. Median filter – Reconstruction Original image Median filtering and color compensation

Department of Computer Science and Engineering, Hanyang University Sharpening Images Emphasis of high-frequency components Usually exploiting 1st order derivative and 2 nd order derivatives 1D derivatives  1 st order derivative:  2 nd order derivative:

Department of Computer Science and Engineering, Hanyang University Eg. 1st & 2nd order derivatives

Department of Computer Science and Engineering, Hanyang University Observation on derivatives 2 nd order derivative  Thinner edges  Stronger response to fine details  Weaker response to a gray-level step  Double response at step changes  Intensity of response: point > line > step The 2 nd order derivative is better suited than the 1 st order derivative for image enhancement.

Department of Computer Science and Engineering, Hanyang University Laplacian Operator – Derivation The simplest isotropic derivative operator

Department of Computer Science and Engineering, Hanyang University Laplacian Operator

Department of Computer Science and Engineering, Hanyang University Sharpening by Laplacian operator

Department of Computer Science and Engineering, Hanyang University Eg. Sharpening Original SEM image Laplacian operator Subtraction of the Laplacian from the original Original image Laplacian operator Subtraction of the Laplacian from the original

Department of Computer Science and Engineering, Hanyang University Composite Laplacian mask

Department of Computer Science and Engineering, Hanyang University Signal Low-pass High-pass (1) (2) (3) (1)+ (3) Unsharp masking and Crispening

Department of Computer Science and Engineering, Hanyang University Unsharp mask application Original image Processed image

Department of Computer Science and Engineering, Hanyang University High-boost filtering Let g(n 1, n 2 ) = u(n 1, n 2 ) - u L (n 1, n 2 ) v(n 1, n 2 ) = u(n 1, n 2 ) + k g(n 1, n 2 ) k=1: Unsharp Masking  Crispening an image k>1: High-boost filtering  edge or line details to be emphasized

Department of Computer Science and Engineering, Hanyang University Eg. High-boost filtering

Department of Computer Science and Engineering, Hanyang University Zoom(1:2 magnification) revisited Nearest neighbor=Replication = zero - order hold column, row zero-padding

Department of Computer Science and Engineering, Hanyang University Zoom revisited(cont.) Linear Interpolation : first - order hold