580 likes | 713 Views
sky. building. car. Large-Scale Image Parsing. road. Joseph Tighe and Svetlana Lazebnik University of North Carolina at Chapel Hill. Small-scale image parsing Tens of classes, hundreds of images. Figure from Shotton et al. (2009).
E N D
sky building car Large-Scale Image Parsing road Joseph Tighe and Svetlana Lazebnik University of North Carolina at Chapel Hill
Small-scale image parsingTens of classes, hundreds of images Figure from Shotton et al. (2009) He et al. (2004), Hoiem et al. (2005), Shotton et al. (2006, 2008, 2009), Verbeek and Triggs (2007), Rabinovich et al. (2007), Galleguillos et al. (2008), Gould et al. (2009), etc.
Large-scale image parsingHundreds of classes, tens of thousands of images Non-uniform class frequencies
Large-scale image parsingHundreds of classes, tens of thousands of images Non-uniform class frequencies Evolving training set http://labelme.csail.mit.edu/
Challenges • What’s considered important for small-scale image parsing? • Combination of local cues • Multiple segmentations, multiple scales • Context • How much of this is feasible for large-scale, dynamic datasets?
Our first attempt: A nonparametric approach • Lazy learning: do (almost) nothing up front • To parse (label) an image we will: • Find a set of similar images • Transfer labels from the similar images by matching pieces of the image (superpixels)
Ocean Forest Open Field Mountain Which image is most similar? Highway Inner City Then assign the label from the most similar image Street Tall Building What is depicted in this image?
Pixels are a bad measure of similarity Most similar according to pixel distance Most similar according to “Bag of Words”
Origin of the Bag of Words model • Orderless document representation: • frequencies of words from a dictionary Salton & McGill (1983) US Presidential Speeches Tag Cloudhttp://chir.ag/phernalia/preztags/
Wing Tail Propeller Building Wheel
Wing Building Wheel Propeller Jet Engine Tail
Wing Building Wheel Propeller Jet Engine Tail
Wing Building Wheel Propeller Jet Engine Tail
Example Dictionary Source: B. Leibe
… … … … Another dictionary Source: B. Leibe
Outline of the Bag of Words method • Divide the image into patches • Assign a “word” for each patch • Count the number of occurrences of each “word” in the image
Does this work for our problem? 65,536 Pixels 256 Dimensions
Which look the most similar? sky sky building tree building tree car car road road sky sky sky building building building sand car road sky sky sky sky building building mountain car car tree car road road road
Step 1: Scene-level matching Gist (Oliva & Torralba, 2001) Spatial Pyramid(Lazebnik et al., 2006) Color Histogram Retrieval set: Source of possible labels Source of region-level matches
Step 2: Region-level matching Superpixels(Felzenszwalb & Huttenlocher, 2004)
Step 2: Region-level matching Road Tree Pixel Area (size) Sky Building Snow
Step 2: Region-level matching Road Absolute mask(location) Sidewalk
Step 2: Region-level matching Road Texture Snow Sky Sidewalk
Step 2: Region-level matching Road Sidewalk Color histogram Building
Step 2: Region-level matching Superpixel features Superpixels(Felzenszwalb & Huttenlocher, 2004)
Region-level likelihoods • Nonparametric estimate of class-conditional densities for each class c and feature type k: • Per-feature likelihoods combined via Naïve Bayes: Features of class c within some radius of ri Total features of class c in the dataset kth feature type of ith region
Region-level likelihoods Building Car Crosswalk Road Window Sky
Step 3: Global image labeling • How do we resolve issues like this? Maximum likelihood labeling Original image sky sky road tree sea sea road sand sand
Step 3: Global image labeling • Compute a global image labeling by optimizing a Markov random field (MRF) energy function: Likelihood score for region ri and label ci Smoothing penalty Co-occurrence penalty Neighboring regions Regions Vector of region labels
Step 3: Global image labeling • Compute a global image labeling by optimizing a Markov random field (MRF) energy function: Likelihood score for region ri and label ci Smoothing penalty Co-occurrence penalty Neighboring regions Regions Vector of region labels Maximum likelihood labeling Edge penalties Final labeling Final edge penalties sky sky building building window car car road road
Step 3: Global image labeling • Compute a global image labeling by optimizing a Markov random field (MRF) energy function: Likelihood score for region ri and label ci Smoothing penalty Co-occurrence penalty Neighboring regions Regions Vector of region labels Maximum likelihood labeling Edge penalties Original image MRF labeling sky sky road tree sea sea road sand sand
Joint geometric/semantic labeling • Semantic labels: road, grass, building, car, etc. • Geometric labels: sky, vertical, horizontal • Gould et al. (ICCV 2009) Original image Semantic labeling Geometric labeling sky sky tree vertical car horizontal road
Joint geometric/semantic labeling • Objective function for joint labeling: Geometric labels Semantic labels Cost of geometric labeling Cost of semantic labeling Geometric/semantic consistency penalty Original image Semantic labeling Geometric labeling sky sky tree vertical car horizontal road
Understanding scenes on many levels To appear at ICCV 2011
Overall performance *SIFT Flow: 74.75