CWO++library
0.32
|
Functions | |
unsigned int | CWO::Count (float a) |
unsigned int | CWO::CountNonZero () |
virtual float | CWO::Average () |
calculate the average of the real part | |
float | CWO::Average (int m, int n, int Sx, int Sy) |
virtual float | CWO::Variance () |
calculate the variance of the real part | |
float | CWO::Variance (int m, int n, int Sx, int Sy) |
float | CWO::StdDev (int m, int n, int Sx, int Sy) |
calculate the standard deviation | |
virtual void | CWO::__MaxMin (cwoComplex *a, float *max, float *min, int *max_x=nullptr, int *max_y=nullptr, int *min_x=nullptr, int *min_y=nullptr) |
float | CWO::Max (int *m=NULL, int *n=NULL) |
find maximum of the real part | |
float | CWO::Min (int *m=NULL, int *n=NULL) |
find minimum of the real part | |
int | CWO::MaxMin (float *max, float *min, int *max_x=nullptr, int *max_y=nullptr, int *min_x=nullptr, int *min_y=nullptr) |
find maxmum and minimum of the real part | |
void | CWO::VarianceMap (int sx, int sy) |
generate variance map | |
float | CWO::Histogram (int *hist, int N) |
generate histogram | |
virtual cwoComplex | CWO::TotalSum () |
Calculate total sum of real part. |
|
virtual |
calculate the average of the real part
m | : coordinate of Region of Interest(ROI) |
n | : coordinate of ROI |
Sx | : ROI size |
Sy | : ROI size |
Reimplemented in GWO.
|
virtual |
float CWO::StdDev | ( | int | m, |
int | n, | ||
int | Sx, | ||
int | Sy | ||
) |
calculate the standard deviation
float CWO::Max | ( | int * | m = NULL , |
int * | n = NULL |
||
) |
find maximum of the real part
float CWO::Min | ( | int * | m = NULL , |
int * | n = NULL |
||
) |
find minimum of the real part
int CWO::MaxMin | ( | float * | max, |
float * | min, | ||
int * | max_x = nullptr , |
||
int * | max_y = nullptr , |
||
int * | min_x = nullptr , |
||
int * | min_y = nullptr |
||
) |
find maxmum and minimum of the real part
@param *max pointer to maxmim value @param *min pointer to minimum value @param *max_x pointer to maxmim value @param *max_y pointer to minimum value @param *min_x pointer to the location of maxmim value @param *min_y pointer to the location of minimum value @return reserved
void CWO::VarianceMap | ( | int | sx, |
int | sy | ||
) |
generate variance map
sx | |
sy |
float CWO::Histogram | ( | int * | hist, |
int | N | ||
) |
|
virtual |