23
Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather Dunlop 16-721: Advanced Perception January 25, 2006

Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

  • View
    220

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

Learning to Detect Natural Image Boundaries Using Local

Brightness, Color and Texture Cues

by David R. Martin, Charless C. Fowlkes, Jitendra Malik

Heather Dunlop16-721: Advanced Perception

January 25, 2006

Page 2: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

What is a Boundary?

CannyMartin,

2002

Human

Page 3: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

Dataset“You will be presented a photographic image. Divide the image into some number of segments, where the segments represent ‘things’ or ‘parts of things’ in the scene. The number of segments is up to you, as it depends on the image. Something between 2 and 30 is likely to be appropriate. It is important that all of the segments have approximately equal importance.”

Page 4: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

DatasetDatabase of over 1000 images and 5-10 segmentations for each

Martin, 2002

Page 5: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

Boundaries

Intensity

Texture

Brightness

Color

Non-boundaries Boundaries

Martin, 2002

Page 6: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

Method

ImageOptimized Cues

Boundary Strength

Brightness

Color

Texture

Benchmark

Human Segmentations

Cue Combination

Model

Martin, 2002

Goal: learn the probability of a boundary, Pb(x,y,θ)

Page 7: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

Image FeaturesCIE L*a*b* color space (luminance, red-green, yellow-blue)Oriented Energy:

fe: Gaussian second derivativefo: Its Hilbert transform

BrightnessL* distribution

Colora* and b* distributions (joint or marginal)

Texture

2,

2

,,oe fIfIOE

Page 8: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

TextureConvolve with a filter bank:

Gaussian second derivativeIts Hilbert transformDifference of Gaussians

Filter responses give a measure of texture

Page 9: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

Other Filter BanksLeung-Malik filter set: Schmid filter set:

Maximum Response 8 filter set:

Page 10: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

TextonsConvolve image with filter bankCluster filter responses to form textons

Adapted from Martin, 2002 and Varma, Zisserman, 2005

Page 11: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

Texton DistributionAssign each pixel to nearest textonForm distribution of textons

Adapted from Martin, 2002 and Varma, Zisserman, 2005

Page 12: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

Gradient-based FeaturesBrightness (BG), color (CG), texture (TG) gradientsHalf-disc regions described by histogramsCompare distributions with χ2 statistic

r(x,y)

i ii

ii

hg

hghg

22 )(

2

1),(

Page 13: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

Texture GradientTexton distribution in two half circles

Martin, 2002

Page 14: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

LocalizationTightly localize boundariesReduce noiseCoalesce double detectionsImprove OE and TG features

OE

TG localized

OE localized

TG

Martin, Fowlkes, Malik, 2004

Page 15: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

OptimizationTexture parameters:

type of filter bankscale of filtersnumber of textonsuniversal or image-specific textons

Other possible distance/histogram comparison metricsNumber of bins for histogramsScale parameter for all cues

Page 16: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

Evaluation MethodologyPosterior probability of boundary: Pb(x,y,θ)

Evaluation measure: precision recall curveF-measure: Martin,

2002

5.0

)1(

PRPRF

Page 17: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

Cue CombinationWhich cues should be used?

OE is redundant when other cues are presentBG+CG+TG produces best results

Martin, 2002

Page 18: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

ClassifiersUntil now, only logistic regression was usedOther possible classifiers:

Density estimationClassification treesHierarchical mixtures of expertsSupport vector machines Martin,

2002

Page 19: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

Result ComparisonAlternative methods:

Matlab’s Canny edge detector with and without hysteresisSpatially-averaged second moment matrix (2MM) Martin,

2002

Page 20: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

ResultsCanny 2MM BG+CG+TG HumanImage

Martin, 2002

Page 21: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

Results

Martin, 2002

Canny 2MM BG+CG+TG HumanImage

Page 22: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

Results

Martin, 2002

Canny 2MM BG+CG+TG HumanImage

Page 23: Learning to Detect Natural Image Boundaries Using Local Brightness, Color and Texture Cues by David R. Martin, Charless C. Fowlkes, Jitendra Malik Heather

ConclusionsLarge data set used for testingTexture gradients are a powerful cueSimple linear model sufficient for cue combinationOutperforms existing methodsAn approach that is useful for higher-level algorithmsCode is available online:http://www.eecs.berkeley.edu/Research/Projects/CS/vision/grouping/segbench/