Efficient Superpixel Creation in High-resolution Images by Applying - - PowerPoint PPT Presentation
Efficient Superpixel Creation in High-resolution Images by Applying - - PowerPoint PPT Presentation
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Masters Thesis Jan Draegert Freie Universit at Berlin Fachbereich Mathematik und Informatik Institut f ur Informatik August 4, 2017 Efficient Superpixel
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT
Outline
Superpixels PLANT Experiments Application to Vision of Soccer Robots
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Superpixels
Image Segmentation
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Superpixels
Superpixels
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
PLANT
Partition-Locating, Axis-aligned, and Node-queing Tree
Generating a PLANT
◮ Initially: PLANT and priority queue are empty ◮ Root node contains whole image ◮ Insert() root node ◮ While not terminated:
◮ Grow()
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
PLANT
◮ Initially: PLANT and priority queue are empty ◮ Root node contains whole image ◮ Insert() root node ◮ While not terminated:
◮ Grow()
Insert()
◮ Find split location ◮ Determine split direction ◮ Calculate priority ◮ Add to priority queue
and PLANT
Grow()
◮ Pop node with highest
priority from queue
◮ Split node ◮ For both resulting nodes:
◮ Insert()
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
PLANT
◮ Initially: PLANT and priority queue are empty ◮ Root node contains whole image ◮ Insert() root node ◮ While not terminated:
◮ Grow()
Insert()
◮ Find split location ◮ Determine split direction ◮ Calculate priority ◮ Add to priority queue
and PLANT
Grow()
◮ Pop node with highest
priority from queue
◮ Split node ◮ For both resulting nodes:
◮ Insert()
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
PLANT
◮ Initially: PLANT and priority queue are empty ◮ Root node contains whole image ◮ Insert() root node ◮ While not terminated:
◮ Grow()
Insert()
◮ Find split locations ◮ Determine split direction ◮ Calculate priority ◮ Add to priority queue
and PLANT
Grow()
◮ Pop node with highest
priority from queue
◮ Split node ◮ For both resulting nodes:
◮ Insert()
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
Split Location
◮ pivot ← xmin + width/2 ◮ step width ← width/4 ◮ while step width ≥ 1 do:
◮ if
- >
- ◮ xmax ← pivot
◮ pivot ← pivot − step width ◮ else ◮ xmin ← pivot ◮ pivot ← pivot + step width ◮ step width ← step width/2
◮ return pivot
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
Integral Image
I Precalculation II Accessing an area
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
Integral Image
I Precalculation
◮ simple:
IΣ(x, y) =
i≤x
- i=0
j≤y
- j=0
I(i, j)
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
Integral Image
I Precalculation
◮ simple: IΣ(x, y) = i≤x i=0
j≤y
j=0 I(i, j) ◮ fast:
S(x, y) = S(x − 1, y) + I(x, y) IΣ(x, y) = IΣ(x, y − 1) + S(x, y)
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
Integral Image
I Precalculation II Accessing an area
- x0≤x≤x1
y0≤y≤y1
I(x, y) = IΣ(D) + IΣ(A) − IΣ(B) − IΣ(C) where: A = (x0, y0) B = (x1, y0) C = (x0, y1) D = (x1, y1)
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
Split Location
◮ pivot ← xmin + width/2 ◮ step width ← width/4 ◮ while step width ≥ 1 do:
◮ if
- >
- ◮ xmax ← pivot
◮ pivot ← pivot − step width ◮ else ◮ xmin ← pivot ◮ pivot ← pivot + step width ◮ step width ← step width/2
◮ return pivot
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
PLANT
◮ Initially: PLANT and priority queue are empty ◮ Root node contains whole image ◮ Insert() root node ◮ While not terminated:
◮ Grow()
Insert()
◮ Find split locations ◮ Determine split direction ◮ Calculate priority ◮ Add to priority queue
and PLANT
Grow()
◮ Pop node with highest
priority from queue
◮ Split node ◮ For both resulting nodes:
◮ Insert()
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
PLANT
◮ Initially: PLANT and priority queue are empty ◮ Root node contains whole image ◮ Insert() root node ◮ While not terminated:
◮ Grow()
Insert()
◮ Find split locations ◮ Determine split direction ◮ Calculate priority ◮ Add to priority queue
and PLANT
Grow()
◮ Pop node with highest
priority from queue
◮ Split node ◮ For both resulting nodes:
◮ Insert()
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
Split Direction
◮ if (∆h ≥ ∆v)
◮ split horizontally
◮ else
◮ split vertically
∆h and ∆v are computed while split location is searched
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
Split Direction
◮ pivot ← xmin + width/2, step width ← width/4 ◮ ∆h ← 0 ◮ while step width ≥ 1 do:
◮ if
- >
- ◮ xmax ← pivot
◮ pivot ← pivot − step width ◮ ∆h ← ∆h + step width ·
- ◮ else
◮ xmin ← pivot ◮ pivot ← pivot + step width ◮ ∆h ← ∆h + step width ·
- ◮ step width ← step width/2
◮
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
PLANT
◮ Initially: PLANT and priority queue are empty ◮ Root node contains whole image ◮ Insert() root node ◮ While not terminated:
◮ Grow()
Insert()
◮ Find split locations ◮ Determine split direction ◮ Calculate priority ◮ Add to priority queue
and PLANT
Grow()
◮ Pop node with highest
priority from queue
◮ Split node ◮ For both resulting nodes:
◮ Insert()
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
PLANT
◮ Initially: PLANT and priority queue are empty ◮ Root node contains whole image ◮ Insert() root node ◮ While not terminated:
◮ Grow()
Insert()
◮ Find split locations ◮ Determine split direction ◮ Calculate priority ◮ Add to priority queue
and PLANT
Grow()
◮ Pop node with highest
priority from queue
◮ Split node ◮ For both resulting nodes:
◮ Insert()
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
Priority
◮ if (∆h ≥ ∆v)
◮ split horizontally ◮ set priority to ∆h
◮ else
◮ split vertically ◮ set priority to ∆v
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
PLANT
◮ Initially: PLANT and priority queue are empty ◮ Root node contains whole image ◮ Insert() root node ◮ While not terminated:
◮ Grow()
Insert()
◮ Find split locations ◮ Determine split direction ◮ Calculate priority ◮ Add to priority queue
and PLANT
Grow()
◮ Pop node with highest
priority from queue
◮ Split node ◮ For both resulting nodes:
◮ Insert()
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
PLANT
◮ Initially: PLANT and priority queue are empty ◮ Root node contains whole image ◮ Insert() root node ◮ While not terminated:
◮ Grow()
Insert()
◮ Find split locations ◮ Determine split direction ◮ Calculate priority ◮ Add to priority queue
and PLANT
Grow()
◮ Pop node with highest
priority from queue
◮ Split node ◮ For both resulting nodes:
◮ Insert()
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
Termination Criterion
◮ Stop if
◮ max number of leaves reached ◮ or priority < θ
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
PLANT
◮ Initially: PLANT and priority queue are empty ◮ Root node contains whole image ◮ Insert() root node ◮ While not terminated:
◮ Grow()
Insert()
◮ Find split locations ◮ Determine split direction ◮ Calculate priority ◮ Add to priority queue
and PLANT
Grow()
◮ Pop node with highest
priority from queue
◮ Split node ◮ For both resulting nodes:
◮ Insert()
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT Algorithm
PLANT
◮ Initially: PLANT and priority queue are empty ◮ Root node contains whole image ◮ Insert() root node ◮ While not terminated:
◮ Grow()
Insert()
◮ Find split locations ◮ Determine split direction ◮ Calculate priority ◮ Add to priority queue
and PLANT
Grow()
◮ Pop node with highest
priority from queue
◮ Split node ◮ For both resulting nodes:
◮ Insert()
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT PLANT PLANT Superpixels
PLANT Superpixels
Efficient PLANT-based Superpixel Algorithms
◮ PLANT: leaf ˆ
= superpixel
◮ O(n + k · log(n))
◮ PLANTm: merge leaves to superpixel
◮ O(n + k · log(n) + k2)
◮ #superpixels (k) ≪ #pixels (n) ◮ Fast computation of asymptotic most expensive term
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Experiments Run times
Experiments
105 106 101 102 103 104 image resolution (pixel) time (ms) QS ERS LSC ERGC reSEEDS SLIC SEEDS FH PB MSS CW ETPS preSLIC PF W PLANTm PLANT
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Experiments Run times
Experiments
105 106 101 102 103 104 image resolution (pixel) time (ms) ERS ERSf LSC LSCf MSS MSSf reSEEDS reSEEDSf ETPS preSLIC preSLICf SEEDS SEEDSf SLIC SLICf
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Experiments Run times
Experiments
105 106 107 100 101 102 103 30 Hz HD resolution image resolution (pixel) time (ms) PF ETPS SEEDSf preSLIC preSLICf SLICf W PLANTm PLANT
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Experiments Run times
Experiments
2 4 6 8 ·106 500 1,000 1,500 image resolution (pixel) time (ms) PF ETPS SEEDSf preSLIC preSLICf SLICf W PLANTm PLANT
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Experiments Run times
Experiments
105 106 107 500 1,000 1,500 image resolution (pixel) time (ms) PF ETPS SEEDSf preSLIC preSLICf SLICf W PLANTm PLANT
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Experiments Run times
Experiments
105 106 107 10 20 30 image resolution (pixel) time (ms) PLANTm merge PLANTm generate PLANTm convert PLANTm total PLANT generate PLANT convert PLANT total
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Experiments Run times
Experiments
2 4 6 8 ·106 10 20 30 image resolution (pixel) time (ms) PLANTm merge PLANTm generate PLANTm convert PLANTm total PLANT generate PLANT convert PLANT total
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Experiments Quality
0.2 0.4 0.6 0.8 1 ·104 0.4 0.6 0.8 1 number of superpixels boundary recall 0.2 0.4 0.6 0.8 1 ·104 0.2 0.4 0.6 number of superpixels undersegmentation error 0.2 0.4 0.6 0.8 1 ·104 0.4 0.6 0.8 1 number of superpixels explained variation PLANT ERS PLANTm FH W PB CW ERGC SLIC PF preSLIC QS SEEDS SEEDSf reSEEDS SLICf ETPS preSLICf MSS LSC
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Experiments Quality
Experiments
0.2 0.4 0.6 0.8 1 ·104 0.4 0.6 0.8 1 number of superpixels explained variation PLANT ERS PLANTm FH W PB CW ERGC SLIC PF preSLIC QS SEEDS SEEDSf reSEEDS SLICf ETPS preSLICf MSS LSC
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Experiments Quality
INPUT ETPS PLANT SLIC PLANTd W PLANTm SEEDS PLANTmd FH
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Application to Vision of Soccer Robots Field Contour Extraction
Field Contour Extraction
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Application to Vision of Soccer Robots Field Contour Extraction
Field Contour Extraction
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Application to Vision of Soccer Robots Field Contour Extraction
Field Contour Extraction
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Application to Vision of Soccer Robots Object Detection
White Blob Extraction
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Application to Vision of Soccer Robots Object Detection
Ball Candidates Detection
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Application to Vision of Soccer Robots Object Detection
Ball Candidates Detection
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Application to Vision of Soccer Robots Object Detection
Ball Candidates Detection
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Application to Vision of Soccer Robots Object Detection
Goalposts Detection
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Application to Vision of Soccer Robots Object Detection
Goalposts Detection
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Application to Vision of Soccer Robots Object Detection
Goalposts Detection
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Application to Vision of Soccer Robots Object Detection
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Conclusion
Conclusion
◮ PLANT introduced ◮ PLANT and PLANTm superpixels
algorithms proposed
◮ Experiments showed efficiency ◮ Vision for soccer robots
implemented
Efficient Superpixel Creation in High-resolution Images by Applying a PLANT Conclusion