Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Digital Image Fundamentals, Lecture notes of Digital Image Processing

Image formation model Image sampling and quantization Spatial and intensity resolution Image interpolation Some basic relationships between pixels Geomteric spatial transformations and image registration

Typology: Lecture notes

2017/2018

Uploaded on 11/19/2018

salih-colakoglu
salih-colakoglu ๐Ÿ‡น๐Ÿ‡ท

1 document

1 / 37

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Week 1:
DIGITAL IMAGE FUNDAMENTALS
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25

Partial preview of the text

Download Digital Image Fundamentals and more Lecture notes Digital Image Processing in PDF only on Docsity!

Week 1:

DIGITAL IMAGE FUNDAMENTALS

๏ฑ Image formation model

๏ฑ Image sampling and quantization

๏ฑ Spatial and intensity resolution

๏ฑ Image interpolation

๏ฑ Some basic relationships between pixels

๏ฑ Geomteric spatial transformations and image registration

OUTLINE

๏‚ง Images are denoted by 2 - D functions of the form ๐‘“(๐‘ฅ, ๐‘ฆ)

๏‚ง ๐‘“(๐‘ฅ, ๐‘ฆ) is determined by the amount of source illumination incident on the

scene and the amount of illumination reflected by the objects in the scene.

๏‚ง These are called the illumination ๐’Š ๐’™, ๐’š , and reflectance ๐’“(๐’™, ๐’š)

๏‚ง Typical values of illumination and reflectance components:

Illumination: 90000 lm/m

2

(on a clear day), 10000 lm/m

2

(on a cloudy day)

Reflectance: 0. 01 (black velvet), 0. 65 (stell), 0. 93 (snow)

Image Formation Model

๏‚ง The goal in image sampling and quantization is to convert the

continuous-time light energy at the output of the imaging sensor into

a digital image.

๏‚ง To digitize the continous-time function f(x,y), both its coordinate

values and its amplitudes must be digitzed.

๏‚ง Digitizing the coordinate values is called SAMPLING.

๏‚ง Digitizing the amplitude values is called QUANTIZATON.

Image Sampling and Quantization

Image Sampling and Quantization

๏‚ง Assume that the continuous image ๐‘“ ๐‘ฅ, ๐‘ฆ is converted into digital image ๐‘“(๐‘š, ๐‘›)

consisting of M columns and N rows after the sampling and quantization.

๏‚ง We use integer values for coordinates ( m = 0 , 1 โ‹ฏ ๐‘€ โˆ’ 1 , n = 0 , 1 , โ‹ฏ , ๐‘ โˆ’ 1 ).

๏‚ง The value of the image at any coordinate ๐‘š, ๐‘› is denoted by ๐‘“(๐‘š, ๐‘›).

๏‚ง Coordinates of the image are called the spatial coordinates, and the section of the

real plane spanned by the coordinates of an image is called the spatial domain.

๏‚ง A digital image can be represented by one of three basic ways:

Plotted as a 2 - D surface

Displayed as a visual intensity array

Shown as a 2 - D numerical array.

Representing Digital Images

๏‚ง When digitizing a digital image, we should decide on the dimensions ( M , N ) and

the number of intensity levels ( L ). Other than being positive, there are no

constraints on M and N. Since the processors perform algebraic expressions in base

2 , L is chosen such that it is an integer multiple of 2

L = 2

k

Intensity values are assumed to be an integer in the interval [ 0 , L- 1 ].

๏‚ง The ratio of the maximum measurable intensity to the minumum discrenbile

intensity is called the dynamic range.

๏‚ง The difference between the maximum and minimum intensity levels is called the

contrast.

๏‚ง The number of bits b required to represent a digital image is computed from

b= M x N x k

If M = N , then b = N

2

k

Representing Digital Images

Representing Digital Images

The spatial resolutions are: 1250, 300, 150, 7 (dpi).

Spatial and Intensity Resolutions

Intensity resolutions are L = 256, 128, 64, 32.

Spatial and Intensity Resolutions

๏‚ง Interpolation is the process of using known data to estimate values at unknown

locations.

๏‚ง Suppose that an image of size 500 x 500 pixels has to be enlarged 1. 5 times to 750

x 750 pixels.

๏‚ง An imaginary 750 x 750 grid with the same pixel spacing as the original is created.

Then, it is shrinked so that it fits excatly over the original image.

๏‚ง The pixel spacing in the shrunken 750 x 750 grid will be less than the pixel spacing

in the original grid. Hence, the intensity values at newly created pixel locations

must be determined. For this purpose, there are several methods such as

Nearest-neighbor interpolation

Bi-linear interpolation

Bi-cubic interpolation

Image Interpolation

Image Interpolation

Example: Factor of 2 upsampling

Blue samples are retained in the interpolated image.

Orange samples are estimated from the surrounding blue samples.

image to be interpolated interpolated image

Example: Factor of 2 interpolation by NNI

๐ผ[๐‘š, ๐‘›] ๐‘‚[๐‘š, ๐‘›]

Image Interpolation (Nearest Neighbor Interpolation)

๐‘‚[๐‘š

โ€ฒ

โ€ฒ

] takes a weighted average of 4 samples

nearest to (

โ€ฒ

โ€ฒ

๐‘€) in ๐ผ ๐‘š, ๐‘›

๐‘Ž: distance between [๐‘š

โ€ฒ

โ€ฒ

] and column n

๐‘: distance between [๐‘š

โ€ฒ

โ€ฒ

] and row m

Image Interpolation (Bi-linear Interpolation)

๐‘‚ ๐‘š

โ€ฒ

, ๐‘›

โ€ฒ

= 1 โˆ’ ๐‘Ž 1 โˆ’ ๐‘ ๐ผ ๐‘š, ๐‘› + ๐‘Ž 1 โˆ’ ๐‘ ๐ผ ๐‘š, ๐‘› + 1 + 1 โˆ’ ๐‘Ž ๐‘๐ผ ๐‘š + 1 , ๐‘› + ๐‘Ž๐‘๐ผ ๐‘š + 1 , ๐‘› + 1