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

SuperposeClass Class Reference

object which performs basic operations with MT and TL spatial classes. More...

#include <SuperposeClass.hh>

List of all members.

Public Methods

 SuperposeClass ()
virtual ~SuperposeClass ()
void AcquirePara (int t, int nb_dimension, int nb_im, int nb_Class, Image< unsigned char > *classfiles, Image< unsigned char > *Timeless_classfile)
 Method for initializing the object, particularly by defining the pointer to the image classfiles.

float DivWeight (int classIndex, int Index_TimelessClass)
 Method to quantify the number of pixel belonging to intersections of a TL and a MT spatial class.

float FlowWeight (int classIndex, int preClassIndex, int Index_TimelessClass)
 Method to quantify the flow of point between two TL classes consecutivein time.

float MTPopulation (int kMT)
 Method to quantify the weight of a given MT class.


Private Methods

unsigned long int Population (int class_index, int time)
 Number of samples attached to a given TL class.

unsigned long int SuperposedPopulation (int class_index, int time, int Index_TimelessClass)
 Number of samples belonging to the spatial intersection of a MT and an a given TL class. More...

unsigned long int FlowPopulation (int class_index, int time, int preClassIndex, int preTimeLocation, int Index_TimelessClass)
 Number of samples belonging to the spatial intersection of a MT class and to the spatial intersection of two given TL classes. More...

int SUM (int *aux, int size)
 returns the sum of an array.


Private Attributes

int TimeLocation
 Current temporal sample.

int nb_dim
 Dimensionnality of the feature space (3).

int nb_images
 number of image time samples.

int nb_TimelessClass
 number of MT clusters.

Image< unsigned char > * TempClassfiles
 TL classfiles.

Image< unsigned char > * TimelessClassfile
 MT classfiles.


Detailed Description

object which performs basic operations with MT and TL spatial classes.

The spatial constraints introduced in the probabilities of association of MT with TL clusters are calculated with the object methods : The number of pixels of the intersection of a TL and a MT spatial map, the flow of pixels between consecutive TL clusters, or the number of pixels belonging to a MT class.

Definition at line 23 of file SuperposeClass.hh.


Member Function Documentation

unsigned long int SuperposeClass::FlowPopulation int    class_index,
int    time,
int    preClassIndex,
int    preTimeLocation,
int    Index_TimelessClass
[inline, private]
 

Number of samples belonging to the spatial intersection of a MT class and to the spatial intersection of two given TL classes.

Parameters:
class_index  TL class index at time t
time  image time sample t @preClassIndex TL class index at time t-1
preClassIndex  image time sample t-1 @Index_TimelessClass MT class index
Returns:
number of pixels in the intersection of the classes

Definition at line 165 of file SuperposeClass.hh.

unsigned long int SuperposeClass::SuperposedPopulation int    class_index,
int    time,
int    Index_TimelessClass
[inline, private]
 

Number of samples belonging to the spatial intersection of a MT and an a given TL class.

Parameters:
class_index  TL class index
time  image time sample @Index_TimelessClass MT class index
Returns:
number of pixels in the intersection of the classes

Definition at line 138 of file SuperposeClass.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