Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

vertex_data_color::vertex_value Class Reference

#include <vertex_data_color.hh>

List of all members.

Public Methods

 vertex_value ()
 Constructor.

 vertex_value (const vertex_value &)
 Copy constructor.

 vertex_value (int *, int)
 Constructor with parameters, a pointor on the vertex color value and the dim of the color array.

 ~vertex_value ()
 Destructor.

vertex_value & operator= (const vertex_value &)
 Reaffectation operator.

vertex_value reinit (double *, double *, int, int, int)
void give_color (double *)
 Access to the color sum of all the vertices merged with the vertex.

void give_squared_color (double *)
 Access to the squared color sum of all the vertices which were merged.

int give_cardinal ()
 Access to the cardinal of the vertex (number of vertices merged with it).

void give_mean (double *)
 Give the color mean of the vertex.

double give_variance ()
 Give the color varience inside the vertex.

double give_se ()
 Give the quadratic error inside the vertex.

int give_perimetre ()
 Give the perimeter of the vertex with a pixel side as unit.

int add_perimetre (int)
 Add a value to the perimeter of the vertex.


Detailed Description

Class that hold all the information of one vertex


Constructor & Destructor Documentation

vertex_data_color::vertex_value::vertex_value  
 

Constructor.

vertex_data_color::vertex_value::vertex_value const vertex_value &   
 

Copy constructor.

vertex_data_color::vertex_value::vertex_value int *   ,
int   
 

Constructor with parameters, a pointor on the vertex color value and the dim of the color array.

vertex_data_color::vertex_value::~vertex_value   [inline]
 

Destructor.


Member Function Documentation

int vertex_data_color::vertex_value::add_perimetre int   
 

Add a value to the perimeter of the vertex.

int vertex_data_color::vertex_value::give_cardinal  
 

Access to the cardinal of the vertex (number of vertices merged with it).

void vertex_data_color::vertex_value::give_color double *   
 

Access to the color sum of all the vertices merged with the vertex.

void vertex_data_color::vertex_value::give_mean double *   
 

Give the color mean of the vertex.

int vertex_data_color::vertex_value::give_perimetre  
 

Give the perimeter of the vertex with a pixel side as unit.

double vertex_data_color::vertex_value::give_se  
 

Give the quadratic error inside the vertex.

void vertex_data_color::vertex_value::give_squared_color double *   
 

Access to the squared color sum of all the vertices which were merged.

double vertex_data_color::vertex_value::give_variance  
 

Give the color varience inside the vertex.

vertex_data_color::vertex_value & vertex_data_color::vertex_value::operator= const vertex_value &   
 

Reaffectation operator.

vertex_data_color::vertex_value vertex_data_color::vertex_value::reinit double *   ,
double *   ,
int   ,
int   ,
int   
 

Reinitialiation function M1, M2, Cardinal, img_dim, perimetre


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 14:58:52 2003 for Combinatorial Pyramids by doxygen1.2.18