#include <vertex_data_color.hh>
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. | |
|
|
Constructor.
|
|
|
Copy constructor.
|
|
||||||||||||
|
Constructor with parameters, a pointor on the vertex color value and the dim of the color array.
|
|
|
Destructor.
|
|
|
Add a value to the perimeter of the vertex.
|
|
|
Access to the cardinal of the vertex (number of vertices merged with it).
|
|
|
Access to the color sum of all the vertices merged with the vertex.
|
|
|
Give the color mean of the vertex.
|
|
|
Give the perimeter of the vertex with a pixel side as unit.
|
|
|
Give the quadratic error inside the vertex.
|
|
|
Access to the squared color sum of all the vertices which were merged.
|
|
|
Give the color varience inside the vertex.
|
|
|
Reaffectation operator.
|
|
||||||||||||||||||||||||
|
Reinitialiation function M1, M2, Cardinal, img_dim, perimetre |
1.2.18