Basis beeldverwerking (8D040) dr. Andrea Fuster dr. Anna Vilanova Prof.dr.ir. Marcel Breeuwer Filtering.

Slides:



Advertisements
Similar presentations
Chapter 1 The Study of Body Function Image PowerPoint
Advertisements

Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
UNITED NATIONS Shipment Details Report – January 2006.
The imaging problem object imaging optics (lenses, etc.) image
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Properties of Real Numbers CommutativeAssociativeDistributive Identity + × Inverse + ×
Exit a Customer Chapter 8. Exit a Customer 8-2 Objectives Perform exit summary process consisting of the following steps: Review service records Close.
Frigid Fridays On each Friday last January, the temperature was a record low temperature for the date. On Friday, January 30, the mercury dropped to 5°F,
0 - 0.
ADDING INTEGERS 1. POS. + POS. = POS. 2. NEG. + NEG. = NEG. 3. POS. + NEG. OR NEG. + POS. SUBTRACT TAKE SIGN OF BIGGER ABSOLUTE VALUE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Addition Facts
Environmental Remote Sensing GEOG 2021
1. 2 Unknown Backprojection usually produce a blurred version of the image.
Richmond House, Liverpool (1) 26 th January 2004.
ABC Technology Project
The Fourier Transform I
VOORBLAD.
Quadratic Inequalities
1..
© 2012 National Heart Foundation of Australia. Slide 2.
Adding Up In Chunks.
Introduction to Feedback Systems / Önder YÜKSEL Bode plots 1 Frequency response:
Addition 1’s to 20.
25 seconds left…...
Test B, 100 Subtraction Facts
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Medical Image Analysis Dr. Mohammad Dawood Department of Computer Science University of Münster Germany.
PSSA Preparation.
Math Review with Matlab:
Spatial Filtering (Chapter 3)
Spatial Filtering.
Lecture 6 Sharpening Filters
Digital Image Processing
Chapter 4 Image Enhancement in the Frequency Domain.
1 Vladimir Botchko Lecture 4. Image Enhancement Lappeenranta University of Technology (Finland)
Chapter 4 Image Enhancement in the Frequency Domain.
Basis beeldverwerking (8D040) dr. Andrea Fuster dr. Anna Vilanova Prof.dr. Marcel Breeuwer Noise and Filtering.
ECE 472/572 - Digital Image Processing Lecture 4 - Image Enhancement - Spatial Filter 09/06/11.
Digital Image Processing
Basis beeldverwerking (8D040) dr. Andrea Fuster Prof.dr. Bart ter Haar Romeny dr. Anna Vilanova Prof.dr.ir. Marcel Breeuwer Convolution.
Introduction to Image Processing Grass Sky Tree ? ? Sharpening Spatial Filters.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering Prof. Charlene Tsai.
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 +
Chapter 5: Neighborhood Processing
Spatial Filtering.
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 3 Intensity Transformations.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Sharpening Filters To highlight fine detail or to enhance blurred detail. –smoothing ~ integration –sharpening ~ differentiation Categories of sharpening.
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.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Sharpening Spatial Filters ( high pass)  Previously we have looked at smoothing filters which remove fine detail  Sharpening spatial filters seek to.
Digital Image Processing Week V Thurdsak LEAUHATONG.
Lecture Seven Figures from Gonzales and Woods, Digital Image Processing, Copyright 2002.
Miguel Tavares Coimbra
Basis beeldverwerking (8D040) dr. Andrea Fuster dr. Anna Vilanova Prof
Fundamentals of Spatial Filtering:
Digital Image Processing CSC331
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
ECE 692 – Advanced Topics in Computer Vision
Lecture 10 Image sharpening.
Enhancement.
Presentation transcript:

Basis beeldverwerking (8D040) dr. Andrea Fuster dr. Anna Vilanova Prof.dr.ir. Marcel Breeuwer Filtering

Contents Sharpening Spatial Filters 1 st order derivatives 2 nd order derivatives Laplacian Gaussian derivatives Laplacian of Gaussian (LoG) Unsharp masking 2

Sharpening spatial filters Image derivatives (1 st and 2 nd order) Define derivatives in terms of differences for the discrete domain How to define such differences? 3

1 st order derivatives Some requirements (1 st order): Zero in areas of constant intensity Nonzero at beginning of intensity step or ramp Nonzero along ramps 4

1 st order derivatives 5

2 nd order derivatives Requirements (2 nd order) Zero in constant areas Nonzero at beginning and end of intensity step or ramp Zero along ramps of constant slope 6

2 nd order derivatives 7

Image Derivatives 1 st order 2 nd order

9 1 st order2 nd order Zero crossing, locating edges

Edges are ramp-like transitions in intensity 1 st order derivative gives thick edges 2 nd order derivative gives double thin edge with zeros in between 2 nd order derivatives enhance fine detail much better 10

11 2 nd order Zero crossing, locating edges 1 st order

Filters related to first derivatives Recall: Prewitt filter, Sober filter (lecture 2 – 14/05/13) 12

Laplacian – second derivative Enhances edges Definition 13

Laplacian 14 Adding diagonal derivation Opposite sign for second order derivative

Laplacian Note: Laplacian filtering results in + and – pixel values Scale for image display - eqs. (2.6-10, ) Or: take absolute value or positive values 15

Line Detector 16 * scaled Laplacian Positive values Laplacian (figure 10.5 book)

Image sharpening - example 17 4-connected Laplacian8-connected LaplacianEnhanced + Laplacian x5 Enhanced + Laplacian x6 Enhanced + Laplacian x8 Better sharpening with 8-connected Laplacian (see figure 3.38 (d)-(e) book) C=+1 or -1

Filtering in frequency domain Basic steps: image f(x,y) Fourier transform F(u,v) filter H(u,v) H(u,v)F(u,v) inverse Fourier transform filtered image g(x,y) 18

Laplacian in the Fourier domain Spatial Fourier domain 19

Blur first, take derivative later Smoothing is a good idea to avoid enhancement of noise. Common smoothing kernel is a Gaussian. Scale of blurring

Gaussian Derivative Taking the derivative after blurring gives image g

Gaussian Derivative We can build a single kernel for both convolutions Use the associative property of the convolution

Laplacian of Gaussian (LoG) 23 LoG a.k.a. Mexican Hat

LoG applied to building 24

Sharpening with LoG 25 sharpening with LoG sharpening with Laplacian

Unsharp Masking / Highboost Filtering Subtraction of unsharp (smoothed) version of image from the original image. Blur the original image Subtract the blurred image from the original (results in image called mask) Add the mask to the original 26

Let denote the blurred image Obtain the mask Add weighted portion of mask to original image 27

If Unsharp masking If Highboost filtering 28 inputblurredunsharp masku.m. resulth.f. result (see also figure 3.40 book)

Unsharp masking Simple and often used sharpening method Poor result in the presence of noise – LoG performs better in this case 29