#include <CalibrationDialog.h>
|
float | getArea (const std::vector< cv::Point2f > &corners, const cv::Size &boardSize) |
|
void | getParams (const std::vector< cv::Point2f > &corners, const cv::Size &boardSize, const cv::Size &imageSize, float &x, float &y, float &size, float &skew) |
|
float | getSkew (const std::vector< cv::Point2f > &corners, const cv::Size &boardSize) |
|
Definition at line 46 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 |
◆ 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()
float rtabmap::CalibrationDialog::getSkew |
( |
const std::vector< cv::Point2f > & |
corners, |
|
|
const cv::Size & |
boardSize |
|
) |
| |
|
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 306 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 = "" |
|
) |
| |
◆ 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 |
◆ setBoardWidth
void rtabmap::CalibrationDialog::setBoardWidth |
( |
int |
width | ) |
|
|
slot |
◆ setCameraName()
void rtabmap::CalibrationDialog::setCameraName |
( |
const QString & |
name | ) |
|
◆ setExpectedStereoBaseline
void rtabmap::CalibrationDialog::setExpectedStereoBaseline |
( |
double |
length | ) |
|
|
slot |
◆ setFisheyeImages()
void rtabmap::CalibrationDialog::setFisheyeImages |
( |
bool |
enabled | ) |
|
◆ setMaxScale
void rtabmap::CalibrationDialog::setMaxScale |
( |
int |
scale | ) |
|
|
slot |
◆ setProgressVisibility()
void rtabmap::CalibrationDialog::setProgressVisibility |
( |
bool |
visible | ) |
|
◆ 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" |
|
) |
| |
◆ 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 |
◆ 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_
◆ 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 |
◆ stereoImagePoints_
std::vector<std::vector<std::vector<cv::Point2f> > > rtabmap::CalibrationDialog::stereoImagePoints_ |
|
private |
◆ stereoModel_
◆ ui_
Ui_calibrationDialog* rtabmap::CalibrationDialog::ui_ |
|
private |
The documentation for this class was generated from the following files: