#include <stdalgorithm.hpp>
Definition at line 16 of file stdalgorithm.hpp.
Public Member Functions | |
Parabelzentrum (const bildfloat &bild_, int pktmax_) | |
~Parabelzentrum () | |
void | estimate (double x, double y) |
void | operator() (int x, int y) |
void | clear () |
bool | fit () |
double | x () |
double | y () |
double | height () |
double | s_x () |
double | s_y () |
double | s_height () |
Public Attributes | |
double * | koeff |
double * | errors |
double * | rel_errors |
Private Attributes | |
const bildfloat & | bild |
int | pktzahl |
int | pktmax |
double ** | R |
double * | f |
double | x_cent |
double | y_cent |
double | x_estimate |
double | y_estimate |
double | s_xcent |
double | s_ycent |
minheap< double > | xmax |
minheap< double > | ymax |
maxheap< double > | xmin |
maxheap< double > | ymin |
Static Private Attributes | |
static const int | order = 5 |
Parabelzentrum::Parabelzentrum | ( | const bildfloat & | bild_, | |
int | pktmax_ | |||
) |
Definition at line 12 of file stdalgorithm.cpp.
References errors, f, koeff, order, pktmax, pktzahl, R, rel_errors, reserve_2D(), x_estimate, and y_estimate.
Parabelzentrum::~Parabelzentrum | ( | ) |
Definition at line 24 of file stdalgorithm.cpp.
References delete_2D(), errors, f, koeff, R, and rel_errors.
void Parabelzentrum::estimate | ( | double | x, | |
double | y | |||
) |
Definition at line 32 of file stdalgorithm.cpp.
References pktzahl, STHROW, x_estimate, and y_estimate.
void Parabelzentrum::operator() | ( | int | x, | |
int | y | |||
) |
Definition at line 38 of file stdalgorithm.cpp.
References bild, f, pktmax, pktzahl, minmaxheap< T, cmps, cmpb >::put(), R, STHROW, x_estimate, xmax, xmin, y_estimate, ymax, and ymin.
void Parabelzentrum::clear | ( | ) |
Definition at line 61 of file stdalgorithm.cpp.
References minmaxheap< T, cmps, cmpb >::clear(), pktzahl, x_cent, x_estimate, xmax, xmin, y_cent, y_estimate, ymax, and ymin.
bool Parabelzentrum::fit | ( | ) |
double Parabelzentrum::x | ( | ) | [inline] |
Definition at line 51 of file stdalgorithm.hpp.
References x_cent, and x_estimate.
Referenced by execute_region(), fit(), vec2d::operator*(), vec2d::operator+(), vec2d::operator-(), vec2d::operator/(), and vec2d::operator/=().
double Parabelzentrum::y | ( | ) | [inline] |
Definition at line 53 of file stdalgorithm.hpp.
References y_cent, and y_estimate.
Referenced by execute_region(), fit(), vec2d::operator*(), vec2d::operator+(), vec2d::operator-(), vec2d::operator/(), and vec2d::operator/=().
double Parabelzentrum::height | ( | ) | [inline] |
double Parabelzentrum::s_x | ( | ) | [inline] |
double Parabelzentrum::s_y | ( | ) | [inline] |
double Parabelzentrum::s_height | ( | ) | [inline] |
const bildfloat& Parabelzentrum::bild [private] |
int Parabelzentrum::pktzahl [private] |
Definition at line 20 of file stdalgorithm.hpp.
Referenced by clear(), estimate(), fit(), mean_avg::operator()(), operator()(), and Parabelzentrum().
int Parabelzentrum::pktmax [private] |
double** Parabelzentrum::R [private] |
Definition at line 22 of file stdalgorithm.hpp.
Referenced by fit(), operator()(), Parabelzentrum(), and ~Parabelzentrum().
double* Parabelzentrum::f [private] |
Definition at line 23 of file stdalgorithm.hpp.
Referenced by fit(), operator()(), Parabelzentrum(), and ~Parabelzentrum().
const int Parabelzentrum::order = 5 [static, private] |
double Parabelzentrum::x_cent [private] |
double Parabelzentrum::y_cent [private] |
double Parabelzentrum::x_estimate [private] |
Definition at line 27 of file stdalgorithm.hpp.
Referenced by clear(), estimate(), operator()(), Parabelzentrum(), and x().
double Parabelzentrum::y_estimate [private] |
Definition at line 27 of file stdalgorithm.hpp.
Referenced by clear(), estimate(), operator()(), Parabelzentrum(), and y().
double Parabelzentrum::s_xcent [private] |
double Parabelzentrum::s_ycent [private] |
minheap<double> Parabelzentrum::xmax [private] |
Definition at line 29 of file stdalgorithm.hpp.
Referenced by clear(), execute_hubbel(), fit(), and operator()().
minheap<double> Parabelzentrum::ymax [private] |
maxheap<double> Parabelzentrum::xmin [private] |
Definition at line 30 of file stdalgorithm.hpp.
Referenced by clear(), execute_hubbel(), fit(), and operator()().
maxheap<double> Parabelzentrum::ymin [private] |
double* Parabelzentrum::koeff |
Definition at line 32 of file stdalgorithm.hpp.
Referenced by fit(), height(), Parabelzentrum(), s_height(), and ~Parabelzentrum().
double* Parabelzentrum::errors |
Definition at line 33 of file stdalgorithm.hpp.
Referenced by fit(), Parabelzentrum(), s_height(), and ~Parabelzentrum().
double* Parabelzentrum::rel_errors |
Definition at line 34 of file stdalgorithm.hpp.
Referenced by fit(), Parabelzentrum(), s_height(), and ~Parabelzentrum().