Functions | |
bool | completer (REAL D1=1, REAL D2=2, REAL alpha=0, REAL w=1) |
bool | completer_add (REAL weight=1, REAL D1=1, REAL D2=2, REAL alpha=0, REAL w=1) |
bool | value (const char *val="undef") |
bool | value_add (REAL weight=1, REAL val=0) |
bool | mean (REAL value, REAL penalty_factor=-2) |
boolvec * | wmean (REAL value, const char *surface_name="*", REAL penalty_factor=-2) |
bool | leq (REAL value, REAL penalty_factor=0) |
bool | geq (REAL value, REAL penalty_factor=0) |
boolvec * | hist (const char *histogram_name="*", REAL penalty_factor=-1, size_t treshold=5) |
bool surfit::completer | ( | REAL | D1 = 1 , |
REAL | D2 = 2 , |
||
REAL | alpha = 0 , |
||
REAL | w = 1 |
||
) |
D1 | weight coefficient for rule that the resulting surface should tend to constant surface |
D2 | weight coefficient for rule that the resulting surface should tend to plane surface |
alpha | anisotropy angle (degrees) |
w | anisotropy factor |
where
bool surfit::completer_add | ( | REAL | weight = 1 , |
REAL | D1 = 1 , |
||
REAL | D2 = 2 , |
||
REAL | alpha = 0 , |
||
REAL | w = 1 |
||
) |
weight | informational weight for this rule |
D1 | weight coefficient for rule that the resulting surface should tend to constant surface |
D2 | weight coefficient for rule that the resulting surface should tend to plane surface |
alpha | anisotropy angle (degrees) |
w | anisotropy factor |
bool surfit::geq | ( | REAL | value, |
REAL | penalty_factor = 0 |
||
) |
value | resulting surface values should be lower than or equal to this real number |
penalty_factor | parameter for penalty algorithm |
where (i,j) - indices of the cells, z - constant value
boolvec* surfit::hist | ( | const char * | histogram_name = "*" , |
REAL | penalty_factor = -1 , |
||
size_t | treshold = 5 |
||
) |
histogram_name | desired histogram |
penalty_factor | parameter for penalty algorithm |
treshold | another parameter for changing if something going wrong :) |
where histeq is the histogram equalization algorithm described in the book R. Gonzalez and R. Woods Digital Image Processing, Addison-Wesley Publishing Company, 1992, Chap. 4.
bool surfit::leq | ( | REAL | value, |
REAL | penalty_factor = 0 |
||
) |
value | resulting surface values should be lower than or equal to this real number |
penalty_factor | parameter for penalty algorithm |
where (i,j) - indices of the cells, z - constant value
bool surfit::mean | ( | REAL | value, |
REAL | penalty_factor = -2 |
||
) |
where (i,j) - indices of the cells, Q - total number of cells, m - desired mean value
bool surfit::value | ( | const char * | val = "undef" | ) |
val | real number for surface approximation. Also you may set val to "undef" string to fill surface with undef_value values. |
bool surfit::value_add | ( | REAL | weight = 1 , |
REAL | val = 0 |
||
) |
weight | informational weight for this rule |
val | real number for surface approximation |
where - informational weight,
boolvec* surfit::wmean | ( | REAL | value, |
const char * | surface_name = "*" , |
||
REAL | penalty_factor = -2 |
||
) |
where (i,j) - indices of the cells, - weighted surface value for the (i,j) cell, m - desired weighted mean value
surfit: gridding and contouring software.