Main Page   Compound List   File List   Compound Members   File Members   Related Pages  

DynaClass Class Reference

object used for storing one MT cluster trajectory. Almost all the attribute are public and can be accessed from a main procedure. More...

#include <DynaClass.hh>

List of all members.

Public Methods

 DynaClass ()
virtual ~DynaClass ()
void Allocate (int size, int nb_bands)
 Method to allocate memory for storing a MT trajectory. More...

void InitRead (int size, int nb_bands)
 Method to fix the objects private variables. More...

void MTAlloc (int t)
 Method to allocate memory for storing a MT cluster at a given time sample. More...

void TLAlloc (int t, int length)
 Method to allocate memory for storing a TL cluster attributes and association attributes with a MT cluster, at a given time sample. More...

void TLAlloc2 (int t, int length)
 Method to allocate memory for storing a TL cluster association with a MT cluster, at a given time sample (comprised in method "TLAlloc(...)"). More...

void TLAllocCenterCov (int t, int length)
 Method to allocate memory for storing a TL cluster attributes, at a given time sample (comprised in method "TLAlloc(...)"). More...

void flowDivAlloc (int t, int length1, int length2)
 Method to allocate memory for storing a the flows of points between 2 consecutive times. More...


Public Attributes

vector< int > * AssignedTimelessClass
 Collections of TL cluster assigned to the given MT cluster for each time sample
CAREFULL!! The name is confusing, it would be better to name it TLAssigned2MT.


vector< float > * DivergenceValue
 Vectors of divergence value associated to the assigned TL cluster for each time sample.

vector< float * > * Centroids
 Vectors of mean values associated to the assigned TL cluster for each time sample.

vector< float ** > * Covariances
 Matrices of covariance values associated to the assigned TL cluster for each time sample.

vector< unsigned long int > * Weight
 number of sample points belonging to the assigned TL cluster and the MT cluster for each time sample.

vector< float * > * MTCentroids
 mean vectors of the MT cluster for each time sample.

vector< float ** > * MTCovariances
 Covariance matrices of the MT cluster for each time sample.

vector< unsigned long int > * MTWeight
 number of sample points belonging to the MT class
SHOULD NOT BE A VECTOR BUT A SCALAR!


vector< float * > * JointCentroids
 mean vectors of the joint distribution of a MT clusters, in 2 consecutive time samples. More...

vector< float ** > * JointCovariances
 Covariance matrix of the joint distribution of a MT clusters, in 2 consecutive time samples. More...

vector< unsigned long int > * JointWeight
 number of sample points belonging to the MT class
IDENTICAL to MTWeight! SHOULD NOT BE AN ARRAY BUT A SCALAR!
More...


float * MutualInfo
 Array of mutual information values calculated between a MT cluster in consecutive time samples.

float *** flow
 graph edge attributes between 2 consecutive times : flow of points between consecutive TL clusters.

float *** div
 graph edge attributes between 2 consecutive times : divergence between consecutive TL clusters.


Private Attributes

int nb_TemporalSample
 number of image time samples.

int nb_dim
 number of dimension of the feature space.


Detailed Description

object used for storing one MT cluster trajectory. Almost all the attribute are public and can be accessed from a main procedure.

Definition at line 13 of file DynaClass.hh.


Member Function Documentation

void DynaClass::Allocate int    size,
int    nb_bands
[inline]
 

Method to allocate memory for storing a MT trajectory.

The object attributes are almost all vector objects. Thus the memory allocation must be done progressively. This method allocates memory only for the first TL association. Further allocation procedures are performed later.

Parameters:
size  number of time samples
nb_bands  dimensionnality of the TL feature spaces

Definition at line 68 of file DynaClass.hh.

void DynaClass::flowDivAlloc int    t,
int    length1,
int    length2
[inline]
 

Method to allocate memory for storing a the flows of points between 2 consecutive times.

allocation of a number "lenght1*lenght2" of flow values in an array.

Parameters:
t  image time samples
length  number of TL cluster associations with a MT cluster at time t
length  number of TL cluster associations with a MT cluster at time t+1

Definition at line 242 of file DynaClass.hh.

void DynaClass::InitRead int    size,
int    nb_bands
[inline]
 

Method to fix the objects private variables.

Parameters:
size  number of time samples
nb_bands  dimensionnality of the TL feature spaces

Definition at line 139 of file DynaClass.hh.

void DynaClass::MTAlloc int    t [inline]
 

Method to allocate memory for storing a MT cluster at a given time sample.

Parameters:
t  image time samples

Definition at line 159 of file DynaClass.hh.

void DynaClass::TLAlloc int    t,
int    length
[inline]
 

Method to allocate memory for storing a TL cluster attributes and association attributes with a MT cluster, at a given time sample.

allocation of a number "lenght" of associations. These memory spaces are pushed back at the end of the vectors.

Parameters:
t  image time samples
length  number of TL cluster associations with a MT cluster

Definition at line 177 of file DynaClass.hh.

void DynaClass::TLAlloc2 int    t,
int    length
[inline]
 

Method to allocate memory for storing a TL cluster association with a MT cluster, at a given time sample (comprised in method "TLAlloc(...)").

allocation of a number "lenght" of associations. These memory spaces are pushed back at the end of the vectors.

Parameters:
t  image time samples
length  number of TL cluster associations with a MT cluster

Definition at line 203 of file DynaClass.hh.

void DynaClass::TLAllocCenterCov int    t,
int    length
[inline]
 

Method to allocate memory for storing a TL cluster attributes, at a given time sample (comprised in method "TLAlloc(...)").

allocation of a number "lenght" of associations. These memory spaces are pushed back at the end of the vectors.

Parameters:
t  image time samples
length  number of TL cluster associations with a MT cluster

Definition at line 220 of file DynaClass.hh.


Member Data Documentation

vector<float*>* DynaClass::JointCentroids
 

mean vectors of the joint distribution of a MT clusters, in 2 consecutive time samples.

This attribute is used for mutual information calculation

Definition at line 41 of file DynaClass.hh.

vector<float**>* DynaClass::JointCovariances
 

Covariance matrix of the joint distribution of a MT clusters, in 2 consecutive time samples.

This attribute is used for mutual information calculation

Definition at line 45 of file DynaClass.hh.

vector<unsigned long int>* DynaClass::JointWeight
 

number of sample points belonging to the MT class
IDENTICAL to MTWeight! SHOULD NOT BE AN ARRAY BUT A SCALAR!

This attribute is used for mutual information calculation

Definition at line 50 of file DynaClass.hh.


The documentation for this class was generated from the following file:
Generated on Thu Feb 17 11:01:55 2005 for Inference of a Graph of Dynamic Cluster Trajectories by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002