SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Downloaden Sie, um offline zu lesen
A Physical Approach to Moving Cast Shadow
                 Detection

         Jia-Bin Huang and Chu-Song Chen

     jbhuang0604@gmail.com, song@iis.sinica.edu.tw
               Institute of Information Science
               Academia Sinica, Taipei, Taiwan

                     April 23, 2009




                                                     1 / 26
Outline


  1   Introduction

  2   Related Works

  3   Physical Model for Cast Shadows

  4   Learning and Detecting Cast Shadows

  5   Experimental Results

  6   Conclusion and Future Work



                                            2 / 26
Outline


  1   Introduction

  2   Related Works

  3   Physical Model for Cast Shadows

  4   Learning and Detecting Cast Shadows

  5   Experimental Results

  6   Conclusion and Future Work



                                            3 / 26
Introduction
  Motivation
      Moving object detection is one of the most important task
      in low-level vision.
      Detecting moving cast shadows is one of the most
      challenging problems for accurate object detection in video
      streams since shadow points are often misclassified as
      object points.
      Without careful consideration, cast shadows may introduce
      significant error in segmentation, tracking, and recognition.




                                                                     4 / 26
Introduction


  The Cause of Cast Shadows
  Light sources are partially or totally blocked by the foreground
  objects.

  Why Detecting Cast Shadows Is Difficult?
   1   Shadow points are detectable as foreground points and
       typically differ significantly from the background.
   2   Cast shadows have the same motion as the objects
       casting them.
   3   Shaded regions are usually connected with the foreground
       objects.



                                                                     5 / 26
Outline


  1   Introduction

  2   Related Works

  3   Physical Model for Cast Shadows

  4   Learning and Detecting Cast Shadows

  5   Experimental Results

  6   Conclusion and Future Work



                                            6 / 26
Related Works (1/2)

  Previous Works (before 2003)
      A Survey paper: [Prati et al. PAMI 2003]
      Statistical parametric: [Mikic et al. ICPR 2000]
      Statistical nonparametric: [Horprasert et al. ICCV
      Workshop 1999]
      Deterministic model-based: [Onoguchi ICPR 1998]
      Deterministic nonmodel-based: [Cucchiara et al. PAMI
      2001]

  Major Drawbacks
      Need to explicitly tune the parameters for each scene.
      Hard to adapt to the illumination conditions and
      environment changes.


                                                               7 / 26
Related Works (2/2)
  Learning-based Approaches
  Basic Idea: Learn cast shadow model from video sequences.
      Shadow Flow, [Porikli et al. ICCV 2005]
      Gaussian Mixture Shadow Modeling, [Martel-Brisson et al.
      PAMI 2007]
      Combining Local and Global Features, [Liu et al. CVPR 07]
      Learning Physical Model of Light Sources and Surfaces
      [Martel-Brisson et al. CVPR 2008]

  Drawbacks
      Most of them assume shadow values will attenuate linearly
      along the line between the value of the corresponding
      background and the origin.
      Pixel-based models may suffer from slow learning due to
      the lack of sufficient samples.
                                                                  8 / 26
Outline


  1   Introduction

  2   Related Works

  3   Physical Model for Cast Shadows

  4   Learning and Detecting Cast Shadows

  5   Experimental Results

  6   Conclusion and Future Work



                                            9 / 26
Main Idea


     A general physics-based shadow model
     Decompose light incident at the background surface into
     two classes
         Direct light sources (e.g., sun)
         Ambient illumination (e.g., light scattered by the sky,
         colored light from nearby surfaces (color bleeding))
     Suppose we have N light sources and M ambient
     illumination, then the intensity function of light:
                     N                      M
            E(λ) =       Eincident,n(λ) +       Eambient,m(λ).
                     n                      m




                                                                   10 / 26
Ambient Illuminations and Direct Light Sources


     Lambertian model: camera
     sensor response gk(p) at point p

      gk(p) =    E(λ, p)ρ(λ, p)Sk(λ)dλ.

     E(λ, p) Intensity function of light
     sources
     ρ(λ, p) The reflectance of an
     object surface
     Sk(λ) Sensor spectral sensitivity
     function




                                                 11 / 26
Appearance Variation Under Cast Shadow
     Part or total light sources are blocked by foreground
     objects
     Ambient illumination may be slightly changed (from BGA to
        ′
     BGA)




                                                                 12 / 26
Color Feature Vector

     We encode the difference vector between background and
     shadow value as our color feature.
     xs,t(p) = [αt(p), θt(p), φt(p)]T (in spherical coordinate
     system)
     Illumination attenuation
                                       ||vt(p)||
                           αt(p) =
                                     ||BGt(p)||

     Angle information

                                           vG(p)
                                            t
                         θt(p) = arctan(         )
                                           vR(p)
                                            t

                                             vB(p)
                                              t
                         φt(p) = arccos(             )
                                           ||vt(p)||

                                                                 13 / 26
Outline


  1   Introduction

  2   Related Works

  3   Physical Model for Cast Shadows

  4   Learning and Detecting Cast Shadows

  5   Experimental Results

  6   Conclusion and Future Work



                                            14 / 26
Overview


   1   Perform background subtraction to obtain foreground
       candidates (i.e., including real foreground and cast
       shadows)
   2   Apply weak shadow detector as a pre-filter to obtain
       shadow candidates (e.g., filter out those pixels whose
       illumination values are larger than the corresponding
       background values)
   3   For these shadow candidates, learn the color feature
       vector xs,t(p) using GMM over time
   4   Detecting cast shadow using the learned cast shadow
       model




                                                               15 / 26
Weak Shadow Detector




  Criterion for shadow candidates
                                  BGt(p)
                    rl(p) =
                              xt(p) cos(ψ(p))
                                  xt(p), BGt(p)
                ψ(p) = arccos
                                 xt(p) BGt(p)
                rmin < rl(p) < rmax, ψ(p) < ψmax
                                                   16 / 26
Incorporating Spatial Information

  Prior Knowledge of Cast Shadows
  Cast shadows would not enhance the spatial gradient intensity

      Introduce ωt(p) as a confidence value of cast shadows

                                ε + |∇(Bt(p))|
               ωt(p) =                                   ,
                         ε + max{|∇(It(p))|, |∇(Bt(p))|}

      where ε is a smooth term.
      To accelerate the learning speed of the pixel-based
      shadow model, take ωt(p) as confidence value to update
      shadow model at pixel p
      Penalize samples having larger gradient intensity than
      background by lessening the learning rate


                                                                  17 / 26
Detecting Shadows at Light/Shadow Border

     Shadows at light/shadow border show different behavior
     from shadows inside the shaded region
     Solution: Detecting cast shadows only with angle
     information




                     (a)αt(p)



                     (b)θt(p)



                     (c)φt(p)
                                                              18 / 26
Outline


  1   Introduction

  2   Related Works

  3   Physical Model for Cast Shadows

  4   Learning and Detecting Cast Shadows

  5   Experimental Results

  6   Conclusion and Future Work



                                            19 / 26
Qualitative Evaluation




          (a)              (b)              (c)              (d)
  Figure: (a) Original images, (b) Background posterior probability, (c)
  Shadow posterior probability, and (d) Forground posterior probability


                                                                           20 / 26
Quantitative Evaluation
  Performance Evaluation Metrics [Prati et al. PAMI 2003]
      Shadow Detection Rate η
                                    TPS
                            η=
                                 TPS + FNS
      Shadow Discriminative Rate ξ

                                    TPF
                            ξ=
                                 TPF + FNF

    Sequence      Highway I       Highway II       Hallway
     Method      η%     ξ%        η%    ξ%       η%      ξ%
    Proposed    72.34 84.98      72.70 79.89    71.69 88.25
     Kernel     70.50 84.40      68.40 71.20    72.40 86.70
       LGf      72.10 79.70        -      -       -       -
     GMSM       63.30 71.30      58.51 44.40    60.50 87.00
                                                              21 / 26
Effect of Shadows at Shadow/Light border




            (a)                     (b)                     (c)

  Figure: Effect of shadows at shadow/light border (a) Original frame of
  sequence “Highway I". (b)(c) Foreground posterior without/with
  considering shadows at shadow/light border.




                                                                           22 / 26
Outline


  1   Introduction

  2   Related Works

  3   Physical Model for Cast Shadows

  4   Learning and Detecting Cast Shadows

  5   Experimental Results

  6   Conclusion and Future Work



                                            23 / 26
Conclusion




     Provide a better description for background surface value
     variation under cast shadow
     Incorporate spatial information to accelerate the learning of
     pixel-based shadow model
     Take shadows at light/shadow border into consideration




                                                                     24 / 26
Future Work




     Derive physics-based features for building a global shadow
     model in a scene
     Jia-Bin Huang and Chu-Song Chen, “Moving Cast Shadow
     Detection using Physics-based Features", CVPR 2009
     Extend the physical model to handle more general cases
     (e.g., surface with specular reflection, spatial varing
     ambient illumination, etc.)




                                                                  25 / 26
The End




          Thank you




                      26 / 26

Weitere ähnliche Inhalte

Was ist angesagt?

A Novel Methodology for Designing Linear Phase IIR Filters
A Novel Methodology for Designing Linear Phase IIR FiltersA Novel Methodology for Designing Linear Phase IIR Filters
A Novel Methodology for Designing Linear Phase IIR FiltersIDES Editor
 
"Deep Learning" Chap.6 Convolutional Neural Net
"Deep Learning" Chap.6 Convolutional Neural Net"Deep Learning" Chap.6 Convolutional Neural Net
"Deep Learning" Chap.6 Convolutional Neural NetKen'ichi Matsui
 
CS 354 Shadows (cont'd) and Scene Graphs
CS 354 Shadows (cont'd) and Scene GraphsCS 354 Shadows (cont'd) and Scene Graphs
CS 354 Shadows (cont'd) and Scene GraphsMark Kilgard
 
Compressed Sensing and Tomography
Compressed Sensing and TomographyCompressed Sensing and Tomography
Compressed Sensing and TomographyGabriel Peyré
 
Sparsity and Compressed Sensing
Sparsity and Compressed SensingSparsity and Compressed Sensing
Sparsity and Compressed SensingGabriel Peyré
 
Signal Processing Course : Compressed Sensing
Signal Processing Course : Compressed SensingSignal Processing Course : Compressed Sensing
Signal Processing Course : Compressed SensingGabriel Peyré
 
Chapter 1 introduction (Image Processing)
Chapter 1 introduction (Image Processing)Chapter 1 introduction (Image Processing)
Chapter 1 introduction (Image Processing)Varun Ojha
 
Image Retrieval with Fisher Vectors of Binary Features (MIRU'14)
Image Retrieval with Fisher Vectors of Binary Features (MIRU'14)Image Retrieval with Fisher Vectors of Binary Features (MIRU'14)
Image Retrieval with Fisher Vectors of Binary Features (MIRU'14)Yusuke Uchida
 
CG OpenGL 3D object representations-course 8
CG OpenGL 3D object representations-course 8CG OpenGL 3D object representations-course 8
CG OpenGL 3D object representations-course 8fungfung Chen
 
ARCHITECTURAL CONDITIONING FOR DISENTANGLEMENT OF OBJECT IDENTITY AND POSTURE...
ARCHITECTURAL CONDITIONING FOR DISENTANGLEMENT OF OBJECT IDENTITY AND POSTURE...ARCHITECTURAL CONDITIONING FOR DISENTANGLEMENT OF OBJECT IDENTITY AND POSTURE...
ARCHITECTURAL CONDITIONING FOR DISENTANGLEMENT OF OBJECT IDENTITY AND POSTURE...홍배 김
 
CS 354 Understanding Color
CS 354 Understanding ColorCS 354 Understanding Color
CS 354 Understanding ColorMark Kilgard
 
Review : Prototype Mixture Models for Few-shot Semantic Segmentation
Review : Prototype Mixture Models for Few-shot Semantic SegmentationReview : Prototype Mixture Models for Few-shot Semantic Segmentation
Review : Prototype Mixture Models for Few-shot Semantic SegmentationDongmin Choi
 
Lecture 06 marco aurelio ranzato - deep learning
Lecture 06   marco aurelio ranzato - deep learningLecture 06   marco aurelio ranzato - deep learning
Lecture 06 marco aurelio ranzato - deep learningmustafa sarac
 
Geometry Shader-based Bump Mapping Setup
Geometry Shader-based Bump Mapping SetupGeometry Shader-based Bump Mapping Setup
Geometry Shader-based Bump Mapping SetupMark Kilgard
 
CS 354 Final Exam Review
CS 354 Final Exam ReviewCS 354 Final Exam Review
CS 354 Final Exam ReviewMark Kilgard
 

Was ist angesagt? (20)

A Novel Methodology for Designing Linear Phase IIR Filters
A Novel Methodology for Designing Linear Phase IIR FiltersA Novel Methodology for Designing Linear Phase IIR Filters
A Novel Methodology for Designing Linear Phase IIR Filters
 
"Deep Learning" Chap.6 Convolutional Neural Net
"Deep Learning" Chap.6 Convolutional Neural Net"Deep Learning" Chap.6 Convolutional Neural Net
"Deep Learning" Chap.6 Convolutional Neural Net
 
Foreground Detection : Combining Background Subspace Learning with Object Smo...
Foreground Detection : Combining Background Subspace Learning with Object Smo...Foreground Detection : Combining Background Subspace Learning with Object Smo...
Foreground Detection : Combining Background Subspace Learning with Object Smo...
 
Nanotechnology
NanotechnologyNanotechnology
Nanotechnology
 
CS 354 Shadows (cont'd) and Scene Graphs
CS 354 Shadows (cont'd) and Scene GraphsCS 354 Shadows (cont'd) and Scene Graphs
CS 354 Shadows (cont'd) and Scene Graphs
 
Deblurring in ct
Deblurring in ctDeblurring in ct
Deblurring in ct
 
Compressed Sensing and Tomography
Compressed Sensing and TomographyCompressed Sensing and Tomography
Compressed Sensing and Tomography
 
Sparsity and Compressed Sensing
Sparsity and Compressed SensingSparsity and Compressed Sensing
Sparsity and Compressed Sensing
 
Signal Processing Course : Compressed Sensing
Signal Processing Course : Compressed SensingSignal Processing Course : Compressed Sensing
Signal Processing Course : Compressed Sensing
 
Chapter 1 introduction (Image Processing)
Chapter 1 introduction (Image Processing)Chapter 1 introduction (Image Processing)
Chapter 1 introduction (Image Processing)
 
Image Retrieval with Fisher Vectors of Binary Features (MIRU'14)
Image Retrieval with Fisher Vectors of Binary Features (MIRU'14)Image Retrieval with Fisher Vectors of Binary Features (MIRU'14)
Image Retrieval with Fisher Vectors of Binary Features (MIRU'14)
 
CG OpenGL 3D object representations-course 8
CG OpenGL 3D object representations-course 8CG OpenGL 3D object representations-course 8
CG OpenGL 3D object representations-course 8
 
CSMR11b.ppt
CSMR11b.pptCSMR11b.ppt
CSMR11b.ppt
 
BMC 2012
BMC 2012BMC 2012
BMC 2012
 
ARCHITECTURAL CONDITIONING FOR DISENTANGLEMENT OF OBJECT IDENTITY AND POSTURE...
ARCHITECTURAL CONDITIONING FOR DISENTANGLEMENT OF OBJECT IDENTITY AND POSTURE...ARCHITECTURAL CONDITIONING FOR DISENTANGLEMENT OF OBJECT IDENTITY AND POSTURE...
ARCHITECTURAL CONDITIONING FOR DISENTANGLEMENT OF OBJECT IDENTITY AND POSTURE...
 
CS 354 Understanding Color
CS 354 Understanding ColorCS 354 Understanding Color
CS 354 Understanding Color
 
Review : Prototype Mixture Models for Few-shot Semantic Segmentation
Review : Prototype Mixture Models for Few-shot Semantic SegmentationReview : Prototype Mixture Models for Few-shot Semantic Segmentation
Review : Prototype Mixture Models for Few-shot Semantic Segmentation
 
Lecture 06 marco aurelio ranzato - deep learning
Lecture 06   marco aurelio ranzato - deep learningLecture 06   marco aurelio ranzato - deep learning
Lecture 06 marco aurelio ranzato - deep learning
 
Geometry Shader-based Bump Mapping Setup
Geometry Shader-based Bump Mapping SetupGeometry Shader-based Bump Mapping Setup
Geometry Shader-based Bump Mapping Setup
 
CS 354 Final Exam Review
CS 354 Final Exam ReviewCS 354 Final Exam Review
CS 354 Final Exam Review
 

Andere mochten auch

Jia-Bin Huang's Curriculum Vitae
Jia-Bin Huang's Curriculum VitaeJia-Bin Huang's Curriculum Vitae
Jia-Bin Huang's Curriculum VitaeJia-Bin Huang
 
Toward Accurate and Robust Cross-Ratio based Gaze Trackers Through Learning F...
Toward Accurate and Robust Cross-Ratio based Gaze Trackers Through Learning F...Toward Accurate and Robust Cross-Ratio based Gaze Trackers Through Learning F...
Toward Accurate and Robust Cross-Ratio based Gaze Trackers Through Learning F...Jia-Bin Huang
 
Transformation Guided Image Completion ICCP 2013
Transformation Guided Image Completion ICCP 2013Transformation Guided Image Completion ICCP 2013
Transformation Guided Image Completion ICCP 2013Jia-Bin Huang
 
Saliency Detection via Divergence Analysis: A Unified Perspective ICPR 2012
Saliency Detection via Divergence Analysis: A Unified Perspective ICPR 2012Saliency Detection via Divergence Analysis: A Unified Perspective ICPR 2012
Saliency Detection via Divergence Analysis: A Unified Perspective ICPR 2012Jia-Bin Huang
 
Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)
Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)
Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)Jia-Bin Huang
 
美國研究所申請流程 (A Guide for Applying Graduate Schools in USA)
美國研究所申請流程 (A Guide for Applying Graduate Schools in USA)美國研究所申請流程 (A Guide for Applying Graduate Schools in USA)
美國研究所申請流程 (A Guide for Applying Graduate Schools in USA)Jia-Bin Huang
 
How to Read Academic Papers
How to Read Academic PapersHow to Read Academic Papers
How to Read Academic PapersJia-Bin Huang
 
Image Completion using Planar Structure Guidance (SIGGRAPH 2014)
Image Completion using Planar Structure Guidance (SIGGRAPH 2014)Image Completion using Planar Structure Guidance (SIGGRAPH 2014)
Image Completion using Planar Structure Guidance (SIGGRAPH 2014)Jia-Bin Huang
 
What Makes a Creative Photograph?
What Makes a Creative Photograph?What Makes a Creative Photograph?
What Makes a Creative Photograph?Jia-Bin Huang
 
How to come up with new research ideas
How to come up with new research ideasHow to come up with new research ideas
How to come up with new research ideasJia-Bin Huang
 
Lecture 21 - Image Categorization - Computer Vision Spring2015
Lecture 21 - Image Categorization -  Computer Vision Spring2015Lecture 21 - Image Categorization -  Computer Vision Spring2015
Lecture 21 - Image Categorization - Computer Vision Spring2015Jia-Bin Huang
 
Linear Algebra and Matlab tutorial
Linear Algebra and Matlab tutorialLinear Algebra and Matlab tutorial
Linear Algebra and Matlab tutorialJia-Bin Huang
 
Writing Fast MATLAB Code
Writing Fast MATLAB CodeWriting Fast MATLAB Code
Writing Fast MATLAB CodeJia-Bin Huang
 
Lecture 29 Convolutional Neural Networks - Computer Vision Spring2015
Lecture 29 Convolutional Neural Networks -  Computer Vision Spring2015Lecture 29 Convolutional Neural Networks -  Computer Vision Spring2015
Lecture 29 Convolutional Neural Networks - Computer Vision Spring2015Jia-Bin Huang
 
Letters Of Recommedations
Letters Of RecommedationsLetters Of Recommedations
Letters Of RecommedationsVINCEROYALTY
 
24symbols - what's in it?
24symbols - what's in it?24symbols - what's in it?
24symbols - what's in it?24Symbols
 
15 Things You Can Do Tomorrow To Grow Digital Presence
15 Things You Can Do Tomorrow To Grow Digital Presence15 Things You Can Do Tomorrow To Grow Digital Presence
15 Things You Can Do Tomorrow To Grow Digital PresenceThe Loud Few
 
Make Eumora Your source of income
Make Eumora Your source of incomeMake Eumora Your source of income
Make Eumora Your source of incomeguest261526
 

Andere mochten auch (20)

Jia-Bin Huang's Curriculum Vitae
Jia-Bin Huang's Curriculum VitaeJia-Bin Huang's Curriculum Vitae
Jia-Bin Huang's Curriculum Vitae
 
Toward Accurate and Robust Cross-Ratio based Gaze Trackers Through Learning F...
Toward Accurate and Robust Cross-Ratio based Gaze Trackers Through Learning F...Toward Accurate and Robust Cross-Ratio based Gaze Trackers Through Learning F...
Toward Accurate and Robust Cross-Ratio based Gaze Trackers Through Learning F...
 
Transformation Guided Image Completion ICCP 2013
Transformation Guided Image Completion ICCP 2013Transformation Guided Image Completion ICCP 2013
Transformation Guided Image Completion ICCP 2013
 
Saliency Detection via Divergence Analysis: A Unified Perspective ICPR 2012
Saliency Detection via Divergence Analysis: A Unified Perspective ICPR 2012Saliency Detection via Divergence Analysis: A Unified Perspective ICPR 2012
Saliency Detection via Divergence Analysis: A Unified Perspective ICPR 2012
 
Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)
Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)
Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)
 
美國研究所申請流程 (A Guide for Applying Graduate Schools in USA)
美國研究所申請流程 (A Guide for Applying Graduate Schools in USA)美國研究所申請流程 (A Guide for Applying Graduate Schools in USA)
美國研究所申請流程 (A Guide for Applying Graduate Schools in USA)
 
How to Read Academic Papers
How to Read Academic PapersHow to Read Academic Papers
How to Read Academic Papers
 
Image Completion using Planar Structure Guidance (SIGGRAPH 2014)
Image Completion using Planar Structure Guidance (SIGGRAPH 2014)Image Completion using Planar Structure Guidance (SIGGRAPH 2014)
Image Completion using Planar Structure Guidance (SIGGRAPH 2014)
 
What Makes a Creative Photograph?
What Makes a Creative Photograph?What Makes a Creative Photograph?
What Makes a Creative Photograph?
 
How to come up with new research ideas
How to come up with new research ideasHow to come up with new research ideas
How to come up with new research ideas
 
Lecture 21 - Image Categorization - Computer Vision Spring2015
Lecture 21 - Image Categorization -  Computer Vision Spring2015Lecture 21 - Image Categorization -  Computer Vision Spring2015
Lecture 21 - Image Categorization - Computer Vision Spring2015
 
Linear Algebra and Matlab tutorial
Linear Algebra and Matlab tutorialLinear Algebra and Matlab tutorial
Linear Algebra and Matlab tutorial
 
Writing Fast MATLAB Code
Writing Fast MATLAB CodeWriting Fast MATLAB Code
Writing Fast MATLAB Code
 
Lecture 29 Convolutional Neural Networks - Computer Vision Spring2015
Lecture 29 Convolutional Neural Networks -  Computer Vision Spring2015Lecture 29 Convolutional Neural Networks -  Computer Vision Spring2015
Lecture 29 Convolutional Neural Networks - Computer Vision Spring2015
 
Letters Of Recommedations
Letters Of RecommedationsLetters Of Recommedations
Letters Of Recommedations
 
Walk a thon
Walk a thonWalk a thon
Walk a thon
 
24symbols - what's in it?
24symbols - what's in it?24symbols - what's in it?
24symbols - what's in it?
 
15 Things You Can Do Tomorrow To Grow Digital Presence
15 Things You Can Do Tomorrow To Grow Digital Presence15 Things You Can Do Tomorrow To Grow Digital Presence
15 Things You Can Do Tomorrow To Grow Digital Presence
 
Unaico2010 turkce nisan leadertr
Unaico2010 turkce nisan leadertrUnaico2010 turkce nisan leadertr
Unaico2010 turkce nisan leadertr
 
Make Eumora Your source of income
Make Eumora Your source of incomeMake Eumora Your source of income
Make Eumora Your source of income
 

Ähnlich wie A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)

A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)
A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)
A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)Jia-Bin Huang
 
A computationally efficient method for sequential MAP-MRF cloud detection
A computationally efficient method for sequential MAP-MRF cloud detectionA computationally efficient method for sequential MAP-MRF cloud detection
A computationally efficient method for sequential MAP-MRF cloud detectionBeniamino Murgante
 
Moving Cast Shadow Detection Using Physics-based Features (CVPR 2009)
Moving Cast Shadow Detection Using Physics-based Features (CVPR 2009)Moving Cast Shadow Detection Using Physics-based Features (CVPR 2009)
Moving Cast Shadow Detection Using Physics-based Features (CVPR 2009)Jia-Bin Huang
 
Practical spherical harmonics based PRT methods.ppsx
Practical spherical harmonics based PRT methods.ppsxPractical spherical harmonics based PRT methods.ppsx
Practical spherical harmonics based PRT methods.ppsxMannyK4
 
Approximate Bayesian computation for the Ising/Potts model
Approximate Bayesian computation for the Ising/Potts modelApproximate Bayesian computation for the Ising/Potts model
Approximate Bayesian computation for the Ising/Potts modelMatt Moores
 
Large scale landuse classification of satellite imagery
Large scale landuse classification of satellite imageryLarge scale landuse classification of satellite imagery
Large scale landuse classification of satellite imagerySuneel Marthi
 
Macrocanonical models for texture synthesis
Macrocanonical models for texture synthesisMacrocanonical models for texture synthesis
Macrocanonical models for texture synthesisValentin De Bortoli
 
Landuse Classification from Satellite Imagery using Deep Learning
Landuse Classification from Satellite Imagery using Deep LearningLanduse Classification from Satellite Imagery using Deep Learning
Landuse Classification from Satellite Imagery using Deep LearningDataWorks Summit
 
Elementary Landscape Decomposition of the Quadratic Assignment Problem
Elementary Landscape Decomposition of the Quadratic Assignment ProblemElementary Landscape Decomposition of the Quadratic Assignment Problem
Elementary Landscape Decomposition of the Quadratic Assignment Problemjfrchicanog
 
Graph Neural Network in practice
Graph Neural Network in practiceGraph Neural Network in practice
Graph Neural Network in practicetuxette
 
Practical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT MethodsPractical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT MethodsNaughty Dog
 
Elementary Landscape Decomposition of Combinatorial Optimization Problems
Elementary Landscape Decomposition of Combinatorial Optimization ProblemsElementary Landscape Decomposition of Combinatorial Optimization Problems
Elementary Landscape Decomposition of Combinatorial Optimization Problemsjfrchicanog
 
Fingerprint High Level Classification
Fingerprint High Level ClassificationFingerprint High Level Classification
Fingerprint High Level ClassificationReza Rahimi
 

Ähnlich wie A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009) (20)

A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)
A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)
A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)
 
A computationally efficient method for sequential MAP-MRF cloud detection
A computationally efficient method for sequential MAP-MRF cloud detectionA computationally efficient method for sequential MAP-MRF cloud detection
A computationally efficient method for sequential MAP-MRF cloud detection
 
BMC 2012 - Invited Talk
BMC 2012 - Invited TalkBMC 2012 - Invited Talk
BMC 2012 - Invited Talk
 
Moving Cast Shadow Detection Using Physics-based Features (CVPR 2009)
Moving Cast Shadow Detection Using Physics-based Features (CVPR 2009)Moving Cast Shadow Detection Using Physics-based Features (CVPR 2009)
Moving Cast Shadow Detection Using Physics-based Features (CVPR 2009)
 
Lec-3 DIP.pptx
Lec-3 DIP.pptxLec-3 DIP.pptx
Lec-3 DIP.pptx
 
Practical spherical harmonics based PRT methods.ppsx
Practical spherical harmonics based PRT methods.ppsxPractical spherical harmonics based PRT methods.ppsx
Practical spherical harmonics based PRT methods.ppsx
 
Approximate Bayesian computation for the Ising/Potts model
Approximate Bayesian computation for the Ising/Potts modelApproximate Bayesian computation for the Ising/Potts model
Approximate Bayesian computation for the Ising/Potts model
 
Background Subtraction Based on Phase and Distance Transform Under Sudden Ill...
Background Subtraction Based on Phase and Distance Transform Under Sudden Ill...Background Subtraction Based on Phase and Distance Transform Under Sudden Ill...
Background Subtraction Based on Phase and Distance Transform Under Sudden Ill...
 
Large scale landuse classification of satellite imagery
Large scale landuse classification of satellite imageryLarge scale landuse classification of satellite imagery
Large scale landuse classification of satellite imagery
 
Macrocanonical models for texture synthesis
Macrocanonical models for texture synthesisMacrocanonical models for texture synthesis
Macrocanonical models for texture synthesis
 
Gtti 10032021
Gtti 10032021Gtti 10032021
Gtti 10032021
 
Landuse Classification from Satellite Imagery using Deep Learning
Landuse Classification from Satellite Imagery using Deep LearningLanduse Classification from Satellite Imagery using Deep Learning
Landuse Classification from Satellite Imagery using Deep Learning
 
Elementary Landscape Decomposition of the Quadratic Assignment Problem
Elementary Landscape Decomposition of the Quadratic Assignment ProblemElementary Landscape Decomposition of the Quadratic Assignment Problem
Elementary Landscape Decomposition of the Quadratic Assignment Problem
 
ICPR 2012
ICPR 2012ICPR 2012
ICPR 2012
 
Corisco - 2015
Corisco - 2015Corisco - 2015
Corisco - 2015
 
Graph Neural Network in practice
Graph Neural Network in practiceGraph Neural Network in practice
Graph Neural Network in practice
 
Practical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT MethodsPractical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT Methods
 
EUSIPCO_2018_Slides.pdf
EUSIPCO_2018_Slides.pdfEUSIPCO_2018_Slides.pdf
EUSIPCO_2018_Slides.pdf
 
Elementary Landscape Decomposition of Combinatorial Optimization Problems
Elementary Landscape Decomposition of Combinatorial Optimization ProblemsElementary Landscape Decomposition of Combinatorial Optimization Problems
Elementary Landscape Decomposition of Combinatorial Optimization Problems
 
Fingerprint High Level Classification
Fingerprint High Level ClassificationFingerprint High Level Classification
Fingerprint High Level Classification
 

Mehr von Jia-Bin Huang

How to write a clear paper
How to write a clear paperHow to write a clear paper
How to write a clear paperJia-Bin Huang
 
Research 101 - Paper Writing with LaTeX
Research 101 - Paper Writing with LaTeXResearch 101 - Paper Writing with LaTeX
Research 101 - Paper Writing with LaTeXJia-Bin Huang
 
Computer Vision Crash Course
Computer Vision Crash CourseComputer Vision Crash Course
Computer Vision Crash CourseJia-Bin Huang
 
Applying for Graduate School in S.T.E.M.
Applying for Graduate School in S.T.E.M.Applying for Graduate School in S.T.E.M.
Applying for Graduate School in S.T.E.M.Jia-Bin Huang
 
Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)
Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)
Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)Jia-Bin Huang
 
Real-time Face Detection and Recognition
Real-time Face Detection and RecognitionReal-time Face Detection and Recognition
Real-time Face Detection and RecognitionJia-Bin Huang
 
Pose aware online visual tracking
Pose aware online visual trackingPose aware online visual tracking
Pose aware online visual trackingJia-Bin Huang
 
Face Expression Enhancement
Face Expression EnhancementFace Expression Enhancement
Face Expression EnhancementJia-Bin Huang
 
Image Smoothing for Structure Extraction
Image Smoothing for Structure ExtractionImage Smoothing for Structure Extraction
Image Smoothing for Structure ExtractionJia-Bin Huang
 
Three Reasons to Join FVE at uiuc
Three Reasons to Join FVE at uiucThree Reasons to Join FVE at uiuc
Three Reasons to Join FVE at uiucJia-Bin Huang
 
Static and Dynamic Hand Gesture Recognition
Static and Dynamic Hand Gesture RecognitionStatic and Dynamic Hand Gesture Recognition
Static and Dynamic Hand Gesture RecognitionJia-Bin Huang
 
Real-Time Face Detection, Tracking, and Attributes Recognition
Real-Time Face Detection, Tracking, and Attributes RecognitionReal-Time Face Detection, Tracking, and Attributes Recognition
Real-Time Face Detection, Tracking, and Attributes RecognitionJia-Bin Huang
 
UIUC CS 498 - Computational Photography - Final project presentation
UIUC CS 498 - Computational Photography - Final project presentation UIUC CS 498 - Computational Photography - Final project presentation
UIUC CS 498 - Computational Photography - Final project presentation Jia-Bin Huang
 
Estimating Human Pose from Occluded Images (ACCV 2009)
Estimating Human Pose from Occluded Images (ACCV 2009)Estimating Human Pose from Occluded Images (ACCV 2009)
Estimating Human Pose from Occluded Images (ACCV 2009)Jia-Bin Huang
 
Information Preserving Color Transformation for Protanopia and Deuteranopia (...
Information Preserving Color Transformation for Protanopia and Deuteranopia (...Information Preserving Color Transformation for Protanopia and Deuteranopia (...
Information Preserving Color Transformation for Protanopia and Deuteranopia (...Jia-Bin Huang
 
Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)
Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)
Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)Jia-Bin Huang
 
Learning Moving Cast Shadows for Foreground Detection (VS 2008)
Learning Moving Cast Shadows for Foreground Detection (VS 2008)Learning Moving Cast Shadows for Foreground Detection (VS 2008)
Learning Moving Cast Shadows for Foreground Detection (VS 2008)Jia-Bin Huang
 

Mehr von Jia-Bin Huang (17)

How to write a clear paper
How to write a clear paperHow to write a clear paper
How to write a clear paper
 
Research 101 - Paper Writing with LaTeX
Research 101 - Paper Writing with LaTeXResearch 101 - Paper Writing with LaTeX
Research 101 - Paper Writing with LaTeX
 
Computer Vision Crash Course
Computer Vision Crash CourseComputer Vision Crash Course
Computer Vision Crash Course
 
Applying for Graduate School in S.T.E.M.
Applying for Graduate School in S.T.E.M.Applying for Graduate School in S.T.E.M.
Applying for Graduate School in S.T.E.M.
 
Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)
Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)
Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)
 
Real-time Face Detection and Recognition
Real-time Face Detection and RecognitionReal-time Face Detection and Recognition
Real-time Face Detection and Recognition
 
Pose aware online visual tracking
Pose aware online visual trackingPose aware online visual tracking
Pose aware online visual tracking
 
Face Expression Enhancement
Face Expression EnhancementFace Expression Enhancement
Face Expression Enhancement
 
Image Smoothing for Structure Extraction
Image Smoothing for Structure ExtractionImage Smoothing for Structure Extraction
Image Smoothing for Structure Extraction
 
Three Reasons to Join FVE at uiuc
Three Reasons to Join FVE at uiucThree Reasons to Join FVE at uiuc
Three Reasons to Join FVE at uiuc
 
Static and Dynamic Hand Gesture Recognition
Static and Dynamic Hand Gesture RecognitionStatic and Dynamic Hand Gesture Recognition
Static and Dynamic Hand Gesture Recognition
 
Real-Time Face Detection, Tracking, and Attributes Recognition
Real-Time Face Detection, Tracking, and Attributes RecognitionReal-Time Face Detection, Tracking, and Attributes Recognition
Real-Time Face Detection, Tracking, and Attributes Recognition
 
UIUC CS 498 - Computational Photography - Final project presentation
UIUC CS 498 - Computational Photography - Final project presentation UIUC CS 498 - Computational Photography - Final project presentation
UIUC CS 498 - Computational Photography - Final project presentation
 
Estimating Human Pose from Occluded Images (ACCV 2009)
Estimating Human Pose from Occluded Images (ACCV 2009)Estimating Human Pose from Occluded Images (ACCV 2009)
Estimating Human Pose from Occluded Images (ACCV 2009)
 
Information Preserving Color Transformation for Protanopia and Deuteranopia (...
Information Preserving Color Transformation for Protanopia and Deuteranopia (...Information Preserving Color Transformation for Protanopia and Deuteranopia (...
Information Preserving Color Transformation for Protanopia and Deuteranopia (...
 
Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)
Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)
Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)
 
Learning Moving Cast Shadows for Foreground Detection (VS 2008)
Learning Moving Cast Shadows for Foreground Detection (VS 2008)Learning Moving Cast Shadows for Foreground Detection (VS 2008)
Learning Moving Cast Shadows for Foreground Detection (VS 2008)
 

A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)

  • 1. A Physical Approach to Moving Cast Shadow Detection Jia-Bin Huang and Chu-Song Chen jbhuang0604@gmail.com, song@iis.sinica.edu.tw Institute of Information Science Academia Sinica, Taipei, Taiwan April 23, 2009 1 / 26
  • 2. Outline 1 Introduction 2 Related Works 3 Physical Model for Cast Shadows 4 Learning and Detecting Cast Shadows 5 Experimental Results 6 Conclusion and Future Work 2 / 26
  • 3. Outline 1 Introduction 2 Related Works 3 Physical Model for Cast Shadows 4 Learning and Detecting Cast Shadows 5 Experimental Results 6 Conclusion and Future Work 3 / 26
  • 4. Introduction Motivation Moving object detection is one of the most important task in low-level vision. Detecting moving cast shadows is one of the most challenging problems for accurate object detection in video streams since shadow points are often misclassified as object points. Without careful consideration, cast shadows may introduce significant error in segmentation, tracking, and recognition. 4 / 26
  • 5. Introduction The Cause of Cast Shadows Light sources are partially or totally blocked by the foreground objects. Why Detecting Cast Shadows Is Difficult? 1 Shadow points are detectable as foreground points and typically differ significantly from the background. 2 Cast shadows have the same motion as the objects casting them. 3 Shaded regions are usually connected with the foreground objects. 5 / 26
  • 6. Outline 1 Introduction 2 Related Works 3 Physical Model for Cast Shadows 4 Learning and Detecting Cast Shadows 5 Experimental Results 6 Conclusion and Future Work 6 / 26
  • 7. Related Works (1/2) Previous Works (before 2003) A Survey paper: [Prati et al. PAMI 2003] Statistical parametric: [Mikic et al. ICPR 2000] Statistical nonparametric: [Horprasert et al. ICCV Workshop 1999] Deterministic model-based: [Onoguchi ICPR 1998] Deterministic nonmodel-based: [Cucchiara et al. PAMI 2001] Major Drawbacks Need to explicitly tune the parameters for each scene. Hard to adapt to the illumination conditions and environment changes. 7 / 26
  • 8. Related Works (2/2) Learning-based Approaches Basic Idea: Learn cast shadow model from video sequences. Shadow Flow, [Porikli et al. ICCV 2005] Gaussian Mixture Shadow Modeling, [Martel-Brisson et al. PAMI 2007] Combining Local and Global Features, [Liu et al. CVPR 07] Learning Physical Model of Light Sources and Surfaces [Martel-Brisson et al. CVPR 2008] Drawbacks Most of them assume shadow values will attenuate linearly along the line between the value of the corresponding background and the origin. Pixel-based models may suffer from slow learning due to the lack of sufficient samples. 8 / 26
  • 9. Outline 1 Introduction 2 Related Works 3 Physical Model for Cast Shadows 4 Learning and Detecting Cast Shadows 5 Experimental Results 6 Conclusion and Future Work 9 / 26
  • 10. Main Idea A general physics-based shadow model Decompose light incident at the background surface into two classes Direct light sources (e.g., sun) Ambient illumination (e.g., light scattered by the sky, colored light from nearby surfaces (color bleeding)) Suppose we have N light sources and M ambient illumination, then the intensity function of light: N M E(λ) = Eincident,n(λ) + Eambient,m(λ). n m 10 / 26
  • 11. Ambient Illuminations and Direct Light Sources Lambertian model: camera sensor response gk(p) at point p gk(p) = E(λ, p)ρ(λ, p)Sk(λ)dλ. E(λ, p) Intensity function of light sources ρ(λ, p) The reflectance of an object surface Sk(λ) Sensor spectral sensitivity function 11 / 26
  • 12. Appearance Variation Under Cast Shadow Part or total light sources are blocked by foreground objects Ambient illumination may be slightly changed (from BGA to ′ BGA) 12 / 26
  • 13. Color Feature Vector We encode the difference vector between background and shadow value as our color feature. xs,t(p) = [αt(p), θt(p), φt(p)]T (in spherical coordinate system) Illumination attenuation ||vt(p)|| αt(p) = ||BGt(p)|| Angle information vG(p) t θt(p) = arctan( ) vR(p) t vB(p) t φt(p) = arccos( ) ||vt(p)|| 13 / 26
  • 14. Outline 1 Introduction 2 Related Works 3 Physical Model for Cast Shadows 4 Learning and Detecting Cast Shadows 5 Experimental Results 6 Conclusion and Future Work 14 / 26
  • 15. Overview 1 Perform background subtraction to obtain foreground candidates (i.e., including real foreground and cast shadows) 2 Apply weak shadow detector as a pre-filter to obtain shadow candidates (e.g., filter out those pixels whose illumination values are larger than the corresponding background values) 3 For these shadow candidates, learn the color feature vector xs,t(p) using GMM over time 4 Detecting cast shadow using the learned cast shadow model 15 / 26
  • 16. Weak Shadow Detector Criterion for shadow candidates BGt(p) rl(p) = xt(p) cos(ψ(p)) xt(p), BGt(p) ψ(p) = arccos xt(p) BGt(p) rmin < rl(p) < rmax, ψ(p) < ψmax 16 / 26
  • 17. Incorporating Spatial Information Prior Knowledge of Cast Shadows Cast shadows would not enhance the spatial gradient intensity Introduce ωt(p) as a confidence value of cast shadows ε + |∇(Bt(p))| ωt(p) = , ε + max{|∇(It(p))|, |∇(Bt(p))|} where ε is a smooth term. To accelerate the learning speed of the pixel-based shadow model, take ωt(p) as confidence value to update shadow model at pixel p Penalize samples having larger gradient intensity than background by lessening the learning rate 17 / 26
  • 18. Detecting Shadows at Light/Shadow Border Shadows at light/shadow border show different behavior from shadows inside the shaded region Solution: Detecting cast shadows only with angle information (a)αt(p) (b)θt(p) (c)φt(p) 18 / 26
  • 19. Outline 1 Introduction 2 Related Works 3 Physical Model for Cast Shadows 4 Learning and Detecting Cast Shadows 5 Experimental Results 6 Conclusion and Future Work 19 / 26
  • 20. Qualitative Evaluation (a) (b) (c) (d) Figure: (a) Original images, (b) Background posterior probability, (c) Shadow posterior probability, and (d) Forground posterior probability 20 / 26
  • 21. Quantitative Evaluation Performance Evaluation Metrics [Prati et al. PAMI 2003] Shadow Detection Rate η TPS η= TPS + FNS Shadow Discriminative Rate ξ TPF ξ= TPF + FNF Sequence Highway I Highway II Hallway Method η% ξ% η% ξ% η% ξ% Proposed 72.34 84.98 72.70 79.89 71.69 88.25 Kernel 70.50 84.40 68.40 71.20 72.40 86.70 LGf 72.10 79.70 - - - - GMSM 63.30 71.30 58.51 44.40 60.50 87.00 21 / 26
  • 22. Effect of Shadows at Shadow/Light border (a) (b) (c) Figure: Effect of shadows at shadow/light border (a) Original frame of sequence “Highway I". (b)(c) Foreground posterior without/with considering shadows at shadow/light border. 22 / 26
  • 23. Outline 1 Introduction 2 Related Works 3 Physical Model for Cast Shadows 4 Learning and Detecting Cast Shadows 5 Experimental Results 6 Conclusion and Future Work 23 / 26
  • 24. Conclusion Provide a better description for background surface value variation under cast shadow Incorporate spatial information to accelerate the learning of pixel-based shadow model Take shadows at light/shadow border into consideration 24 / 26
  • 25. Future Work Derive physics-based features for building a global shadow model in a scene Jia-Bin Huang and Chu-Song Chen, “Moving Cast Shadow Detection using Physics-based Features", CVPR 2009 Extend the physical model to handle more general cases (e.g., surface with specular reflection, spatial varing ambient illumination, etc.) 25 / 26
  • 26. The End Thank you 26 / 26