• Sonuç bulunamadı

Sayısal Görüntü İşleme Teknikleri

N/A
N/A
Protected

Academic year: 2021

Share "Sayısal Görüntü İşleme Teknikleri"

Copied!
11
0
0

Yükleniyor.... (view fulltext now)

Tam metin

(1)

Sayısal Görüntü İşleme Teknikleri

Doç. Dr. Mehmet Serdar Güzel

Slides are mainly adapted from the following course page:

http://www.comp.dit.ie/bmacnamee

(2)

Lecturer

Instructor: Assoc. Prof Dr. Mehmet S Güzel

Office hours: Tuesday, 1:30-2:30pm

Open door policy – don’t hesitate to stop by!

Watch the course website

Assignments, lab tutorials, lecture notes

slide 2

(3)

Interesting article in the March, 2006

issue of Wired magazine

Read it here

(4)

Image Enhancement

(Spatial Filtering 1)

(5)

Contents

In this lecture we will look at spatial filtering techniques:

Neighbourhood operations

What is spatial filtering?

Smoothing operations

What happens at the edges?

Correlation and convolution

(6)

Neighbourhood Operations

Neighborhood operations merely operate on a larger neighborhood of pixels than point operations

Neighborhoods are regularly a rectangle around a central pixel

Any size rectangle and any shape filter are possible

Origin x

y Image f (x, y)

(x, y)

Neighbourhood

(7)

Simple Operations

Some simple neighbourhood operations given as:

Min: Set the pixel value to the minimum along the neighbourhood

Max: Set the pixel value to the maximum along the neighbourhood

Median: The median value of a set of numbers is the midpoint value in that set (e.g. from the set [11, 27, 35, 48, 54] 35 is the median). The median usually works better than the average

(8)

The Spatial Filtering Process

r s t

u y w

x y z

Origin x

y Image f (x, y)

e

new

= y *x +

r *a + s *b + t *c +

u *d + w *f +

x *g + y *h + z *i

Filter

3*3

Neighbourhood e 3*3 Filter

a b c

d x f

g h i

Original Image Pixels

*

This process is repeated for every pixel in the original

image to produce the enhanced image

(9)

Smoothing Spatial Filters

1

/

9 1

/

9 1

/

9

1

/

9 1

/

9 1

/

9

1

/

9 1

/

9 1

/

9

Average Filtering

Simply average all of the pixels in a neighbourhood around a central value

Particularly useful in eliminating noise from images

Also useful for highlighting unrefined feature

Averaging filter

example

(10)

Smoothing Spatial Filtering

1

/

9 1

/

9 1

/

9

1

/

9 1

/

9 1

/

9

1

/

9 1

/

9 1

/

9

Origin x

y Image f (x, y)

e =

1

/

9

*306 +

1

/

9

*194 +

1

/

9

*100 +

1

/

9

*108 +

1

/

9

*99 +

1

/

9

*98 +

1

/

9

*65 +

1

/

9

*70 +

1

/

9

*35 =

Average Filter

Simple 3*3

Neighbourhood 106

104 99 95

100 108 98 90 85

1/9 1/9 1/9

1/9 1/9 1/9

1/9 1/9 1/9

3*3 Smoothing Filter

194 100 108 99 306 98 65 70 35

Image Pixels

*

(11)

Weighted Smoothing Filters

2

/

32 4

/

32 2

/

32

4

/

32 8

/

32 4

/

32

2

/

32 4

/

32 2

/

32

Pixels closer to the central pixel are more significant

It is called as weighted averaging

Weighted

averaging filter

Referanslar

Benzer Belgeler

(1) Giriş ve çıkışları görüntü olan metodlar (görüntü elde etme, görüntü süzme ve zenginleştirme, görüntü onarma, renkli görüntü işleme, dalgacıklar ve

Chemical kinetics, reaction rates, concentration from the factors affecting speed, rate equations, other factors affecting reaction rates, calculation of reaction

Önerilen Kaynaklar Digital image processing, Gonzalez and Woods, Copyright 2002 Dersin Kredisi (AKTS) 6.

Images taken from Gonzalez & Woods, Digital Image Processing (2002).. Opacity).  This course will focus on

Computer graphics deals with the formation of images from object models, For example: Object rendering.. Generating an image from an

Images taken from Gonzalez & Woods, Digital Image Processing (2002).?. Examples:

Slides are mainly adapted from the following course page:..

For many of the image processing operations in this lecture grey levels are assumed to be given in the range [0.0, 1.0].. What Is