#include <CalibrationDialog.h>
|
int | boardHeight () const |
|
int | boardWidth () const |
|
| CalibrationDialog (bool stereo=false, const QString &savingDirectory=".", bool switchImages=false, QWidget *parent=0) |
|
const rtabmap::CameraModel & | getLeftCameraModel () const |
|
const rtabmap::CameraModel & | getRightCameraModel () const |
|
const rtabmap::StereoCameraModel & | getStereoCameraModel () const |
|
int | getStereoPairs () const |
|
bool | isCalibrated () const |
|
bool | isProcessing () const |
|
void | loadSettings (QSettings &settings, const QString &group="") |
|
double | markerLength () const |
|
void | resetSettings () |
|
void | saveSettings (QSettings &settings, const QString &group="") const |
|
void | setCameraName (const QString &name) |
|
void | setFisheyeModel () |
|
void | setPlumbobModel () |
|
void | setProgressVisibility (bool visible) |
|
void | setRationalModel () |
|
void | setSavingDirectory (const QString &savingDirectory) |
|
void | setStereoMode (bool stereo, const QString &leftSuffix="left", const QString &rightSuffix="right") |
|
void | setSwitchedImages (bool switched) |
|
double | squareSize () const |
|
StereoCameraModel | stereoCalibration (const CameraModel &left, const CameraModel &right, bool ignoreStereoRectification, QTextStream *logStream=0) const |
|
virtual | ~CalibrationDialog () |
|
Public Member Functions inherited from UEventsHandler |
void | registerToEventsManager () |
|
void | unregisterFromEventsManager () |
|
| UEventsSender () |
|
virtual | ~UEventsSender () |
|
Definition at line 52 of file CalibrationDialog.h.
◆ CalibrationDialog()
rtabmap::CalibrationDialog::CalibrationDialog |
( |
bool |
stereo = false , |
|
|
const QString & |
savingDirectory = "." , |
|
|
bool |
switchImages = false , |
|
|
QWidget * |
parent = 0 |
|
) |
| |
◆ ~CalibrationDialog()
rtabmap::CalibrationDialog::~CalibrationDialog |
( |
| ) |
|
|
virtual |
◆ boardHeight()
int rtabmap::CalibrationDialog::boardHeight |
( |
| ) |
const |
◆ boardWidth()
int rtabmap::CalibrationDialog::boardWidth |
( |
| ) |
const |
◆ calibrate
void rtabmap::CalibrationDialog::calibrate |
( |
| ) |
|
|
slot |
◆ closeEvent()
void rtabmap::CalibrationDialog::closeEvent |
( |
QCloseEvent * |
event | ) |
|
|
protectedvirtual |
◆ generateBoard
void rtabmap::CalibrationDialog::generateBoard |
( |
| ) |
|
|
slot |
◆ getArea()
float rtabmap::CalibrationDialog::getArea |
( |
const std::vector< cv::Point2f > & |
corners, |
|
|
const cv::Size & |
boardSize |
|
) |
| |
|
private |
◆ getLeftCameraModel()
◆ getParams()
void rtabmap::CalibrationDialog::getParams |
( |
const std::vector< cv::Point2f > & |
corners, |
|
|
const cv::Size & |
boardSize, |
|
|
const cv::Size & |
imageSize, |
|
|
float & |
x, |
|
|
float & |
y, |
|
|
float & |
size, |
|
|
float & |
skew |
|
) |
| |
|
private |
◆ getRightCameraModel()
◆ getSkew() [1/2]
float rtabmap::CalibrationDialog::getSkew |
( |
const std::vector< cv::Point2f > & |
corners, |
|
|
const cv::Size & |
boardSize |
|
) |
| |
|
private |
◆ getSkew() [2/2]
float rtabmap::CalibrationDialog::getSkew |
( |
const std::vector< cv::Point2f > & |
fourCorners | ) |
|
|
private |
◆ getStereoCameraModel()
◆ getStereoPairs()
int rtabmap::CalibrationDialog::getStereoPairs |
( |
| ) |
const |
|
inline |
◆ handleEvent()
bool rtabmap::CalibrationDialog::handleEvent |
( |
UEvent * |
event | ) |
|
|
protectedvirtual |
Method called by the UEventsManager to handle an event. Important : this method must do a minimum of work because the faster the dispatching loop is done; the faster the events are received. If a handling function takes too much time, the events list can grow faster than it is emptied. The event can be modified.
- Returns
- "true" to notify UEventsManager that this handler took ownership of the event (meaning it must delete it). The event will not be dispatched to next handlers.
-
"false" to let event be dispatched to next handlers (default behavior). UEventsManager will take care of deleting the event.
Implements UEventsHandler.
Definition at line 560 of file CalibrationDialog.cpp.
◆ isCalibrated()
bool rtabmap::CalibrationDialog::isCalibrated |
( |
| ) |
const |
|
inline |
◆ isProcessing()
bool rtabmap::CalibrationDialog::isProcessing |
( |
| ) |
const |
|
inline |
◆ loadSettings()
void rtabmap::CalibrationDialog::loadSettings |
( |
QSettings & |
settings, |
|
|
const QString & |
group = "" |
|
) |
| |
◆ markerLength()
double rtabmap::CalibrationDialog::markerLength |
( |
| ) |
const |
◆ processImages
void rtabmap::CalibrationDialog::processImages |
( |
const cv::Mat & |
imageLeft, |
|
|
const cv::Mat & |
imageRight, |
|
|
const QString & |
cameraName |
|
) |
| |
|
slot |
◆ resetSettings()
void rtabmap::CalibrationDialog::resetSettings |
( |
| ) |
|
◆ restart
void rtabmap::CalibrationDialog::restart |
( |
| ) |
|
|
slot |
◆ save
bool rtabmap::CalibrationDialog::save |
( |
| ) |
|
|
slot |
◆ saveSettings()
void rtabmap::CalibrationDialog::saveSettings |
( |
QSettings & |
settings, |
|
|
const QString & |
group = "" |
|
) |
| const |
◆ setBoardHeight
void rtabmap::CalibrationDialog::setBoardHeight |
( |
int |
height | ) |
|
|
slot |
◆ setBoardType
void rtabmap::CalibrationDialog::setBoardType |
( |
int |
type | ) |
|
|
slot |
◆ setBoardWidth
void rtabmap::CalibrationDialog::setBoardWidth |
( |
int |
width | ) |
|
|
slot |
◆ setCalibrationDataSaved
void rtabmap::CalibrationDialog::setCalibrationDataSaved |
( |
bool |
enabled | ) |
|
|
slot |
◆ setCameraName()
void rtabmap::CalibrationDialog::setCameraName |
( |
const QString & |
name | ) |
|
◆ setExpectedStereoBaseline
void rtabmap::CalibrationDialog::setExpectedStereoBaseline |
( |
double |
length | ) |
|
|
slot |
◆ setFisheyeModel()
void rtabmap::CalibrationDialog::setFisheyeModel |
( |
| ) |
|
◆ setMarkerDictionary
void rtabmap::CalibrationDialog::setMarkerDictionary |
( |
int |
dictionary | ) |
|
|
slot |
◆ setMarkerLength
void rtabmap::CalibrationDialog::setMarkerLength |
( |
double |
length | ) |
|
|
slot |
◆ setMaxScale
void rtabmap::CalibrationDialog::setMaxScale |
( |
int |
scale | ) |
|
|
slot |
◆ setPlumbobModel()
void rtabmap::CalibrationDialog::setPlumbobModel |
( |
| ) |
|
◆ setProgressVisibility()
void rtabmap::CalibrationDialog::setProgressVisibility |
( |
bool |
visible | ) |
|
◆ setRationalModel()
void rtabmap::CalibrationDialog::setRationalModel |
( |
| ) |
|
◆ setSavingDirectory()
void rtabmap::CalibrationDialog::setSavingDirectory |
( |
const QString & |
savingDirectory | ) |
|
|
inline |
◆ setSquareSize
void rtabmap::CalibrationDialog::setSquareSize |
( |
double |
size | ) |
|
|
slot |
◆ setStereoMode()
void rtabmap::CalibrationDialog::setStereoMode |
( |
bool |
stereo, |
|
|
const QString & |
leftSuffix = "left" , |
|
|
const QString & |
rightSuffix = "right" |
|
) |
| |
◆ setSubpixelMaxError
void rtabmap::CalibrationDialog::setSubpixelMaxError |
( |
double |
value | ) |
|
|
slot |
◆ setSubpixelRefinement
void rtabmap::CalibrationDialog::setSubpixelRefinement |
( |
bool |
enabled | ) |
|
|
slot |
◆ setSwitchedImages()
void rtabmap::CalibrationDialog::setSwitchedImages |
( |
bool |
switched | ) |
|
◆ squareSize()
double rtabmap::CalibrationDialog::squareSize |
( |
| ) |
const |
◆ stereoCalibration()
◆ unlock
void rtabmap::CalibrationDialog::unlock |
( |
| ) |
|
|
privateslot |
◆ cameraName_
QString rtabmap::CalibrationDialog::cameraName_ |
|
private |
◆ chessboardPointIds_
std::vector<int> rtabmap::CalibrationDialog::chessboardPointIds_ |
|
private |
◆ chessboardPoints_
std::vector<cv::Point3f> rtabmap::CalibrationDialog::chessboardPoints_ |
|
private |
◆ currentId_
int rtabmap::CalibrationDialog::currentId_ |
|
private |
◆ imageIds_
std::vector<std::vector<int > > rtabmap::CalibrationDialog::imageIds_ |
|
private |
◆ imageParams_
std::vector<std::vector<std::vector<float> > > rtabmap::CalibrationDialog::imageParams_ |
|
private |
◆ imagePoints_
std::vector<std::vector<std::vector<cv::Point2f> > > rtabmap::CalibrationDialog::imagePoints_ |
|
private |
◆ imageSize_
std::vector<cv::Size > rtabmap::CalibrationDialog::imageSize_ |
|
private |
◆ leftSuffix_
QString rtabmap::CalibrationDialog::leftSuffix_ |
|
private |
◆ maxIrs_
std::vector<unsigned short> rtabmap::CalibrationDialog::maxIrs_ |
|
private |
◆ minIrs_
std::vector<unsigned short> rtabmap::CalibrationDialog::minIrs_ |
|
private |
◆ models_
◆ objectPoints_
std::vector<std::vector<std::vector<cv::Point3f> > > rtabmap::CalibrationDialog::objectPoints_ |
|
private |
◆ processingData_
bool rtabmap::CalibrationDialog::processingData_ |
|
private |
◆ rightSuffix_
QString rtabmap::CalibrationDialog::rightSuffix_ |
|
private |
◆ savedCalibration_
bool rtabmap::CalibrationDialog::savedCalibration_ |
|
private |
◆ savingDirectory_
QString rtabmap::CalibrationDialog::savingDirectory_ |
|
private |
◆ stereo_
bool rtabmap::CalibrationDialog::stereo_ |
|
private |
◆ stereoImageIds_
std::vector<int> rtabmap::CalibrationDialog::stereoImageIds_ |
|
private |
◆ stereoImagePoints_
std::vector<std::vector<std::vector<cv::Point2f> > > rtabmap::CalibrationDialog::stereoImagePoints_ |
|
private |
◆ stereoModel_
◆ stereoObjectPoints_
std::vector<std::vector<cv::Point3f> > rtabmap::CalibrationDialog::stereoObjectPoints_ |
|
private |
◆ timestamp_
QString rtabmap::CalibrationDialog::timestamp_ |
|
private |
◆ ui_
Ui_calibrationDialog* rtabmap::CalibrationDialog::ui_ |
|
private |
The documentation for this class was generated from the following files: