490 likes | 646 Views
Segmentation Through Optimization. Pyry Matikainen. “He who fights with monsters should look to it that he himself does not become a monster.” - Friedrich Nietzsche, Beyond Good and Evil. Formulate Problem. Force problem into favorite algorithm. Retroactively justify decisions.
E N D
Segmentation Through Optimization PyryMatikainen
“He who fights with monsters should look to it that he himself does not become a monster.” -Friedrich Nietzsche, Beyond Good and Evil
Formulate Problem Force problem into favorite algorithm Retroactively justify decisions Gradient ascent via parameter tweaking “Refine” Publish
What is wrong with this? Formulate Problem • Difficult to use • Difficult to extend • Difficult to study Force problem into favorite algorithm Retroactively justify decisions Gradient ascent via parameter tweaking “Refine” Publish
Z. Tu and S. C. Zhu (2002)to the rescue! and also Ren and Malik (2003)…
Z. Tu and S. C. Zhu. Image Segmentation by Data-Driven Markov Chain Monte Carlo. PAMI, vol.24, no.5, pp. 657-673, May, 2002: The DDMCMC paradigmcombines and generalizes these [all other] segmentation methods in a principled way.
Segmenter Evaluator Optimizer
Evaluator Optimizer
“What is a good segment?” Ren and Malik (2003)
How do we model a segment? Contours Texture Raw pixel values
x2 G(x) h(x) h(f(x)) G(b(x) - x)
(gaussian) (histogram) (gabor) (Bezier)
Region appearance model complexity Region area Region perimeter length (smoothness) Number of regions Notably absent: the data
Brightness Superpixels (normalized cuts) Texture (textons) Oriented energy
* G(W|I) Classifier
Evaluator Optimizer
Number of regions Region Region? ? ? ?
Ren and Malik The ‘data driven’ part revealed! Merge Split Boundary competition Model adaptation Switching image models
Evaluator Optimizer
1/2 1/2 0 1/2 0 0 1 1/3
Optimizer Evaluator Evaluator Optimizer
(gaussian) (mixture of gaussians) (3x Bezier spline)
(g1) (gaussian) (g2) (histogram) (g3) (gabor filter) (g4) (Bezier spline)
Number of regions Region appearance model parameters Region appearance model Pixels in region
Xiaofeng Ren and Jitendra Malik. Learning a Classification Model for Segmentation. ICCV 2003.
Classification certainty Ren and Malik 2003 Maximizing G(W|I) Discriminative models Superpixels Tu and Zhu 2002 Sampling P(W|I) Generative models Pixels