Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene...

23
Active 3D Scene Segmentation Using Kinect Carlos Hern´ andez Matas Royal Institute of Technology [email protected] July 5, 2011 Carlos Hern´ andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 1 / 22

Transcript of Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene...

Page 1: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Active 3D Scene Segmentation Using Kinect

Carlos Hernandez Matas

Royal Institute of Technology

[email protected]

July 5, 2011

Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 1 / 22

Page 2: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Outline

Introduction

Background

Novelties

Experiments

Discussion

Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 2 / 22

Page 3: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Introduction

What is image segmentation?

Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 3 / 22

Page 4: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Active 3D Scene Segmentation

Bjorkman and Kragic: Active 3D scene segmentation and detection ofunknown objects. IEEE/RSJ International Conference on IntelligentRobots and Systems (IROS), 2010.

Markov Random Fields.

3-label model: Foreground, Surface and Background.

Surface hypothesis.

Iterative segmentation.

2 sets of stereo cameras → disparity.

Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 4 / 22

Page 5: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Binary Labeling

E (x) =∑

i=1,...,N

(E (xi ) +∑

xj∈N(xi )

(xi , xj))

Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 5 / 22

Page 6: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Markov Random Fields

Figure: Markov Random Field

Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 6 / 22

Page 7: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Kinect

Figure: Kinect Sensor

Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 7 / 22

Page 8: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Hardware differences

(A) (B)

(C) (D)

Figure: Disparities. (A): Color image. (B): Stable matching disparity. (C): Colorimage. (D): Kinect disparity.

Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 8 / 22

Page 9: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Thesis novelties

(A) (B)

(C) (D)

Figure: Cues. (A): Color image. (B): Depth image. (C): Canny cue.(D): Halo cue.

Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 9 / 22

Page 10: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Cue transformation

(A) (B)

(C) (D)

Figure: D.T. (A): Canny. (B): Canny D.T. (C): Halo. (D): Halo D.T.

Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 10 / 22

Page 11: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Energy functions

Potts model for penalty (energy / cost function)

p(li , lj)li 6=lj = exp−Vi,j (1)

Direct application and Gauss

Vi ,j = V Li ,j + V C

i ,j + V Li ,j =

= λL exp−βL (vL

i −vLj )2

+λC exp−(vCi vC

j ) +λH exp−(vHi vH

j )

βL = (2〈(vLi − vLj )2〉)−1 (2)

Distance transform

Vi ,j = λL exp−βL (vL

i −vLj )2

+λC exp−vCi vC

j

2552 +λH exp−vHi vH

j

2552

(3)

Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22

Page 12: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Energy map

(A) (B) (C) 50− 0− 0

(D) 0− 50− 0 (E) 0− 0− 50 (F) 30− 30− 30

Figure: Clutterednb energy map. (A): Color image. (B): Depth map.(C) − (F): Energy maps for different values of λL − λH − λC .

Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 12 / 22

Page 13: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Iterative segmentation

http://www.youtube.com/watch?v=NrdCriH6xIA

Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 13 / 22

Page 14: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Cues comparison: JimConeClose

(A) (B) (C) 50− 0− 0

(D) 0− 30− 0 (E) 0− 0− 30 (F) 0− 30− 30 (G) 30− 30− 30

Figure: JimConeClose segmentations. (A): Color image. (B): Depth image.(C) − (G): Segmentation results for different values of λL − λH − λC .

Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 14 / 22

Page 15: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Cues comparison Cluttered

(A) (B) (C) 50− 0− 0

(D) 0− 50− 0 (E) 0− 0− 50 (F) 0− 10− 10 (G) 10− 10− 30

Figure: Cluttered segmentations. (A): Color image. (B): Depth image.(C) − (G): Segmentation results for different values of λL − λH − λC .

Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 15 / 22

Page 16: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Canny Gauss

(A) 0− 0− 30 Normal (B) 0− 0− 30 Normal (C) 0− 0− 50 Normal

(D) 0− 0− 30 Gauss (E) 0− 0− 30 Gauss (F) 0− 0− 50 Gauss

Figure: Canny Gauss. (A) − (C): Segmentation results for different images usingnormal cues. (D) − (F): Segmentation results for different images usingGaussian blur.Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 16 / 22

Page 17: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Canny Distance Transform

(A) 0− 0− 30 Normal (B) 0− 0− 30 Normal (C) 0− 50− 0 Normal

(D) 0− 0− 30 D.T. (E) 0− 0− 30 D.T. (F) 0− 50− 0 D.T:

Figure: Canny distance transform. (A) − (C): Segmentation results for differentimages using normal cues. (D) − (F): Segmentation results for different imagesusing distance transform.Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 17 / 22

Page 18: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Halo Gauss

(A) 0− 30− 0 Normal (B) 0− 30− 0 Normal (C) 0− 50− 0 Normal

(D) 0− 30− 0 Gauss (E) 0− 30− 0 Gauss (F) 0− 50− 0 Gauss

Figure: Halo Gauss. (A) − (C): Segmentation results for different images usingnormal cues. (D) − (F): Segmentation results for different images usingGaussian blur.Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 18 / 22

Page 19: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Halo Distance Transform

(A) 0− 30− 0 Normal (B) 0− 30− 0 Normal (C) 0− 50− 0 Normal

(D) 0− 30− 0 D.T. (E) 0− 30− 0 D.T. (F) 0− 50− 0 D.T.

Figure: Halo distance transform. (A) − (C): Segmentation results for differentimages using normal cues. (D) − (F): Segmentation results for different imagesusing distance transform.Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 19 / 22

Page 20: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Saliency cropping

(A) (B)

(C) (D)

Figure: Backpack symmetry saliency. (A) and (B): Original depth map and itssymmetry saliency. (C) and (D): Cropped depth map and its symmetry saliency.

Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 20 / 22

Page 21: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Saliency

(A) (B)

(C) (D) (E)

Figure: Cluttered symmetry saliency. (A): Color image. (B): Depth map.(C) − (E): Symmetry saliency for the first three peaks.

Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 21 / 22

Page 22: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Discussion

Symmetry saliency.

Canny.

Halo.

Cue combination.

Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 22 / 22

Page 23: Active 3D Scene Segmentation Using Kinect€¦ · Carlos Hern andez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 11 / 22. Energy map (A) (B) (C) 50 0 0 (D) 0

Questions

Thank you for listening.

Any questions?

Carlos Hernandez Matas (KTH) Active 3D Scene Segmentation Using Kinect July 5, 2011 23 / 22