CHAPTER 7 Template Filters IMAGE ANALYSIS A. Dermanis.

Slides:



Advertisements
Similar presentations
Spatial Filtering (Chapter 3)
Advertisements

Image Filtering. Outline Outline Concept of image filter  Focus on spatial image filter Various types of image filter  Smoothing, noise reductions 
Image Pre-Processing Image pre-processing (předzpracování obrazu) –transformations of the input image leading to noise reduction, image improvement or.
Frequency Domain Filtering (Chapter 4)
Image processing (spatial &frequency domain) Image processing (spatial &frequency domain) College of Science Computer Science Department
© by Yu Hen Hu 1 ECE533 Digital Image Processing Image Enhancement in Frequency Domain.
Histogram Manipulation
Digital Image Processing
Digtial Image Processing, Spring ECES 682 Digital Image Processing Oleh Tretiak ECE Department Drexel University.
Reminder Fourier Basis: t  [0,1] nZnZ Fourier Series: Fourier Coefficient:
Chapter 4 Image Enhancement in the Frequency Domain.
CHAPTER 4 Image Enhancement in Frequency Domain
MSU CSE 803 Stockman Fall 2009 Vectors [and more on masks] Vector space theory applies directly to several image processing/representation problems.
2-D, 2nd Order Derivatives for Image Enhancement
Chapter 4 Image Enhancement in the Frequency Domain.
Transforms: Basis to Basis Normal Basis Hadamard Basis Basis functions Method to find coefficients (“Transform”) Inverse Transform.
Chapter 3 Image Enhancement in the Spatial Domain.
CHAPTER 8 Fourier Filters IMAGE ANALYSIS A. Dermanis.
Linear Algebra and Image Processing
Chapter 3 (cont).  In this section several basic concepts are introduced underlying the use of spatial filters for image processing.  Mainly spatial.
Radiometric Correction and Image Enhancement
Digital Signals and Systems
 Image Enhancement in Spatial Domain.  Spatial domain process on images can be described as g(x, y) = T[f(x, y)] ◦ where f(x,y) is the input image,
Presentation Image Filters
Spatial-based Enhancements Lecture 3 prepared by R. Lathrop 10/99 updated 10/03 ERDAS Field Guide 6th Ed. Ch 5: ;
Computer Vision – Enhancement(Part II) Hanyang University Jong-Il Park.
Digital Image Processing Chapter # 4 Image Enhancement in Frequency Domain Digital Image Processing Chapter # 4 Image Enhancement in Frequency Domain.
Effective Computation of Linear Filters The following properties are used to shorten the computation time f  g = g  f, f  (g  h) = (f  g)  h, f 
Chapter 3 Image Enhancement in the Spatial Domain.
Digital Image Processing Chapter 4
Image Processing Xuejin Chen Ref:
Introduction to Image Processing Grass Sky Tree ? ? Sharpening Spatial Filters.
Technion, CS department, SIPC Spring 2014 Tutorials 12,13 discrete signals and systems 1/39.
Digital Image Processing CSC331 Image Enhancement 1.
Chapter 5: Neighborhood Processing
Day Problems Simplify each expression – – (-8.4) 3. Evaluate each expression for a = -2, b = 3.5, and c = a – b + c5. |c + a + 5|
Spatial Filtering.
Spatial Filtering (Applying filters directly on Image) By Engr. Muhammad Saqib.
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 3 Intensity Transformations.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
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.
CDS 301 Fall, 2008 Image Visualization Chap. 9 November 11, 2008 Jie Zhang Copyright ©
Image Enhancement (Frequency Domain)
Computer Graphics & Image Processing Chapter # 4 Image Enhancement in Frequency Domain 2/26/20161.
Digital Filters. What are they?  Local operation (neighborhood operation in GIS terminology) by mask, window, or kernel (different words for the same.
Digital Image Processing Week V Thurdsak LEAUHATONG.
Frequency Domain Filtering. Frequency Domain Methods Spatial Domain Frequency Domain.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Image Enhancement in the Spatial Domain.
Digital Image Processing , 2008
Fundamentals of Spatial Filtering:
Image Pre-Processing in the Spatial and Frequent Domain
Gaussian Lowpass Filter
Image Enhancement in the
CS-565 Computer Vision Nazar Khan Lecture 4.
Spatial Filtering - Enhancement
Image Processing - in short
Fundamentals of Image Processing A Seminar on By Alok K. Watve
Contourlet Transforms For Feature Detection
Lecture 10 Image sharpening.
9th Lecture - Image Filters
Spatial operations and transformations
Enhancement.
Edge Detection in Computer Vision
Chapter 3 Sampling.
Digital Filters.
CHAPTER 7 IMAGE ANALYSIS Template Filters A. Dermanis.
Spatial operations and transformations
FREQUENTLY USED 3x3 CONVOLUTION KERNELS
Presentation transcript:

CHAPTER 7 Template Filters IMAGE ANALYSIS A. Dermanis

g ij = f i–1,j–1 h –1,–1 + f i–1,j h –1,0 + f i–1,j+1 h –1,1 + + f i,j–1 h 0,–1 + f i,j h 0,0 + f i,j+1 h 0,1 + + f i+1,j–1 h 1,–1 + f i+1,j h 1,0 + f i+1,j+1 h 1,1 g ij = f i–1,j–1 h –1,–1 + f i–1,j h –1,0 + f i–1,j+1 h –1,1 + + f i,j–1 h 0,–1 + f i,j h 0,0 + f i,j+1 h 0,1 + + f i+1,j–1 h 1,–1 + f i+1,j h 1,0 + f i+1,j+1 h 1,1 Moving templates for image filtering The discrete convolution process in template filtering A. Dermanis

Typical template dimensions Non-square templates viewed as special cases of square ones A. Dermanis

localized g ij = h i,j;k,m f km  k=i–p m=j–p i+p j+p Template filters = Localized position-invariant linear transformations of an image Using a (p+1)  (p+1) template linear g ij = h i,j;k,m f km    k m position-invariant h i,j;k,m = h k–i,m – j g ij = h k–i,m – j f km    k m A. Dermanis

Template filters = Localized position-invariant linear transformations of an image renamed (i = 0, j = 0, k = k, m = m) Combination of all properties g ij = h k–i,m–j f km  k=i–p m=j–p i+p j+p k = k – i m = m – j g ij = h k,m f i+k,j+m  k = –p m = –p p g 00 = h k,m f k,m  k = –p m = –p p A. Dermanis

Template filters = Localized position-invariant linear transformations of an image renamed j–1j–1jj+1j+1 i+1i+1 i i–1i–1 h ij f ij g 00 = h –1,–1 f –1,–1 + h –1,0 f –1,+1 + h –1,1 f –1, h 0,–1 f 0,–1 + h 0,0 f 0,0 + h 0,+1 f 0, h +1,–1 f +1,–1 + h +1,0 f +1,0 + h +1,+1 f +1,+1 g 00 = h –1,–1 f –1,–1 + h –1,0 f –1,+1 + h –1,1 f –1, h 0,–1 f 0,–1 + h 0,0 f 0,0 + h 0,+1 f 0, h +1,–1 f +1,–1 + h +1,0 f +1,0 + h +1,+1 f +1,+1 g 00 = h k,m f k,m  k = –p m = –p p A. Dermanis

Examples homogeneous areas are set to zero high values emphasize high frequencies f km = C  g 00 = h k,m C = 0  k = –p m = –p p h k,m = 0  k = –p m = –p p Examples homogeneous (low frequency) areas preserve their value f km = C  g 00 = h k,m C = C  k = –p m = –p p 11 11 11 1 22 1 11 8 11 22 4 22 11 11 11 1 22 1 High-pass filters h k,m = 1  k = –p m = –p p Low-pass filters A. Dermanis

An example of low pass filters: The original band 3 of a TM image is undergoing low pass filtering by moving mean templates with dimensions 3  3 and 5  5 An example of low pass filters: The original band 3 of a TM image is undergoing low pass filtering by moving mean templates with dimensions 3  3 and 5  5 Original Moving mean 3  3Moving mean 5  5 A. Dermanis

An example of a high pass filter: The original image is undergoing high pass filtering with a 3  3 template, which enhances edges, best viewed as black lines in its negative An example of a high pass filter: The original image is undergoing high pass filtering with a 3  3 template, which enhances edges, best viewed as black lines in its negative Original high pass filtering 3  3high pass filtering 3  3 (negative) A. Dermanis

evaluation Local interpolation and template formulation interpolation Templates expressing linear operators f km f(x, y) A g(x, y) g(0, 0) g ij h km f km  k, m A. Dermanis

Original (TM band 4) Laplacian 9  9Laplacian 13  13 Laplacian 17  17 Examples of Laplacian filters with varying template sizes The Laplacian operator  2  x 2  y 2 A =  = + A. Dermanis

Original (TM band 4) Laplacian 5  5 Original + Laplacian 5  5 Examples of Laplacian filters with varying template sizes A. Dermanis

The Roberts and Sobel filters for edge detection Original (TM band 4) Roberts Sobel Roberts filter Sobel filter XY XY X 2+Y 2X 2+Y 2 X 2+Y 2X 2+Y 2 A. Dermanis