SlideShare una empresa de Scribd logo
1 de 25
Segmentation of Vehicles in
Traffic Video
Tun-Yu Chiang
Wilson Lau
Introduction
 Motivation
 In CA alone, >400 road monitoring cameras, plans to install more
 Reduce video bit-rate by object coding
 Collect traffic flow data and/or surveillance e.g. count vehicles
passing on highway, draw attention to abnormal driver behavior
 Two different approaches to segmentation:
 Motion Segmentation
 Gaussian Mixture Model
Motion Segmentation
 Segment regions with a coherent motion
Coherent motion: similar parameters in motion model
 Steps:
i. Estimate dense optic flow field
ii. Iterate between motion parameter estimation and
region segmentation
iii. Segmentation by k-means clustering of motion
parameters
Translational model  use motion vectors directly as parameters
Optic Flow Estimation
 Optic Flow (or spatio-temporal constraint) equation:
Ix · vx + Iy · vy + It = 0
where Ix , Iy , It are the spatial and temporal derivatives
 Problems
i. Under-constrained: add ‘smoothness constraint’ – assume flow
field constant over 5x5 neighbourhood window
 weighted LS solution
ii. ‘Small’ flow assumption often not valid:
e.g. at 1 pixel/frame, object will take 10 secs (300 frames@30fps)
to move across width of 300 pixels
 multi-scale approach
Level 0 (original resolution)
Level 1
Level 2
Multi-scale Optic Flow Estimation
 Iteratively Gaussian filter and
sub-sample by 2 to get ‘pyramid’
of lower resolution images
 Project and interpolate LS
solution from higher level which
then serve as initial estimates for
current level
 Use estimates to ‘pre-warp’ one
frame to satisfy small motion
assumption
 LS solution at each level refines
previous estimates
 Problem: Error propagation
 temporal smoothing essential at
higher levels
4 pixels/frame
2 pixels/frame
1 pixel/frame
Results:
Optic flow field estimation
Results:
Optical flow field estimation
 Smoothing of motion vectors across motion (object) boundaries due to
 Smoothness constraint added (5x5 window) to solve optic flow equation
 Further exacerbated by multi-scale approach
 Occlusions, other assumption violations (e.g. constant intensity)
 ‘noisy’ motion estimates
Segmentation
 Extract regions of interest by thresholding magnitude of motion vectors
 For each connected region, perform k-means clustering using feature
vector:
 Color intensities give information on object boundaries to counter the
smoothing of motion vectors across edges in optic flow estimate
 Remove small, isolated regions
[vx, vy, x, y, R, G, B]
motion
vectors
pixel
coordinates
color
intensities
Segmentation Results
 Simple translational motion model adequate
 Camera motion
 Unable to segment car in background
 2-pixel border at level 2 of image pyramid (5x5 neighbourhood window)
translates to a 8-pixel border region at full resolution
Segmentation Results
 Unsatisfactory segmentation when optic flow estimate is noisy
 Further work on
 Adding temporal continuity constraint for objects
 Improving optic flow estimation e.g. Total Least Squares
 Assess reliability of each motion vector estimate and incorporate into
segmentation
Gaussian Background Mixture Model
 Per-pixel model
 Each pixel is modeled as
sum of K weighted
Gaussians. K = 3~5
 The weights reflects the
frequency the Gaussian is
identified as part of
background
 Model updated adaptively
with learning rate and new
observation
 
 
 
  I
N
X
w
X
P
X
X
X
X
t
k
t
k
T
b
t
k
g
t
k
r
t
k
t
k
t
k
t
k
t
k
t
k
t
k
t
t
k
K
k
t
k
t
T
t
b
t
g
t
r
t












2
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
1
,
,
,
,
,
,
,
)
(










Segmentation Algorithm
 Matching Criterion
 If no match found: pixel is
foreground
 If match found: background
is average of high
ranking Gaussians.
Foreground is average of
low ranking Gaussians
 Update Formula
 Update weights:
 Update Gaussian:
Match found:
No Match found:
Replace least possible Gaussian
with new observation.
Matching and model
updating
New
observation
background
foreground
2
,
2
, t
k
t
k
t
X 

 



/
w
  k
k
k
M
w
w 



 

1
 
     
t
m
t
T
t
m
t
t
m
t
m
t
t
m
t
m
X
X
X
,
,
2
,
2
1
,
,
1
,
1
1





















Segmentation Result 1
• Background: “disappearing” electrical pole, blurring in the trees
• lane marks appear in both foreground/background
Segmentation Result 2
Cleaner background:
beginning of original sequence is purely background, so background
model was built faster.
Segmentation Result 3
Smaller global motion in original sequence:
Cleaner foreground and background.
Parameters matter
 affects how fast the
background model
incorporates new
observation
 K affects how sharp the
detail regions appears

Artifacts: Global Motion
 Constant small motion caused by hand-held camera
 Blurring of background
 Lane marks (vertical motion) and electrical pole (horizontal
motion)
Global Motion Compensation
 We used Phase
Correlation Motion
Estimation
 Block-based method
 Computationally
inexpensive comparing
to block matching
Segmentation After
Compensation
Segmentation After
Compensation
 Corrects artifacts before mentioned
 Still have problems: residue disappears slower
even with same learning rate
Q & A
Mixture model fails when …
 Constant repetitive
motion (jittering)
 High contrast between
neighborhood values
(edge regions)
 The object would
appear in both
foreground and
background
Phase Correlation Motion
Estimation
 Use block-based Phase
Correlation Function
(PCF) to estimate
translation vectors.
   
   
     
   
   
   
d
x
f
F
x
PCF
e
f
f
f
f
f
e
f
f
d
x
x
f
d
j
f
d
j
T
T

























1
2
2
1
*
2
1
2
2
1
2
1
Introduction
Our Experiment
 Obtain test data
 We shoot our own test sequences at intersection of
Page Mill Rd. and I-280.
 Only translational motions included in the sequences
 Segmentation
 Tun-Yu experimented on Gaussian mixture model
 Wilson experimented on motion segmentation

Más contenido relacionado

Similar a presentation.ppt

IRJET - Dehazing of Single Nighttime Haze Image using Superpixel Method
IRJET -  	  Dehazing of Single Nighttime Haze Image using Superpixel MethodIRJET -  	  Dehazing of Single Nighttime Haze Image using Superpixel Method
IRJET - Dehazing of Single Nighttime Haze Image using Superpixel MethodIRJET Journal
 
Research Paper v2.0
Research Paper v2.0Research Paper v2.0
Research Paper v2.0Kapil Tiwari
 
Intelligent Auto Horn System Using Artificial Intelligence
Intelligent Auto Horn System Using Artificial IntelligenceIntelligent Auto Horn System Using Artificial Intelligence
Intelligent Auto Horn System Using Artificial IntelligenceIRJET Journal
 
FV_IGARSS11.ppt
FV_IGARSS11.pptFV_IGARSS11.ppt
FV_IGARSS11.pptgrssieee
 
FV_IGARSS11.ppt
FV_IGARSS11.pptFV_IGARSS11.ppt
FV_IGARSS11.pptgrssieee
 
FV_IGARSS11.ppt
FV_IGARSS11.pptFV_IGARSS11.ppt
FV_IGARSS11.pptgrssieee
 
FV_IGARSS11.ppt
FV_IGARSS11.pptFV_IGARSS11.ppt
FV_IGARSS11.pptgrssieee
 
IRJET-Underwater Image Enhancement by Wavelet Decomposition using FPGA
IRJET-Underwater Image Enhancement by Wavelet Decomposition using FPGAIRJET-Underwater Image Enhancement by Wavelet Decomposition using FPGA
IRJET-Underwater Image Enhancement by Wavelet Decomposition using FPGAIRJET Journal
 
Estimation of Terrain Gradient Conditions & Obstacle Detection Using a Monocu...
Estimation of Terrain Gradient Conditions & Obstacle Detection Using a Monocu...Estimation of Terrain Gradient Conditions & Obstacle Detection Using a Monocu...
Estimation of Terrain Gradient Conditions & Obstacle Detection Using a Monocu...Connor Goddard
 
Digital image processing
Digital image processingDigital image processing
Digital image processingChetan Hulsure
 
ADAPTIVE, SCALABLE, TRANSFORMDOMAIN GLOBAL MOTION ESTIMATION FOR VIDEO STABIL...
ADAPTIVE, SCALABLE, TRANSFORMDOMAIN GLOBAL MOTION ESTIMATION FOR VIDEO STABIL...ADAPTIVE, SCALABLE, TRANSFORMDOMAIN GLOBAL MOTION ESTIMATION FOR VIDEO STABIL...
ADAPTIVE, SCALABLE, TRANSFORMDOMAIN GLOBAL MOTION ESTIMATION FOR VIDEO STABIL...cscpconf
 
V.KARTHIKEYAN PUBLISHED ARTICLE 1
V.KARTHIKEYAN PUBLISHED ARTICLE 1V.KARTHIKEYAN PUBLISHED ARTICLE 1
V.KARTHIKEYAN PUBLISHED ARTICLE 1KARTHIKEYAN V
 
Motion Estimation - umit 5 (II).pdf
Motion Estimation  - umit 5 (II).pdfMotion Estimation  - umit 5 (II).pdf
Motion Estimation - umit 5 (II).pdfHeenaSyed6
 
X-Ray Image Enhancement using CLAHE Method
X-Ray Image Enhancement using CLAHE MethodX-Ray Image Enhancement using CLAHE Method
X-Ray Image Enhancement using CLAHE MethodIRJET Journal
 
23 an investigation on image 233 241
23 an investigation on image 233 24123 an investigation on image 233 241
23 an investigation on image 233 241Alexander Decker
 
Visual Quality for both Images and Display of Systems by Visual Enhancement u...
Visual Quality for both Images and Display of Systems by Visual Enhancement u...Visual Quality for both Images and Display of Systems by Visual Enhancement u...
Visual Quality for both Images and Display of Systems by Visual Enhancement u...IJMER
 
F0255046056
F0255046056F0255046056
F0255046056theijes
 
Action Recognition (Thesis presentation)
Action Recognition (Thesis presentation)Action Recognition (Thesis presentation)
Action Recognition (Thesis presentation)nikhilus85
 
Image processing
Image processingImage processing
Image processingkamal330
 

Similar a presentation.ppt (20)

Oc2423022305
Oc2423022305Oc2423022305
Oc2423022305
 
IRJET - Dehazing of Single Nighttime Haze Image using Superpixel Method
IRJET -  	  Dehazing of Single Nighttime Haze Image using Superpixel MethodIRJET -  	  Dehazing of Single Nighttime Haze Image using Superpixel Method
IRJET - Dehazing of Single Nighttime Haze Image using Superpixel Method
 
Research Paper v2.0
Research Paper v2.0Research Paper v2.0
Research Paper v2.0
 
Intelligent Auto Horn System Using Artificial Intelligence
Intelligent Auto Horn System Using Artificial IntelligenceIntelligent Auto Horn System Using Artificial Intelligence
Intelligent Auto Horn System Using Artificial Intelligence
 
FV_IGARSS11.ppt
FV_IGARSS11.pptFV_IGARSS11.ppt
FV_IGARSS11.ppt
 
FV_IGARSS11.ppt
FV_IGARSS11.pptFV_IGARSS11.ppt
FV_IGARSS11.ppt
 
FV_IGARSS11.ppt
FV_IGARSS11.pptFV_IGARSS11.ppt
FV_IGARSS11.ppt
 
FV_IGARSS11.ppt
FV_IGARSS11.pptFV_IGARSS11.ppt
FV_IGARSS11.ppt
 
IRJET-Underwater Image Enhancement by Wavelet Decomposition using FPGA
IRJET-Underwater Image Enhancement by Wavelet Decomposition using FPGAIRJET-Underwater Image Enhancement by Wavelet Decomposition using FPGA
IRJET-Underwater Image Enhancement by Wavelet Decomposition using FPGA
 
Estimation of Terrain Gradient Conditions & Obstacle Detection Using a Monocu...
Estimation of Terrain Gradient Conditions & Obstacle Detection Using a Monocu...Estimation of Terrain Gradient Conditions & Obstacle Detection Using a Monocu...
Estimation of Terrain Gradient Conditions & Obstacle Detection Using a Monocu...
 
Digital image processing
Digital image processingDigital image processing
Digital image processing
 
ADAPTIVE, SCALABLE, TRANSFORMDOMAIN GLOBAL MOTION ESTIMATION FOR VIDEO STABIL...
ADAPTIVE, SCALABLE, TRANSFORMDOMAIN GLOBAL MOTION ESTIMATION FOR VIDEO STABIL...ADAPTIVE, SCALABLE, TRANSFORMDOMAIN GLOBAL MOTION ESTIMATION FOR VIDEO STABIL...
ADAPTIVE, SCALABLE, TRANSFORMDOMAIN GLOBAL MOTION ESTIMATION FOR VIDEO STABIL...
 
V.KARTHIKEYAN PUBLISHED ARTICLE 1
V.KARTHIKEYAN PUBLISHED ARTICLE 1V.KARTHIKEYAN PUBLISHED ARTICLE 1
V.KARTHIKEYAN PUBLISHED ARTICLE 1
 
Motion Estimation - umit 5 (II).pdf
Motion Estimation  - umit 5 (II).pdfMotion Estimation  - umit 5 (II).pdf
Motion Estimation - umit 5 (II).pdf
 
X-Ray Image Enhancement using CLAHE Method
X-Ray Image Enhancement using CLAHE MethodX-Ray Image Enhancement using CLAHE Method
X-Ray Image Enhancement using CLAHE Method
 
23 an investigation on image 233 241
23 an investigation on image 233 24123 an investigation on image 233 241
23 an investigation on image 233 241
 
Visual Quality for both Images and Display of Systems by Visual Enhancement u...
Visual Quality for both Images and Display of Systems by Visual Enhancement u...Visual Quality for both Images and Display of Systems by Visual Enhancement u...
Visual Quality for both Images and Display of Systems by Visual Enhancement u...
 
F0255046056
F0255046056F0255046056
F0255046056
 
Action Recognition (Thesis presentation)
Action Recognition (Thesis presentation)Action Recognition (Thesis presentation)
Action Recognition (Thesis presentation)
 
Image processing
Image processingImage processing
Image processing
 

Último

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesShubhangi Sonawane
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 

Último (20)

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 

presentation.ppt

  • 1. Segmentation of Vehicles in Traffic Video Tun-Yu Chiang Wilson Lau
  • 2. Introduction  Motivation  In CA alone, >400 road monitoring cameras, plans to install more  Reduce video bit-rate by object coding  Collect traffic flow data and/or surveillance e.g. count vehicles passing on highway, draw attention to abnormal driver behavior  Two different approaches to segmentation:  Motion Segmentation  Gaussian Mixture Model
  • 3. Motion Segmentation  Segment regions with a coherent motion Coherent motion: similar parameters in motion model  Steps: i. Estimate dense optic flow field ii. Iterate between motion parameter estimation and region segmentation iii. Segmentation by k-means clustering of motion parameters Translational model  use motion vectors directly as parameters
  • 4. Optic Flow Estimation  Optic Flow (or spatio-temporal constraint) equation: Ix · vx + Iy · vy + It = 0 where Ix , Iy , It are the spatial and temporal derivatives  Problems i. Under-constrained: add ‘smoothness constraint’ – assume flow field constant over 5x5 neighbourhood window  weighted LS solution ii. ‘Small’ flow assumption often not valid: e.g. at 1 pixel/frame, object will take 10 secs (300 frames@30fps) to move across width of 300 pixels  multi-scale approach
  • 5. Level 0 (original resolution) Level 1 Level 2 Multi-scale Optic Flow Estimation  Iteratively Gaussian filter and sub-sample by 2 to get ‘pyramid’ of lower resolution images  Project and interpolate LS solution from higher level which then serve as initial estimates for current level  Use estimates to ‘pre-warp’ one frame to satisfy small motion assumption  LS solution at each level refines previous estimates  Problem: Error propagation  temporal smoothing essential at higher levels 4 pixels/frame 2 pixels/frame 1 pixel/frame
  • 7. Results: Optical flow field estimation  Smoothing of motion vectors across motion (object) boundaries due to  Smoothness constraint added (5x5 window) to solve optic flow equation  Further exacerbated by multi-scale approach  Occlusions, other assumption violations (e.g. constant intensity)  ‘noisy’ motion estimates
  • 8. Segmentation  Extract regions of interest by thresholding magnitude of motion vectors  For each connected region, perform k-means clustering using feature vector:  Color intensities give information on object boundaries to counter the smoothing of motion vectors across edges in optic flow estimate  Remove small, isolated regions [vx, vy, x, y, R, G, B] motion vectors pixel coordinates color intensities
  • 9. Segmentation Results  Simple translational motion model adequate  Camera motion  Unable to segment car in background  2-pixel border at level 2 of image pyramid (5x5 neighbourhood window) translates to a 8-pixel border region at full resolution
  • 10. Segmentation Results  Unsatisfactory segmentation when optic flow estimate is noisy  Further work on  Adding temporal continuity constraint for objects  Improving optic flow estimation e.g. Total Least Squares  Assess reliability of each motion vector estimate and incorporate into segmentation
  • 11. Gaussian Background Mixture Model  Per-pixel model  Each pixel is modeled as sum of K weighted Gaussians. K = 3~5  The weights reflects the frequency the Gaussian is identified as part of background  Model updated adaptively with learning rate and new observation         I N X w X P X X X X t k t k T b t k g t k r t k t k t k t k t k t k t k t t k K k t k t T t b t g t r t             2 , , , , , , , , , , , , , , , 1 , , , , , , , ) (          
  • 12. Segmentation Algorithm  Matching Criterion  If no match found: pixel is foreground  If match found: background is average of high ranking Gaussians. Foreground is average of low ranking Gaussians  Update Formula  Update weights:  Update Gaussian: Match found: No Match found: Replace least possible Gaussian with new observation. Matching and model updating New observation background foreground 2 , 2 , t k t k t X        / w   k k k M w w        1         t m t T t m t t m t m t t m t m X X X , , 2 , 2 1 , , 1 , 1 1                     
  • 13. Segmentation Result 1 • Background: “disappearing” electrical pole, blurring in the trees • lane marks appear in both foreground/background
  • 14. Segmentation Result 2 Cleaner background: beginning of original sequence is purely background, so background model was built faster.
  • 15. Segmentation Result 3 Smaller global motion in original sequence: Cleaner foreground and background.
  • 16. Parameters matter  affects how fast the background model incorporates new observation  K affects how sharp the detail regions appears 
  • 17. Artifacts: Global Motion  Constant small motion caused by hand-held camera  Blurring of background  Lane marks (vertical motion) and electrical pole (horizontal motion)
  • 18. Global Motion Compensation  We used Phase Correlation Motion Estimation  Block-based method  Computationally inexpensive comparing to block matching
  • 20. Segmentation After Compensation  Corrects artifacts before mentioned  Still have problems: residue disappears slower even with same learning rate
  • 21. Q & A
  • 22. Mixture model fails when …  Constant repetitive motion (jittering)  High contrast between neighborhood values (edge regions)  The object would appear in both foreground and background
  • 23. Phase Correlation Motion Estimation  Use block-based Phase Correlation Function (PCF) to estimate translation vectors.                           d x f F x PCF e f f f f f e f f d x x f d j f d j T T                          1 2 2 1 * 2 1 2 2 1 2 1
  • 25. Our Experiment  Obtain test data  We shoot our own test sequences at intersection of Page Mill Rd. and I-280.  Only translational motions included in the sequences  Segmentation  Tun-Yu experimented on Gaussian mixture model  Wilson experimented on motion segmentation