• 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!
10
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)

Image Enhancement

(Spatial Filtering 1 Cont…)

(4)

Contents

In this lecture we will look at spatial filtering techniques:

What happens at the edges?

Correlation and convolution

(5)

Another Smoothing Example

By smoothing the original image we get rid of lots of the finer detail which leaves only the gross features for thresholding

Original Image Smoothed Image Thresholded Image

(6)

Averaging Filter Vs. Median Filter Example

Filtering is often used to remove noise from images

Sometimes a median filter works better than an averaging filter Original Image

With Noise

Image After Averaging Filter

Image After Median Filter

Images taken from Gonzalez & Woods, Digital Image Processing (2002)

(7)

Strange Things Happen At The Edges! (cont…)

There are a few approaches to dealing with missing edge pixels:

Omit missing pixels

Only works with some filters

Can add extra code and slow down processing

Pad the image

Typically with either all white or all black pixels

Replicate border pixels

Truncate the image

Allow pixels wrap around the image

Can cause some strange image artefacts

(8)

Strange Things Happen At The Edges!

(cont…)

Original Image

Filtered Image:

Zero Padding

Filtered Image:

Replicate Edge Pixels

Filtered Image:

Wrap Around Edge Pixels

Images taken from Gonzalez & Woods, Digital Image Processing (2002)

(9)

Correlation && Convolution

Theoretically, convolution are linear operations on the signal or signal modifiers, whereas correlation is a measure of similarity between two signals. As you rightly mentioned, the basic difference between convolution and correlation is that the convolution process rotates the matrix by 180 degrees

For symmetric filters it makes no difference

e

processed

= v *e +

z *a + y*b + x*c +

w *d + u *e +

t *f + s *g + r *h

r s t

u v w

x y z

Filter

a b c

d e e

f g h

Original Image Pixels

*

(10)

Summary

This lecture coveres following issues

Neighbourhood operations

The filtering concept

Smoothing filters

Dealing with problems at image edges when using filtering

Correlation vs convolution

Referanslar

Benzer Belgeler

iT-nm trr-TttiiTiTi in ıı .11 i mninnnrnmiiiiiiii iiiiiiiiiiii ıııııııııımııııi'iıııiıiıııııııımıiıiıiıııııı miıiHiınıiHiıııiniiinıııı

Bu formülden küçük konik açsına sahip dekantörlerin, konik açısı daha dik olanlara göre daha düşük “S” kuvveti oluşturduğu anlaşılabilir. Bu da sıkı bir yapısı

As the figure shows, it first created 8 bits of red, the next 8 bits of green, and the last 8 bits of blue form the color. The last 8 bits are called alpha channel, which holds

Digital Image Processing by Gonzalez and Woods, A Simplified Approach to Image Processing by Randy Crane. Lab Manual:

Ö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: