OmniCallback.hh File Reference

#include <cv.h>
#include <highgui.h>

Include dependency graph for OmniCallback.hh:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void( on_create_image_context_cb )(char *, void *)
 Typedef for callback functions pointers.
typedef void( on_image_do_action_cb )(IplImage *, int, char *, void *)
 Typedef for callback functions pointers.
typedef void( on_destroy_image_context_cb )(char *, void *)
 Typedef for callback functions pointers.

Functions

void omnistuff_create_image_context (char *window_id, void *callback_data)
 Create image context.
void omnistuff_image_do_action (IplImage *image, int track_id, char *window_id, void *callback_data)
 Show the images.
void omnistuff_destroy_image_context (char *window_id, void *callback_data)
 Destroy the images' windows.


Typedef Documentation

typedef void( on_create_image_context_cb)(char *, void *)

Definition at line 62 of file OmniCallback.hh.

typedef void( on_destroy_image_context_cb)(char *, void *)

Definition at line 68 of file OmniCallback.hh.

typedef void( on_image_do_action_cb)(IplImage *, int, char *, void *)

Definition at line 65 of file OmniCallback.hh.


Function Documentation

void omnistuff_create_image_context ( char *  window_id,
void *  callback_data 
)

I.e. create the opencv windows that will display our images. The window, as from OpenCv, is identified by a char* string we don't have specific template needs now. If we'll have to display other image formats, just change/update the functions below here

Parameters:
window_id Window id.
callback_data User data.

Definition at line 66 of file OmniCallback.cpp.

References DEBUG_PRINT.

Referenced by CvFaceTrack< ConverterT, AngleT >::CvFaceTrack(), OmniAlgoSimpleDetection< ConverterT, AngleT, ImageT, PointT >::OmniAlgoSimpleDetection(), OmniAlgoVRFilterDetection< ConverterT, AngleT, ImageT, PointT >::OmniAlgoVRFilterDetection(), OmniMotionDetecting< ConverterT, AngleT >::OmniMotionDetecting(), and OmniTracking< ConverterT, AngleT, ImageT, PointT >::OmniTracking().

Here is the caller graph for this function:

void omnistuff_destroy_image_context ( char *  window_id,
void *  callback_data 
)

Parameters:
window_id Window id.
callback_data User data.

Definition at line 85 of file OmniCallback.cpp.

References DEBUG_PRINT.

Referenced by CvFaceTrack< ConverterT, AngleT >::CvFaceTrack(), OmniAlgoSimpleDetection< ConverterT, AngleT, ImageT, PointT >::OmniAlgoSimpleDetection(), OmniAlgoVRFilterDetection< ConverterT, AngleT, ImageT, PointT >::OmniAlgoVRFilterDetection(), OmniMotionDetecting< ConverterT, AngleT >::OmniMotionDetecting(), and OmniTracking< ConverterT, AngleT, ImageT, PointT >::OmniTracking().

Here is the caller graph for this function:

void omnistuff_image_do_action ( IplImage *  image,
int  track_id,
char *  window_id,
void *  callback_data 
)

Parameters:
image E.g. tracked face
track_id Optional id (int) of the tracked face
window_id Optional id (char*) of the tracked face
callback_data Usually the title of the opencv window

Definition at line 72 of file OmniCallback.cpp.

References CV_WAIT_KEY, os_store_and_replace(), and WAIT_KEY_VALUE.

Referenced by CvFaceTrack< ConverterT, AngleT >::CvFaceTrack(), OmniAlgoSimpleDetection< ConverterT, AngleT, ImageT, PointT >::OmniAlgoSimpleDetection(), OmniAlgoVRFilterDetection< ConverterT, AngleT, ImageT, PointT >::OmniAlgoVRFilterDetection(), OmniMotionDetecting< ConverterT, AngleT >::OmniMotionDetecting(), and OmniTracking< ConverterT, AngleT, ImageT, PointT >::OmniTracking().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Tue Dec 26 10:33:45 2006 for Omnimeeting by  doxygen 1.4.7