bazar  1.3.1
Functions
fullcalib.cpp File Reference

All in one geometric and photometric calibration example. More...

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

Go to the source code of this file.

Functions

void show_result (planar_object_recognizer &recognizer, IplImage *video, IplImage *dst)
static void augment_scene (CalibModel &model, IplImage *frame, IplImage *display)
bool add_detected_homography (planar_object_recognizer &detector, CamCalibration &calib)
bool add_detected_homography (planar_object_recognizer &detector, CamAugmentation &a)
bool geometric_calibration (CalibModel &model, CvCapture *capture, bool cache)
bool photometric_calibration (CalibModel &model, CvCapture *capture, int nbImages, bool cache)
void usage (const char *s)
int main (int argc, char **argv)

Detailed Description

All in one geometric and photometric calibration example.

Author
Julien Pilet

This example interactively ask the user to show a calibration pattern, train a classifier to recognize it, calibrates the camera geometry, computes an irradiance map, and finally "augment" the video by pasting an illumination corrected polygon on the target.

Definition in file fullcalib.cpp.

Function Documentation

bool add_detected_homography ( planar_object_recognizer detector,
CamCalibration calib 
)
bool add_detected_homography ( planar_object_recognizer detector,
CamAugmentation a 
)
static void augment_scene ( CalibModel model,
IplImage *  frame,
IplImage *  display 
)
static
bool geometric_calibration ( CalibModel model,
CvCapture *  capture,
bool  cache 
)
int main ( int  argc,
char **  argv 
)
bool photometric_calibration ( CalibModel model,
CvCapture *  capture,
int  nbImages,
bool  cache 
)
void show_result ( planar_object_recognizer recognizer,
IplImage *  video,
IplImage *  dst 
)
void usage ( const char *  s)
Examples:
augment3d.cpp, fullcalib.cpp, multicam.cpp, multigl.cpp, and singlecalib.cpp.

Definition at line 29 of file fullcalib.cpp.

Referenced by init(), and main().