Professional Documents
Culture Documents
Digital Image Processing & Computer Vision: Color Edges
Digital Image Processing & Computer Vision: Color Edges
Computer Vision
Color Edges
Agenda
Canny Edge Detector
Color Edges
2
Shen-Castan Edge Detection
• Edge detection is an image processing technique for finding the boundaries of objects within images.
• Edge detection is used for image segmentation and data extraction in areas such as image processing, computer
vision, and machine vision.
• One of the edge detection techniques that used in the image processing with noise input.
• Algorithms[1]
• Input data with Infinite Symmetric Exponential Filter (ISEF). The ISEF will filtering out any noise that will affect the quality of the
image. The Optimal ISEF function:
• Then find the localization edges by zero crossing of the Laplacian. To get Laplacian approximation, use smoothed image subtract
original image. The result will be a band limited Laplacian image. The final step will be to set all positive value to 1 and other to 0 to
get binary Laplacian image.
4
Comparison
• The Canny algorithm convolves the image with the derivative of a Gaussian, and then performs nonmaximum
suppression and hysteresis thresholding.
• The Shen- Castan algorithm convolves the image with the Infinite Symmetric Exponential Filter, computes the BLI,
suppresses false zero crossings, performs adaptive gradient thresholding, and finally also applies hysteresis
thresholding.
5
Color Image Processing
Preview
• Color fundamentals
• Color models
• Pseudo-color image processing
• Basics of full-color image processing
• Color transformations
• Smoothing and sharpening
Color fundamentals
• Physical phenomenon
• Physical nature of color is known
• Psysio-psychological phenomenon
• How human brain perceive and interpret color?
Color fundamentals (cont.)
• 1666, Isaac Newton 三稜鏡
Visible light
scene
Illumination source
reflection
eye
Physical quantities to describe a
chromatic light source
• Radiance: total amount of energy that flow from the
light source, measured in watts (W)
• Luminance: amount of energy an observer perceives
from a light source, measured in lumens (lm 流明 )
• Far infrared light: high radiance, but 0 luminance
• Brightness: subjective descriptor that is hard to
measure, similar to the achromatic notion of intensity
How human eyes sense light?
Color of light: R G B
RGB gamut of
monitors
Color gamut of
printers
Outline
• Color fundamentals
• Color models
• Pseudo-color image processing
• Basics of full-color image processing
• Color transformations
• Smoothing and sharpening
Color models
• Color model, color space, color system
• Specify colors in a standard way
• A coordinate system that each color is represented by a single point
(6)3 = 216
Safe RGB color (cont.)
R,G,B Hue
intensity
saturation
Edge detection
• Goal: Identify sudden
changes (discontinuities) in
an image
– Intuitively, most semantic and
shape information from the
image can be encoded in the
edges
– More compact than pixels
viewpoint line
Vanishing Vanishing
point point
Source: J. Hayes
color discontinuity
illumination discontinuity
Source: D. Hoiem
Source: D. Hoiem
Stanford University
10-Oct-17 Lecture 5 -
Closeup of edges
Depth discontinuity
Source: D. Hoiem
Stanford University
10-Oct-17 Lecture 5 -
Closeup of edges
Source: D. Hoiem
Stanford University
10-Oct-17 Lecture 5 -
Convolution
41
Slide credit: Ulas Bagci
11
2D convolution
example
43 6-Oct-16
2D convolution
example
44 6-Oct-16
2D convolution
example
45 6-Oct-16
2D convolution
example
46 6-Oct-16
2D convolution
example
47 6-Oct-16
2D convolution
example
48 6-Oct-16
2D convolution
example
49 6-Oct-16