image processing and analysis - image processing

Upload: jack-chan

Post on 14-Apr-2018

330 views

Category:

Documents


7 download

TRANSCRIPT

  • 7/27/2019 Image Processing and Analysis - Image Processing

    1/95

    Image Processing and Analysis

    Image Processing

  • 7/27/2019 Image Processing and Analysis - Image Processing

    2/95

    Agenda

    Gray-Level Operations

    Look-up Tables

    Brightness and Contrast

    Color Space Operations

    Frequency Filtering

    Basic Morphology Particle Filtering and Parameters

    Gray-Level Morphology

  • 7/27/2019 Image Processing and Analysis - Image Processing

    3/95

    Modifying Gray Values

  • 7/27/2019 Image Processing and Analysis - Image Processing

    4/95

    Gray Level

    Perception (1)

    http://c/Program%20Files/National%20Instruments/Vision%20Assistant%207.0/Vision%20Assistant.exe
  • 7/27/2019 Image Processing and Analysis - Image Processing

    5/95

    Gray Level

    Perception (2)

    http://c/Program%20Files/National%20Instruments/Vision%20Assistant%207.0/Vision%20Assistant.exe
  • 7/27/2019 Image Processing and Analysis - Image Processing

    6/95

    Creating LuT (Look-up Tables)

  • 7/27/2019 Image Processing and Analysis - Image Processing

    7/95

    LuT: Linear

  • 7/27/2019 Image Processing and Analysis - Image Processing

    8/95

    LuT: Logarithmic

  • 7/27/2019 Image Processing and Analysis - Image Processing

    9/95

    LuT: Exponential

  • 7/27/2019 Image Processing and Analysis - Image Processing

    10/95

    LuT: Square

  • 7/27/2019 Image Processing and Analysis - Image Processing

    11/95

    LuT: Square Root

  • 7/27/2019 Image Processing and Analysis - Image Processing

    12/95

    LuT: Powerx

  • 7/27/2019 Image Processing and Analysis - Image Processing

    13/95

    LuT: Power 1/x

  • 7/27/2019 Image Processing and Analysis - Image Processing

    14/95

    LuT: Equalize

  • 7/27/2019 Image Processing and Analysis - Image Processing

    15/95

    LuT: Inverse

  • 7/27/2019 Image Processing and Analysis - Image Processing

    16/95

    Exercise 4.4

  • 7/27/2019 Image Processing and Analysis - Image Processing

    17/95

    Brightness and Contrast

  • 7/27/2019 Image Processing and Analysis - Image Processing

    18/95

    Exercise 4.5

  • 7/27/2019 Image Processing and Analysis - Image Processing

    19/95

    Color Models: RGB

    Source: Adobe Technical Guides

    http://www.adobe.com/main.html
  • 7/27/2019 Image Processing and Analysis - Image Processing

    20/95

    Color Models: HSL (HSI)

    Source: Adobe Technical Guides

    http://www.adobe.com/main.html
  • 7/27/2019 Image Processing and Analysis - Image Processing

    21/95

    Converting RGB to HSL (HSI)

  • 7/27/2019 Image Processing and Analysis - Image Processing

    22/95

    Example: NI Vision Assistant

    http://c/Program%20Files/National%20Instruments/Vision%20Assistant%207.0/Vision%20Assistant.exe
  • 7/27/2019 Image Processing and Analysis - Image Processing

    23/95

    Example: LabVIEW

    http://localhost/var/www/pro-rts/intern/downloads/Bildverarbeitung/examples/exercise%202.4.vi
  • 7/27/2019 Image Processing and Analysis - Image Processing

    24/95

    Spatial Image Filtering

    Filter

    Kernel

  • 7/27/2019 Image Processing and Analysis - Image Processing

    25/95

    Filter Kernel Impact

    (Smoothing)

    97 108 42 58 56

    67 73 56 81 50

    58 67 75 65 65

    50 67 50 16 73

    34 34 40 252 255

    New value: 99

  • 7/27/2019 Image Processing and Analysis - Image Processing

    26/95

    Filter Kernel Impact

  • 7/27/2019 Image Processing and Analysis - Image Processing

    27/95

    Exercise 4.7

    Kernel Families: Smoothing

    Gaussian

    Gradient

    Laplacian

  • 7/27/2019 Image Processing and Analysis - Image Processing

    28/95

    Smoothing Filter

  • 7/27/2019 Image Processing and Analysis - Image Processing

    29/95

    Gaussian Filter

  • 7/27/2019 Image Processing and Analysis - Image Processing

    30/95

    Gradient Filter (0)

    Prewitt

    Kernel

  • 7/27/2019 Image Processing and Analysis - Image Processing

    31/95

    Gradient Filter (1)

  • 7/27/2019 Image Processing and Analysis - Image Processing

    32/95

    Gradient Filter (4)

    Prewitt

    Kernel

  • 7/27/2019 Image Processing and Analysis - Image Processing

    33/95

    Gradient Filter: Sobel Kernel

  • 7/27/2019 Image Processing and Analysis - Image Processing

    34/95

    Laplace Filter (0)

  • 7/27/2019 Image Processing and Analysis - Image Processing

    35/95

    Laplace Filter (1)

  • 7/27/2019 Image Processing and Analysis - Image Processing

    36/95

    Laplace Filter (6)

  • 7/27/2019 Image Processing and Analysis - Image Processing

    37/95

    Laplace Filter (7)

  • 7/27/2019 Image Processing and Analysis - Image Processing

    38/95

    Frequency Filtering

  • 7/27/2019 Image Processing and Analysis - Image Processing

    39/95

    FFT Spectrum (Image)

  • 7/27/2019 Image Processing and Analysis - Image Processing

    40/95

    Exercise 4.8

  • 7/27/2019 Image Processing and Analysis - Image Processing

    41/95

    Standard and Optical Display

  • 7/27/2019 Image Processing and Analysis - Image Processing

    42/95

    FFT Truncate (Low Pass)

  • 7/27/2019 Image Processing and Analysis - Image Processing

    43/95

    Exercise 4.9

  • 7/27/2019 Image Processing and Analysis - Image Processing

    44/95

    FFT Truncate (High Pass)

  • 7/27/2019 Image Processing and Analysis - Image Processing

    45/95

    FFT Attenuate (Low Pass)

  • 7/27/2019 Image Processing and Analysis - Image Processing

    46/95

    FFT Attenuate (High Pass)

  • 7/27/2019 Image Processing and Analysis - Image Processing

    47/95

    Morphology Functions

  • 7/27/2019 Image Processing and Analysis - Image Processing

    48/95

    Thresholding

  • 7/27/2019 Image Processing and Analysis - Image Processing

    49/95

    Erosion

    Bi M h l St t i

  • 7/27/2019 Image Processing and Analysis - Image Processing

    50/95

    Binary Morphology: Structuring

    Element

    St t i El t

  • 7/27/2019 Image Processing and Analysis - Image Processing

    51/95

    Structuring Element

    Configuration

    1 1 1 1 1 0 0 0 0 0 0 0

    1 1 1 1 1 1 0 0 0 0 0 01 1 1 1 1 1 0 0 0 0 0 0

    1 1 1 1 1 1 1 0 0 0 0 0

    1 1 1 1 1 1 1 0 0 0 0 0

    1 1 1 1 1 1 1 0 0 0 0 0

    1 1 1 1 1 1 1 0 0 0 0 0

    1 1 1 1 1 1 1 0 0 0 0 0

    1 1 1 1 1 1 0 0 0 0 0 0

    1 1 1 1 1 1 0 0 0 0 0 0

    1 1 1 1 1 1 0 0 0 0 0 0

    1 1 1 1 1 1 0 0 0 0 0 0

  • 7/27/2019 Image Processing and Analysis - Image Processing

    52/95

    Exercise 4.13

  • 7/27/2019 Image Processing and Analysis - Image Processing

    53/95

    Dilation

  • 7/27/2019 Image Processing and Analysis - Image Processing

    54/95

    Opening

  • 7/27/2019 Image Processing and Analysis - Image Processing

    55/95

    Closing

  • 7/27/2019 Image Processing and Analysis - Image Processing

    56/95

    Proper Opening

  • 7/27/2019 Image Processing and Analysis - Image Processing

    57/95

    Proper Closing

  • 7/27/2019 Image Processing and Analysis - Image Processing

    58/95

    Hit-Miss Function

  • 7/27/2019 Image Processing and Analysis - Image Processing

    59/95

    Hit-Miss Function (2)

  • 7/27/2019 Image Processing and Analysis - Image Processing

    60/95

    Inner Gradient (Internal Edge)

  • 7/27/2019 Image Processing and Analysis - Image Processing

    61/95

    Outer Gradient (External Edge)

  • 7/27/2019 Image Processing and Analysis - Image Processing

    62/95

    Total Gradient

  • 7/27/2019 Image Processing and Analysis - Image Processing

    63/95

    Thinning

  • 7/27/2019 Image Processing and Analysis - Image Processing

    64/95

    Thickening

  • 7/27/2019 Image Processing and Analysis - Image Processing

    65/95

    Auto-Median

  • 7/27/2019 Image Processing and Analysis - Image Processing

    66/95

    Outline

    Gray Values and Look-up Tables (LuTs)

    Color Spaces and Models

    Spatial Filtering

    Frequency Filtering

    Basic Morphology

    Particle Filtering and Parameters Gray Level Morphology

  • 7/27/2019 Image Processing and Analysis - Image Processing

    67/95

    Remove Particle: Low Pass

  • 7/27/2019 Image Processing and Analysis - Image Processing

    68/95

    Remove Particle: High Pass

  • 7/27/2019 Image Processing and Analysis - Image Processing

    69/95

    Exercise 4.14

  • 7/27/2019 Image Processing and Analysis - Image Processing

    70/95

    Reject Border

  • 7/27/2019 Image Processing and Analysis - Image Processing

    71/95

    Exercise 4.15

  • 7/27/2019 Image Processing and Analysis - Image Processing

    72/95

    Particle Filtering

  • 7/27/2019 Image Processing and Analysis - Image Processing

    73/95

    Exercise 4.16

  • 7/27/2019 Image Processing and Analysis - Image Processing

    74/95

    Basic Particle Analysis

  • 7/27/2019 Image Processing and Analysis - Image Processing

    75/95

    Complex Particle Analysis

  • 7/27/2019 Image Processing and Analysis - Image Processing

    76/95

    Particle Parameter

  • 7/27/2019 Image Processing and Analysis - Image Processing

    77/95

    Fill Holes

  • 7/27/2019 Image Processing and Analysis - Image Processing

    78/95

    Exercise 4.17

    C

  • 7/27/2019 Image Processing and Analysis - Image Processing

    79/95

    Convex

    E i 4 18

  • 7/27/2019 Image Processing and Analysis - Image Processing

    80/95

    Exercise 4.18

    S ti

  • 7/27/2019 Image Processing and Analysis - Image Processing

    81/95

    Separation

    E i 4 19

  • 7/27/2019 Image Processing and Analysis - Image Processing

    82/95

    Exercise 4.19

    Sk l t L

  • 7/27/2019 Image Processing and Analysis - Image Processing

    83/95

    Skeleton L

    E i 4 20

  • 7/27/2019 Image Processing and Analysis - Image Processing

    84/95

    Exercise 4.20

    Sk l t M

  • 7/27/2019 Image Processing and Analysis - Image Processing

    85/95

    Skeleton M

    Ski F ti

  • 7/27/2019 Image Processing and Analysis - Image Processing

    86/95

    Skiz Function

    O tli

  • 7/27/2019 Image Processing and Analysis - Image Processing

    87/95

    Outline

    Gray Values and Look-up Tables (LuTs)

    Color Spaces and Models

    Spatial Filtering

    Frequency Filtering

    Basic Morphology

    Particle Filtering and Parameters Gray Level Morphology

    G L l E i

  • 7/27/2019 Image Processing and Analysis - Image Processing

    88/95

    Gray-Level Erosion

    E i 4 21

  • 7/27/2019 Image Processing and Analysis - Image Processing

    89/95

    Exercise 4.21

    G L l Dil ti

  • 7/27/2019 Image Processing and Analysis - Image Processing

    90/95

    Gray-Level Dilation

    Sq are and He agon

  • 7/27/2019 Image Processing and Analysis - Image Processing

    91/95

    Square and Hexagon

    Gray Level Opening

  • 7/27/2019 Image Processing and Analysis - Image Processing

    92/95

    Gray-Level Opening

    Gray Level Closing

  • 7/27/2019 Image Processing and Analysis - Image Processing

    93/95

    Gray-Level Closing

    Gray Level Proper Open

  • 7/27/2019 Image Processing and Analysis - Image Processing

    94/95

    Gray-Level Proper Open

    Gray Level Proper Close

  • 7/27/2019 Image Processing and Analysis - Image Processing

    95/95

    Gray-Level Proper Close