JeVoisBase  1.0
JeVois Smart Embedded Machine Vision Toolkit Base Modules
EyeTracker.C File Reference
#include <jevoisbase/src/Components/EyeTracker/EyeTracker.H>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <jevoisbase/Contrib/cvEyeTracker-1.2.5/remove_corneal_reflection.h>
#include <jevoisbase/Contrib/cvEyeTracker-1.2.5/svd.h>
#include <opencv/cv.h>
Include dependency graph for EyeTracker.C:

Go to the source code of this file.


#define UINT8   unsigned char
#define FIX_UINT8(x)   ( (x)<0 ? 0 : ((x)>255 ? 255:(x)) )


void Draw_Cross (IplImage *image, int centerx, int centery, int x_cross_length, int y_cross_length, double color)
void Normalize_Line_Histogram (IplImage *in_image)
void Calculate_Avg_Intensity_Hori (IplImage *in_image, double *avg_intensity_hori)
void Reduce_Line_Noise (IplImage *in_image, double *avg_intensity_hori, double *intensity_factor_hori)

Macro Definition Documentation

#define FIX_UINT8 (   x)    ( (x)<0 ? 0 : ((x)>255 ? 255:(x)) )

Definition at line 61 of file EyeTracker.C.

Referenced by Reduce_Line_Noise().

#define UINT8   unsigned char

Function Documentation

void Calculate_Avg_Intensity_Hori ( IplImage *  in_image,
double *  avg_intensity_hori 

Definition at line 106 of file EyeTracker.C.

References UINT8.

Referenced by EyeTracker::process(), and Reduce_Line_Noise().

void Draw_Cross ( IplImage *  image,
int  centerx,
int  centery,
int  x_cross_length,
int  y_cross_length,
double  color 

Definition at line 63 of file EyeTracker.C.

Referenced by EyeTracker::process().

void Normalize_Line_Histogram ( IplImage *  in_image)

Definition at line 81 of file EyeTracker.C.

void Reduce_Line_Noise ( IplImage *  in_image,
double *  avg_intensity_hori,
double *  intensity_factor_hori 

Definition at line 117 of file EyeTracker.C.

References Calculate_Avg_Intensity_Hori(), FIX_UINT8, and UINT8.

Referenced by EyeTracker::process().