Top Banner
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C. Computer and Robot Vision I Chapter 8 The Facet Model Presented by: 傅傅傅 & 傅傅傅 0911 246 313 [email protected] 傅傅傅傅 : 傅傅傅 傅傅
65

Computer and Robot Vision I

Jan 25, 2016

Download

Documents

lilac

Computer and Robot Vision I. Chapter 8 The Facet Model. Presented by: 傅楸善 & 張博思 0911 246 313 [email protected] 指導教授 : 傅楸善 博士. 8.1 Introduction. facet model: image as continuum or piecewise continuous intensity surface - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Computer and Robot Vision I

Digital Camera and Computer Vision LaboratoryDepartment of Computer Science and Information Engineering

National Taiwan University, Taipei, Taiwan, R.O.C.

Computer and Robot Vision I

Chapter 8The Facet Model

Presented by: 傅楸善 & 張博思 0911 246 313

[email protected]指導教授 : 傅楸善 博士

Page 2: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.1 Introduction

facet model: image as continuum or piecewise continuous intensity surface

observed digital image: noisy discretized sampling of distorted version

Page 3: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.1 Introduction

general forms: 1. piecewise constant (flat facet model), ideal region: constant gray level 2. piecewise linear (sloped facet model), ideal region: sloped plane gray level 3. piecewise quadratic, gray level surface: bivariate quadratic 4. piecewise cubic, gray level surface: cubic

surfaces

Page 4: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.2 Relative Maxima

relative maxima: first derivative zero second derivative negative

Page 5: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.3 Sloped Facet Parameter and Error Estimation

Least-squares procedure: to estimate sloped facet parameter, noise variance

Page 6: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.4 Facet-Based Peak Noise Removal

peak noise pixel: gray level intensity significantly differs from neighbors

(a) peak noise pixel, (b) not

Page 7: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.5 Iterated Facet Model

facets: image spatial domain partitioned into connected regions

facets: satisfy certain gray level and shape constraints

facets: gray levels as polynomial function of row-column coordinates

Page 8: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.6 Gradient-Based Facet Edge Detection

gradient-based facet edge detection: high values in first partial derivative

Page 9: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.7 Bayesian Approach to Gradient Edge Detection

The Bayesian approach to the decision of whether or not an observed gradient magnitude G is statistically significant and therefore participates in some edge is to decide there is an edge (statistically significant gradient) when,

: given gradient magnitude conditional probability of edge

: given gradient magnitude conditional probability of nonedge

Page 10: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.7 Bayesian Approach to Gradient Edge Detection (cont’)

possible to infer from observed image data

Page 11: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.8 Zero-Crossing Edge Detector

gradient edge detector: looks for high values of first derivatives

zero-crossing edge detector: looks for relative maxima in first derivative

zero-crossing: pixel as edge if zero crossing of second directional derivative underlying gray level intensity function f takes the form

Page 12: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.8.1 Discrete Orthogonal Polynomials

discrete orthogonal polynomial basis set of size N: polynomials deg. 0..N - 1

discrete Chebyshev polynomials: these unique polynomials

Page 13: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.8.1 Discrete Orthogonal Polynomials (cont’)

discrete orthogonal polynomials can be recursively generated

,

Page 14: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.8.2 Two-Dimensional Discrete Orthogonal Polynomials

2-D discrete orthogonal polynomials creatable from tensor products of 1D from above equations

r2

7

31r4_

Page 15: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

the exact fitting problem is to determine such that

is minimized the result is

for each index r, the data value d(r) is multiplied by the weight

8.8.3 Equal-Weighted Least-Squares Fitting Problem

Page 16: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.8.3 Equal-Weighted Least-Squares Fitting Problem

weight

Page 17: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.8.3 Equal-Weighted Least-Squares Fitting Problem (cont’)

Page 18: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.8.4 Directional Derivative Edge Finder

We define the directional derivative edge finder as the operator that places an edge in all pixels having a negatively sloped zero crossing of the second directional derivative taken in the direction of the gradient

r: row c: column radius in polar coordinate angle in polar coordinate, clockwise from

column axis

Page 19: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.8.4 Directional Derivative Edge Finder (cont’)

directional derivative of f at point (r, c) in direction :

Page 20: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.8.4 Directional Derivative Edge Finder (cont’)

second directional derivative of f at point (r, c) in direction :

Page 21: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.9 Integrated Directional Derivative Gradient Operator

integrated directional derivative gradient operator: more accurate step edge direction

Page 22: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

Page 23: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.10 Corner Detection corners: to detect buildings in aerial images corner points: to determine displacement vectors

from image pair gray scale corner detectors: detect corners directly

by gray scale image

Page 24: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

Aerial Images

Page 25: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

立體視覺圖

Page 26: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.11 Isotropic Derivative Magnitudes

gradient edge: from first-order isotropic derivative magnitude

Page 27: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.12 Ridges and Ravines on Digital Images

A digital ridge (ravine) occurs on a digital image when there is a simply connected sequence of pixels with gray level intensity values that are significantly higher (lower) in the sequence than those neighboring the sequence.

ridges, ravines: from bright, dark lines or reflection variation …

Page 28: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13 Topographic Primal Sketch8.13.1 Introduction

The basis of the topographic primal sketch consists of the labeling and grouping of the underlying Image-intensity surface patches according to the categories defined by monotonic, gray level, and invariant functions of directional derivatives

categories:

topographic primal sketch: rich, hierarchical, structurally complete representation

Page 29: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.1 Introduction (cont’)Invariance Requirement

histogram normalization, equal probability quantization: nonlinear enhancing

For example, edges based on zero crossings of second derivatives will change in position as the monotonic gray level transformation changes

peak, pit, ridge, valley, saddle, flat, hillside: have required invariance

Page 30: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

primal sketch: rich description of gray level changes present in image

Description: includes type, position, orientation, fuzziness of edge

topographic primal sketch: we concentrate on all types of two-dimensional gray level variations

8.13.1 Introduction (cont’)Background

Page 31: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.2 Mathematical Classification of Topographic Structures

topographic structures: invariant under monotonically increasing intensity transformations

Page 32: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.2 Peak Peak (knob): local maximum in all directions peak: curvature downward in all directions at peak: gradient zero at peak: second directional derivative negative in

all directions point classified as peak if

: gradient magnitude

Page 33: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.2 Peak

Page 34: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.2 Peak : second directional derivative in direction : second directional derivative in direction

Page 35: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.2 Pit pit (sink: bowl): local minimum in all directions pit: gradient zero, second directional derivative po

sitive

Page 36: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

ridge: occurs on ridge line ridge line: a curve consisting of a series of ridge

points walk along ridge line: points to the right and left are

lower ridge line: may be flat, sloped upward, sloped

downward, curved upward… ridge: local maximum in one direction

8.13.2 Ridge

Page 37: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.2 Ridge

Page 38: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.2 Ravine

ravine: valley: local minimum in one direction walk along ravine line: points to the right and left

are higher

Page 39: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.2 Saddle

saddle: local maximum in one direction, local minimum in perpendicular direction

saddle: positive curvature in one direction, negative in perpendicular dir.

saddle: gradient magnitude zero saddle: extrema of second directional derivative ha

ve opposite signs

Page 40: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.2 Flat flat: plain: simple, horizontal

surface flat: zero gradient, no

curvature

flat: foot or shoulder or not qualified at all

foot: flat begins to turn up into a hill

shoulder: flat ending and turning down into a hill

Page 41: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

Joke

Page 42: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.2 Hillside

hillside point: anything not covered by previous categories

hillside: nonzero gradient, no strict extrema Slope: tilted flat (constant gradient)

convex hill: curvature positive (upward)

Page 43: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.2 Hillside

concave hill: curvature negative (downward)

saddle hill: up in one direction, down in perpendicular direction

inflection point: zero crossing of second directional derivative

Page 44: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

mathematical properties of topographic structures on continuous surfaces

8.13.2 Summary of the Topographic Categories

Page 45: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.2 Invariance of the Topographic Categories

topographic labels: invariant under monotonically increasing gray level transformation

monotonically increasing: positive derivative everywhere

Page 46: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.2 Ridge and Ravine Continua

entire areas of surface: may be classified as all ridge or all ravine

Page 47: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.3 Topographic Classification Algorithm

peak, pit, ridge, ravine, saddle: likely not to occur at pixel center

peak, pit, ridge, ravine, saddle: if within pixel area, carry the label

Page 48: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.3 Case One: No Zero Crossing

no zero crossing along either of two directions: flat or hillside

no zero crossing: if gradient zero, then flat no zero crossing: if gradient nonzero, then hillside Hillside: possibly inflection point, slope, convex

hill, concave hill,…

Page 49: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.3 Case Two: One Zero Crossing

one zero crossing: peak, pit, ridge, ravine, or saddle

Page 50: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.3 Case Three: Two Zero Crossings

LABEL1, LABEL2: assign label to each zero crossing

Page 51: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.3 Case Four: More Then Two Zero Crossings

more than two zero crossings: choose the one closest to pixel center

more than two zero crossings: after ignoring the other, same as case 3

Page 52: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.4 Summary of Topographic Classification Scheme

one pass through the image, at each pixel

1. calculate fitting coefficients, through of cubic polynomial

2. use above coefficients to find gradient, gradient magnitude eigenvalues,…

3. search in eigenvector direction for zero crossing of first derivative

4. recompute gradient, gradient magnitude, second derivative, then classify

Page 53: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

8.13.4 Previous Work

web representation [Hsu et al. 1978]: axes divide image into regions

Page 54: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

KLA-Tencor

網址 : www.kla-tncor.com 業界最廣泛的先進檢驗與測量系統以及完善的

軟體,以用於加速製造業的成品率。 幫助客戶快速實施關鍵工藝的轉型,如對銅制

程、亞波長光刻、 0.13 和 0.10 微米器件技術及向 300 毫米晶片的轉型。

Page 55: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

High-Resolution Imaging Inspection System: 2360

Page 56: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

Uses selectable UV (UltraViolet) illumination (broadband UV, i-line, and g-line) and advanced noise suppression during patterned wafer inspection to detect critical defects for 90-nm and 65-nm design rules.

Accelerates time to classified results and improves yield with Inline Automatic Defect Classification (iADC).

High-Resolution Imaging Inspection System: 2360

Page 57: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

Working theory: Light source and illumination: Competitor: Unit price: Market share: Advantages and disadvantages:

High-Resolution Imaging Inspection System: 2360

Page 58: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

Uses a shorter wavelength light source and smaller pixel size to provide the improved inspection sensitivity needed for 90-nm node and below design rules.

High-Resolution Imaging Inspection System: 2360

Page 59: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

High-Resolution Imaging Inspection System: 2360

Page 60: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

High-Resolution Imaging Inspection System: 2360

CD: Critical Dimension

Page 61: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

High-Resolution Imaging Inspection System: 2360

FEOL: Front End Of Line

BEOL: Back End Of Line

Page 62: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

Homework (due Dec. 21)

Write the following programs to detect edge: Zero-crossing on the following four types of images

to get edge images (choose proper thresholds), p. 349

Laplacian, Fig. 7.33 minimum-variance Laplacian, Fig. 7.36 Laplacian of Gaussian, Fig. 7.37 Difference of Gaussian, (use tk to generate D.O.

G.)

dog (inhibitory , excitatory , kernel size=11)

Page 63: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

Page 64: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

Homework (due Dec. 21)

Page 65: Computer and Robot Vision I

DC & CV Lab.DC & CV Lab.CSIE NTU

END