Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L laser_plane_scanner
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Cmíral Jakub
  • laser_plane_scanner
  • Wiki
  • estimate_laser_plane

estimate_laser_plane · Changes

Page history
cmirajak created page: estimate_laser_plane authored Aug 16, 2016 by Cmíral Jakub's avatar Cmíral Jakub
Hide whitespace changes
Inline Side-by-side
estimate_laser_plane.md
View page @ 0220d612
# Estimation of the Laser Plane position # Estimation of the Laser Plane position
--- ---
We will use pinhole camera model for finding 3D points ![alt text](http://mathurl.com/hj835tq.png) in projection coordinate ![alt text](http://mathurl.com/hw2kh9a.png) described as: We will use pinhole camera model for finding 3D points in camera coordinate system ![alt text](http://mathurl.com/hj835tq.png) in projection coordinate ![alt text](http://mathurl.com/hw2kh9a.png) described as:
<img src="http://mathurl.com/hbtk24o.png" /> , <img src="http://mathurl.com/hbtk24o.png" /> ,
...@@ -12,4 +12,29 @@ Picture is borrowed from [there](http://docs.opencv.org/2.4/modules/calib3d/doc/ ...@@ -12,4 +12,29 @@ Picture is borrowed from [there](http://docs.opencv.org/2.4/modules/calib3d/doc/
### Finding points on laser plane ### Finding points on laser plane
The equation for pinhole camera is under-determined so we have to find one more condition to estimate the position ![alt text](http://mathurl.com/hj835tq.png) using only projection coordinates ![alt text](http://mathurl.com/hw2kh9a.png). The equation for pinhole camera is under-determined so we have to find one more condition to estimate the position ![alt text](http://mathurl.com/hj835tq.png) using only projection coordinates ![alt text](http://mathurl.com/hw2kh9a.png). We can use chessboard plane, because OpenCV can find the transformation between those coordinates and camera coordinates. Furthermore, we can say that in chessboard coordinates all points are laying on plane described as z = 0. We are able to transform this plane to camera coordinates like:
\ No newline at end of file
<img src="http://mathurl.com/gw8dwdp.png" /> ,
<img src="http://mathurl.com/zwt5qhc.png" />.
Now we have to obtain normal of this plane and its translation:
<img src="http://mathurl.com/h23dwzm.png" /> ,
<img src="http://mathurl.com/hxa6ykl.png" /> ,
<img src="http://mathurl.com/j7y8cdf.png" /> ,
so the <img src="http://mathurl.com/j865cst.png" />.
Now we can add this condition to pinhole camera model equation, where [**R**|t] matrix is identity matrix and <img src="http://mathurl.com/j7ltgkr.png" />, we end up with:
<img src="http://mathurl.com/jzqcmgq.png" />
Clone repository
  • estimate_laser_plane
  • find_camera_mtx
  • Home
  • laser_trace
  • new_base_coords
  • rotation_table
  • simple setup