Video Processing Framework
EyeDetection Class Reference

#include <Segm_EyeDetection.h>

Inheritance diagram for EyeDetection:
ImageProcessing AbstractProcessing AbstractData

List of all members.

Public Member Functions

 EyeDetection (const AbstractData *parent=NULL, const SimpleData *parameters=NULL)
virtual ~EyeDetection ()
virtual EyeDetection * duplicate ()
virtual int processImage (SimpleData *options=NULL)
virtual int processChannel (int chIndex, SimpleData *options=NULL)
virtual int allocateResults ()
void thresholdChannels (ChanImage *inImg, ChanImage *outImg, int index)
void makeMask (IplImage *inImg1, IplImage *inImg2, IPLImage *outImg)
void findContour (IPLImage *objectMask, CvPoint &eyeCenter)
void drawEye (CvPoint eye, CvRect area)
int detectCircles ()
int cannyEdge ()
bool validEyeCircle (CvRect circLocation, CvRect eyeRegion)
 calcCircleIntOutColor (CvRect currentCircle, IPLImage *crBwImg, float &intColor, float &outColor)

Static Public Member Functions

static int runTest (int testCase=0, const char *filen=NULL, void *params=NULL)
 Testiranje.

Public Attributes

TDRectF * faceRectangles
 Kvadrati obrazov.
IPLImage * maskF
 Izhodna maska oci.
TDRect * eyes
IPLImage * hCircImg
IPLImage * cannyImg
Morphology * filterM2
Morphology * filterM1
FaceFeatureDet * faceDet
int metoda
float dA
float dY
float dX
float wA
float pEyeCanny
float pEyeThresh
float thresholdY
float thresholdCr
float thresholdCb
int numOfFaces
CvRect temp
CvRect temp2
CvPoint eye1
CvPoint eye2
float cannyHigh
float cannyLow
CvRect targCoord

Constructor & Destructor Documentation

EyeDetection::EyeDetection ( const AbstractData *  parent = NULL,
const SimpleData *  parameters = NULL 
)
EyeDetection::~EyeDetection ( ) [virtual]

Member Function Documentation

int EyeDetection::allocateResults ( ) [virtual]

Reimplemented from ImageProcessing.

int EyeDetection::calcCircleIntOutColor ( CvRect  currentCircle,
IPLImage *  crBwImg,
float &  intColor,
float &  outColor 
)
int EyeDetection::cannyEdge ( )
int EyeDetection::detectCircles ( )
void EyeDetection::drawEye ( CvPoint  eye,
CvRect  area 
)
virtual EyeDetection* EyeDetection::duplicate ( ) [inline, virtual]

Reimplemented from ImageProcessing.

void EyeDetection::findContour ( IPLImage *  objectMask,
CvPoint &  eyeCenter 
)
void EyeDetection::makeMask ( IplImage *  inImg1,
IplImage *  inImg2,
IPLImage *  outImg 
)
int EyeDetection::processChannel ( int  chIndex,
SimpleData *  options = NULL 
) [virtual]

Reimplemented from ImageProcessing.

int EyeDetection::processImage ( SimpleData *  options = NULL) [virtual]

Reimplemented from ImageProcessing.

int EyeDetection::runTest ( int  testCase = 0,
const char *  filen = NULL,
void *  params = NULL 
) [static]

Testiranje.

void EyeDetection::thresholdChannels ( ChanImage *  inImg,
ChanImage *  outImg,
int  index 
)
bool EyeDetection::validEyeCircle ( CvRect  circLocation,
CvRect  eyeRegion 
)

Member Data Documentation

Izhodna maska oci.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines