SlideShare a Scribd company logo
Foreground Detection via Robust Low Rank Matrix
          Decomposition including spatio-temporal Constraint

                          C. Guyon, T. Bouwmans and E. Zahzah

       MIA Laboratory (Mathematics Images & Applications), University of La Rochelle, France
                                             —
                                Workshop BMC, Daejong Korea


                                           November 5, 2012




C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), University of La / 27
                                                                                 November 5, 2012         1 Roche
Summary



  1   Introduction and motivations on IRLS

  2   Temporal constraint with an adapted Norm

  3   Diagram flow and Spatial constraint

  4   Experimental Results

  5   Conclusion




C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), University of La / 27
                                                                                 November 5, 2012         2 Roche
Introduction and motivations
   Purpose
          Foreground detection : Segmentation of moving objects in video
          sequence acquired by a fixed camera.
          Background modeling : Modelization of all that is not moving
          object.

   Involved applications
          Surveillance camera
          Motion capture

   On the importance
          Crucial Task : Often the first step of a full video surveillance system.

   Strategy used
          Eigenbackground decomposition.
C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), University of La / 27
                                                                                 November 5, 2012         3 Roche
Eigenbackgrounds
          Find an « ideal » subspace of the video sequence, which describes the best
          as possible the (dynamic) background.




   Fig.1 The common process of background subtraction via PCA (Principal Component
   Analysis). At final step, an adaptative threshold is used to get a binary image.

   Without a robust framework, the moving object may be absorbed in the model !
C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), University of La / 27
                                                                                 November 5, 2012         4 Roche
Data Structure Transformation
   First, we consider a video sequence as a matrix A ∈ Rn×m




          n is the amount of pixels in a frame (∼ 106 )
          m is the number of frames considered (∼ 200)
C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), University of La / 27
                                                                                 November 5, 2012         5 Roche
IRLS : Vector version (1)

   The usual IRLS (Iteratively reweighted least squares) scheme for solve
   argmin ||Ax − b||α is given by
       x

                                 D (i) = diag((ε + |b − Ax (i) |)α−2 )
                                                                                                        (1)
                                 x (i+1) = (At D (i) A)−1 At D (i) b

   that a suitable IRLS method is convergent for 1 ≤ α < 3
   Other formulation,

                                    r (i) = b − Ax (i)
                                    D = diag((ε + |r (i) |)α−2 )
                                                                                                        (2)
                                    y (i) = (A DA)−1 A Dr (i)
                                    x (i+1) = x (i) + (1 + λopt )y (i)
   λopt computed in a second inner loop and convergent for 1 ≤ α < +∞

C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), University of La / 27
                                                                                 November 5, 2012         6 Roche
IRLS : Vector version (2)


   For Spatio/temporal RPCA, needs to solve the following general problem :

                               argmin ||Ax − b||α + λ||Cx − d ||β                                       (3)
                                   x

   By derivation, the associated IRLS scheme is,
                     r1 = b − Ax (i ) , r2 = d − Cx (i ) , e1 = ε + |r1 |, e2 = ε + |r2 |
                                    α 1                                β 1 −1         β−2
                     D1 = ( e1 ) α −1 diag(e1 ), D2 = λ( e2 ) β diag(e2 )
                                                  α−2
                       (i )                         −1
                                                                                                         (4)
                     y = (A D1 A + C D2 C ) (A D1 r1 + C D2 r2 )
                     x (i +1) = x (i ) + (1 + λopt )y (i )



   Good news : Just few line of matlab code !



C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), University of La / 27
                                                                                 November 5, 2012         7 Roche
Matrix Version

   More generally, we consider the following matrix regression problem with
   two parameters norm (α, β) and a weighted matrix (W ),
                                                                    n       m
                                                                                              α   1
       min ||AX − B||α,β              with ||Mij ||α,β = (              (       Wij |Mij |β ) β ) α     (5)
        X                      W                         W
                                                                  i=1 j=1

  The problem is solved in the same manner on matrices with a reweighted
  regression strategy,
                     Until X   is stable, repeat on each k-columns
                       R       ← B − AX
                        S      ← ε + |R|                                                                 (6)
                                                                 α −1
                                             β−2         β
                       Dk      ← diag(Sik ◦ ( j (Sij ◦ Wij )) β ◦ Wik )k
                       Xik     ← Xik +(1+Λ(max(α, β)))(At Dk A)−1 At Dk Rik




C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), University of La / 27
                                                                                 November 5, 2012         8 Roche
Exemple : Geometric median (convex problem)




   Fig.1 Find the x-axis points which minimize the ||.||α distance between the 7 others
   points (black stars). Minimum of Curves is corresponding to this optimal value for α =
   2, 1.66, 1.33 and 1 (blue, green, red, black).




   Fig.1 Same in Two Dimension. By continuously changing the minization problem (i.e.
   varying α) during each iterations, this trick accelerates the convergence of IRLS.

C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), University of La / 27
                                                                                 November 5, 2012         9 Roche
Various RPCA formulation (only for α = 1)
          PCA with fixed rank is :               min         ||S||F
                                                   L,S
                                                s.t.        Rank(L) = k                                  (7)
                                                            A=L+S
          R(obust)PCA is (Non convex and NP-hard ) :
                                             min         ||σ(L)||0 + λ||S||0
                                             L,S                                                         (8)
                                             s.t.        A=L+S
          Convex relaxed problem of (2) is RPCA-PCP proposed by Candès et al. [1] :
                                             min         ||σ(L)||1 + λ||S||1
                                             L,S                                                         (9)
                                             s.t.        A=L+S
          Where σ(L) means singular values of L.
          A mix is Stable PCP of Zhou et al. [2] (both entry-wise and sparse noise) :
                                            min          ||σ(L)||1 + λ||S||1
                                             L,S                                                        (10)
                                            s.t.         ||A − L − S||F < δ

          All of them could be solved by Augmented Lagrangian Multipliers (ALM).
C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), 5, 2012
                                                                               November University of 10 / 27
                                                                                                       La Roche
Video examples




   Some examples, temporal RPCA and ideal RPCA with groundtruth fitting
   and optimal parameters fitting.




C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), 5, 2012
                                                                               November University of 11 / 27
                                                                                                       La Roche
Summary



  1   Introduction and motivations on IRLS

  2   Temporal constraint with an adapted Norm

  3   Diagram flow and Spatial constraint

  4   Experimental Results

  5   Conclusion




C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), 5, 2012
                                                                               November University of 12 / 27
                                                                                                       La Roche
Sparse solution
   In RPCA, residual error is sparse.
   Using the RPCA decomposition on a synthetic low-rank random matrix
   plus noise, the error looks like :




   Same principle with video. Sparse noise (or outliers) are the moving objects.
C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), 5, 2012
                                                                               November University of 13 / 27
                                                                                                       La Roche
Let’s play with norms




   Varying the α, β norm → Different kind of recovering pattern error.

C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), 5, 2012
                                                                               November University of 14 / 27
                                                                                                       La Roche
Let’s play with norms...(2)




   Some issues
          What is the best specific norm for temporal constrain ?
          Initial assumption is ||.||2,1 . Confirmed experimentally ?




C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), 5, 2012
                                                                               November University of 15 / 27
                                                                                                       La Roche
Validation
   If ideal eigenbakgrounds are that, best norm must be ...




   Let’s denote Lopt , the ideal low-rank subspace which outliers do not contribute to PCA
C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), 5, 2012
                                                                               November University of 16 / 27
                                                                                                       La Roche
Experimental results

                                                         Let’s denote Lα,β , the low-rank
                                                         recovered matrix with a ||.||α,β -PCA.
                                                         The plot show the error between
                                                         ||Lopt − Lα,β ||F for parameters α
                                                         and β chosen freely. The darkest
                                                         value means that the error is the
                                                         smallest here.


          ||S||2,1 is not optimal, but for convenience we use it.
          The benefit of the ad hoc block-sparse hypothesis is confirmed by
          testing its efficiency directly on video dataset.

        Experimentation done on dynamic category of dataset change detection
               workshop 2012 : http://www.changedetection.net/

C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), 5, 2012
                                                                               November University of 17 / 27
                                                                                                       La Roche
Summary



  1   Introduction and motivations on IRLS

  2   Temporal constraint with an adapted Norm

  3   Diagram flow and Spatial constraint

  4   Experimental Results

  5   Conclusion




C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), 5, 2012
                                                                               November University of 18 / 27
                                                                                                       La Roche
Overview and addition of the spatial constraint




   Figure: Overview of the learning and evaluation process. Learning process needs
   GT (Groundtruth) for better fits the eigenbackground components.


   Spatial Constrain
          Suppose A = L + S and L and S are computed via some kind of
          RPCA technique with the addtion of Total Variation penalty on S.
          This increase connected (or connexe) shapes.

C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), 5, 2012
                                                                               November University of 19 / 27
                                                                                                       La Roche
Exemple with a synthetic 1-D signal




C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), 5, 2012
                                                                               November University of 20 / 27
                                                                                                       La Roche
Summary



  1   Introduction and motivations on IRLS

  2   Temporal constraint with an adapted Norm

  3   Diagram flow and Spatial constraint

  4   Experimental Results

  5   Conclusion




C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), 5, 2012
                                                                               November University of 21 / 27
                                                                                                       La Roche
Experimental Protocol


          Optimal threshold is chosen for maximizing F-measure criterion
          which is based 2 × 2 histogram of True/false/positive/negative :

                               TP                           TP                     2 DR Prec
                    DR =             ,         Prec =              ,        F =
                             TP + FN                      TP + F P                 DR + Prec


          Good performance is then obtained when the F-measure is closed to 1
          Time consumption is not take into account in the evaluation process.

          RPCA-LBD is compared with the following two Robust methods :
                Robust Subspace Learning (RSL) De La Torre et al. [4]
                Principal Component Pursuit (RPCA-PCP) [1]



C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), 5, 2012
                                                                               November University of 22 / 27
                                                                                                       La Roche
Quantitative Results

   Here, we show experimental results on the real dataset of BMC,


     Video        Recall       Precision        F-measure          PSNR              Visual Results
       1          0.9139        0.7170            0.8036           38.2425
       2          0.8785        0.8656            0.8720           26.7721
       3          0.9658        0.8120            0.8822           37.7053
       4          0.9550        0.7187            0.8202           39.3699
       5          0.9102        0.5589            0.6925           30.5876
       6          0.9002        0.7727            0.8316           29.9994
       7          0.9116        0.8401            0.8744           26.8350
       8          0.8651        0.6710            0.7558           30.5040
       9          0.9309        0.8239            0.8741           55.1163

   Table: Quantitative results with common criterions. Last column show the
   original, GT and result of the first four real video sequences.


C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), 5, 2012
                                                                               November University of 23 / 27
                                                                                                       La Roche
Other results




   Figure: First eigenBackground of the fifths sequence of Rotary (BMC) with the
   norms ||.||opt , ||.||1,1 and ||.||2,1 . Last row shows the first five eigenBackground on
   real dataset with ||.||2,1

C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), 5, 2012
                                                                               November University of 24 / 27
                                                                                                       La Roche
Summary



  1   Introduction and motivations on IRLS

  2   Temporal constraint with an adapted Norm

  3   Diagram flow and Spatial constraint

  4   Experimental Results

  5   Conclusion




C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), 5, 2012
                                                                               November University of 25 / 27
                                                                                                       La Roche
Qualitative analysis


   Advantages
          Experiments on video surveillance datasets show that this approach is
          more robust than RSL and RPCA-PCP in presence of dynamic
          backgrounds and illumination changes.
          Well suited for video with spatially spread and temporarily sparse
          outliers.

   Disadvantages
          Not efficient on sequences with outliers always presents.
          For small local variations, like « wind tree » are not (yet) well
          modelized by this kind global PCA. Probably needs more eigen
          components !


C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), 5, 2012
                                                                               November University of 26 / 27
                                                                                                       La Roche
Future Works & References


   Future Works
          Lack in computation time : Further research consists in developping an
          incremental version to update the model at every frame and to achieve
          the real-time requirements.

   References
    [1] E. Candes, X. Li, Y. Ma, and J. Wright, Robust principal component
        analysis, International Journal of ACM, vol. 58, no. 3, May 2011.
    [2] Z. Zhou, X. Li, J. Wright, E. Candes, and Y. Ma, Stable principal
        component pursuit,IEEE ISIT Proceedings, pp. 1518-1522, Jun. 2010.
    [3] G. Tang and A. Nehorai, Robust principal component analysis based
        on low-rank and block-sparse matrix decomposition, CISS 2011, 2011.


C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati
                                      (MIA Laboratory (Mathematics Images & Applications), 5, 2012
                                                                               November University of 27 / 27
                                                                                                       La Roche

More Related Content

PDF
ICPR 2012
PDF
Kernel based models for geo- and environmental sciences- Alexei Pozdnoukhov –...
PDF
ICIP 2012
PDF
Alternating direction
PDF
Slides: A glance at information-geometric signal processing
PDF
Macrocanonical models for texture synthesis
PDF
Gtti 10032021
PDF
Quantitative Propagation of Chaos for SGD in Wide Neural Networks
ICPR 2012
Kernel based models for geo- and environmental sciences- Alexei Pozdnoukhov –...
ICIP 2012
Alternating direction
Slides: A glance at information-geometric signal processing
Macrocanonical models for texture synthesis
Gtti 10032021
Quantitative Propagation of Chaos for SGD in Wide Neural Networks

What's hot (20)

PDF
Continuous and Discrete-Time Analysis of SGD
PDF
Collision Detection In 3D Environments
PDF
CSMR11b.ppt
PDF
Robust Image Denoising in RKHS via Orthogonal Matching Pursuit
PDF
Matrix Computations in Machine Learning
PDF
CVPR2010: Advanced ITinCVPR in a Nutshell: part 4: additional slides
PDF
Metric learning ICML2010 tutorial
PDF
The Impact of Smoothness on Model Class Selection in Nonlinear System Identif...
PDF
Note on Coupled Line Cameras for Rectangle Reconstruction (ACDDE 2012)
PDF
Estimating Human Pose from Occluded Images (ACCV 2009)
PDF
Image Restitution Using Non-Locally Centralized Sparse Representation Model
PDF
Distributed Parallel Process Particle Swarm Optimization on Fixed Charge Netw...
PDF
Elementary Landscape Decomposition of Combinatorial Optimization Problems
PDF
A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)
PDF
Presentation v3.2
PDF
01 graphical models
PDF
A Novel Methodology for Designing Linear Phase IIR Filters
PDF
cvpr2009 tutorial: kernel methods in computer vision: part II: Statistics and...
PDF
Kernelization algorithms for graph and other structure modification problems
PDF
CVPR2010: Advanced ITinCVPR in a Nutshell: part 5: Shape, Matching and Diverg...
Continuous and Discrete-Time Analysis of SGD
Collision Detection In 3D Environments
CSMR11b.ppt
Robust Image Denoising in RKHS via Orthogonal Matching Pursuit
Matrix Computations in Machine Learning
CVPR2010: Advanced ITinCVPR in a Nutshell: part 4: additional slides
Metric learning ICML2010 tutorial
The Impact of Smoothness on Model Class Selection in Nonlinear System Identif...
Note on Coupled Line Cameras for Rectangle Reconstruction (ACDDE 2012)
Estimating Human Pose from Occluded Images (ACCV 2009)
Image Restitution Using Non-Locally Centralized Sparse Representation Model
Distributed Parallel Process Particle Swarm Optimization on Fixed Charge Netw...
Elementary Landscape Decomposition of Combinatorial Optimization Problems
A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)
Presentation v3.2
01 graphical models
A Novel Methodology for Designing Linear Phase IIR Filters
cvpr2009 tutorial: kernel methods in computer vision: part II: Statistics and...
Kernelization algorithms for graph and other structure modification problems
CVPR2010: Advanced ITinCVPR in a Nutshell: part 5: Shape, Matching and Diverg...
Ad

Viewers also liked (9)

PDF
Hdr merlo v4
PDF
(Paper Presentation) ZIGZAG: An Efficient Peer-to-Peer Scheme for Media Strea...
PDF
CSTalks - Named Data Networks - 9 Feb
PDF
CSTalks - Model Checking - 26 Jan
PDF
CSTalks-Natural Language Processing-17Aug
PDF
CSTalks-Natural Language Processing-2 Nov
PDF
CSTalks - Peer-to-peer - 16 Feb
PDF
Presentation Habilitation à Diriger des Recherches
PDF
CSTalks - GPGPU - 19 Jan
Hdr merlo v4
(Paper Presentation) ZIGZAG: An Efficient Peer-to-Peer Scheme for Media Strea...
CSTalks - Named Data Networks - 9 Feb
CSTalks - Model Checking - 26 Jan
CSTalks-Natural Language Processing-17Aug
CSTalks-Natural Language Processing-2 Nov
CSTalks - Peer-to-peer - 16 Feb
Presentation Habilitation à Diriger des Recherches
CSTalks - GPGPU - 19 Jan
Ad

Similar to BMC 2012 (20)

PDF
ABC workshop: 17w5025
PDF
Topological Inference via Meshing
PDF
YSC 2013
PDF
Maximum likelihood estimation of regularisation parameters in inverse problem...
PDF
Measures of risk on variability with application in stochastic activity networks
PDF
Cluster Analysis
PDF
Iaetsd vlsi implementation of gabor filter based image edge detection
PPT
Symmetrical2
PDF
Projection methods for stochastic structural dynamics
DOCX
Digital image processing short quesstion answers
PDF
Foreground Detection : Combining Background Subspace Learning with Object Smo...
PDF
Final presentation2-----------------.pdf
PDF
Logistic Regression(SGD)
PDF
cswiercz-general-presentation
PDF
Sequential Extraction of Local ICA Structures
PDF
Principal component analysis and matrix factorizations for learning (part 2) ...
PDF
"Let us talk about output features! by Florence d’Alché-Buc, LTCI & Full Prof...
PPTX
Lec-3 DIP.pptx
PDF
Subspace Indexing on Grassmannian Manifold for Large Scale Visual Identification
PDF
Fast Object Recognition from 3D Depth Data with Extreme Learning Machine
ABC workshop: 17w5025
Topological Inference via Meshing
YSC 2013
Maximum likelihood estimation of regularisation parameters in inverse problem...
Measures of risk on variability with application in stochastic activity networks
Cluster Analysis
Iaetsd vlsi implementation of gabor filter based image edge detection
Symmetrical2
Projection methods for stochastic structural dynamics
Digital image processing short quesstion answers
Foreground Detection : Combining Background Subspace Learning with Object Smo...
Final presentation2-----------------.pdf
Logistic Regression(SGD)
cswiercz-general-presentation
Sequential Extraction of Local ICA Structures
Principal component analysis and matrix factorizations for learning (part 2) ...
"Let us talk about output features! by Florence d’Alché-Buc, LTCI & Full Prof...
Lec-3 DIP.pptx
Subspace Indexing on Grassmannian Manifold for Large Scale Visual Identification
Fast Object Recognition from 3D Depth Data with Extreme Learning Machine

Recently uploaded (20)

PDF
Booking.com The Global AI Sentiment Report 2025
DOCX
Hand book of Entrepreneurship 4 Chapters.docx
PPTX
Slide gioi thieu VietinBank Quy 2 - 2025
PPTX
basic introduction to research chapter 1.pptx
PDF
Solaris Resources Presentation - Corporate August 2025.pdf
PDF
Susan Semmelmann: Enriching the Lives of others through her Talents and Bless...
PDF
TyAnn Osborn: A Visionary Leader Shaping Corporate Workforce Dynamics
PPTX
Negotiation and Persuasion Skills: A Shrewd Person's Perspective
PDF
Satish NS: Fostering Innovation and Sustainability: Haier India’s Customer-Ce...
PDF
Tata consultancy services case study shri Sharda college, basrur
PDF
THE COMPLETE GUIDE TO BUILDING PASSIVE INCOME ONLINE
PDF
NewBase 12 August 2025 Energy News issue - 1812 by Khaled Al Awadi_compresse...
PPTX
Slide gioi thieu VietinBank Quy 2 - 2025
PDF
Solara Labs: Empowering Health through Innovative Nutraceutical Solutions
PDF
How to Get Business Funding for Small Business Fast
PPTX
operations management : demand supply ch
PDF
Introduction to Generative Engine Optimization (GEO)
PDF
Robin Fischer: A Visionary Leader Making a Difference in Healthcare, One Day ...
PPTX
TRAINNING, DEVELOPMENT AND APPRAISAL.pptx
DOCX
80 DE ÔN VÀO 10 NĂM 2023vhkkkjjhhhhjjjj
Booking.com The Global AI Sentiment Report 2025
Hand book of Entrepreneurship 4 Chapters.docx
Slide gioi thieu VietinBank Quy 2 - 2025
basic introduction to research chapter 1.pptx
Solaris Resources Presentation - Corporate August 2025.pdf
Susan Semmelmann: Enriching the Lives of others through her Talents and Bless...
TyAnn Osborn: A Visionary Leader Shaping Corporate Workforce Dynamics
Negotiation and Persuasion Skills: A Shrewd Person's Perspective
Satish NS: Fostering Innovation and Sustainability: Haier India’s Customer-Ce...
Tata consultancy services case study shri Sharda college, basrur
THE COMPLETE GUIDE TO BUILDING PASSIVE INCOME ONLINE
NewBase 12 August 2025 Energy News issue - 1812 by Khaled Al Awadi_compresse...
Slide gioi thieu VietinBank Quy 2 - 2025
Solara Labs: Empowering Health through Innovative Nutraceutical Solutions
How to Get Business Funding for Small Business Fast
operations management : demand supply ch
Introduction to Generative Engine Optimization (GEO)
Robin Fischer: A Visionary Leader Making a Difference in Healthcare, One Day ...
TRAINNING, DEVELOPMENT AND APPRAISAL.pptx
80 DE ÔN VÀO 10 NĂM 2023vhkkkjjhhhhjjjj

BMC 2012

  • 1. Foreground Detection via Robust Low Rank Matrix Decomposition including spatio-temporal Constraint C. Guyon, T. Bouwmans and E. Zahzah MIA Laboratory (Mathematics Images & Applications), University of La Rochelle, France — Workshop BMC, Daejong Korea November 5, 2012 C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), University of La / 27 November 5, 2012 1 Roche
  • 2. Summary 1 Introduction and motivations on IRLS 2 Temporal constraint with an adapted Norm 3 Diagram flow and Spatial constraint 4 Experimental Results 5 Conclusion C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), University of La / 27 November 5, 2012 2 Roche
  • 3. Introduction and motivations Purpose Foreground detection : Segmentation of moving objects in video sequence acquired by a fixed camera. Background modeling : Modelization of all that is not moving object. Involved applications Surveillance camera Motion capture On the importance Crucial Task : Often the first step of a full video surveillance system. Strategy used Eigenbackground decomposition. C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), University of La / 27 November 5, 2012 3 Roche
  • 4. Eigenbackgrounds Find an « ideal » subspace of the video sequence, which describes the best as possible the (dynamic) background. Fig.1 The common process of background subtraction via PCA (Principal Component Analysis). At final step, an adaptative threshold is used to get a binary image. Without a robust framework, the moving object may be absorbed in the model ! C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), University of La / 27 November 5, 2012 4 Roche
  • 5. Data Structure Transformation First, we consider a video sequence as a matrix A ∈ Rn×m n is the amount of pixels in a frame (∼ 106 ) m is the number of frames considered (∼ 200) C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), University of La / 27 November 5, 2012 5 Roche
  • 6. IRLS : Vector version (1) The usual IRLS (Iteratively reweighted least squares) scheme for solve argmin ||Ax − b||α is given by x D (i) = diag((ε + |b − Ax (i) |)α−2 ) (1) x (i+1) = (At D (i) A)−1 At D (i) b that a suitable IRLS method is convergent for 1 ≤ α < 3 Other formulation, r (i) = b − Ax (i) D = diag((ε + |r (i) |)α−2 ) (2) y (i) = (A DA)−1 A Dr (i) x (i+1) = x (i) + (1 + λopt )y (i) λopt computed in a second inner loop and convergent for 1 ≤ α < +∞ C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), University of La / 27 November 5, 2012 6 Roche
  • 7. IRLS : Vector version (2) For Spatio/temporal RPCA, needs to solve the following general problem : argmin ||Ax − b||α + λ||Cx − d ||β (3) x By derivation, the associated IRLS scheme is, r1 = b − Ax (i ) , r2 = d − Cx (i ) , e1 = ε + |r1 |, e2 = ε + |r2 | α 1 β 1 −1 β−2 D1 = ( e1 ) α −1 diag(e1 ), D2 = λ( e2 ) β diag(e2 ) α−2 (i ) −1 (4) y = (A D1 A + C D2 C ) (A D1 r1 + C D2 r2 ) x (i +1) = x (i ) + (1 + λopt )y (i ) Good news : Just few line of matlab code ! C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), University of La / 27 November 5, 2012 7 Roche
  • 8. Matrix Version More generally, we consider the following matrix regression problem with two parameters norm (α, β) and a weighted matrix (W ), n m α 1 min ||AX − B||α,β with ||Mij ||α,β = ( ( Wij |Mij |β ) β ) α (5) X W W i=1 j=1 The problem is solved in the same manner on matrices with a reweighted regression strategy, Until X is stable, repeat on each k-columns R ← B − AX S ← ε + |R| (6) α −1 β−2 β Dk ← diag(Sik ◦ ( j (Sij ◦ Wij )) β ◦ Wik )k Xik ← Xik +(1+Λ(max(α, β)))(At Dk A)−1 At Dk Rik C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), University of La / 27 November 5, 2012 8 Roche
  • 9. Exemple : Geometric median (convex problem) Fig.1 Find the x-axis points which minimize the ||.||α distance between the 7 others points (black stars). Minimum of Curves is corresponding to this optimal value for α = 2, 1.66, 1.33 and 1 (blue, green, red, black). Fig.1 Same in Two Dimension. By continuously changing the minization problem (i.e. varying α) during each iterations, this trick accelerates the convergence of IRLS. C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), University of La / 27 November 5, 2012 9 Roche
  • 10. Various RPCA formulation (only for α = 1) PCA with fixed rank is : min ||S||F L,S s.t. Rank(L) = k (7) A=L+S R(obust)PCA is (Non convex and NP-hard ) : min ||σ(L)||0 + λ||S||0 L,S (8) s.t. A=L+S Convex relaxed problem of (2) is RPCA-PCP proposed by Candès et al. [1] : min ||σ(L)||1 + λ||S||1 L,S (9) s.t. A=L+S Where σ(L) means singular values of L. A mix is Stable PCP of Zhou et al. [2] (both entry-wise and sparse noise) : min ||σ(L)||1 + λ||S||1 L,S (10) s.t. ||A − L − S||F < δ All of them could be solved by Augmented Lagrangian Multipliers (ALM). C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), 5, 2012 November University of 10 / 27 La Roche
  • 11. Video examples Some examples, temporal RPCA and ideal RPCA with groundtruth fitting and optimal parameters fitting. C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), 5, 2012 November University of 11 / 27 La Roche
  • 12. Summary 1 Introduction and motivations on IRLS 2 Temporal constraint with an adapted Norm 3 Diagram flow and Spatial constraint 4 Experimental Results 5 Conclusion C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), 5, 2012 November University of 12 / 27 La Roche
  • 13. Sparse solution In RPCA, residual error is sparse. Using the RPCA decomposition on a synthetic low-rank random matrix plus noise, the error looks like : Same principle with video. Sparse noise (or outliers) are the moving objects. C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), 5, 2012 November University of 13 / 27 La Roche
  • 14. Let’s play with norms Varying the α, β norm → Different kind of recovering pattern error. C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), 5, 2012 November University of 14 / 27 La Roche
  • 15. Let’s play with norms...(2) Some issues What is the best specific norm for temporal constrain ? Initial assumption is ||.||2,1 . Confirmed experimentally ? C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), 5, 2012 November University of 15 / 27 La Roche
  • 16. Validation If ideal eigenbakgrounds are that, best norm must be ... Let’s denote Lopt , the ideal low-rank subspace which outliers do not contribute to PCA C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), 5, 2012 November University of 16 / 27 La Roche
  • 17. Experimental results Let’s denote Lα,β , the low-rank recovered matrix with a ||.||α,β -PCA. The plot show the error between ||Lopt − Lα,β ||F for parameters α and β chosen freely. The darkest value means that the error is the smallest here. ||S||2,1 is not optimal, but for convenience we use it. The benefit of the ad hoc block-sparse hypothesis is confirmed by testing its efficiency directly on video dataset. Experimentation done on dynamic category of dataset change detection workshop 2012 : http://www.changedetection.net/ C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), 5, 2012 November University of 17 / 27 La Roche
  • 18. Summary 1 Introduction and motivations on IRLS 2 Temporal constraint with an adapted Norm 3 Diagram flow and Spatial constraint 4 Experimental Results 5 Conclusion C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), 5, 2012 November University of 18 / 27 La Roche
  • 19. Overview and addition of the spatial constraint Figure: Overview of the learning and evaluation process. Learning process needs GT (Groundtruth) for better fits the eigenbackground components. Spatial Constrain Suppose A = L + S and L and S are computed via some kind of RPCA technique with the addtion of Total Variation penalty on S. This increase connected (or connexe) shapes. C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), 5, 2012 November University of 19 / 27 La Roche
  • 20. Exemple with a synthetic 1-D signal C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), 5, 2012 November University of 20 / 27 La Roche
  • 21. Summary 1 Introduction and motivations on IRLS 2 Temporal constraint with an adapted Norm 3 Diagram flow and Spatial constraint 4 Experimental Results 5 Conclusion C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), 5, 2012 November University of 21 / 27 La Roche
  • 22. Experimental Protocol Optimal threshold is chosen for maximizing F-measure criterion which is based 2 × 2 histogram of True/false/positive/negative : TP TP 2 DR Prec DR = , Prec = , F = TP + FN TP + F P DR + Prec Good performance is then obtained when the F-measure is closed to 1 Time consumption is not take into account in the evaluation process. RPCA-LBD is compared with the following two Robust methods : Robust Subspace Learning (RSL) De La Torre et al. [4] Principal Component Pursuit (RPCA-PCP) [1] C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), 5, 2012 November University of 22 / 27 La Roche
  • 23. Quantitative Results Here, we show experimental results on the real dataset of BMC, Video Recall Precision F-measure PSNR Visual Results 1 0.9139 0.7170 0.8036 38.2425 2 0.8785 0.8656 0.8720 26.7721 3 0.9658 0.8120 0.8822 37.7053 4 0.9550 0.7187 0.8202 39.3699 5 0.9102 0.5589 0.6925 30.5876 6 0.9002 0.7727 0.8316 29.9994 7 0.9116 0.8401 0.8744 26.8350 8 0.8651 0.6710 0.7558 30.5040 9 0.9309 0.8239 0.8741 55.1163 Table: Quantitative results with common criterions. Last column show the original, GT and result of the first four real video sequences. C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), 5, 2012 November University of 23 / 27 La Roche
  • 24. Other results Figure: First eigenBackground of the fifths sequence of Rotary (BMC) with the norms ||.||opt , ||.||1,1 and ||.||2,1 . Last row shows the first five eigenBackground on real dataset with ||.||2,1 C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), 5, 2012 November University of 24 / 27 La Roche
  • 25. Summary 1 Introduction and motivations on IRLS 2 Temporal constraint with an adapted Norm 3 Diagram flow and Spatial constraint 4 Experimental Results 5 Conclusion C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), 5, 2012 November University of 25 / 27 La Roche
  • 26. Qualitative analysis Advantages Experiments on video surveillance datasets show that this approach is more robust than RSL and RPCA-PCP in presence of dynamic backgrounds and illumination changes. Well suited for video with spatially spread and temporarily sparse outliers. Disadvantages Not efficient on sequences with outliers always presents. For small local variations, like « wind tree » are not (yet) well modelized by this kind global PCA. Probably needs more eigen components ! C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), 5, 2012 November University of 26 / 27 La Roche
  • 27. Future Works & References Future Works Lack in computation time : Further research consists in developping an incremental version to update the model at every frame and to achieve the real-time requirements. References [1] E. Candes, X. Li, Y. Ma, and J. Wright, Robust principal component analysis, International Journal of ACM, vol. 58, no. 3, May 2011. [2] Z. Zhou, X. Li, J. Wright, E. Candes, and Y. Ma, Stable principal component pursuit,IEEE ISIT Proceedings, pp. 1518-1522, Jun. 2010. [3] G. Tang and A. Nehorai, Robust principal component analysis based on low-rank and block-sparse matrix decomposition, CISS 2011, 2011. C. Guyon, T. Bouwmans and E. Zahzah Foreground Detection via Robust Low Rank Matrix Decomposition including spati (MIA Laboratory (Mathematics Images & Applications), 5, 2012 November University of 27 / 27 La Roche