Presentation is loading. Please wait.

Presentation is loading. Please wait.

Contours and Junctions in Natural Images

Similar presentations


Presentation on theme: "Contours and Junctions in Natural Images"— Presentation transcript:

1 Contours and Junctions in Natural Images
Jitendra Malik University of California at Berkeley (with Jianbo Shi, Thomas Leung, Serge Belongie, Charless Fowlkes, David Martin, Xiaofeng Ren, Michael Maire, Pablo Arbelaez)

2 From Pixels to Perception
Tiger Grass Water Sand outdoor wildlife tail eye legs head back shadow mouth Tiger

3 No. I have sky, house, and trees.
I stand at the window and see a house, trees, sky. Theoretically I might say there were 327 brightnesses and nuances of colour. Do I have "327"? No. I have sky, house, and trees. ---- Max Wertheimer, 1923 I couldn’t resist the temptation to put on this famous quote  Max Wertheimer, the father of Gestalt psychology, said this in 1923: …. Wertheimer lived in an age when there were no computer, no digital camera, and no pixels. However he somehow knew about pixels, and he already warned us about the risk of using pixels to model perception, and the risk of ignoring structure in an image.

4 Perceptual Organization
Grouping Figure/Ground

5 Key Research Questions in Perceptual Organization
Predictive power Factors for complex, natural stimuli ? How do they interact ? Functional significance Why should these be useful or confer some evolutionary advantage to a visual organism? Brain mechanisms How are these factors implemented given what we know about V1 and higher visual areas?

6 Attneave’s Cat (1954) Line drawings convey most of the information

7 Contours and junctions are fundamental…
Key to recognition, inference of 3D scene properties, visually- guided manipulation and locomotion… This goes beyond local, V1-like, edge-detection. Contours are the result of perceptual organization, grouping and figure/ground processing

8 Some computer vision history…
Local Edge Detection was much studied in the 1970s and early 80s (Sobel, Rosenfeld, Binford-Horn, Marr-Hildreth, Canny …) Edge linking exploiting curvilinear continuity was studied as well (Rosenfeld, Zucker, Horn, Ullman …) In the 1980s, several authors argued for perceptual organization as a precursor to recognition (Binford, Witkin and Tennebaum, Lowe, Jacobs …)

9 However in the 90s … We realized that there was more to images than edges Biologically inspired filtering approaches (Bergen & Adelson, Malik & Perona..) Pixel based representations for recognition (Turk & Pentland, Murase & Nayar, LeCun …) We lost faith in the ability of bottom-up vision Do minimal bottom up processing , e.g. tiled orientation histograms don’t even assume that linked contours or junctions can be extracted Matching with memory of previously seen objects then becomes the primary engine for parsing an image. ?

10 At Berkeley, we took a contrary view…
Collect Data Set of Human segmented images Learn Local Boundary Model for combining brightness, color and texture Global framework to capture closure, continuity Detect and localize junctions Integrate low, mid and high-level information for grouping and figure-ground segmentation

11 Berkeley Segmentation DataSet [BSDS]
D. Martin, C. Fowlkes, D. Tal, J. Malik. "A Database of Human Segmented Natural Images and its Application to Evaluating Segmentation Algorithms and Measuring Ecological Statistics", ICCV, 2001

12

13 Contour detection ~1970 13

14 Contour detection ~1990 14

15 Contour detection ~2004 15

16 Contour detection ~2008 (gray)
16

17 Contour detection ~2008 (color)
17

18 Outline Collect Data Set of Human segmented images
Learn Local Boundary Model for combining brightness, color and texture Global framework to capture closure, continuity Detect and localize junctions Integrate low, mid and high-level information for grouping and figure-ground segmentation

19 Contours can be defined by any of a number of cues (P. Cavanagh)

20 Cue-Invariant Representations
Gray level photographs Objects from motion Objects from luminance Objects from disparity Line drawings Objects from texture Grill-Spector et al. , Neuron 1998

21 Martin, Fowlkes, Malik PAMI 04
Pb Image Boundary Cues Cue Combination Brightness Model Color Texture Challenges: texture cue, cue combination Goal: learn the posterior probability of a boundary Pb(x,y,) from local information only

22 These are combined using logistic regression
Individual Features 1976 CIE L*a*b* colorspace Brightness Gradient BG(x,y,r,) Difference of L* distributions Color Gradient CG(x,y,r,) Difference of a*b* distributions Texture Gradient TG(x,y,r,) Difference of distributions of V1-like filter responses r (x,y) These are combined using logistic regression

23 Various Cue Combinations

24 Outline Collect Data Set of Human segmented images
Learn Local Boundary Model for combining brightness, color and texture Global framework to capture closure, continuity Detect and localize junctions Integrate low, mid and high-level information for grouping and figure-ground segmentation

25 Build a weighted graph G=(V,E) from image
Exploiting global constraints: Image Segmentation as Graph Partitioning Build a weighted graph G=(V,E) from image V: image pixels E: connections between pairs of nearby pixels Partition graph so that similarity within group is large and similarity between groups is small -- Normalized Cuts [Shi & Malik 97]

26 Wij small when intervening contour strong, small when weak
Wij small when intervening contour strong, small when weak.. Cij = max Pb(x,y) for (x,y) on line segment ij; Wij = exp ( - Cij /  So what are our similarity cues going to be? For a pair of points i and j, what can we measure about the image that will tell us whether they belong to the same group? We can start by looking in a small neighborhood around each point and comparing them. Do they have similar Color, intensity …texture? Of course this isn’t really enough since if I choose points from both these elephants, they Will have the same local appearance. <click>

27 Normalized Cuts as a Spring-Mass system
Each pixel is a point mass; each connection is a spring: Fundamental modes are generalized eigenvectors of (D - W) x = Dx

28 Eigenvectors carry contour information

29

30 We do not try to find regions from the eigenvectors, so we avoid the “broken sky” artifacts of Ncuts ..

31 The Benefits of Globalization Maire, Arbelaez, Fowlkes, Malik, CVPR 08

32 Comparison to other approaches

33

34 Outline Collect Data Set of Human segmented images
Learn Local Boundary Model for combining brightness, color and texture Global framework to capture closure, continuity Detect and localize junctions Integrate low, mid and high-level information for grouping and figure-ground segmentation

35 Detecting Junctions

36

37 Benchmarking corner detection

38

39 Better object recognition using previous version of Pb
Ferrari, Fevrier, Jurie and Schmid (PAMI 08) Shotton, Blake and Cipolla (PAMI 08)

40 Outline Collect Data Set of Human segmented images
Learn Local Boundary Model for combining brightness, color and texture Global framework to capture closure, continuity Detect and localize junctions Integrate low, mid and high-level cues for grouping and figure-ground segmentation Ren, Fowlkes, Malik, IJCV ‘08 Fowlkes, Martin, Malik, JOV ‘07 Ren, Fowlkes, Malik, ECCV ‘06

41 Power laws for contour lengths

42 Convexity Convexity(p) = log(ConvF / ConvG)
[Metzger 1953, Kanizsa and Gerbino 1976] p G F ConvG = percentage of straight lines that lie completely within region G Convexity(p) = log(ConvF / ConvG)

43 Figural regions tend to be convex

44 Lower Region LowerRegion(p) = θG θ p center of mass
[Vecera, Vogel & Woodman 2002] θ p center of mass LowerRegion(p) = θG

45 Figural regions tend to lie below ground regions

46 Ren, Fowlkes, Malik ECCV ‘06
Object and Scene Recognition Grouping / Segmentation Figure/Ground Organization Human subjects label groundtruth figure/ground assignments in natural images. Shapemes encode high-level knowledge in a generic way, capturing local figure/ground cues. A conditional random field incorporates junction cues and enforces global consistency. So to summarize,

47 Forty years of contour detection
Roberts (1965) Sobel (1968) Prewitt (1970) Marr Hildreth (1980) Canny (1986) Perona Malik (1990) Martin Fowlkes Malik (2004) Maire Arbelaez Fowlkes Malik (2008) 47

48 Forty years of contour detection
Roberts (1965) Sobel (1968) Prewitt (1970) Marr Hildreth (1980) Canny (1986) Perona Malik (1990) Martin Fowlkes Malik (2004) Maire Arbelaez Fowlkes Malik (2008) ??? (2013) 48

49 Curvilinear Grouping Boundaries are smooth in nature!
A number of associated visual phenomena Visual completion Illusory contours Good continuation Curvilinear grouping is based on a simple but fundamental fact, that boundaries of objects in nature are smooth and continuous. There are a few visual phenomena associated with it, such as good continuation, visual completion, or illusory contours. Without going into details of these phenomena, it suffices to say that this is a well studied problem in psychophysics, and generally considered to be an important part of perception. But, from a practical point of view, what do we care about this?


Download ppt "Contours and Junctions in Natural Images"

Similar presentations


Ads by Google