Widget for calibrating pinhole cameras.
More...
#include <QCamCalib.hpp>
|
| void | addCamera (int camera_id=-1) |
| | Adds a new camera to the workspace. More...
|
| |
| void | removeCamera (int camera_id=-1) |
| | Removes a camera from the workspace. More...
|
| |
| void | loadImages (int camera_id=-1) |
| | Opens a dialog to select images which are going to be loaded and added to the camera. More...
|
| |
| void | addImage (const QString &name, const QImage &image, int camera_id=-1) |
| | Adds an image to a camera. More...
|
| |
| void | saveCameraParameter (int camera_id=-1) |
| | Opens a file dialog and saves the camera parameter as YAML or XML. More...
|
| |
| void | calibrateCamera (int camera_id=-1) |
| | Calibrates a camera. More...
|
| |
| void | findChessBoard (int camera_id=-1, const QString &name=QString("")) |
| | Finds chessboard corners in an image. More...
|
| |
Widget for calibrating pinhole cameras.
As underlying Back-End OpenCV is used:
- cv::findChessboardCorners
- cv::calibrateCamera
- Author
- Alexa.nosp@m.nder.nosp@m..Duda.nosp@m.@dfk.nosp@m.i.de
| QCamCalib::QCamCalib |
( |
QWidget * |
parent = 0 | ) |
|
| QCamCalib::~QCamCalib |
( |
| ) |
|
|
virtual |
| void QCamCalib::addCamera |
( |
int |
camera_id = -1 | ) |
|
|
slot |
| void QCamCalib::addImage |
( |
const QString & |
name, |
|
|
const QImage & |
image, |
|
|
int |
camera_id = -1 |
|
) |
| |
|
slot |
Adds an image to a camera.
- Note
- If no camera id is given it is assumed that a camera item is selected in the TreeView.
- Parameters
-
| [in] | name | The name of the image |
| [in] | image | The image |
| [in] | camera_id | The id of the camera. |
- Author
- Alexa.nosp@m.nder.nosp@m..Duda.nosp@m.@dfk.nosp@m.i.de
| void QCamCalib::calibrateCamera |
( |
int |
camera_id = -1 | ) |
|
|
slot |
| void QCamCalib::findChessBoard |
( |
int |
camera_id = -1, |
|
|
const QString & |
name = QString("") |
|
) |
| |
|
slot |
| void QCamCalib::loadImages |
( |
int |
camera_id = -1 | ) |
|
|
slot |
Opens a dialog to select images which are going to be loaded and added to the camera.
- Note
- If no camera id is given it is assumed that a camera item is selected in the TreeView.
This call automatically performs chessboard detection
- Parameters
-
| [in] | camera_id | The id of the camera. |
- Author
- Alexa.nosp@m.nder.nosp@m..Duda.nosp@m.@dfk.nosp@m.i.de
| void QCamCalib::removeCamera |
( |
int |
camera_id = -1 | ) |
|
|
slot |
| void QCamCalib::saveCameraParameter |
( |
int |
camera_id = -1 | ) |
|
|
slot |
The documentation for this class was generated from the following files:
- /build/rock-master-18.09-gui-qcam-calib-0.20140521/src/QCamCalib.hpp
- /build/rock-master-18.09-gui-qcam-calib-0.20140521/src/QCamCalib.cpp