SlideShare a Scribd company logo
1 of 43
Download to read offline
Probabilistic Algorithms for
Mobile Robot Mapping

Presented by: Noha Quan Ravi
Based on the paper

A Real-Time Algorithm for Mobile Robot Mapping
With Applications to Multi-Robot and 3D Mapping
Best paper award at 2000 IEEE International
Conference on Robotics and Automation (~1,100
submissions)
By: Sebastian Thrun et. al.

2
Robot Mapping…
•  Robot Mapping aims is to build a
map of the physical environment of
the robot
•  Maps are utilized by mobile robots
for their operations.
•  Mapping: generating models of
robot environments from sensor
data.

•  Probabilistic methods have
recently proved very effective.

•  Wide variety of sensors are used,
with different characteristics (e.g.
sonar, laser, IR, cameras, GPS)
3
Robot Mapping Applications

The Nursebot Initiative

Roomba – Autonomic
robotic vacuum cleaners

Serviceroboter

Museum Tour-Guide Robots
video

5
Problem
q  Building an Online 3D Indoor Robot map.
•  Challenges:
1.  Measurement Noise.
2.  High dimensionality of the mapped
entities.(2D Vs. 3D).
3. Dynamic environment.
4.  Data association (correspondence) problem.
5.  Robotic Localization.
(SLAM: Simultaneous Localization & Mapping)

6
Related Work
Ø  Focused on building maps in 2D from sensor
measurements.
-  Line extraction from a single scan.
Ø  3D system models proposed by Roth* doesn’t
consider uncertainty of individual measurements
when generating the 3D model.

* G. Roth and R. Wibowo, “A fast algorithm for making mesh-models
from multiple-view range data,” in Proceedings of the DND/CSA
Robotics and Knowledge Based Systems Workshop, 1995.

7
Methodology
•  Propose an algorithm “Online EM” for 3D models for indoor
mappings that works in real time.
•  Measurements are captured using laser range finder and
panoramic camera.
•  Evaluation of the proposed algorithm via real-time
implementation in several different buildings.
•  Assumptions:
Ø  prior knowledge : the shape of basic building elements.
Ø  Robot pose is given.
8
Agenda

9
Generative Probability Model
Each of the rectangular flat surface is represented
by nine parameters in three groups:

θ j =< α j , β j , γ j >

3D Surface
Normal

Offset bet.
Surface &
origin
Specify size &
orient. of the
planar surface

!j

Offset β j

10
Generative Probability Model: World Model
•  Two types of surfaces:

θ1

θ2

…

θJ

θ = {θ1 ,θ 2 ...,θ J }
Flat Surfaces

Non-flat region

11
Generative Probability Model: Measurements
•  Measurements are captured from a laser range finder. Z = {z }
i
•  All measurements are 3D point cloud:

zi ∈ R

3

•  Distance between any measurement zi and the boundary of the
surface.

zi

θj

d(zi, θi) = (αi.zi - βj)

θj

zi

θj
d(zi, θi) = Euclidean dist.
zi
Between zi and boundary of
the surface
12
Generative Probability Model: Correspondence
Variables
θ2

θ1

ci1

ci 2

…

cij

θJ

ciJ

zi
⎧1
cij = ⎨
⎩0

Non-flat
region

ci*

measusrement corresponds to θ j
others

J

ci* + ∑ cij = 1
j =1

13
Measurement Model
Probabilistic generative model of the measurements given the world.

P( zi | Ci, θ )

14
Agenda

15
Error Distribution
A. For flat surfaces (Normal distribution)

p( zi | cij = 1,θ ) =

1
2πσ

2

e

2
1 d ( zi ,θ j )
−
2
σ2

B. For non-flat surfaces (Uniform distribution)

⎧1 / z max ,
p( zi | cij = 1, θ ) = ⎨
⎩ 0,
1
z max

=

1
2πσ

2

e

if 0 ≤ zi ≤ z max
otherwise

1
z 2 max
− log
2
2πσ 2

16
The Log-Likelihood Function
•  Sensor Model: Conditional probability

p( zi | Ci ,θ ) =

1
2πσ 2

e

1
z 2 ma x
− [ ci* log
+
2
2
2πσ

∑ j cij

d 2 ( zi ,θ j )

σ

2

]

•  Sensor Model: Joint probability

p( zi , Ci | θ ) =

1
( J + 1) 2πσ 2

e

1
z 2 max
− [ ci* log
+
2
2
2πσ

∑ j cij

d 2 ( zi ,θ j )

σ

2

]

17
The Expectation of the log likelihood
•  Assuming independence in measurement noise:

p( Z , C | θ )
=∏
i

1
( J + 1) 2πσ

2

e

1
z 2 max
− [ ci* log
+
2
2πσ 2

∑ j cij

d 2 ( zi ,θ j )

σ2

]

•  EM: take the log likelihood (take the log of the above equation)

EC = [log p ( Z , C | θ ) | Z , θ ]
⎡
1
1
z 2 max
∑ ⎢log ( J + 1) 2πσ 2 − 2 E[ci* | zi ,θ ] log 2πσ 2
i ⎢
⎣
d 2 ( zi , θ j ) ⎤
1
− ∑ j E[cij | zi , θ ]
⎥
2
σ2 ⎥
⎦
18
Agenda

19
EM Algorithm: offline
•  A popular method for optimization
•  Uses hill climbing in likelihood space.
•  Used for problems with latent variables.

z

•  Input: measurement i,
the 3D points
1
•  Output:
[ n +1]
< α [ n+1] , β [ n+1] , γ [ n+1] >
A map θ
which maximize the expectation log likelihood
over correspondences C
•  EM is an iterative process. Each iteration
includes two steps: E-step and M-step.

θ

...

θ2

θJ
Non-flat
region
EM Algorithm: offline
A. The E-Step
-  Initialize θ [0] = A random map
-  Calculate the expectations of the unknown
correspondences for the current map θ [n] .
[
eijn ] = E[cij | zi ,θ [ n ] ] = p(cij | zi ,θ [ n ] )

p( zi | cij ,θ ) p(cij | θ )
[n]

=

[n]

p ( zi | θ [ n ] )
e

=
e

2
z max
2

1
− log
2 2πσ

2
1 d ( zi |θ j )
−
2 σ2

+ ∑k e

−

2

1 d ( zi |θ k )
2 σ2

ei[*n ] = E[ci* | zi ,θ [ n ] ] = p(cij | zi ,θ [ n ] )
p( zi | ci* ,θ [ n ] ) p(ci* | θ [ n ] )
=
p ( zi | θ [ n ] )
e

=
e

2
z max
1
− log
2 2πσ 2

z2
1
− log max2
2 2πσ

+ ∑k e

1 d 2 ( zi |θ k )
−
2 σ2

21
EM Algorithm: offline (cont.)
B. The M-Step

•  Goal: Maximize the expectation of the log likelihood where
the expectation is taken over all the correspondences C.
EC = [log p(Z , C | θ ) | Z ,θ ]
⎡
1
1
z 2 max
∑ ⎢log ( J + 1) 2πσ 2 − 2 E[ci* | zi ,θ ] log 2πσ 2
i ⎢
⎣
d 2 ( zi , θ j ) ⎤
1
− ∑ j E[cij | zi ,θ ]
⎥
2
σ2 ⎥
⎦

The quadratic optimization problem is solved via Lagrange multipliers.

22
Agenda

23
Online EM	
•  Offline EM Limitations
•  1. Require all the measurements Z as input
•  2. Access every measurement zi and every
θ j per iteration d 2 ( zi ,θ j )
model
•  3. Computation grows as dataset grows

•  Solution: Online EM	
24
Online EM	
•  Key idea:
•  Each time interval, constant number of new
range measurements arrive

•  Advantages:
•  1. Acquire compact 3-D models in real time
•  2. Limited number of measurements as input
•  3. Constant time per iteration
25
Online EM (Online E-Step)	
•  Constant number of measurements
•  1.New arrival measurements
•  2. Old measurements
–  At the boundary of two surface models
–  Unexplained by any existing surface models

•  Counter
•  1. Record E-step calculation times
•  2. Freeze when achieve a threshold

	
26
Online EM (Online M-Step)	
•  Goal:
•  Re-estimate the parameters of flat surface model
in constant time

•  Control:
•  The number of flat surfaces
•  The number of measurements

	
27
Online EM (Online M-Step)	
•  Control the number of flat surfaces :
•  Active flat surface model only

•  Definition of “active”:
•  A surface is active at time i if the E-step
executed at that time changed the ML
correspondence to or away from the surface for
any of the updated measurement.	
28
Online EM

(Model Selection)	

q Add new models
Ø  New measurements not “explained” by existing surface
models
Ø  “explained”:
likelihood > threshold
Ø  not “explained”: seed for new surface

q Remove models
Ø  The surface model is not supported by sufficient
measurements	

29
Agenda

30
Experimental Results
•  Two stages
–  Offline EM algorithm.
168,120 range measurements
3,270 camera images,
extracted 3,220,950 pixels
Two minutes

–  Real time online version of our approach
•  Different buildings
•  Three examples in paper (One presented here)

31
Stage 1: Offline EM

Map without the texture
superimposed.

32
Map with Texture vs. EM algorithm
33
Non-planar surfaces
Non-planer region was
not mapped to any of the
surfaces (!)

34
Number of surfaces -

J

Every 20 steps surfaces are
restarted.
500 iterations J settles down to
8.76+/- 1.46 (95.5+-0.006% )
20 minutes for 2000 iterations.

35
Stage 2: Real-Time Implementation

36
Stage 2: Real-Time Implementation

37
More scans…

38
Agenda

39
Conclusion - Main Contributions
•  Convert EM from offline to online
•  Compact & accurate computations.
•  3D mapping instead of 2D mapping
•  Handles surfaces in arbitrary orientations.

40
Conclusion - Critical Analysis
•  Models are visually realistic but not geometrically
accurate.
•  Not best in occluded/unstructured environments.
•  Test data has hallways with no furniture/occlusions.
•  Starts with Assumption that surfaces as flat.
•  Quality of images is not good enough for eye-inhand. just suffices robot movement.

41
Future Work
•  Can be used for representing more complex
models.
•  Outdoor mapping
•  Use EM to perform SLAM.

42
Questions ?

43

More Related Content

What's hot

Tennis video shot classification based on support vector
Tennis video shot classification based on support vectorTennis video shot classification based on support vector
Tennis video shot classification based on support vector
es712
 
Line drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniquesLine drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniques
Ankit Garg
 
Intro to scan conversion
Intro to scan conversionIntro to scan conversion
Intro to scan conversion
Mohd Arif
 
3 d active meshes for cell tracking
3 d active meshes for cell tracking3 d active meshes for cell tracking
3 d active meshes for cell tracking
Prashant Pal
 

What's hot (20)

Mmclass4
Mmclass4Mmclass4
Mmclass4
 
SINGLE‐PHASE TO THREE‐PHASE DRIVE SYSTEM USING TWO PARALLEL SINGLE‐PHASE RECT...
SINGLE‐PHASE TO THREE‐PHASE DRIVE SYSTEM USING TWO PARALLEL SINGLE‐PHASE RECT...SINGLE‐PHASE TO THREE‐PHASE DRIVE SYSTEM USING TWO PARALLEL SINGLE‐PHASE RECT...
SINGLE‐PHASE TO THREE‐PHASE DRIVE SYSTEM USING TWO PARALLEL SINGLE‐PHASE RECT...
 
Digit recognizer by convolutional neural network
Digit recognizer by convolutional neural networkDigit recognizer by convolutional neural network
Digit recognizer by convolutional neural network
 
Watershed image ansam hadi
Watershed image ansam hadiWatershed image ansam hadi
Watershed image ansam hadi
 
COM2304: Morphological Image Processing
COM2304: Morphological Image ProcessingCOM2304: Morphological Image Processing
COM2304: Morphological Image Processing
 
Computer graphics presentation
Computer graphics presentationComputer graphics presentation
Computer graphics presentation
 
PPT s07-machine vision-s2
PPT s07-machine vision-s2PPT s07-machine vision-s2
PPT s07-machine vision-s2
 
Accuracy Analysis of Three-Dimensional Model Reconstructed by Spherical Video...
Accuracy Analysis of Three-Dimensional Model Reconstructed by Spherical Video...Accuracy Analysis of Three-Dimensional Model Reconstructed by Spherical Video...
Accuracy Analysis of Three-Dimensional Model Reconstructed by Spherical Video...
 
Dda algorithm
Dda algorithmDda algorithm
Dda algorithm
 
Unit 3
Unit 3Unit 3
Unit 3
 
Tennis video shot classification based on support vector
Tennis video shot classification based on support vectorTennis video shot classification based on support vector
Tennis video shot classification based on support vector
 
Line drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniquesLine drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniques
 
Intro to scan conversion
Intro to scan conversionIntro to scan conversion
Intro to scan conversion
 
Deep single view 3 d object reconstruction with visual hull
Deep single view 3 d object reconstruction with visual hullDeep single view 3 d object reconstruction with visual hull
Deep single view 3 d object reconstruction with visual hull
 
Using Generic Image Processing Operations to Detect a Calibration Grid
Using Generic Image Processing Operations to Detect a Calibration GridUsing Generic Image Processing Operations to Detect a Calibration Grid
Using Generic Image Processing Operations to Detect a Calibration Grid
 
Texture mapping in_opengl
Texture mapping in_openglTexture mapping in_opengl
Texture mapping in_opengl
 
3D Isovist New algorithm
3D Isovist New algorithm3D Isovist New algorithm
3D Isovist New algorithm
 
3 d active meshes for cell tracking
3 d active meshes for cell tracking3 d active meshes for cell tracking
3 d active meshes for cell tracking
 
Fuzzy dm
Fuzzy dmFuzzy dm
Fuzzy dm
 
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
 

Similar to Robot maptalk

Defense_Talk
Defense_TalkDefense_Talk
Defense_Talk
castanan2
 
Paper computer
Paper computerPaper computer
Paper computer
bikram ...
 
Paper computer
Paper computerPaper computer
Paper computer
bikram ...
 

Similar to Robot maptalk (20)

Asymptotic Notation
Asymptotic NotationAsymptotic Notation
Asymptotic Notation
 
Computer graphics 2
Computer graphics 2Computer graphics 2
Computer graphics 2
 
Defense_Talk
Defense_TalkDefense_Talk
Defense_Talk
 
"Mesh of Periodic Minimal Surfaces in CGAL."
"Mesh of Periodic Minimal Surfaces in CGAL.""Mesh of Periodic Minimal Surfaces in CGAL."
"Mesh of Periodic Minimal Surfaces in CGAL."
 
Digital Image Procesing
Digital Image ProcesingDigital Image Procesing
Digital Image Procesing
 
AsymptoticAnalysis.ppt
AsymptoticAnalysis.pptAsymptoticAnalysis.ppt
AsymptoticAnalysis.ppt
 
Primitives
PrimitivesPrimitives
Primitives
 
Paper computer
Paper computerPaper computer
Paper computer
 
Paper computer
Paper computerPaper computer
Paper computer
 
Asymptotic analysis
Asymptotic analysisAsymptotic analysis
Asymptotic analysis
 
Introduction to Artificial Neural Networks
Introduction to Artificial Neural NetworksIntroduction to Artificial Neural Networks
Introduction to Artificial Neural Networks
 
DeepXplore: Automated Whitebox Testing of Deep Learning
DeepXplore: Automated Whitebox Testing of Deep LearningDeepXplore: Automated Whitebox Testing of Deep Learning
DeepXplore: Automated Whitebox Testing of Deep Learning
 
Lec15 sfm
Lec15 sfmLec15 sfm
Lec15 sfm
 
job scheduling
job schedulingjob scheduling
job scheduling
 
1_Asymptotic_Notation_pptx.pptx
1_Asymptotic_Notation_pptx.pptx1_Asymptotic_Notation_pptx.pptx
1_Asymptotic_Notation_pptx.pptx
 
lecture 1.pptx
lecture 1.pptxlecture 1.pptx
lecture 1.pptx
 
Fast Identification of Heavy Hitters by Cached and Packed Group Testing
Fast Identification of Heavy Hitters by Cached and Packed Group TestingFast Identification of Heavy Hitters by Cached and Packed Group Testing
Fast Identification of Heavy Hitters by Cached and Packed Group Testing
 
3DSensing.ppt
3DSensing.ppt3DSensing.ppt
3DSensing.ppt
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 
Theories and Engineering Technics of 2D-to-3D Back-Projection Problem
Theories and Engineering Technics of 2D-to-3D Back-Projection ProblemTheories and Engineering Technics of 2D-to-3D Back-Projection Problem
Theories and Engineering Technics of 2D-to-3D Back-Projection Problem
 

More from Noha Elprince

More from Noha Elprince (6)

Debug me
Debug meDebug me
Debug me
 
T2 fs talk
T2 fs talkT2 fs talk
T2 fs talk
 
Noha mega store
Noha mega storeNoha mega store
Noha mega store
 
My mapreduce1 presentation
My mapreduce1 presentationMy mapreduce1 presentation
My mapreduce1 presentation
 
AdaptiveLab Talk1
AdaptiveLab Talk1AdaptiveLab Talk1
AdaptiveLab Talk1
 
Noha danms13 talk_final
Noha danms13 talk_finalNoha danms13 talk_final
Noha danms13 talk_final
 

Recently uploaded

Recently uploaded (20)

HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

Robot maptalk

  • 1. Probabilistic Algorithms for Mobile Robot Mapping Presented by: Noha Quan Ravi
  • 2. Based on the paper A Real-Time Algorithm for Mobile Robot Mapping With Applications to Multi-Robot and 3D Mapping Best paper award at 2000 IEEE International Conference on Robotics and Automation (~1,100 submissions) By: Sebastian Thrun et. al. 2
  • 3. Robot Mapping… •  Robot Mapping aims is to build a map of the physical environment of the robot •  Maps are utilized by mobile robots for their operations. •  Mapping: generating models of robot environments from sensor data. •  Probabilistic methods have recently proved very effective. •  Wide variety of sensors are used, with different characteristics (e.g. sonar, laser, IR, cameras, GPS) 3
  • 4. Robot Mapping Applications The Nursebot Initiative Roomba – Autonomic robotic vacuum cleaners Serviceroboter Museum Tour-Guide Robots
  • 6. Problem q  Building an Online 3D Indoor Robot map. •  Challenges: 1.  Measurement Noise. 2.  High dimensionality of the mapped entities.(2D Vs. 3D). 3. Dynamic environment. 4.  Data association (correspondence) problem. 5.  Robotic Localization. (SLAM: Simultaneous Localization & Mapping) 6
  • 7. Related Work Ø  Focused on building maps in 2D from sensor measurements. -  Line extraction from a single scan. Ø  3D system models proposed by Roth* doesn’t consider uncertainty of individual measurements when generating the 3D model. * G. Roth and R. Wibowo, “A fast algorithm for making mesh-models from multiple-view range data,” in Proceedings of the DND/CSA Robotics and Knowledge Based Systems Workshop, 1995. 7
  • 8. Methodology •  Propose an algorithm “Online EM” for 3D models for indoor mappings that works in real time. •  Measurements are captured using laser range finder and panoramic camera. •  Evaluation of the proposed algorithm via real-time implementation in several different buildings. •  Assumptions: Ø  prior knowledge : the shape of basic building elements. Ø  Robot pose is given. 8
  • 10. Generative Probability Model Each of the rectangular flat surface is represented by nine parameters in three groups: θ j =< α j , β j , γ j > 3D Surface Normal Offset bet. Surface & origin Specify size & orient. of the planar surface !j Offset β j 10
  • 11. Generative Probability Model: World Model •  Two types of surfaces: θ1 θ2 … θJ θ = {θ1 ,θ 2 ...,θ J } Flat Surfaces Non-flat region 11
  • 12. Generative Probability Model: Measurements •  Measurements are captured from a laser range finder. Z = {z } i •  All measurements are 3D point cloud: zi ∈ R 3 •  Distance between any measurement zi and the boundary of the surface. zi θj d(zi, θi) = (αi.zi - βj) θj zi θj d(zi, θi) = Euclidean dist. zi Between zi and boundary of the surface 12
  • 13. Generative Probability Model: Correspondence Variables θ2 θ1 ci1 ci 2 … cij θJ ciJ zi ⎧1 cij = ⎨ ⎩0 Non-flat region ci* measusrement corresponds to θ j others J ci* + ∑ cij = 1 j =1 13
  • 14. Measurement Model Probabilistic generative model of the measurements given the world. P( zi | Ci, θ ) 14
  • 16. Error Distribution A. For flat surfaces (Normal distribution) p( zi | cij = 1,θ ) = 1 2πσ 2 e 2 1 d ( zi ,θ j ) − 2 σ2 B. For non-flat surfaces (Uniform distribution) ⎧1 / z max , p( zi | cij = 1, θ ) = ⎨ ⎩ 0, 1 z max = 1 2πσ 2 e if 0 ≤ zi ≤ z max otherwise 1 z 2 max − log 2 2πσ 2 16
  • 17. The Log-Likelihood Function •  Sensor Model: Conditional probability p( zi | Ci ,θ ) = 1 2πσ 2 e 1 z 2 ma x − [ ci* log + 2 2 2πσ ∑ j cij d 2 ( zi ,θ j ) σ 2 ] •  Sensor Model: Joint probability p( zi , Ci | θ ) = 1 ( J + 1) 2πσ 2 e 1 z 2 max − [ ci* log + 2 2 2πσ ∑ j cij d 2 ( zi ,θ j ) σ 2 ] 17
  • 18. The Expectation of the log likelihood •  Assuming independence in measurement noise: p( Z , C | θ ) =∏ i 1 ( J + 1) 2πσ 2 e 1 z 2 max − [ ci* log + 2 2πσ 2 ∑ j cij d 2 ( zi ,θ j ) σ2 ] •  EM: take the log likelihood (take the log of the above equation) EC = [log p ( Z , C | θ ) | Z , θ ] ⎡ 1 1 z 2 max ∑ ⎢log ( J + 1) 2πσ 2 − 2 E[ci* | zi ,θ ] log 2πσ 2 i ⎢ ⎣ d 2 ( zi , θ j ) ⎤ 1 − ∑ j E[cij | zi , θ ] ⎥ 2 σ2 ⎥ ⎦ 18
  • 20. EM Algorithm: offline •  A popular method for optimization •  Uses hill climbing in likelihood space. •  Used for problems with latent variables. z •  Input: measurement i, the 3D points 1 •  Output: [ n +1] < α [ n+1] , β [ n+1] , γ [ n+1] > A map θ which maximize the expectation log likelihood over correspondences C •  EM is an iterative process. Each iteration includes two steps: E-step and M-step. θ ... θ2 θJ Non-flat region
  • 21. EM Algorithm: offline A. The E-Step -  Initialize θ [0] = A random map -  Calculate the expectations of the unknown correspondences for the current map θ [n] . [ eijn ] = E[cij | zi ,θ [ n ] ] = p(cij | zi ,θ [ n ] ) p( zi | cij ,θ ) p(cij | θ ) [n] = [n] p ( zi | θ [ n ] ) e = e 2 z max 2 1 − log 2 2πσ 2 1 d ( zi |θ j ) − 2 σ2 + ∑k e − 2 1 d ( zi |θ k ) 2 σ2 ei[*n ] = E[ci* | zi ,θ [ n ] ] = p(cij | zi ,θ [ n ] ) p( zi | ci* ,θ [ n ] ) p(ci* | θ [ n ] ) = p ( zi | θ [ n ] ) e = e 2 z max 1 − log 2 2πσ 2 z2 1 − log max2 2 2πσ + ∑k e 1 d 2 ( zi |θ k ) − 2 σ2 21
  • 22. EM Algorithm: offline (cont.) B. The M-Step •  Goal: Maximize the expectation of the log likelihood where the expectation is taken over all the correspondences C. EC = [log p(Z , C | θ ) | Z ,θ ] ⎡ 1 1 z 2 max ∑ ⎢log ( J + 1) 2πσ 2 − 2 E[ci* | zi ,θ ] log 2πσ 2 i ⎢ ⎣ d 2 ( zi , θ j ) ⎤ 1 − ∑ j E[cij | zi ,θ ] ⎥ 2 σ2 ⎥ ⎦ The quadratic optimization problem is solved via Lagrange multipliers. 22
  • 24. Online EM •  Offline EM Limitations •  1. Require all the measurements Z as input •  2. Access every measurement zi and every θ j per iteration d 2 ( zi ,θ j ) model •  3. Computation grows as dataset grows •  Solution: Online EM 24
  • 25. Online EM •  Key idea: •  Each time interval, constant number of new range measurements arrive •  Advantages: •  1. Acquire compact 3-D models in real time •  2. Limited number of measurements as input •  3. Constant time per iteration 25
  • 26. Online EM (Online E-Step) •  Constant number of measurements •  1.New arrival measurements •  2. Old measurements –  At the boundary of two surface models –  Unexplained by any existing surface models •  Counter •  1. Record E-step calculation times •  2. Freeze when achieve a threshold 26
  • 27. Online EM (Online M-Step) •  Goal: •  Re-estimate the parameters of flat surface model in constant time •  Control: •  The number of flat surfaces •  The number of measurements 27
  • 28. Online EM (Online M-Step) •  Control the number of flat surfaces : •  Active flat surface model only •  Definition of “active”: •  A surface is active at time i if the E-step executed at that time changed the ML correspondence to or away from the surface for any of the updated measurement. 28
  • 29. Online EM (Model Selection) q Add new models Ø  New measurements not “explained” by existing surface models Ø  “explained”: likelihood > threshold Ø  not “explained”: seed for new surface q Remove models Ø  The surface model is not supported by sufficient measurements 29
  • 31. Experimental Results •  Two stages –  Offline EM algorithm. 168,120 range measurements 3,270 camera images, extracted 3,220,950 pixels Two minutes –  Real time online version of our approach •  Different buildings •  Three examples in paper (One presented here) 31
  • 32. Stage 1: Offline EM Map without the texture superimposed. 32
  • 33. Map with Texture vs. EM algorithm 33
  • 34. Non-planar surfaces Non-planer region was not mapped to any of the surfaces (!) 34
  • 35. Number of surfaces - J Every 20 steps surfaces are restarted. 500 iterations J settles down to 8.76+/- 1.46 (95.5+-0.006% ) 20 minutes for 2000 iterations. 35
  • 36. Stage 2: Real-Time Implementation 36
  • 37. Stage 2: Real-Time Implementation 37
  • 40. Conclusion - Main Contributions •  Convert EM from offline to online •  Compact & accurate computations. •  3D mapping instead of 2D mapping •  Handles surfaces in arbitrary orientations. 40
  • 41. Conclusion - Critical Analysis •  Models are visually realistic but not geometrically accurate. •  Not best in occluded/unstructured environments. •  Test data has hallways with no furniture/occlusions. •  Starts with Assumption that surfaces as flat. •  Quality of images is not good enough for eye-inhand. just suffices robot movement. 41
  • 42. Future Work •  Can be used for representing more complex models. •  Outdoor mapping •  Use EM to perform SLAM. 42