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

find_camera_mtx · Changes

Page history
cmirajak created page: find_camera_mtx authored Aug 16, 2016 by Cmíral Jakub's avatar Cmíral Jakub
Hide whitespace changes
Inline Side-by-side
find_camera_mtx.md
View page @ e2c51421
...@@ -17,7 +17,7 @@ As the calibration object we chose classic black-white chessboard pattern with 8 ...@@ -17,7 +17,7 @@ As the calibration object we chose classic black-white chessboard pattern with 8
We must take pictures with calibration object in the camera's Field of View in many different positions and cover entire picture with as many points as we can. Moreover, we must respect that the whole chessboard must be visible. We must take pictures with calibration object in the camera's Field of View in many different positions and cover entire picture with as many points as we can. Moreover, we must respect that the whole chessboard must be visible.
### Finding chessboards ### Finding chessboards
We use OpenCV function `findChessboarCorners(gray,(rows,column),params=None)->ret,corners` for finding the chessboard in pictures, where gray is intensity image and corners are chessboard's corners in pixel coordinate system (u,v). After the chessboard is found the position is made more precise and the corners are found with sub-pixel precision `cornerSubPixel(gray,corners,winSize,zeroZone,criteria)->None`. You can read more about this on the page listed above. We use OpenCV function `findChessboarCorners(gray,(rows,column),params=None)->ret,corners` for finding the chessboard in pictures, where `corners` are chessboard's internal corners in pixel (u,v) coordinates. After the chessboard is found the position is made more precise and the corners are found with sub-pixel precision `cornerSubPixel(gray,corners,winSize,zeroZone,criteria)->None`. You can read more about this on the page listed above.
### Camera Matrix and Distortion Coefficients ### Camera Matrix and Distortion Coefficients
When we know the position of chessboards in pictures (imagePoints) and correct size of squares and its positions (objectPoints), we can now estimate the Camera Matrix and Distortion Coefficients with OpenCV function `calibrateCamera(objectPoints,imagePoints,imageShape,None,None)->ret,cam_mtx,dist,rvect,tvect`, where `cam_mtx` is the wanted Camera Matrix and `dist` are Distortion coefficients. When we know the position of chessboards in pictures (imagePoints) and correct size of squares and its positions (objectPoints), we can now estimate the Camera Matrix and Distortion Coefficients with OpenCV function `calibrateCamera(objectPoints,imagePoints,imageShape,None,None)->ret,cam_mtx,dist,rvect,tvect`, where `cam_mtx` is the wanted Camera Matrix and `dist` are Distortion coefficients.
......
Clone repository
  • estimate_laser_plane
  • find_camera_mtx
  • Home
  • laser_trace
  • new_base_coords
  • rotation_table
  • simple setup