bazar  1.3.1
Functions | Variables
augment3d.cpp File Reference

A live 3D augmentation example. More...

#include <iostream>
#include "cv.h"
#include "highgui.h"
#include <garfeild.h>
Include dependency graph for augment3d.cpp:

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"

Detailed Description

A live 3D augmentation example.

Author
Julien Pilet

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.

Function Documentation

bool add_detected_homography ( planar_object_recognizer detector,
CamAugmentation calib 
)
int main ( int  argc,
char **  argv 
)
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.

Variable Documentation

char* modelFile = "model.jpg"

Definition at line 18 of file augment3d.cpp.