Pertemuan 1. introduction to image processing

38
INTRODUCTION TO IMAGE PROCESSING Politeknik Kota Malang Aditya Kurniawan, S.ST © 2011

Transcript of Pertemuan 1. introduction to image processing

Page 1: Pertemuan 1. introduction to image processing

INTRODUCTION TO

IMAGE PROCESSING

Politeknik Kota Malang

Aditya Kurniawan, S.ST

© 2011

Page 2: Pertemuan 1. introduction to image processing

[email protected]

Image Processing

Computer Vision

Robot Vision

WHAT IS THE DIFFERENCE ?

2

Page 3: Pertemuan 1. introduction to image processing

[email protected]

A process to an image focusing on transforming, encoding and transmitting

the image.

IMAGE PROCESSING

3

IMAGE IMAGE

Page 4: Pertemuan 1. introduction to image processing

[email protected]

Computer Vision => media to know the world visually supported by

knowledge strength by computational instrument.

COMPUTER VISION

4

IMAGE Description /

humanized

information

Page 5: Pertemuan 1. introduction to image processing

[email protected]

Robot Vision => a machine with ability to see his environment designed with

workflow algorithm, so it can make a decision and finish the job automatically.

ROBOT VISION

5

IMAGE Action

Page 6: Pertemuan 1. introduction to image processing

[email protected]

BLOCK DIAGRAM

6

Image

Prosesing

Artificial

Intelligent

+ Computer

Vision

Hardware

+ Robot

Vision

IT guys

Page 7: Pertemuan 1. introduction to image processing

[email protected]

7

Image

Prosesing

Artificial

Intelligent

+ Computer

Vision

Hardware

+ Robot

Vision

MECHATRONIC guys

BLOK DIAGRAM

Page 8: Pertemuan 1. introduction to image processing

[email protected]

Modern digital technology has made it possible to manipulate multi-dimensional signals with systems that range from simple digital circuits to advanced parallel computers. The goal of this manipulation can be divided into three categories:

Image Processing

Image in image out

Image Analysis

Image in measurements out

Image Understanding

Image in high-level description out

INTRODUCTION

8

Page 9: Pertemuan 1. introduction to image processing

[email protected]

9

INTRODUCTION

Image Processing

Page 10: Pertemuan 1. introduction to image processing

[email protected]

10

INTRODUCTION

Image Analysis

Page 11: Pertemuan 1. introduction to image processing

[email protected]

11

INTRODUCTION

Image

Understanding

Page 12: Pertemuan 1. introduction to image processing

[email protected]

We begin with certain basic definitions.

An image defined in the “real world” is

considered to be a function of two real variables, for

example, a(x,y) with a as the amplitude (e.g. brightness)

of the image at the real coordinate position (x,y).

INTRODUCTION

12

Page 13: Pertemuan 1. introduction to image processing

[email protected]

An image may be considered to contain sub-

images sometimes referred to as regions–of–interest, ROIs,

or simply regions. This concept reflects the fact that

images frequently contain collections of objects each of

which can be the basis for a region.

INTRODUCTION

13

Page 14: Pertemuan 1. introduction to image processing

[email protected]

INTRODUCTION

14

Coordinate

Position

Page 15: Pertemuan 1. introduction to image processing

[email protected]

INTRODUCTION

15

Regions

Of

Interest

X1

X2

Y1 Y2

Page 16: Pertemuan 1. introduction to image processing

[email protected]

INTRODUCTION

16

Regions

Of

Interest

Regions

Of

Interest X1

X2

Y1 Y2 Y3 Y4

Page 17: Pertemuan 1. introduction to image processing

[email protected]

In a sophisticated image processing system it should be possible to

apply specific image processing operations to selected regions. Thus one part

of an image (region) might be processed to suppress motion blur while

another part might be processed to improve color rendition.

INTRODUCTION

17

Page 18: Pertemuan 1. introduction to image processing

[email protected]

INTRODUCTION

18

Brightness

enhancement

Contrast

enhancement

Page 19: Pertemuan 1. introduction to image processing

[email protected]

A digital image a[m,n] described in a 2D discrete space is derived

from an analog image a(x,y) in a 2D continuous space through a sampling

process that is frequently referred to as digitization. For now we will look at

some basic definitions associated with the digital image. The effect of

digitization is shown in Figure 1.

DIGITAL IMAGE DEFINITIONS

19

Page 20: Pertemuan 1. introduction to image processing

[email protected]

DIGITAL IMAGE DEFINITIONS

20

Sample range of colour in reality world is an analog signal

0,2 nM 3,2 nM

Page 21: Pertemuan 1. introduction to image processing

[email protected]

DIGITAL IMAGE DEFINITIONS

21

The idea of digitization

Is taking sample of a range or an analog value

0,2 nM 3,2 nM

Page 22: Pertemuan 1. introduction to image processing

[email protected]

DIGITAL IMAGE DEFINITIONS

22

The idea of digitization

Is taking sample of a range or an analog value

0,2 nM 3,2 nM

00 01 10 11

2 bit colour representation

Page 23: Pertemuan 1. introduction to image processing

[email protected]

DIGITAL IMAGE DEFINITIONS

23

Page 24: Pertemuan 1. introduction to image processing

[email protected]

The 2D continuous image a(x,y) is divided into N rows and M columns. The intersection of a row and a column is termed a pixel (pixel comes from “picture element”). The value assigned to the integer coordinates [m,n] with {m=0,1,2,…,M–1} and {n=0,1,2,…,N–1} is a[m,n]. In fact, in most cases a(x,y) which we might consider to be the physical signal that impinges on the face of a 2D sensor is actually a function of many variables including depth (z), color (l), and time (t). Unless otherwise stated, we will consider the case of 2D, monochromatic, static images in this chapter.

DIGITAL IMAGE DEFINITIONS

24

Page 25: Pertemuan 1. introduction to image processing

[email protected]

DIGITAL IMAGE DEFINITIONS

25

A pixel contain these information : a (x, y, z, l, t)

a = illumination / light exposure in a certain pixel

X = horizontal coordinate

Y = vertical coordinate

Z = depth

L = colour

T = time frame

Page 26: Pertemuan 1. introduction to image processing

[email protected]

DIGITAL IMAGE DEFINITIONS

26

A pixel contain these information : a (x, y, z, l, t)

a = illumination / light exposure in a certain pixel

Low

Light

exposure

High

Light

exposure

Page 27: Pertemuan 1. introduction to image processing

[email protected]

DIGITAL IMAGE DEFINITIONS

27

A pixel contain these information : a (x, y, z, l, t)

X, Y = 2 dimensional coordinate

X1

X2

Y1 Y2

Page 28: Pertemuan 1. introduction to image processing

[email protected]

DIGITAL IMAGE DEFINITIONS

28

A pixel contain these information : a (x, y, z, l, t)

Z = depth

surface

bottom

Page 29: Pertemuan 1. introduction to image processing

[email protected]

DIGITAL IMAGE DEFINITIONS

29

A pixel contain these information : a (x, y, z, l, t)

l = colour

Red

colour

Yellow

colour

Page 30: Pertemuan 1. introduction to image processing

[email protected]

DIGITAL IMAGE DEFINITIONS

30

Introduction to Image Processing

A pixel contain these information : a (x, y, z, l, t)

t = time frame Picture taken in a different time frame

t1 t2

t3 t4

Page 31: Pertemuan 1. introduction to image processing

[email protected]

The image shown in Figure 1 has been divided into N = 16 rows and M = 16 columns. The value assigned to every pixel is the average brightness in the pixel rounded to the nearest integer value. The process of representing the amplitude of the 2D signal at a given coordinate as an integer value with L different gray levels is usually referred to as amplitude quantization or simply quantization.

DIGITAL IMAGE DEFINITIONS

31

Page 32: Pertemuan 1. introduction to image processing

[email protected]

COMMON VALUES

There are standard values for the various

parameters encountered in digital image processing.

These values can be caused by video standards, by

algorithmic requirements, or by the desire to keep digital

circuitry simple. Table 1 gives some commonly

encountered values.

32

Page 33: Pertemuan 1. introduction to image processing

[email protected]

Quite frequently we see cases of M=N=2K where {K = 8,9,10}. This can be motivated by digital circuitry or by the use of certain algorithms such as the (fast) Fourier transform.

The number of distinct gray levels is usually a power of 2, that is, L=2B where B is the number of bits in the binary representation of the brightness levels. When B>1 we speak of a gray-level image; when B=1 we speak of a binary image. In a binary image there are just two gray levels which can be referred to, for example, as “black” and “white” or “0” and “1”.

COMMON VALUES

33

Page 34: Pertemuan 1. introduction to image processing

[email protected]

There is a variety of ways to classify and characterize image

operations. The reason for doing so is to understand what type of results we

might expect to achieve with a given type of operation or what might be the

computational burden associated with a given operation.

CHARACTERISTIC OF

IMAGE OPERATIONS

34

Page 35: Pertemuan 1. introduction to image processing

[email protected]

Medical

Sharpen X-Ray result, Analysis of MRI, etc

Technology and Communications

Reduce noise from satellite image, video streaming

Game

Shadow effect on water surface, light effect, etc

Photography and Films

Contrast, brightness, illegal photo manipulations, etc

ADVANTAGES OF IMAGE

PROCESSING

35

Page 36: Pertemuan 1. introduction to image processing

[email protected]

36

MEDICAL APPLICATION

Page 37: Pertemuan 1. introduction to image processing

[email protected]

TECHNOLOGY AND

COMMUNICATIONS

37

Page 38: Pertemuan 1. introduction to image processing

[email protected]

DIGITAL IMAGE

ACQUISITION PROCESS

38