vn image processing 13 revision

26
XỬ LÝ ẢNH SỐ: Ôn tập Huỳnh Hữu Hưng [email protected]

Upload: yoshikuni-kazuma

Post on 22-Feb-2015

93 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Vn Image Processing 13 Revision

XỬ LÝ ẢNH SỐ:

Ôn tập

Huỳnh Hữu Hưng

[email protected]

Page 2: Vn Image Processing 13 Revision

2

of

27Các bước chính trong xử lý ảnh số

Image

Acquisition

Image

Restoration

Morphological

Processing

Segmentation

Representation

& Description

Image

Enhancement

Object

Recognition

Problem Domain

Colour Image

Processing

Image

Compression

Page 3: Vn Image Processing 13 Revision

3

of

27

Các bước chính trong xử lý ảnh số:

Image Aquisition

Image

Acquisition

Image

Restoration

Morphological

Processing

Segmentation

Representation

& Description

Image

Enhancement

Object

Recognition

Problem Domain

Colour Image

Processing

Image

Compression

Ima

ge

s ta

ke

n fro

m G

on

za

lez &

Wood

s, D

igita

l Im

age

Pro

ce

ssin

g (

20

02

)

Page 4: Vn Image Processing 13 Revision

4

of

27

Các bước chính trong xử lý ảnh số:

Image Enhancement

Image

Acquisition

Image

Restoration

Morphological

Processing

Segmentation

Representation

& Description

Image

Enhancement

Object

Recognition

Problem Domain

Colour Image

Processing

Image

Compression

Ima

ge

s ta

ke

n fro

m G

on

za

lez &

Wood

s, D

igita

l Im

age

Pro

ce

ssin

g (

20

02

)

Page 5: Vn Image Processing 13 Revision

5

of

27

Các bước chính trong xử lý ảnh số:

Image Restoration

Image

Acquisition

Image

Restoration

Morphological

Processing

Segmentation

Representation

& Description

Image

Enhancement

Object

Recognition

Problem Domain

Colour Image

Processing

Image

Compression

Ima

ge

s ta

ke

n fro

m G

on

za

lez &

Wood

s, D

igita

l Im

age

Pro

ce

ssin

g (

20

02

)

Page 6: Vn Image Processing 13 Revision

6

of

27

Các bước chính trong xử lý ảnh số:

Morphological Processing

Image

Acquisition

Image

Restoration

Morphological

Processing

Segmentation

Representation

& Description

Image

Enhancement

Object

Recognition

Problem Domain

Colour Image

Processing

Image

Compression

Ima

ge

s ta

ke

n fro

m G

on

za

lez &

Wood

s, D

igita

l Im

age

Pro

ce

ssin

g (

20

02

)

Page 7: Vn Image Processing 13 Revision

7

of

27

Các bước chính trong xử lý ảnh số:

Segmentation

Image

Acquisition

Image

Restoration

Morphological

Processing

Segmentation

Representation

& Description

Image

Enhancement

Object

Recognition

Problem Domain

Colour Image

Processing

Image

Compression

Ima

ge

s ta

ke

n fro

m G

on

za

lez &

Wood

s, D

igita

l Im

age

Pro

ce

ssin

g (

20

02

)

Page 8: Vn Image Processing 13 Revision

8

of

27

Các bước chính trong xử lý ảnh số:

Object Recognition

Image

Acquisition

Image

Restoration

Morphological

Processing

Segmentation

Representation

& Description

Image

Enhancement

Object

Recognition

Problem Domain

Colour Image

Processing

Image

Compression

Ima

ge

s ta

ke

n fro

m G

on

za

lez &

Wood

s, D

igita

l Im

age

Pro

ce

ssin

g (

20

02

)

Page 9: Vn Image Processing 13 Revision

9

of

27

Các bước chính trong xử lý ảnh số:

Representation & Description

Image

Acquisition

Image

Restoration

Morphological

Processing

Segmentation

Representation

& Description

Image

Enhancement

Object

Recognition

Problem Domain

Colour Image

Processing

Image

Compression

Ima

ge

s ta

ke

n fro

m G

on

za

lez &

Wood

s, D

igita

l Im

age

Pro

ce

ssin

g (

20

02

)

Page 10: Vn Image Processing 13 Revision

10

of

27

Các bước chính trong xử lý ảnh số:

Image Compression

Image

Acquisition

Image

Restoration

Morphological

Processing

Segmentation

Representation

& Description

Image

Enhancement

Object

Recognition

Problem Domain

Colour Image

Processing

Image

Compression

Page 11: Vn Image Processing 13 Revision

11

of

27

Các bước chính trong xử lý ảnh số:

Colour Image Processing

Image

Acquisition

Image

Restoration

Morphological

Processing

Segmentation

Representation

& Description

Image

Enhancement

Object

Recognition

Problem Domain

Colour Image

Processing

Image

Compression

Ima

ge

s ta

ke

n fro

m G

on

za

lez &

Wood

s, D

igita

l Im

age

Pro

ce

ssin

g (

20

02

)

Page 12: Vn Image Processing 13 Revision

12

of

27ACHTUNG!

THIS IS NOT A LIST OF

WHAT IS COMING UP IN

YOUR EXAM – DO NOT

COMPLAIN!

Page 13: Vn Image Processing 13 Revision

13

of

27Giới thiệu xử lý ảnh số

Thế nào là ảnh số?

Thế nào là xử lý ảnh số?

Lịch sử của xử lý ảnh số

Lĩnh vực úng dụng của xử lý ảnh số

Các bước chính trong xử lý ảnh số

Page 14: Vn Image Processing 13 Revision

14

of

27Cơ sở về xử lý ảnh số

Hệ thống thị giác của con người

Ánh sáng và phổ điện từ

Thu nhận ảnh

Lấy mẫu ảnh và lượng tử hóa

Phân giải theo mức xám và không gian

Page 15: Vn Image Processing 13 Revision

15

of

27Cải thiện ảnh

Cải thiện ảnh trong miền không gian và

miền tần số

Xử lý điểm

– Biến đổi Log

– Biến đổi luyw thừa

Histograms

– Histogram của ảnh là gì

– Cân bằng Histogram

Page 16: Vn Image Processing 13 Revision

16

of

27Lọc không gian

Quá trình lọc không gian

– Can you explain how it works?

Lọc làm mịn

Vấn đề với biên ảnh trong quá trình lọc

– Mở rộng và các kỹ thuật mở rộng

Sự khác nhau giữa tương quan và tích chập

Page 17: Vn Image Processing 13 Revision

17

of

27Lọc không gian (tt)

Đạo hàm không gian

– Bậc 1st

– Bậc 2nd

Các bộ lọc dựa trên đạo hàm

Làm thế nào để làm nét ảnh sử dụng bộ lọc

)()1( xfxfx

f

)(2)1()1(2

2

xfxfxfx

f

-1 -2 -1

0 0 0

1 2 1

-1 0 1

-2 0 2

-1 0 1

Sobel

0 1 0

1 -4 1

0 1 0

Laplacian

You don’t need to know

the maths used to derive

these filters

Page 18: Vn Image Processing 13 Revision

18

of

27Lọc miền tần số

Biến đổi Fourier

– Ý tưởng

– Không quan tâm đến biểu diễn toán học

– Tầm quan trọng của biến đổi Fourier ngược

Làm việc của lọc trong miền tần số

Lọc thông thấp

– Là gì?

– Lọc thông thấp lý tưởng

– Lọc thông thấp Butterworth

– Lọc thông thấp Gaussian

You don’t need to know

the equations for these,

but you must be able to

draw them and explain

what they do

Page 19: Vn Image Processing 13 Revision

19

of

27Lọc miền tần số (tt)

Lọc thông cao

– Là gì?

– Lọc thông cao lý tưởng

– Lọc thông cao Butterworth

– Lọc thông cao Gaussian

Biến đổi Fourier nhanh và tầm quan trọng

của nó

You don’t need to know

the equations for these,

but you must be able to

draw them and explain

what they do

Page 20: Vn Image Processing 13 Revision

20

of

27Phục hồi ảnh: Loại bỏ nhiễu

Cải thiện ảnh khác với phục hồi ảnh

Ý nghĩa của loại bỏ nhiễu?

Ý nghĩa của mô hình nhiễu?

– Các mô hình nhiễu thông dụng• Gaussian

• Rayleigh

• Erlang

Lọc để loại bỏ nhiễu

– Lọc trung bình đơn giản

– Các lọc trung bình khác

),( ),(),( yxyxfyxg

• Exponential

• Uniform

• Impulse (salt & pepper)

Page 21: Vn Image Processing 13 Revision

21

of

27Phục hồi ảnh: Loại bỏ nhiễu (tt)

Lọc thống kê có thứ tự

– Median filter

– Max and min filter

– Midpoint filter

– Alpha trimmed mean filter

Loại bỏ nhiễu trong miền tần số

– Tốt cho loại bỏ các nhiễu định kỳ

– Band reject filters• Ideal band reject filter

• Butterworth band reject filter

• Gaussian band reject filter

Page 22: Vn Image Processing 13 Revision

22

of

27Phân đoạn ảnh: cắt ngưỡng

Vấn đề phân đoạn

Tầm quan trọng của phân đoạn

Vấn đề nảy sinh với cắt ngưỡng

Cơ sở thuật toán cắt ngưỡng toàn cục

Cắt ngưỡng một giá trị và cắt ngưỡng nhiều

giá trị

Cơ sở cắt ngưỡng tương thích

Page 23: Vn Image Processing 13 Revision

23

of

27Xử lý Morphological

Các khái niệm và thao tác morphological cơ

bản

– Hitting, fitting and missing

– Erosion and dilation

– Opening and closing

Các thuật toán Morphological

– Boundary extraction

– Region filling

Page 24: Vn Image Processing 13 Revision

24

of

27Your Exam!

Follows the same format as previous years

4 questions in each section, attempt any 3

questions from each section

Read the questions carefully

DO THE PAST PAPERS – available online

Page 25: Vn Image Processing 13 Revision

25

of

27Tóm tắt

Có hai việc chính trong xử lý ảnh

– Cải thiện ảnh để hiển thị cho con người

– Chuẩn bị ảnh cho máy xử lý

Page 26: Vn Image Processing 13 Revision

26

of

27

Thank you very

much for listening

and good luck in

your exams