#include <VisTrackCamshift.h>

Public Member Functions | |
| VisualTrackCamshiftVar () | |
| Default Constructor. | |
| ~VisualTrackCamshiftVar () | |
| Destructor. | |
| void | setVar (IplImage *frame) |
| Initializes variables for tracking. | |
| void | setDisplay (int level) |
| Sets the level of visualization. | |
| int | getDisplay () |
| Sets the level of visualization. | |
| void | setVideoSaving (int videoFlag) |
| Sets the video save flag. | |
| int | getVideoSaving () |
| Gets the video save flag. | |
| void | closeDisplay () |
| Closes displays. | |
| void | setInit (int newVal) |
| Sets init value. | |
| int | getInit () |
| Gets init value. | |
Public Attributes | |
| CvSize | frameSize |
| int | depth |
| pthread_mutex_t | _initMutex |
| int | track |
| CvSize | refScaleFact |
| CvPoint | imageCentre |
| IplImage * | image |
| Working copy of image. | |
| IplImage * | hsv |
| Maintains image in hsv color space. | |
| IplImage * | hue |
| Maintains image hue. | |
| IplImage * | saturation |
| Maintains image saturation. | |
| IplImage * | mask_hue |
| Hue mask. | |
| IplImage * | mask_sat |
| Saturation mask. | |
| IplImage * | backprjct_hue |
| IplImage * | backprjct_sat |
| IplImage * | anddpep |
| CvTermCriteria | criterio |
| Iteration criterion. | |
| CvVideoWriter * | videoWriter |
| video streaming writer | |
| CvHistogram * | hist_sat |
| Saturation histogram. | |
| CvHistogram * | hist_hue |
| Hue histogram. | |
| CvPoint | p1 |
| CvPoint | p2 |
| CvPoint | p3 |
| CvPoint | p4 |
| Points used for calculation. | |
| CvPoint | r1 |
| CvPoint | r2 |
| CvPoint | r3 |
| CvPoint | r4 |
| Points used for calculation. | |
| CvPoint | corner |
| CvConnectedComp | track_comp |
| Used in caling camshift function. | |
| CvBox2D | track_box |
| Working window for camshift. | |
| int | coord [2] |
| Coordinates of selection centre. | |
| Time | refTime |
| Timestamp of last calculated references. | |
| Decimal | ref [2] |
| References for controller, in [-1.0,1.0] with respect to image centre. | |
| Decimal | dotRef [2] |
| Derivatives of coord (last calculated). | |
| CvRect | selezione |
| int | smin_hue |
| int | vmin_hue |
| int | vmax_hue |
| int | smin_sat |
| int | smax_sat |
| int | vmin_sat |
| int | vmax_sat |
| int | thresh |
| SavgolFilter7 * | uDotFil |
| SavgolFilter7 * | vDotFil |
| MipAlgorithms::VisualTrackCamshiftVar::VisualTrackCamshiftVar | ( | ) |
Default Constructor.
| MipAlgorithms::VisualTrackCamshiftVar::~VisualTrackCamshiftVar | ( | ) |
Destructor.
| void MipAlgorithms::VisualTrackCamshiftVar::setVar | ( | IplImage * | frame | ) |
Initializes variables for tracking.
| frame | Frame grabbed from camera, used to set parameters for masks |
| void MipAlgorithms::VisualTrackCamshiftVar::setDisplay | ( | int | level | ) |
Sets the level of visualization.
| 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::VisualTrackCamshiftVar::getDisplay | ( | ) | [inline] |
Sets the level of visualization.
| void MipAlgorithms::VisualTrackCamshiftVar::setVideoSaving | ( | int | videoFlag | ) |
Sets the video save flag.
| level | 0: do not save the video streaming, 1 save the video streaming |
| int MipAlgorithms::VisualTrackCamshiftVar::getVideoSaving | ( | ) | [inline] |
Gets the video save flag.
| void MipAlgorithms::VisualTrackCamshiftVar::closeDisplay | ( | ) |
Closes displays.
displays
| void MipAlgorithms::VisualTrackCamshiftVar::setInit | ( | int | newVal | ) | [inline] |
Sets init value.
| int MipAlgorithms::VisualTrackCamshiftVar::getInit | ( | ) | [inline] |
Gets init value.
| pthread_mutex_t MipAlgorithms::VisualTrackCamshiftVar::_initMutex |
Working copy of image.
Maintains image in hsv color space.
Maintains image hue.
Maintains image saturation.
Hue mask.
Saturation mask.
| CvTermCriteria MipAlgorithms::VisualTrackCamshiftVar::criterio |
Iteration criterion.
| CvVideoWriter* MipAlgorithms::VisualTrackCamshiftVar::videoWriter |
video streaming writer
| CvHistogram* MipAlgorithms::VisualTrackCamshiftVar::hist_sat |
Saturation histogram.
| CvHistogram* MipAlgorithms::VisualTrackCamshiftVar::hist_hue |
Hue histogram.
Points used for calculation.
Points used for calculation.
| CvConnectedComp MipAlgorithms::VisualTrackCamshiftVar::track_comp |
Used in caling camshift function.
Working window for camshift.
Coordinates of selection centre.
Timestamp of last calculated references.
References for controller, in [-1.0,1.0] with respect to image centre.
Derivatives of coord (last calculated).
1.5.6