MipAlgorithms::VisualTrackVispVar Class Reference
[Visual tracking]

Variables class for Visual tracking algorithms. More...

#include <VisTrackVisp.h>

Inheritance diagram for MipAlgorithms::VisualTrackVispVar:

MipAlgorithms::VisualTrackVar

List of all members.

Public Member Functions

 VisualTrackVispVar (bool green, bool moments, Decimal grayLevel)
 Default Constructor.
 ~VisualTrackVispVar ()
 Destructor.
void setDisplay (int level)
 Sets the level of visualization.
int getDisplay ()
 Sets the level of visualization.
void closeDisplay ()
 Closes displays.
void setInit (int newVal)
 Sets init value.
int getInit ()
 Gets init value.
void setVideoSaving (int videoFlag)
 Sets the video save flag.
int getVideoSaving ()
 Gets the video save flag.

Public Attributes

vpDot2 _d2
vpImagePoint _cog
vpImagePoint initPoint
IplImage * image
 Working copy of image.
int track
int grayLevel
CvVideoWriter * videoWriter
 video streaming writer
CvSize refScaleFact
CvPoint imageCentre
vpImage< unsigned char > _frameVP


Detailed Description

Variables class for Visual tracking algorithms.

Author:
Lorenzo Rosa

Constructor & Destructor Documentation

MipAlgorithms::VisualTrackVispVar::VisualTrackVispVar ( bool  green,
bool  moments,
Decimal  grayLevel 
)

Default Constructor.

MipAlgorithms::VisualTrackVispVar::~VisualTrackVispVar (  ) 

Destructor.


Member Function Documentation

void MipAlgorithms::VisualTrackVispVar::setDisplay ( int  level  ) 

Sets the level of visualization.

Parameters:
level 0: do not visualize anything, 1 visualizes Selection in mainFrame, 2 visualize all elaborations TODO: Create function to open and close mainframe for selection only

int MipAlgorithms::VisualTrackVispVar::getDisplay (  )  [inline]

Sets the level of visualization.

Returns:
An integer: the actual level of visualization

void MipAlgorithms::VisualTrackVispVar::closeDisplay (  ) 

Closes displays.

void MipAlgorithms::VisualTrackVispVar::setInit ( int  newVal  )  [inline]

Sets init value.

int MipAlgorithms::VisualTrackVispVar::getInit (  )  [inline]

Gets init value.

void MipAlgorithms::VisualTrackVispVar::setVideoSaving ( int  videoFlag  ) 

Sets the video save flag.

Parameters:
level 0: do not save the video streaming, 1 save the video streaming

int MipAlgorithms::VisualTrackVispVar::getVideoSaving (  )  [inline]

Gets the video save flag.

Returns:
An integer: enable or deseabled the save of the video streaming


Member Data Documentation

Working copy of image.

video streaming writer


The documentation for this class was generated from the following files:

Generated on Mon Feb 20 07:01:11 2017 for MIP by  doxygen 1.5.6