影像處理應用之簡介

22  Download (0)

Full text

(1)

影像處理應用之簡介

陳中亮

2017/12/12

簡介

What is Digital image processing ?

Digital image processing(數位影像處理) is the use of

computeralgorithmsto performimage processingondigital images.

As a subcategory or field ofdigital signal processing, digital image processing has many advantages overanalog image processing. It allows a much wider range of algorithms to be applied to the input data and can avoid problems such as the build-up of noise and signal distortion during processing. Since images are defined over two dimensions (perhaps more) digital image processing may be modeled in the form ofmultidimensional systems.

-- https://en.wikipedia.org/wiki/Digital_image_processing

(2)

Examples (Lena)

平滑化

影像幾何變換 伸縮、旋轉

(3)

影像幾何變換 伸縮、旋轉

Examples

Dilation(膨脹) ↔ Erosion(侵蝕)

(4)

Examples

邊緣偵測

其他(模糊、邊緣偵測…)

(5)

Examples

Hough line transform 霍夫線變換

(6)

透視變換(Perspective Transformation)

(7)

Examples

人臉偵測

Basic Concepts

影像即矩陣 0~255, 0 or 1

(8)

Basic Concepts

A colour image has 3 2-d matrices for R, G , B

Basic concepts

Example (0黑 ~ 255白)

(9)

Basic operations

Reading and displaying images

Writing images

Core module

個別像素

對比、亮度調整

g(x) = a f(x) + b

a = Contrast parameter b = Brightness parameter

(10)

Core module

Contrast and Brightness example

a =2.2 b=50

Core module

Drawing functions

Lines Circles Ellipses Polygon

(11)

Image Processing

平滑化(Smoothing) – Removes noise filters : Gaussian, Median, Bilateral,...

- medianBlur - GaussianBlur - bilateralFilter

Image Processing

Smoothing

(12)

Image Processing

Erosion and Dilation 用於減弱或突顯特徵

Erode + Dilate = Removal of stray marks

Erosion

Dilation

Image Processing

直方圖

(13)

Image Processing

直方圖均勻化 – 改進對比

Image Processing

邊緣偵測

(14)

Image Processing

Sobel Edge Detector

Image Processing

Laplace Edge Detector

(15)

Image Processing

Canny Edge Detector

Best edge detector available

Uses more advanced intensity gradient based methods

特徵偵測(Feature Detection)

The following 3 are considered to be keypoints in an image

1) Edges 邊緣

2) Corner 角點(also known as interest points) 3) Blobs (also known as regions of interest )

Once the features have been found, these features are

「described」.

(16)

Feature Detection

Feature Extraction: SURF, SIFT, BRIEF

Feature Descriptors: SURF, SIFT, BRIEF, STAR Matchers: FLANN, BruteForce

(17)

Template Matching

(圖樣比對,樣板比對,模板匹配)

Foreground Extraction(前景提取)

(18)

Corner Detection(角點偵測, 角點檢測)

Feature Match 特徵匹配

(19)
(20)

How we teach computers to understand pictures

李飛飛

https://www.youtube.com/watch?v=40riCqvRoMs

Image Processing v.s. Computer Vision

40

Image Processing 影像處理

Computer Vision 電腦視覺

Low Level

High Level

Acquisition, representation, compression, transmission image enhancement edge/feature extraction Pattern matching image "understanding“

(Recognition, 3D)

(21)

41

42

(22)

Figure

Updating...

References

Related subjects :