libmoldeo (Moldeo 1.0 Core)  1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
moTrackerSystemData Class Reference

Sistema de características. More...

#include <moFilterManager.h>

Public Member Functions

 moTrackerSystemData ()
 
 moTrackerSystemData (int ZoneW, int ZoneH)
 
 moTrackerSystemData (int ZoneW, int ZoneH, int ZoneCW, int ZoneCH)
 
virtual ~moTrackerSystemData ()
 
virtual int GetFeaturesCount ()
 
virtual int GetValidFeatures ()
 
virtual int GetDeltaValidFeatures ()
 
virtual moVector2f GetBarycenter ()
 
virtual moVector2f GetBarycenterMotion ()
 
virtual moVector2f GetBarycenterAcceleration ()
 
virtual moVector2f GetVariance ()
 
virtual moVector2f GetSpeedVariance ()
 
virtual moVector2f GetAccelerationVariance ()
 
virtual moVector4f GetBoundingRectangle ()
 
virtual moVector2f GetMax ()
 
virtual moVector2f GetMin ()
 
virtual void SetMax (float x, float y)
 
virtual void SetMin (float x, float y)
 
virtual moTrackerFeatureGetFeature (int i)
 
virtual moTrackerFeatureArray & GetFeatures ()
 
virtual moVideoFormatGetVideoFormat ()
 
virtual void SetBarycenter (float b_x, float b_y)
 
virtual void SetBarycenterMotion (float b_x, float b_y)
 
virtual void SetBarycenterAcceleration (float b_x, float b_y)
 
virtual void SetVariance (float v_x, float v_y)
 
virtual void SetSpeedVariance (float v_x, float v_y)
 
virtual void SetAccelerationVariance (float v_x, float v_y)
 
virtual void SetBoundingRectangle (float r_x, float r_y, float s_x, float s_y)
 
virtual void SetValidFeatures (int validfeatures)
 
virtual void SetDeltaValidFeatures (int deltavalidfeatures)
 
virtual void SetAbsoluteSpeedAverage (float speedaverage)
 
virtual void SetAbsoluteAccelerationAverage (float accaverage)
 
virtual void SetAbsoluteTorqueAverage (float toraverage)
 
virtual int PositionToZone (float x, float y)
 Transforma el vector de posicion (0..1) al indice de zona de la matriz cuadrada. More...
 
virtual moVector2f ZoneToPosition (int zone)
 Transforma el indice de zona al vector posicion. More...
 
virtual int PositionToZoneC (float x, float y)
 Transforma el vector de posicion (0..1) a coordenadas polares luego al indice de zona de la matriz. More...
 
virtual moVector2f ZoneToPositionC (int zone)
 Transforma el indice de zona al vector posicion circular! More...
 
virtual void SetPositionMatrix (float x, float y, int nfeatures)
 POSITION. More...
 
virtual void SetPositionMatrix (moVector2f pos, int nfeatures)
 
virtual int GetPositionMatrix (float x, float y)
 
virtual int GetPositionMatrix (moVector2f pos)
 
virtual void SetMotionMatrix (float x, float y, int nfeatures)
 MOTION. More...
 
virtual void SetMotionMatrix (moVector2f pos, int nfeatures)
 
virtual int GetMotionMatrix (float x, float y)
 
virtual int GetMotionMatrix (moVector2f pos)
 
virtual void SetAccelerationMatrix (float x, float y, int nfeatures)
 ACCELERATION. More...
 
virtual void SetAccelerationMatrix (moVector2f pos, int nfeatures)
 
virtual int GetAccelerationMatrix (float x, float y)
 
virtual int GetAccelerationMatrix (moVector2f pos)
 
virtual void SetPositionMatrixC (float x, float y, int nfeatures)
 POSITION CIRCULAR. More...
 
virtual int GetPositionMatrixC (float x, float y)
 
virtual int GetPositionMatrixC (moVector2f pos)
 
virtual int GetPositionMatrixC (int zone)
 
virtual void SetMotionMatrixC (float x, float y, int nfeatures)
 
virtual int GetMotionMatrixC (float x, float y)
 
virtual int GetMotionMatrixC (moVector2f pos)
 
virtual int GetMotionMatrixC (int zone)
 
virtual void ResetMatrix ()
 
virtual void DrawFeatures (float w, float h, float offsetx, float offsety)
 
virtual void SetMaxFeatures (int p_nFeatures)
 
virtual int GetMaxFeatures ()
 
void Record ()
 
moTrackerSystemHistoryGetHistory ()
 

Public Attributes

int m_ZoneW
 
int m_ZoneH
 
int m_ZoneCW
 
int m_ZoneCH
 
int m_Zones
 
int m_ZonesC
 
float ** m_Distancias
 
int ** m_Pares
 
int nPares
 

Protected Attributes

float _zonewf
 
float _zonehf
 
float _zonecwf
 
float _zonechf
 
moVideoFormat m_VideoFormat
 
moTrackerFeatureArray m_Features
 
moTrackerInstanceRecord m_ActualRecord
 
moTrackerSystemHistory m_History
 
int * m_PositionMatrix
 
int * m_MotionMatrix
 4 x 4 zones More...
 
int * m_AccelerationMatrix
 4 x 4 zones More...
 
int * m_CircularPositionMatrix
 4 x 4 zones More...
 
int * m_CircularMotionMatrix
 12 semitones, 3 levels More...
 

Detailed Description

Sistema de características.

Clase abstracta, interfaz de acceso a conjunto de datos de seguimiento [tracking] esta clase es abstracta y debe ser implementada en cada dispositivo de seguimiento

See also
moTrackerFeature
moTrackerFeatureArray
moFilterManager

Definition at line 520 of file moFilterManager.h.

Constructor & Destructor Documentation

moTrackerSystemData::moTrackerSystemData ( )

Definition at line 619 of file moFilterManager.cpp.

moTrackerSystemData::moTrackerSystemData ( int  ZoneW,
int  ZoneH 
)

Definition at line 645 of file moFilterManager.cpp.

moTrackerSystemData::moTrackerSystemData ( int  ZoneW,
int  ZoneH,
int  ZoneCW,
int  ZoneCH 
)

Definition at line 673 of file moFilterManager.cpp.

moTrackerSystemData::~moTrackerSystemData ( )
virtual

Definition at line 701 of file moFilterManager.cpp.

Member Function Documentation

void moTrackerSystemData::DrawFeatures ( float  w,
float  h,
float  offsetx,
float  offsety 
)
virtual

solo dibujamos los que son validos...

float v_x = (pF->v_x); float v_y = (pF->v_y); float vel = sqrtf( v_x*v_x+v_y*v_y );

int is_parent = pF->is_parent;

Only show segments

Max min green

Variance cyan

RECTANGULAR MATRIX

DRAW ZONE WITH FEATURES IN MOTION

CIRCULAR MATRIX

Definition at line 1041 of file moFilterManager.cpp.

int moTrackerSystemData::GetAccelerationMatrix ( float  x,
float  y 
)
virtual

Definition at line 956 of file moFilterManager.cpp.

int moTrackerSystemData::GetAccelerationMatrix ( moVector2f  pos)
virtual

Definition at line 967 of file moFilterManager.cpp.

moVector2f moTrackerSystemData::GetAccelerationVariance ( )
virtual

Devuelve la varianza de la aceleración de las características

Definition at line 772 of file moFilterManager.cpp.

moVector2f moTrackerSystemData::GetBarycenter ( )
virtual

Devuelve el vector de posición del baricentro.

Definition at line 752 of file moFilterManager.cpp.

moVector2f moTrackerSystemData::GetBarycenterAcceleration ( )
virtual

Devuelve el vector de aceleración del baricentro.

Definition at line 760 of file moFilterManager.cpp.

moVector2f moTrackerSystemData::GetBarycenterMotion ( )
virtual

Devuelve el vector de velocidad del baricentro.

Definition at line 756 of file moFilterManager.cpp.

moVector4f moTrackerSystemData::GetBoundingRectangle ( )
virtual

Devuelve el rectángulo más pequeño que rodea las características.

Definition at line 776 of file moFilterManager.cpp.

int moTrackerSystemData::GetDeltaValidFeatures ( )
virtual

Definition at line 784 of file moFilterManager.cpp.

moTrackerFeature * moTrackerSystemData::GetFeature ( int  i)
virtual

Definition at line 744 of file moFilterManager.cpp.

moTrackerFeatureArray & moTrackerSystemData::GetFeatures ( )
virtual

Definition at line 748 of file moFilterManager.cpp.

int moTrackerSystemData::GetFeaturesCount ( )
virtual

Devuelve las características máximas

Definition at line 740 of file moFilterManager.cpp.

moTrackerSystemHistory& moTrackerSystemData::GetHistory ( )
inline

Definition at line 647 of file moFilterManager.h.

moVector2f moTrackerSystemData::GetMax ( )
virtual

Definition at line 732 of file moFilterManager.cpp.

virtual int moTrackerSystemData::GetMaxFeatures ( )
inlinevirtual

Definition at line 644 of file moFilterManager.h.

moVector2f moTrackerSystemData::GetMin ( )
virtual

Definition at line 736 of file moFilterManager.cpp.

int moTrackerSystemData::GetMotionMatrix ( float  x,
float  y 
)
virtual

Definition at line 930 of file moFilterManager.cpp.

int moTrackerSystemData::GetMotionMatrix ( moVector2f  pos)
virtual

Definition at line 941 of file moFilterManager.cpp.

int moTrackerSystemData::GetMotionMatrixC ( float  x,
float  y 
)
virtual

Definition at line 1006 of file moFilterManager.cpp.

int moTrackerSystemData::GetMotionMatrixC ( moVector2f  pos)
virtual

Definition at line 1012 of file moFilterManager.cpp.

int moTrackerSystemData::GetMotionMatrixC ( int  zone)
virtual

Definition at line 1017 of file moFilterManager.cpp.

int moTrackerSystemData::GetPositionMatrix ( float  x,
float  y 
)
virtual

Definition at line 908 of file moFilterManager.cpp.

int moTrackerSystemData::GetPositionMatrix ( moVector2f  pos)
virtual

Definition at line 914 of file moFilterManager.cpp.

int moTrackerSystemData::GetPositionMatrixC ( float  x,
float  y 
)
virtual

Definition at line 983 of file moFilterManager.cpp.

int moTrackerSystemData::GetPositionMatrixC ( moVector2f  pos)
virtual

Definition at line 989 of file moFilterManager.cpp.

int moTrackerSystemData::GetPositionMatrixC ( int  zone)
virtual

Definition at line 995 of file moFilterManager.cpp.

moVector2f moTrackerSystemData::GetSpeedVariance ( )
virtual

Devuelve la varianza de la velocidad de las características

Definition at line 768 of file moFilterManager.cpp.

int moTrackerSystemData::GetValidFeatures ( )
virtual

Devuelve las características válidas. Son aquellas reconocidas de un cuadro a otro.

Definition at line 780 of file moFilterManager.cpp.

moVector2f moTrackerSystemData::GetVariance ( )
virtual

Devuelve la varianza de las posiciones de las características.

Definition at line 764 of file moFilterManager.cpp.

virtual moVideoFormat& moTrackerSystemData::GetVideoFormat ( )
inlinevirtual

Definition at line 583 of file moFilterManager.h.

int moTrackerSystemData::PositionToZone ( float  x,
float  y 
)
virtual

Transforma el vector de posicion (0..1) al indice de zona de la matriz cuadrada.

Transforma el vector de posicion (0..1) al indice de zona de la matriz cuadrada x must be 0..1

Definition at line 803 of file moFilterManager.cpp.

int moTrackerSystemData::PositionToZoneC ( float  x,
float  y 
)
virtual

Transforma el vector de posicion (0..1) a coordenadas polares luego al indice de zona de la matriz.

&????

sqrt(2)

Definition at line 821 of file moFilterManager.cpp.

void moTrackerSystemData::Record ( )

Definition at line 185 of file moFilterManager.cpp.

void moTrackerSystemData::ResetMatrix ( )
virtual

Definition at line 788 of file moFilterManager.cpp.

virtual void moTrackerSystemData::SetAbsoluteAccelerationAverage ( float  accaverage)
inlinevirtual

Definition at line 598 of file moFilterManager.h.

virtual void moTrackerSystemData::SetAbsoluteSpeedAverage ( float  speedaverage)
inlinevirtual

Definition at line 597 of file moFilterManager.h.

virtual void moTrackerSystemData::SetAbsoluteTorqueAverage ( float  toraverage)
inlinevirtual

Definition at line 599 of file moFilterManager.h.

void moTrackerSystemData::SetAccelerationMatrix ( float  x,
float  y,
int  nfeatures 
)
virtual

ACCELERATION.

Definition at line 951 of file moFilterManager.cpp.

void moTrackerSystemData::SetAccelerationMatrix ( moVector2f  pos,
int  nfeatures 
)
virtual

Definition at line 962 of file moFilterManager.cpp.

virtual void moTrackerSystemData::SetAccelerationVariance ( float  v_x,
float  v_y 
)
inlinevirtual

Definition at line 591 of file moFilterManager.h.

virtual void moTrackerSystemData::SetBarycenter ( float  b_x,
float  b_y 
)
inlinevirtual

Definition at line 585 of file moFilterManager.h.

virtual void moTrackerSystemData::SetBarycenterAcceleration ( float  b_x,
float  b_y 
)
inlinevirtual

Definition at line 587 of file moFilterManager.h.

virtual void moTrackerSystemData::SetBarycenterMotion ( float  b_x,
float  b_y 
)
inlinevirtual

Definition at line 586 of file moFilterManager.h.

virtual void moTrackerSystemData::SetBoundingRectangle ( float  r_x,
float  r_y,
float  s_x,
float  s_y 
)
inlinevirtual

Definition at line 592 of file moFilterManager.h.

virtual void moTrackerSystemData::SetDeltaValidFeatures ( int  deltavalidfeatures)
inlinevirtual

Definition at line 595 of file moFilterManager.h.

void moTrackerSystemData::SetMax ( float  x,
float  y 
)
virtual

Definition at line 724 of file moFilterManager.cpp.

virtual void moTrackerSystemData::SetMaxFeatures ( int  p_nFeatures)
inlinevirtual

Definition at line 643 of file moFilterManager.h.

void moTrackerSystemData::SetMin ( float  x,
float  y 
)
virtual

Definition at line 728 of file moFilterManager.cpp.

void moTrackerSystemData::SetMotionMatrix ( float  x,
float  y,
int  nfeatures 
)
virtual

MOTION.

Definition at line 925 of file moFilterManager.cpp.

void moTrackerSystemData::SetMotionMatrix ( moVector2f  pos,
int  nfeatures 
)
virtual

Definition at line 936 of file moFilterManager.cpp.

void moTrackerSystemData::SetMotionMatrixC ( float  x,
float  y,
int  nfeatures 
)
virtual

Definition at line 1001 of file moFilterManager.cpp.

void moTrackerSystemData::SetPositionMatrix ( float  x,
float  y,
int  nfeatures 
)
virtual

POSITION.

Definition at line 893 of file moFilterManager.cpp.

void moTrackerSystemData::SetPositionMatrix ( moVector2f  pos,
int  nfeatures 
)
virtual

Definition at line 900 of file moFilterManager.cpp.

void moTrackerSystemData::SetPositionMatrixC ( float  x,
float  y,
int  nfeatures 
)
virtual

POSITION CIRCULAR.

Definition at line 978 of file moFilterManager.cpp.

virtual void moTrackerSystemData::SetSpeedVariance ( float  v_x,
float  v_y 
)
inlinevirtual

Definition at line 590 of file moFilterManager.h.

virtual void moTrackerSystemData::SetValidFeatures ( int  validfeatures)
inlinevirtual

Definition at line 594 of file moFilterManager.h.

virtual void moTrackerSystemData::SetVariance ( float  v_x,
float  v_y 
)
inlinevirtual

Definition at line 589 of file moFilterManager.h.

moVector2f moTrackerSystemData::ZoneToPosition ( int  zone)
virtual

Transforma el indice de zona al vector posicion.

Transforma el indice de zona al vector posicion es el centro del cuadrado lo q devuelve!!!

Definition at line 814 of file moFilterManager.cpp.

moVector2f moTrackerSystemData::ZoneToPositionC ( int  zone)
virtual

Transforma el indice de zona al vector posicion circular!

&????

sqrt(2)

Definition at line 856 of file moFilterManager.cpp.

Member Data Documentation

float moTrackerSystemData::_zonechf
protected

Definition at line 664 of file moFilterManager.h.

float moTrackerSystemData::_zonecwf
protected

Definition at line 663 of file moFilterManager.h.

float moTrackerSystemData::_zonehf
protected

Definition at line 662 of file moFilterManager.h.

float moTrackerSystemData::_zonewf
protected

Definition at line 661 of file moFilterManager.h.

int* moTrackerSystemData::m_AccelerationMatrix
protected

4 x 4 zones

Definition at line 680 of file moFilterManager.h.

moTrackerInstanceRecord moTrackerSystemData::m_ActualRecord
protected

Definition at line 670 of file moFilterManager.h.

int* moTrackerSystemData::m_CircularMotionMatrix
protected

12 semitones, 3 levels

Definition at line 683 of file moFilterManager.h.

int* moTrackerSystemData::m_CircularPositionMatrix
protected

4 x 4 zones

Definition at line 682 of file moFilterManager.h.

float** moTrackerSystemData::m_Distancias

Definition at line 655 of file moFilterManager.h.

moTrackerFeatureArray moTrackerSystemData::m_Features
protected

Definition at line 668 of file moFilterManager.h.

moTrackerSystemHistory moTrackerSystemData::m_History
protected

Definition at line 672 of file moFilterManager.h.

int* moTrackerSystemData::m_MotionMatrix
protected

4 x 4 zones

Definition at line 679 of file moFilterManager.h.

int** moTrackerSystemData::m_Pares

Definition at line 656 of file moFilterManager.h.

int* moTrackerSystemData::m_PositionMatrix
protected

Matrices de activación dinámicas. Circulares cemtradas en el baricentro, y cuadradas cubriendo toda el área.

Definition at line 678 of file moFilterManager.h.

moVideoFormat moTrackerSystemData::m_VideoFormat
protected

Definition at line 666 of file moFilterManager.h.

int moTrackerSystemData::m_ZoneCH

Definition at line 652 of file moFilterManager.h.

int moTrackerSystemData::m_ZoneCW

Definition at line 651 of file moFilterManager.h.

int moTrackerSystemData::m_ZoneH

Definition at line 650 of file moFilterManager.h.

int moTrackerSystemData::m_Zones

Definition at line 653 of file moFilterManager.h.

int moTrackerSystemData::m_ZonesC

Definition at line 654 of file moFilterManager.h.

int moTrackerSystemData::m_ZoneW

Definition at line 649 of file moFilterManager.h.

int moTrackerSystemData::nPares

Definition at line 657 of file moFilterManager.h.


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