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
  • laser_trace

laser_trace · Changes

Page history
cmirajak created page: laser_trace authored Sep 27, 2016 by Cmíral Jakub's avatar Cmíral Jakub
Show whitespace changes
Inline Side-by-side
laser_trace.md 0 → 100644
View page @ 3447daba
# Laser Tracking
Laser tracking in the picture is done by processing row, finding the pixel with the highest intensity, fitting known approximate distribution shape and finding its maximum. Thus, we have sub-pixel precised position of the laser.
---
### Intensity picture
The intensity picture is calculated from colored image by giving every color a specific weight and summarize them. So we will have just a single number representing all colors. We use BGR weights as [0.05, 0.25, 0.70].
### Pixel intensity around laser
![test](http://gitlab.ciirc.cvut.cz/cmirajak/laser_plane_scanner/uploads/1cececf3a4de9af3a250f479f6e82051/test.jpg)
## Pixel maximum
For the pixel-precise maximum index we just call maximal index find for array witch returns only the first index. After that, we check if maximum is larger then selected noise level and if it is not we will start processing next row. Actually, there can be more pixels with the same maximal value following first one. So we use iterative mean to calculate the middle of those pixels.
<img src="http://mathurl.com/jdfae4x.png" />
## Sub-pixel maximum
When we want to find sub-pixel maximum we select the specific neighborhood around maximum and fit parabola inside. The local extreme of parabola gives us wanted sub-pixel maximum.
Clone repository
  • estimate_laser_plane
  • find_camera_mtx
  • Home
  • laser_trace
  • new_base_coords
  • rotation_table
  • simple setup