bazar
1.3.1
|
Go to the source code of this file.
Functions | |
void | show_result (planar_object_recognizer &recognizer, IplImage *video, IplImage *dst) |
static void | augment_scene (int cam, CalibModel &model, IplImage *frame, IplImage *display) |
bool | geometric_calibration (MultiGrab &multi, bool cache) |
bool | photometric_calibration (MultiGrab &multi, int nbImages, bool cache) |
void | usage (const char *s) |
int | main (int argc, char **argv) |
|
static |
Definition at line 299 of file multicam.cpp.
References CalibModel::augm, CalibModel::corners, LightMap::getBias(), LightMap::getGain(), CamAugmentation::GetObjectToWorld(), CamAugmentation::GetProjectionMatrix(), CalibModel::image, LightMap::isReady(), CalibModel::map, and LightMap::readMap().
Referenced by photometric_calibration().
bool geometric_calibration | ( | MultiGrab & | multi, |
bool | cache | ||
) |
Definition at line 79 of file multicam.cpp.
References add_detected_homography(), CamCalibration::AddCamera(), CamCalibration::AddHomography(), CalibModel::augm, calib, CamCalibration::Calibrate(), MultiGrab::cams, MultiGrab::grabFrames(), CamAugmentation::LoadOptimalStructureFromFile(), MultiGrab::model, CamCalibration::PrintOptimizedResultsToFile1(), and show_result().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 30 of file multicam.cpp.
References MultiGrab::allocLightCollector(), geometric_calibration(), MultiGrab::init(), modelFile, multi, photometric_calibration(), and usage().
bool photometric_calibration | ( | MultiGrab & | multi, |
int | nbImages, | ||
bool | cache | ||
) |
Definition at line 179 of file multicam.cpp.
References CamAugmentation::Accomodate(), add_detected_homography(), CamAugmentation::AddHomography(), LightMap::addNormal(), CalibModel::augm, augment_scene(), MultiGrab::cams, CamAugmentation::Clear(), LightMap::computeLightParams(), frameOK, CamAugmentation::GetObjectToWorld(), MultiGrab::grabFrames(), LightMap::isReady(), LightMap::load(), CamAugmentation::LoadOptimalStructureFromFile(), CalibModel::map, MultiGrab::model, nbLightMeasures, and LightMap::save().
void show_result | ( | planar_object_recognizer & | recognizer, |
IplImage * | video, | ||
IplImage * | dst | ||
) |
void usage | ( | const char * | s | ) |
Definition at line 19 of file multicam.cpp.