Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
6e931aaa
Commit
6e931aaa
authored
Aug 01, 2016
by
catree
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add pinhole camera model illustration in calib3d documentation.
parent
f2e9588c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
pinhole_camera_model.png
modules/calib3d/doc/pics/pinhole_camera_model.png
+0
-0
calib3d.hpp
modules/calib3d/include/opencv2/calib3d.hpp
+5
-1
No files found.
modules/calib3d/doc/pics/pinhole_camera_model.png
0 → 100644
View file @
6e931aaa
89.9 KB
modules/calib3d/include/opencv2/calib3d.hpp
View file @
6e931aaa
...
...
@@ -96,6 +96,10 @@ u = f_x*x' + c_x \\
v = f_y*y' + c_y
\end{array}\f]
The following figure illustrates the pinhole camera model.
![Pinhole camera model](pics/pinhole_camera_model.png)
Real lenses usually have some distortion, mostly radial distortion and slight tangential distortion.
So, the above model is extended as:
...
...
@@ -190,7 +194,7 @@ pattern (every view is described by several 3D-2D point correspondences).
\f[x = Xc_1 \\ y = Xc_2 \\ z = Xc_3\f]
The pin
e
hole projection coordinates of P is [a; b] where
The pinhole projection coordinates of P is [a; b] where
\f[a = x / z \ and \ b = y / z \\ r^2 = a^2 + b^2 \\ \theta = atan(r)\f]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment