|
bazar
1.3.1
|
A live 3D augmentation example. More...

Go to the source code of this file.
Functions | |
| bool | add_detected_homography (planar_object_recognizer &detector, CamAugmentation &calib) |
| void | show_result (CamAugmentation &augment, IplImage *video, IplImage **dst) |
| void | usage (const char *s) |
| int | main (int argc, char **argv) |
Variables | |
| char * | modelFile = "model.jpg" |
A live 3D augmentation example.
This example shows how to draw virtual 3D axis on a real object. Camera geometric calibration is loaded from disk. The file singlecalib.cpp shows how to compute such a calibration.
Definition in file augment3d.cpp.
| bool add_detected_homography | ( | planar_object_recognizer & | detector, |
| CamAugmentation & | calib | ||
| ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 29 of file augment3d.cpp.
References CamAugmentation::Accomodate(), add_detected_homography(), planar_object_recognizer::build_with_cache(), CamAugmentation::Clear(), planar_object_recognizer::detect(), CamAugmentation::LoadOptimalStructureFromFile(), planar_object_recognizer::match_score_threshold, planar_object_recognizer::max_ransac_iterations, modelFile, planar_object_recognizer::non_linear_refine_threshold, planar_object_recognizer::ransac_dist_threshold, show_result(), and usage().
| void show_result | ( | CamAugmentation & | augment, |
| IplImage * | video, | ||
| IplImage ** | dst | ||
| ) |
Definition at line 143 of file augment3d.cpp.
References cvPoint(), and CamAugmentation::GetProjectionMatrix().
| void usage | ( | const char * | s | ) |
Definition at line 23 of file augment3d.cpp.
| char* modelFile = "model.jpg" |
Definition at line 18 of file augment3d.cpp.
1.8.1.2