$search
Manages the calibration procedures. More...
#include <calibrator.hpp>
Manages the calibration procedures.
Definition at line 149 of file calibrator.hpp.
calibratorNode::calibratorNode | ( | ros::NodeHandle & | nh, | |
calibratorData | startupData | |||
) |
*HGH
Definition at line 2457 of file calibrator.cpp.
void calibratorNode::assignDebugCameraInfo | ( | ) |
Definition at line 1103 of file calibrator.cpp.
void calibratorNode::assignIntrinsics | ( | ) |
Definition at line 247 of file calibrator.cpp.
void calibratorNode::determineValidPairs | ( | ) |
Definition at line 1386 of file calibrator.cpp.
void calibratorNode::evaluateFrames | ( | ) |
Definition at line 1486 of file calibrator.cpp.
bool calibratorNode::findPattern | ( | const Mat & | im, | |
vector< Point2f > & | dst, | |||
Mat & | prev, | |||
const int | useMode = PATTERN_CODE_INVALID , |
|||
const int | cameraNumber = -1 | |||
) |
void calibratorNode::getAverageTime | ( | ) |
Definition at line 397 of file calibrator.cpp.
void calibratorNode::handle_image | ( | const sensor_msgs::ImageConstPtr & | msg_ptr, | |
const sensor_msgs::CameraInfoConstPtr & | info_msg | |||
) |
Definition at line 2342 of file calibrator.cpp.
void calibratorNode::handle_image_1 | ( | const sensor_msgs::ImageConstPtr & | msg_ptr, | |
const sensor_msgs::CameraInfoConstPtr & | info_msg | |||
) |
*HGH begin
Definition at line 1933 of file calibrator.cpp.
void calibratorNode::handle_image_2 | ( | const sensor_msgs::ImageConstPtr & | msg_ptr, | |
const sensor_msgs::CameraInfoConstPtr & | info_msg | |||
) |
*HGH begin
Definition at line 2139 of file calibrator.cpp.
void calibratorNode::imageCallback | ( | const sensor_msgs::ImageConstPtr & | msg | ) |
bool calibratorNode::isStillCollecting | ( | ) |
Definition at line 1110 of file calibrator.cpp.
bool calibratorNode::isVerifying | ( | ) |
Definition at line 1116 of file calibrator.cpp.
void calibratorNode::parameterCallback | ( | const sensor_msgs::CameraInfo & | msg | ) |
Definition at line 2608 of file calibrator.cpp.
void calibratorNode::performExtrinsicCalibration | ( | ) |
Definition at line 622 of file calibrator.cpp.
void calibratorNode::performIntrinsicCalibration | ( | ) |
Definition at line 792 of file calibrator.cpp.
void calibratorNode::prepareExtrinsicPatternSubsets | ( | ) |
* HGH
Definition at line 124 of file calibrator.cpp.
void calibratorNode::prepareForTermination | ( | ) |
Definition at line 236 of file calibrator.cpp.
void calibratorNode::preparePatternSubsets | ( | ) |
Definition at line 191 of file calibrator.cpp.
void calibratorNode::preprocessImage | ( | Mat | src, | |
Mat & | dst, | |||
double | a = 1.0 , |
|||
double | b = 0.0 , |
|||
bool | normaliz = false , |
|||
bool | negative = false | |||
) | [private] |
Definition at line 1660 of file calibrator.cpp.
void calibratorNode::publishRectified | ( | const ros::TimerEvent & | event | ) |
Definition at line 583 of file calibrator.cpp.
void calibratorNode::publishUndistorted | ( | const ros::TimerEvent & | event | ) |
Definition at line 529 of file calibrator.cpp.
void calibratorNode::serverCallback | ( | thermalvis::calibratorConfig & | config, | |
uint32_t | level | |||
) |
Definition at line 2625 of file calibrator.cpp.
void calibratorNode::set_ready_for_output | ( | ) |
Definition at line 2691 of file calibrator.cpp.
void calibratorNode::startRectificationPublishing | ( | ) |
Definition at line 424 of file calibrator.cpp.
void calibratorNode::startUndistortionPublishing | ( | ) |
Definition at line 405 of file calibrator.cpp.
void calibratorNode::trackPattern | ( | int | cameraNumber, | |
const Mat & | currentImg, | |||
const int | currentFrame | |||
) |
Definition at line 1327 of file calibrator.cpp.
void calibratorNode::updateIntrinsicMap | ( | unsigned int | idx | ) |
Definition at line 1079 of file calibrator.cpp.
void calibratorNode::updateMap | ( | ) |
void calibratorNode::updatePairs | ( | ) |
Definition at line 1727 of file calibrator.cpp.
bool calibratorNode::wantsExtrinsics | ( | ) |
Definition at line 268 of file calibrator.cpp.
bool calibratorNode::wantsIntrinsics | ( | ) |
Definition at line 256 of file calibrator.cpp.
bool calibratorNode::wantsToRectify | ( | ) |
Definition at line 393 of file calibrator.cpp.
bool calibratorNode::wantsToUndistort | ( | ) |
Definition at line 389 of file calibrator.cpp.
void calibratorNode::writeResults | ( | ) |
Definition at line 276 of file calibrator.cpp.
boost::shared_mutex calibratorNode::_access [private] |
Definition at line 260 of file calibrator.hpp.
double calibratorNode::alpha [private] |
Definition at line 182 of file calibrator.hpp.
bool calibratorNode::alphaChanged [private] |
Definition at line 218 of file calibrator.hpp.
double calibratorNode::avgTime [private] |
Definition at line 161 of file calibrator.hpp.
int calibratorNode::botValidHeight [private] |
Definition at line 164 of file calibrator.hpp.
Definition at line 226 of file calibrator.hpp.
Definition at line 226 of file calibrator.hpp.
Definition at line 226 of file calibrator.hpp.
Mat calibratorNode::cameraMatrices[MAX_CAMS] [private] |
Definition at line 186 of file calibrator.hpp.
vector<vector<Point2f> > calibratorNode::candidateSets[MAX_CAMS] [private] |
Definition at line 250 of file calibrator.hpp.
unsigned int calibratorNode::checkIndex_1 [private] |
Definition at line 243 of file calibrator.hpp.
unsigned int calibratorNode::checkIndex_2 [private] |
Definition at line 243 of file calibrator.hpp.
calibratorData calibratorNode::configData [private] |
Definition at line 220 of file calibrator.hpp.
vector<Point2f> calibratorNode::cornerSet [private] |
Definition at line 269 of file calibrator.hpp.
vector<Point2f> calibratorNode::cornerSet_1 [private] |
Definition at line 267 of file calibrator.hpp.
vector<Point2f> calibratorNode::cornerSet_2 [private] |
Definition at line 267 of file calibrator.hpp.
vector<Point2f> calibratorNode::cornerSets[MAX_CAMS] [private] |
Definition at line 255 of file calibrator.hpp.
cv_bridge::CvImagePtr calibratorNode::cv_ptr [private] |
Definition at line 231 of file calibrator.hpp.
Definition at line 231 of file calibrator.hpp.
Definition at line 231 of file calibrator.hpp.
struct timeval calibratorNode::cycle_timer [private] |
Definition at line 159 of file calibrator.hpp.
Definition at line 222 of file calibrator.hpp.
Definition at line 222 of file calibrator.hpp.
Definition at line 224 of file calibrator.hpp.
Definition at line 224 of file calibrator.hpp.
char calibratorNode::debug_pub_name[256] [private] |
Definition at line 233 of file calibrator.hpp.
char calibratorNode::debug_pub_name_1[256] [private] |
Definition at line 233 of file calibrator.hpp.
char calibratorNode::debug_pub_name_2[256] [private] |
Definition at line 233 of file calibrator.hpp.
Mat calibratorNode::default_R [private] |
Definition at line 184 of file calibrator.hpp.
vector<Mat> calibratorNode::displayImages_1 [private] |
Definition at line 168 of file calibrator.hpp.
vector<Mat> calibratorNode::displayImages_2 [private] |
Definition at line 168 of file calibrator.hpp.
Mat calibratorNode::distCoeffVecs[MAX_CAMS] [private] |
Definition at line 187 of file calibrator.hpp.
bool calibratorNode::doVerify [private] |
Definition at line 257 of file calibrator.hpp.
vector<unsigned char> calibratorNode::duplicateFlags_1 [private] |
Definition at line 200 of file calibrator.hpp.
vector<unsigned char> calibratorNode::duplicateFlags_2 [private] |
Definition at line 200 of file calibrator.hpp.
Mat calibratorNode::E[2] [private] |
Definition at line 211 of file calibrator.hpp.
double calibratorNode::elapsedTime [private] |
Definition at line 160 of file calibrator.hpp.
double calibratorNode::extendedExtrinsicReprojectionError [private] |
Definition at line 216 of file calibrator.hpp.
double calibratorNode::extendedReprojectionError_intrinsics[MAX_CAMS] [private] |
Definition at line 198 of file calibrator.hpp.
vector<vector<Point2f> > calibratorNode::extrinsicCandidateSets[MAX_CAMS] [private] |
Definition at line 251 of file calibrator.hpp.
vector<vector<Point2f> > calibratorNode::extrinsicsPointSets[MAX_CAMS] [private] |
Definition at line 251 of file calibrator.hpp.
vector<vector<Point2f> > calibratorNode::extrinsicTestingSets[MAX_CAMS] [private] |
Definition at line 251 of file calibrator.hpp.
dynamic_reconfigure::Server<thermalvis::calibratorConfig>::CallbackType calibratorNode::f [private] |
Definition at line 265 of file calibrator.hpp.
Mat calibratorNode::F[2] [private] |
Definition at line 211 of file calibrator.hpp.
int calibratorNode::frameCount [private] |
Definition at line 244 of file calibrator.hpp.
int calibratorNode::frameCount_1 [private] |
Definition at line 244 of file calibrator.hpp.
int calibratorNode::frameCount_2 [private] |
Definition at line 244 of file calibrator.hpp.
vector<int> calibratorNode::frameCounts[MAX_CAMS] [private] |
Definition at line 256 of file calibrator.hpp.
Mat calibratorNode::grayMat1 [private] |
Definition at line 157 of file calibrator.hpp.
Mat calibratorNode::grayMat2 [private] |
Definition at line 157 of file calibrator.hpp.
Size calibratorNode::imSize[MAX_CAMS] [private] |
Definition at line 194 of file calibrator.hpp.
bool calibratorNode::infoProcessed [private] |
Definition at line 176 of file calibrator.hpp.
bool calibratorNode::infoProcessed_1 [private] |
Definition at line 176 of file calibrator.hpp.
bool calibratorNode::infoProcessed_2 [private] |
Definition at line 176 of file calibrator.hpp.
Mat calibratorNode::lastImage [private] |
Definition at line 241 of file calibrator.hpp.
Mat calibratorNode::lastMat[MAX_CAMS] [private] |
Definition at line 254 of file calibrator.hpp.
vector<Point2f> calibratorNode::leftLinePoints [private] |
Definition at line 192 of file calibrator.hpp.
int calibratorNode::leftValid[2] [private] |
Definition at line 164 of file calibrator.hpp.
Mat calibratorNode::map1[MAX_CAMS] [private] |
Definition at line 163 of file calibrator.hpp.
Mat calibratorNode::map2[MAX_CAMS] [private] |
Definition at line 163 of file calibrator.hpp.
Definition at line 235 of file calibrator.hpp.
Definition at line 235 of file calibrator.hpp.
Mat calibratorNode::newCamMat[MAX_CAMS] [private] |
Definition at line 195 of file calibrator.hpp.
Mat calibratorNode::newImage [private] |
Definition at line 241 of file calibrator.hpp.
vector<Point2f> calibratorNode::newRecBounds [private] |
Definition at line 190 of file calibrator.hpp.
char calibratorNode::nodeName[256] [private] |
Definition at line 239 of file calibrator.hpp.
unsigned int calibratorNode::numCams [private] |
Definition at line 174 of file calibrator.hpp.
Mat calibratorNode::P_[2] [private] |
Definition at line 210 of file calibrator.hpp.
vector<vector<Point2f> > calibratorNode::pointSets[MAX_CAMS] [private] |
Definition at line 250 of file calibrator.hpp.
Mat calibratorNode::prevMat [private] |
Definition at line 156 of file calibrator.hpp.
Mat calibratorNode::prevMat1 [private] |
Definition at line 154 of file calibrator.hpp.
Mat calibratorNode::prevMat2 [private] |
Definition at line 154 of file calibrator.hpp.
Definition at line 237 of file calibrator.hpp.
int calibratorNode::publishCount [private] |
Definition at line 207 of file calibrator.hpp.
Mat calibratorNode::Q1 [private] |
Definition at line 211 of file calibrator.hpp.
Mat calibratorNode::Q2 [private] |
Definition at line 211 of file calibrator.hpp.
Mat calibratorNode::R[2] [private] |
Definition at line 212 of file calibrator.hpp.
Mat calibratorNode::R2[2] [private] |
Definition at line 213 of file calibrator.hpp.
Mat calibratorNode::R_[2] [private] |
Definition at line 210 of file calibrator.hpp.
bool calibratorNode::readyForOutput [private] |
Definition at line 262 of file calibrator.hpp.
vector<Point2f> calibratorNode::rectangleBounds [private] |
Definition at line 190 of file calibrator.hpp.
Mat calibratorNode::rectCamMat[2] [private] |
Definition at line 191 of file calibrator.hpp.
int calibratorNode::rectificationCount [private] |
Definition at line 244 of file calibrator.hpp.
ros::NodeHandle* calibratorNode::ref [private] |
Definition at line 152 of file calibrator.hpp.
double calibratorNode::reprojectionError_intrinsics[MAX_CAMS] [private] |
Definition at line 197 of file calibrator.hpp.
vector<Point2f> calibratorNode::rightLinePoints [private] |
Definition at line 192 of file calibrator.hpp.
int calibratorNode::rightValid[2] [private] |
Definition at line 164 of file calibrator.hpp.
Rect calibratorNode::roi[2] [private] |
Definition at line 189 of file calibrator.hpp.
cv::vector<Point3f> calibratorNode::row [private] |
Definition at line 248 of file calibrator.hpp.
Mat calibratorNode::Rv[2] [private] |
Definition at line 212 of file calibrator.hpp.
dynamic_reconfigure::Server<thermalvis::calibratorConfig> calibratorNode::server [private] |
Definition at line 264 of file calibrator.hpp.
double calibratorNode::stereoError [private] |
Definition at line 215 of file calibrator.hpp.
bool calibratorNode::stillCollecting [private] |
Definition at line 177 of file calibrator.hpp.
bool calibratorNode::stillCollectingSet[2] [private] |
Definition at line 180 of file calibrator.hpp.
vector<int> calibratorNode::subselectedTags_intrinsics[MAX_CAMS] [private] |
Definition at line 202 of file calibrator.hpp.
Mat calibratorNode::T[2] [private] |
Definition at line 212 of file calibrator.hpp.
Mat calibratorNode::T2[2] [private] |
Definition at line 213 of file calibrator.hpp.
vector<vector<Point2f> > calibratorNode::testingSets[MAX_CAMS] [private] |
Definition at line 250 of file calibrator.hpp.
ros::Timer calibratorNode::timer [private] |
Definition at line 166 of file calibrator.hpp.
vector<ros::Time> calibratorNode::times_1 [private] |
Definition at line 170 of file calibrator.hpp.
vector<ros::Time> calibratorNode::times_2 [private] |
Definition at line 170 of file calibrator.hpp.
string calibratorNode::topic [private] |
Definition at line 204 of file calibrator.hpp.
string calibratorNode::topic_1 [private] |
Definition at line 204 of file calibrator.hpp.
string calibratorNode::topic_2 [private] |
Definition at line 204 of file calibrator.hpp.
string calibratorNode::topic_info [private] |
Definition at line 205 of file calibrator.hpp.
string calibratorNode::topic_info_1 [private] |
Definition at line 205 of file calibrator.hpp.
string calibratorNode::topic_info_2 [private] |
Definition at line 205 of file calibrator.hpp.
int calibratorNode::topValidHeight [private] |
Definition at line 164 of file calibrator.hpp.
int calibratorNode::totalFrameCount_1 [private] |
Definition at line 246 of file calibrator.hpp.
int calibratorNode::totalFrameCount_2 [private] |
Definition at line 246 of file calibrator.hpp.
int calibratorNode::undistortionCount [private] |
Definition at line 244 of file calibrator.hpp.
vector<unsigned int> calibratorNode::validPairs[2] [private] |
Definition at line 172 of file calibrator.hpp.