Difference between revisions of "How to Calibrate Camera Optics"
From iPi Docs
(tuning of the table with view angles) |
|||
| Line 29: | Line 29: | ||
* We recommend to use the following five view angles: | * We recommend to use the following five view angles: | ||
| − | <table border=0> | + | <center><table border=0> |
<tr><td>'''View Angle'''</td> | <tr><td>'''View Angle'''</td> | ||
| − | <td | + | <td align="center">'''How it Looks from Side'''</td> |
| − | <td | + | <td align="center">'''How it Looks from Top'''</td> |
| − | <td | + | <td align="center">'''How it Looks in Camera'''</td> |
</tr> | </tr> | ||
<tr><td colspan=4><hr></td></tr> | <tr><td colspan=4><hr></td></tr> | ||
<tr><td>1. Front</td> | <tr><td>1. Front</td> | ||
| − | <td | + | <td align="right">[[Image:camera-calibration-front-view-side.png|x200px|link=]]</td> |
| − | <td | + | <td align="center" valign="top">[[Image:camera-calibration-front-view-top.png|300px|link=]]</td> |
| − | <td | + | <td align="center">[[Image:camera-calibration-front-view-proj.png|x150px|link=]]</td> |
</tr> | </tr> | ||
<tr><td colspan=4><hr></td></tr> | <tr><td colspan=4><hr></td></tr> | ||
<tr><td>2. From the left</td> | <tr><td>2. From the left</td> | ||
| − | <td | + | <td align="right">[[Image:camera-calibration-left-view-side.png|x200px|link=]]</td> |
| − | <td | + | <td align="center" valign="top">[[Image:camera-calibration-left-view-top.png|300px|link=]]</td> |
| − | <td | + | <td align="center">[[Image:camera-calibration-left-view-proj.png|x200px|link=]]</td> |
</tr> | </tr> | ||
<tr><td colspan=4><hr></td></tr> | <tr><td colspan=4><hr></td></tr> | ||
<tr><td>3. From the right</td> | <tr><td>3. From the right</td> | ||
| − | <td | + | <td align="right">[[Image:camera-calibration-right-view-side.png|x200px|link=]]</td> |
| − | <td | + | <td align="center" valign="top">[[Image:camera-calibration-right-view-top.png|300px|link=]]</td> |
| − | <td | + | <td align="center">[[Image:camera-calibration-right-view-proj.png|x200px|link=]]</td> |
</tr> | </tr> | ||
<tr><td colspan=4><hr></td></tr> | <tr><td colspan=4><hr></td></tr> | ||
<tr><td>4. From the top</td> | <tr><td>4. From the top</td> | ||
| − | <td | + | <td align="right">[[Image:camera-calibration-top-view-side.png|x200px|link=]]</td> |
| − | <td | + | <td align="center" valign="top">[[Image:camera-calibration-top-view-top.png|300px|link=]]</td> |
| − | <td | + | <td align="center">[[Image:camera-calibration-top-view-proj.png|x150px|link=]]</td> |
</tr> | </tr> | ||
<tr><td colspan=4><hr></td></tr> | <tr><td colspan=4><hr></td></tr> | ||
<tr><td>5. From the bottom</td> | <tr><td>5. From the bottom</td> | ||
| − | <td | + | <td align="right">[[Image:camera-calibration-bottom-view-side.png|x200px|link=]]</td> |
| − | <td | + | <td align="center" valign="top">[[Image:camera-calibration-bottom-view-top.png|300px|link=]]</td> |
| − | <td | + | <td align="center">[[Image:camera-calibration-bottom-view-proj.png|x150px|link=]]</td> |
</tr> | </tr> | ||
| − | </table> | + | </table></center> |
== Processing of Calibration Video == | == Processing of Calibration Video == | ||
Revision as of 10:48, 1 August 2018
Contents
Introduction
Calibration of camera optics is required to find out the values of the following parameters:
- Focal length
- Shift of camera principal point from the center of image
- Radial distortion parameters (2 — 4 coefficients)
- Pixel aspect ratio (optional)
- Pixel shear (optional)
This procedure is strongly mandatory for modern wide-angle cameras including action cameras. The thing is that these cameras has significant distortion.
Recording of Calibration Video
- Mark camera by some label to distinguish it from others.
- Set view-angle and resolution you're going to use during motion capture session(s).
- Tip: 720p (1280 x 720) resolution is recommended for full body motion capture needs in most cases (except very large capture area).

- If your camera has zoom and/or auto-focus features then these features must be turned off before calibration because this procedure is valid only for fixed optics.
- Run iPi Recorder and click Calibrate Camera Optics button in toolbar:

- To calibrate camera optics special calibration pattern is used. You have to record this pattern shown on computer screen from different view points.
- Click Show Pattern button in toolbar of PATTERN tab of Camera Optics Calibration tool:

- Start video recording and shoot this pattern from different view angles. For each view:
- Ensure the pattern fills most of the frame. It's OK if the whole screen doesn't feet into the frame.
- Hold the camera still for a second.
- We recommend to use the following five view angles:
| View Angle | How it Looks from Side | How it Looks from Top | How it Looks in Camera |
| 1. Front | |||
| 2. From the left | |||
| 3. From the right | |||
| 4. From the top | |||
| 5. From the bottom | |||