Skip to content Skip to navigation

Connexions

You are here: Home » Content » Images: 2D signals

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

      What are tags? tag icon

      Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

    • External bookmarks
  • E-mail the author
  • Rate this module (How does the rating system work?)

    Rating system

    Ratings

    Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

    How to rate a module

    Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

    (0 ratings)

Recently Viewed

This feature requires Javascript to be enabled.

Images: 2D signals

Module by: Robert Nowak

Summary: This module introduces image processing, 2D convolution, 2D sampling and 2D FTs.

Note: Your browser may not currently support MathML. See our browser support page for additional details. You can always view the correct math in the PDF version.

Image Processing

Figure 1: Images are 2D functions fxy f x y
Figure 1 (figure1.png)

Linear Shift Invariant Systems

Figure 2
Figure 2 (figure2.png)

HH is LSI if:

  1. H α 1 f1xy+α2f2xy=Hf1xy+Hf2xy H α 1 f1 x y α2 f2 x y H f1 x y H f2 x y for all images f1 f1, f2 f2 and scalar.
  2. Hfxx0yy0=gxx0yy0 H f x x0 y y0 g x x0 y y0
LSI systems are expressed mathematically as 2D convolutions: gxy=--hxαyβfαβdαdβ g x y β α h x α y β f α β where hxy h x y is the 2D impulse response (also called the point spread function).

2D Fourier Analysis

uv=--fxy-ux-vydxdy u v y x f x y u x v y where is the 2D FT and uu and vv are frequency variables in xu x u and yv y v .

2D complex exponentials are eigenfunctions for 2D LSI systems:

--hxαyβu0αv0βdαdβ=--h α β u0x α v0y β dαdβ=u0xv0y--h α β - u 0 α - v 0 β d α dβ β α h x α y β u0 α v0 β β α h α β u0 x α v0 y β u0 x v0 y β α h α β u 0 α v 0 β (1)
where --hαβ-u0 α -v0 β dαdβHu0v0 β α h α β u0 α v0 β H u0 v0 Hu0v0 H u0 v0 is the 2D Fourier transform of hxy h x y evaluated at frequencies u0 u0 and v0 v0 .

Figure 3
Figure 3 (figure3.png)

gxy=hxy*fxy=--hxαyβfαβdαdβ g x y h x y f x y β α h x α y β f α β (2)
Guv=Huvuv G u v H u v u v

Inverse 2D FT

gxy=12π2--Guvuxvydudv g x y 1 2 2 v u G u v u x v y (3)

2D Sampling Theory

Figure 4: Think of the image as a 2D surface.
Figure 4 (figure4.png)

We can sample the height of the surface using a 2D impulse array.

Figure 5: Impulses spaced Δx Δ x apart in the horizontal direction and Δy Δ y in the vertical
Figure 5 (figure5.png)

fsxy=Sxyfxy fs x y S x y f x y where fsxy fs x y is sampled image in frequency

2D FT of sxy s x y is a 2D impulse array in frequency Suv S u v

Figure 6
Figure 6 (figure6.png)

multiplication in time ⇔ convolution in frequency multiplication in time ⇔ convolution in frequency Fsuv=Suv*uv Fs u v S u v u v

Figure 7: uv u v is bandlimited in both the horizontal and vertical directions.
Figure 7 (figure7.png)
Figure 8: periodically replicated in ( u , v ) ( u , v ) frequency plane
Figure 8 (figure8.png)

Nyquist Theorem

Assume that fxy f x y is bandlimited to ±Bx ± Bx , ±By ± By :

Figure 9
Figure 9 (figure9.png)

If we sample fxy f x y at spacings of Δx<πBx Δ x Bx and Δy<πBy Δ y By , then fxy f x y can be perfectly recovered from the samples by lowpass filtering:

Figure 10: ideal lowpass filter, 1 inside rectangle, 0 outside
Figure 10 (figure10.png)
Figure 11
Aliasing in 2D
(a) (b)
Figure 11(a) (figure11-1.png)Figure 11(b) (figure11-2.png)

Comments, questions, feedback, criticisms?

Send feedback