Background vs. foreground segmentation of video sequences = +

Slides:



Advertisements
Similar presentations
An Active contour Model without Edges
Advertisements

Istituto per le Applicazioni del Calcolo "M. Picone" Multigrid Computation for Variational Image Segmentation Problems: Euler equations and approximation.
Active Contours without Edges
Johann Radon Institute for Computational and Applied Mathematics: 1/25 Signal- und Bildverarbeitung, Image Analysis and Processing.
Image Registration  Mapping of Evolution. Registration Goals Assume the correspondences are known Find such f() and g() such that the images are best.
Various Regularization Methods in Computer Vision Min-Gyu Park Computer Vision Lab. School of Information and Communications GIST.
Edge Preserving Image Restoration using L1 norm
TVL1 Models for Imaging: Global Optimization & Geometric Properties Part I Tony F. Chan Math Dept, UCLA S. Esedoglu Math Dept, Univ. Michigan Other Collaborators:
Level set based Image Segmentation Hang Xiao Jan12, 2013.
MS&E 211 Quadratic Programming Ashish Goel. A simple quadratic program Minimize (x 1 ) 2 Subject to: -x 1 + x 2 ≥ 3 -x 1 – x 2 ≥ -2.
Variational Pairing of Image Segmentation and Blind Restoration Leah Bar Nir Sochen* Nahum Kiryati School of Electrical Engineering *Dept. of Applied Mathematics.
P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2013 – 12269: Continuous Solution for Boundary Value Problems.
Instructor: Mircea Nicolescu Lecture 6 CS 485 / 685 Computer Vision.
Optimization 吳育德.
Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties.
BC Content Review. When you see… Find the limit of a rational function You think… (If the limit of the top and bottom are BOTH 0 or infinity…)
1 s-t Graph Cuts for Binary Energy Minimization  Now that we have an energy function, the big question is how do we minimize it? n Exhaustive search is.
Authers : Yael Pritch Alex Rav-Acha Shmual Peleg. Presenting by Yossi Maimon.
Corp. Research Princeton, NJ Computing geodesics and minimal surfaces via graph cuts Yuri Boykov, Siemens Research, Princeton, NJ joint work with Vladimir.
1Ellen L. Walker Edges Humans easily understand “line drawings” as pictures.
On Constrained Optimization Approach To Object Segmentation Chia Han, Xun Wang, Feng Gao, Zhigang Peng, Xiaokun Li, Lei He, William Wee Artificial Intelligence.
Instructor: Mircea Nicolescu Lecture 13 CS 485 / 685 Computer Vision.
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Agenda Project 2- Due this Thursday Office Hours Wed 10:30-12 Image blending Background – Constrained optimization.
Computer Vision Group Edge Detection Giacomo Boracchi 5/12/2007
Martin Burger Institut für Numerische und Angewandte Mathematik European Institute for Molecular Imaging CeNoS Total Variation and Related Methods II.
Function Optimization Newton’s Method. Conjugate Gradients
Image processing. Image operations Operations on an image –Linear filtering –Non-linear filtering –Transformations –Noise removal –Segmentation.
Segmentation Divide the image into segments. Each segment:
2010/5/171 Overview of graph cuts. 2010/5/172 Outline Introduction S-t Graph cuts Extension to multi-label problems Compare simulated annealing and alpha-
1 Image Filtering Readings: Ch 5: 5.4, 5.5, 5.6,5.7.3, 5.8 (This lecture does not follow the book.) Images by Pawan SinhaPawan Sinha formal terminology.
Announcements Take home quiz given out Thursday 10/23 –Due 10/30.
Unconstrained Optimization Problem
Optical Flow Estimation using Variational Techniques Darya Frolova.
Lecture 10: Support Vector Machines
EE565 Advanced Image Processing Copyright Xin Li Different Frameworks for Image Processing Statistical/Stochastic Models: Wiener’s MMSE estimation.
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Normalised Least Mean-Square Adaptive Filtering
Advanced Image Processing Image Relaxation – Restoration and Feature Extraction 02/02/10.
CpE- 310B Engineering Computation and Simulation Dr. Manal Al-Bzoor
Machine Learning Week 4 Lecture 1. Hand In Data Is coming online later today. I keep test set with approx test images That will be your real test.
A Gentle Introduction to Bilateral Filtering and its Applications How does bilateral filter relates with other methods? Pierre Kornprobst (INRIA) 0:35.
7.1. Mean Shift Segmentation Idea of mean shift:
EE369C Final Project: Accelerated Flip Angle Sequences Jan 9, 2012 Jason Su.
Curve-Fitting Regression
Chapter 10 Image Segmentation.
CHAPTER 3 NUMERICAL METHODS
Survey of Kernel Methods by Jinsan Yang. (c) 2003 SNU Biointelligence Lab. Introduction Support Vector Machines Formulation of SVM Optimization Theorem.
Optical Flow. Distribution of apparent velocities of movement of brightness pattern in an image.
Engineering Analysis – Computational Fluid Dynamics –
3.7 Adaptive filtering Joonas Vanninen Antonio Palomino Alarcos.
+ Quadratic Programming and Duality Sivaraman Balakrishnan.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Instructor: Mircea Nicolescu Lecture 9
Support Vector Machine: An Introduction. (C) by Yu Hen Hu 2 Linear Hyper-plane Classifier For x in the side of o : w T x + b  0; d = +1; For.
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
Using Neumann Series to Solve Inverse Problems in Imaging Christopher Kumar Anand.
3D-surfaces parametric and other equations area of a 3D surface orientable surfaces.
Winter in Kraków photographed by Marcin Ryczek
CHAPTER 3 NUMERICAL METHODS
PDE Methods for Image Restoration
Morphing and Shape Processing
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Stationary Point Notes
Differentiation Summary
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
Identifying Stationary Points
Chapter 1. Formulations.
Winter in Kraków photographed by Marcin Ryczek
Presentation transcript:

Background vs. foreground segmentation of video sequences = +

The Problem Separate video into two layers: –stationary background –moving foreground Sequence is very noisy; reference image (background) is not given

Simple approach (1) temporal mean background temporal median

Simple approach (2) threshold

Simple approach: noise can spoil everything

Variational approach Find the background and foreground simultaneously by minimizing energy functional Bonus: remove noise

Notations  [0,t max ] N(x,t) original noisy sequence B(x) background image C(x,t) background mask (1 on background, 0 on foreground) given need to find

Energy functional: data term BN B - NC

Energy functional: data term Degeneracy: can be trivially minimized by C  0 (everything is foreground) B  N (take original image as background)

Energy functional: data term C1

there should be enough of background original images should be close to the restored background image in the background areas

Energy functional: smoothness For background image B For background mask C

Energy functional

Edge-preserving smoothness Regularization term Quadratic regularization [Tikhonov, Arsenin 1977] ELE: Known to produce very strong isotropic smoothing

Edge-preserving smoothness Regularization term Change regularization ELE:

Edge-preserving smoothness Regularization term ELE:

Edge-preserving smoothness Regularization term ELE: n  Change the coordinate system: across the edge along the edge Compare:

Edge-preserving smoothness Regularization term Weak edge (s  0) Conditions on  Isotropic smoothing  s) is quadratic at zero  (s) s

Edge-preserving smoothness Regularization term Strong edge (s   ) Conditions on  no smoothing across the edge: more smoothing along the edge: Anisotropic smoothing  s) does not grow too fast at infinity  (s) s

Edge-preserving smoothness Regularization term Conclusion Using regularization term of the form: we can achieve both isotropic smoothness in uniform regions and anisotropic smoothness on edges with one function 

Edge-preserving smoothness Regularization term Example of an edge-preserving function:

Edge-preserving smoothness Space of Bounded Variations Even if we have an edge-preserving functional: if the space of solutions {u} contains only smooth functions, we may not achieve the desired minimum:

Edge-preserving smoothness Space of Bounded Variations which one is “better”?

Bounded Variation – ND case bounded open subset, function Variation of over where φ

Edge-preserving smoothness Space of Bounded Variations integrable (absolute value) and with bounded variation Functions are not required to have an integrable derivative … What is the meaning of  u in the regularization term? Intuitively: norm of gradient |  u| is replaced with variation | Du|

Total variation Theorem (informally): if u  BV (  ) then

Hausdorff measure area > 0 area = 0 How can we measure zero-measure sets?

Hausdorff measure 1) cover with balls of diameter   2) sum up diameters for optimal cover (do not waste balls) 3) refine:   0

Hausdorff measure Formally: For A  R N k -dimensional Hausdorff measure of A up to normalization factor; covers are countable H N is just the Lebesgue measure curve in image: its length = H 1 in R 2

Total variation Theorem (more formally): if u  BV (  ) then u+u+ u-u- u(x)u(x) xx0x0 u +, u - - approximate upper and lower limits S u = {x  ; u + > u - } the jump set

Energy functional data term regularization for background image regularization for background masks

Total variation: example = perimeter = 4 Divide each side into n parts

Edge-preserving smoothness Space of Bounded Variations Small total variation (= sum of perimeters) Large total variation (= sum of perimeters)

Edge-preserving smoothness Space of Bounded Variations Small total variation Large total variation

Edge-preserving smoothness Space of Bounded Variations BV informally: functions with discontinuities on curves Edges are preserved, texture is not preserved: original sequence temporal median energy minimization in BV

Energy functional Time-discretized problem: Find minimum of E subject to:

Existence of solution Under usual assumptions  1,2 : R +  R + strictly convex, nondecreasing, with linear growth at infinity minimum of E exists in BV(B,C 1,…,C T )

(non-)Uniqueness is not convex w.r.t. ( B,C 1,…,C T ) ! Solution may not be unique.

Uniqueness But if  c  3  range 2 ( N t, t=1,…,T, x   ), then the functional is strictly convex, and solution is unique. Interpretation: if we are allowed to say that everything is foreground, background image is not well-defined

Finding solution BV is a difficult space: you cannot write Euler- Lagrange equations, cannot work numerically with function in BV. Strategy: construct approximating functionals admitting solution in a more regular space solve minimization problem for these functionals find solution as limit of the approximate solutions

Approximating functionals Recall:  1,2 ( s ) = s 2 gives smooth solutions Idea: replace  i with  i,  which are quadratic at s  0 and s  

Approximating functionals

Approximating problems has unique solution in the space  – convergence of functionals: if E   -converge to E then approximate solutions of min E  converge to min E

More results: Sweden

More results: Highway

More results: INRIA_1

More results: INRIA_1 Sequence restoration

More results: INRIA_2 Sequence restoration