Preview

Spatial Filtering Fundamentals

Good Essays
Open Document
Open Document
2321 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Spatial Filtering Fundamentals
4/28/2008

Spatial filtering fundamentals

by Gleb V. Tcheslavski: gleb@ee.lamar.edu http://ee.lamar.edu/gleb/dip/index.htm
Spring 2008 ELEN 4304/5365 DIP 1

Mechanics of spatial filtering
Considering frequency domain filtering, the effect of LPF applied to an image is to blur (smooth) it. Similar smoothing effect can be achieved by using spatial filters (spatial masks, kernels, templates, or windows). We discussed that a spatial filter consists of a neighborhood and a pre-defined operation performed on the image pixels defining the neighborhood. The result of filtering – a new pixel with coordinated of the neighborhood’s center and the value defined by the operation. g y p If the operation is linear, the filter is said to be a linear spatial filter.

Spring 2008

ELEN 4304/5365 DIP

2

1

4/28/2008

Mechanics of spatial filtering
Assuming a 3 x 3 neighborhood, at any point (x,y) in the image, the response of the spatial filter is

g ( x, y ) = w(−1, −1) f ( x − 1, y − 1) + w(−1, 0) f ( x − 1, y ) + ... + w(0, 0) f ( x, y ) + ... + w(1,1) f ( x + 1, y + 1)
Filter coefficient Pixel intensity

In general:

g ( x, y ) =

s =− a t =− b

∑ ∑ w(s, t ) f ( x + s, y + t )

a

b

Spring 2008

ELEN 4304/5365 DIP

3

Mechanics of spatial filtering
Here a mask size is m x n.

m = 2a + 1 n = 2b + 1
Where a and b are some integers.

For a 3 x 3 mask

Spring 2008

ELEN 4304/5365 DIP

4

2

4/28/2008

Spatial correlation and convolution
Correlation is a process of moving the filter mask over the image and computing the sum of products at each location as previously described. Convolution is the same except that the filter is first rotated by 1800. For a 1D case, we first zeropad f by m-1 zeros on each size. We compute a sum of products in both cases…
Spring 2008 ELEN 4304/5365 DIP 5

Spatial correlation and convolution
Correlation is a function of displacement of the filter. A function containing a single 1 with

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Positive correlation is a relationship of two variables in which as the value of one increases or decreases the other does the same. (The amount of playing time to the number of injuries)…

    • 258 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    6.02 Algebra 2

    • 253 Words
    • 2 Pages

    The function is quartic meaning the two ends will go in the same direction, the first coefficient is even so the left and right end will go up.…

    • 253 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Simplifying Expressions

    • 530 Words
    • 2 Pages

    2w + 3w – 5w – 12 + 30 Like terms are arranged together using the…

    • 530 Words
    • 2 Pages
    Good Essays
  • Good Essays

    People who voice their opinions without filter and restraint can can really help state and local governments. You won’t find these citizens sitting around and procrastinating on making a change. Not only that, They people are hungry for change today. However, unlike people who run away from their problems, people who steps forward and fight has the potential to achieve extensive change. Advocates for certain organizations like those that help the poor, women, and even pets are for solely for addressing issues associated with their topic. These advocate speaks up for people who can’t. Similarly, These people exercise their basic freedoms by doing things like contacting officials and discuss political issues. In addition, they would offer their…

    • 499 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Understanding and Applying Kalman Filtering Lindsay Kleeman Department of Electrical and Computer Systems Engineering Monash University, Clayton 1 Introduction Objectives: 1. Provide a basic understanding of Kalman Filtering and assumptions behind its implementation. 2. Limit (but cannot avoid) mathematical treatment to broaden appeal. 3.…

    • 2004 Words
    • 22 Pages
    Powerful Essays
  • Powerful Essays

    Computer.Vision

    • 1058 Words
    • 5 Pages

    One example of the use of complex variables in computer vision is the Fourier transform. The Fourier transform is a representation of an image as a sum of complex exponentials of varying magnitudes, frequencies, and phases. The Fourier transform plays a critical role in a broad range of image processing applications, including enhancement, analysis, restoration, and compression.…

    • 1058 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    hilbert transform

    • 326 Words
    • 4 Pages

    (b) part of the figure. If we examine the filter in more detail, the filter response shows that…

    • 326 Words
    • 4 Pages
    Satisfactory Essays
  • Powerful Essays

    Image Stitching

    • 2313 Words
    • 10 Pages

    performed to generate one panoramic image from a series Don Bosco Institue of Technology, Mumbai University. Image stitching or photo stitching is the process of combining of smaller, overlapping images. multiple photographic images with overlapping fields of view E-mail: meetmirza@yahoo.co.in,anitafernandes05@gmail.com,lobosharon@gmail.com, of invariant Recently there has been great progress in the use to produce a segmented panorama or high-resolutionpriyanka2908@gmail.com. image.…

    • 2313 Words
    • 10 Pages
    Powerful Essays
  • Satisfactory Essays

    (Note: Page numbers refer to in Q1 – Q15 refer to the prescribed textbook: Bob Hughes and Mike Cotterell,…

    • 453 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    KAJZ

    • 370 Words
    • 2 Pages

    4. Subtract (i) 5x2 – 4y2 + 6y – 3 from 7x2 – 4xy + 8y2 + 5 x – 3y.…

    • 370 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Synchronization

    • 1936 Words
    • 8 Pages

    Harry L. Trentelman and K. Takaba (Johann Bernoulli Institute for Uncertain Linear MTNS Melbourne, 2012 Robust Synchronization of Mathematics and Computer Science, University of 20 Multi-Agent Systems 2 / Gron…

    • 1936 Words
    • 8 Pages
    Satisfactory Essays
  • Satisfactory Essays

    math 3

    • 600 Words
    • 3 Pages

    b. Sketch the contour map of the function f ( x, y ) using three level…

    • 600 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Weepwap

    • 2231 Words
    • 9 Pages

    Cameras turn out to be a standard feature of PC hardware and a mobile device. Thus computer vision is expanding its horizon from a niche tool to an increasingly common device for a diverse range of applications. At its core, computer vision is developed upon the fields of mathematics, physics, biology, engineering, and of course computer science. Nowadays, there are more casual developers opening the door to many new application and innovation due to inexpensive rate of hardware requirement.…

    • 2231 Words
    • 9 Pages
    Powerful Essays
  • Powerful Essays

    information is critical for dealing with the storage and transmission of high resolution images and videos that dominate the…

    • 3325 Words
    • 13 Pages
    Powerful Essays
  • Best Essays

    Fir Filter

    • 4212 Words
    • 17 Pages

    Table of Contents Table of Contents i List of Figures ii List of Tables iii Introduction iv INGREDIENTS 1.0 Mobile Phones 1 2.0 Speech CODEC 1 3.0 DSP in Medicine 3.1 Hearing Aid 3 3.2 The Acquisition of a blood pressure signal 4 3.3 IIR filters to extract alpha activity from EEG signal 5 4.0 ADAPTIVE ARRAY IN SMART ANTENNA TECHNOLOGY 6 4.1 TYPES OF SMART ANTENNA 7 4.2 ADAPTIVE ARRAY SYSTEMS 8 4.3 BASIC WORKING MECHANISM 9 4.4 BENEFITS OF SMART ANTENNA TECHNOLOGY 10 5.0 DSP IN MOTOR CONTROL 5.1 MOTOR CONTROL TREND 11 5.2 BENEFITS OF THE DSP CONTROLLERS 12 6.0 DSP IN RADIO DETECTION & RANGING (RADAR) 6.1 DSP APPLICATIONS IN MODERN RADAR 13 6.2 TASKS OF DSP IN MODERN RADAR 13 6.3 MOVING TARGET DETECTOR (MTD) SIGNAL PROCESSOR 14 7.0 COMPARISON 7.1 COMPARISON OF ARCHITECTURE 15 7.2 COMPARISON OF SPEED 17 7.3 COMPARISON OF ENERGY EFFICIENCY 17 7.4 COMPARISON OF COST 18 REFERENCES 19…

    • 4212 Words
    • 17 Pages
    Best Essays

Related Topics