#include <TSpectrumTransform.h>
Inheritance diagram for TSpectrumTransform:
Public Types | |
enum | |
enum | |
Public Member Functions | |
TSpectrumTransform () | |
TSpectrumTransform (Int_t size) | |
virtual | ~TSpectrumTransform () |
void | Enhance (const float *source, float *destVector) |
void | FilterZonal (const float *source, float *destVector) |
void | SetDirection (Int_t direction) |
void | SetEnhanceCoeff (Float_t enhanceCoeff) |
void | SetFilterCoeff (Float_t filterCoeff) |
void | SetRegion (Int_t xmin, Int_t xmax) |
void | SetTransformType (Int_t transType, Int_t degree) |
void | Transform (const float *source, float *destVector) |
TSpectrumTransform () | |
TSpectrumTransform (Int_t size) | |
virtual | ~TSpectrumTransform () |
void | Enhance (const float *source, float *destVector) |
void | FilterZonal (const float *source, float *destVector) |
void | SetDirection (Int_t direction) |
void | SetEnhanceCoeff (Float_t enhanceCoeff) |
void | SetFilterCoeff (Float_t filterCoeff) |
void | SetRegion (Int_t xmin, Int_t xmax) |
void | SetTransformType (Int_t transType, Int_t degree) |
void | Transform (const float *source, float *destVector) |
Protected Member Functions | |
void | BitReverse (float *working_space, Int_t num) |
void | BitReverseHaar (float *working_space, Int_t shift, Int_t num, Int_t start) |
void | Fourier (float *working_space, Int_t num, Int_t hartley, Int_t direction, Int_t zt_clear) |
Int_t | GeneralExe (float *working_space, Int_t zt_clear, Int_t num, Int_t degree, Int_t type) |
Int_t | GeneralInv (float *working_space, Int_t num, Int_t degree, Int_t type) |
void | Haar (float *working_space, Int_t num, Int_t direction) |
void | Walsh (float *working_space, Int_t num) |
void | BitReverse (float *working_space, Int_t num) |
void | BitReverseHaar (float *working_space, Int_t shift, Int_t num, Int_t start) |
void | Fourier (float *working_space, Int_t num, Int_t hartley, Int_t direction, Int_t zt_clear) |
Int_t | GeneralExe (float *working_space, Int_t zt_clear, Int_t num, Int_t degree, Int_t type) |
Int_t | GeneralInv (float *working_space, Int_t num, Int_t degree, Int_t type) |
void | Haar (float *working_space, Int_t num, Int_t direction) |
void | Walsh (float *working_space, Int_t num) |
Protected Attributes | |
Int_t | fSize |
Int_t | fTransformType |
Int_t | fDegree |
Int_t | fDirection |
Int_t | fXmin |
Int_t | fXmax |
Float_t | fFilterCoeff |
Float_t | fEnhanceCoeff |
Definition at line 32 of file TSpectrumTransform.h.
anonymous enum |
Definition at line 45 of file TSpectrumTransform.h.
anonymous enum |
Definition at line 45 of file TSpectrumTransform.h.
TSpectrumTransform::TSpectrumTransform | ( | ) |
TSpectrumTransform::TSpectrumTransform | ( | Int_t | size | ) |
Definition at line 54 of file TSpectrumTransform.cxx.
References TObject::Error(), fDegree, fDirection, fEnhanceCoeff, fFilterCoeff, fSize, fTransformType, fXmax, fXmin, j, kTransformCos, kTransformForward, and n.
TSpectrumTransform::~TSpectrumTransform | ( | ) | [virtual] |
Definition at line 85 of file TSpectrumTransform.cxx.
TSpectrumTransform::TSpectrumTransform | ( | ) |
TSpectrumTransform::TSpectrumTransform | ( | Int_t | size | ) |
virtual TSpectrumTransform::~TSpectrumTransform | ( | ) | [virtual] |
void TSpectrumTransform::BitReverse | ( | float * | working_space, | |
Int_t | num | |||
) | [protected] |
Definition at line 231 of file TSpectrumTransform.cxx.
References i.
Referenced by Enhance(), FilterZonal(), and Transform().
void TSpectrumTransform::BitReverseHaar | ( | float * | working_space, | |
Int_t | shift, | |||
Int_t | num, | |||
Int_t | start | |||
) | [protected] |
Definition at line 396 of file TSpectrumTransform.cxx.
References i.
Referenced by Enhance(), FilterZonal(), and Transform().
void TSpectrumTransform::Fourier | ( | float * | working_space, | |
Int_t | num, | |||
Int_t | hartley, | |||
Int_t | direction, | |||
Int_t | zt_clear | |||
) | [protected] |
Definition at line 271 of file TSpectrumTransform.cxx.
References a, b, c, TMath::Cos(), d, i, j, k, kTransformForward, kTransformInverse, m, pi, RootCsg::sign(), TMath::Sin(), and TMath::Sqrt().
Referenced by Enhance(), FilterZonal(), and Transform().
int TSpectrumTransform::GeneralExe | ( | float * | working_space, | |
Int_t | zt_clear, | |||
Int_t | num, | |||
Int_t | degree, | |||
Int_t | type | |||
) | [protected] |
Definition at line 444 of file TSpectrumTransform.cxx.
References a, b, c, TMath::Cos(), d, i, j, k, kTransformCosHaar, kTransformFourierHaar, kTransformSinHaar, kTransformWalshHaar, m, pi, TMath::Sin(), and TMath::Sqrt().
Referenced by Enhance(), FilterZonal(), and Transform().
int TSpectrumTransform::GeneralInv | ( | float * | working_space, | |
Int_t | num, | |||
Int_t | degree, | |||
Int_t | type | |||
) | [protected] |
Definition at line 565 of file TSpectrumTransform.cxx.
References a, b, c, TMath::Cos(), d, i, j, k, kTransformCosHaar, kTransformFourierHaar, kTransformSinHaar, kTransformWalshHaar, m, pi, TMath::Sin(), and TMath::Sqrt().
Referenced by Enhance(), FilterZonal(), and Transform().
Definition at line 91 of file TSpectrumTransform.cxx.
References a, b, c, i, int, j, kTransformForward, kTransformInverse, m, TMath::Power(), TMath::Sqrt(), and val.
Referenced by Enhance(), FilterZonal(), and Transform().
void TSpectrumTransform::Walsh | ( | float * | working_space, | |
Int_t | num | |||
) | [protected] |
Definition at line 174 of file TSpectrumTransform.cxx.
References a, i, m, and TMath::Sqrt().
Referenced by Enhance(), FilterZonal(), and Transform().
void TSpectrumTransform::Enhance | ( | const float * | source, | |
float * | destVector | |||
) |
Definition at line 2038 of file TSpectrumTransform.cxx.
References a, b, BitReverse(), BitReverseHaar(), TMath::Cos(), double, fDegree, fEnhanceCoeff, Fourier(), fSize, fTransformType, fXmax, fXmin, GeneralExe(), GeneralInv(), Haar(), i, int, j, k, kTransformCos, kTransformCosHaar, kTransformCosWalsh, kTransformForward, kTransformFourier, kTransformFourierHaar, kTransformFourierWalsh, kTransformHaar, kTransformHartley, kTransformInverse, kTransformSin, kTransformSinHaar, kTransformSinWalsh, kTransformWalsh, kTransformWalshHaar, l, m, pi, TMath::Power(), TMath::Sin(), TMath::Sqrt(), val, and Walsh().
void TSpectrumTransform::FilterZonal | ( | const float * | source, | |
float * | destVector | |||
) |
Definition at line 1429 of file TSpectrumTransform.cxx.
References a, b, BitReverse(), BitReverseHaar(), TMath::Cos(), double, fDegree, fFilterCoeff, Fourier(), fSize, fTransformType, fXmax, fXmin, GeneralExe(), GeneralInv(), Haar(), i, int, j, k, kTransformCos, kTransformCosHaar, kTransformCosWalsh, kTransformForward, kTransformFourier, kTransformFourierHaar, kTransformFourierWalsh, kTransformHaar, kTransformHartley, kTransformInverse, kTransformSin, kTransformSinHaar, kTransformSinWalsh, kTransformWalsh, kTransformWalshHaar, l, m, pi, TMath::Power(), TMath::Sin(), TMath::Sqrt(), val, and Walsh().
void TSpectrumTransform::SetDirection | ( | Int_t | direction | ) |
Definition at line 2693 of file TSpectrumTransform.cxx.
References TObject::Error(), fDirection, kTransformForward, and kTransformInverse.
void TSpectrumTransform::SetEnhanceCoeff | ( | Float_t | enhanceCoeff | ) |
void TSpectrumTransform::SetFilterCoeff | ( | Float_t | filterCoeff | ) |
Definition at line 2676 of file TSpectrumTransform.cxx.
References TObject::Error(), fSize, fXmax, and fXmin.
Definition at line 2644 of file TSpectrumTransform.cxx.
References TObject::Error(), fDegree, fSize, fTransformType, j, kTransformFourierWalsh, kTransformSinHaar, and n.
void TSpectrumTransform::Transform | ( | const float * | source, | |
float * | destVector | |||
) |
Definition at line 690 of file TSpectrumTransform.cxx.
References a, b, BitReverse(), BitReverseHaar(), TMath::Cos(), double, fDegree, fDirection, Fourier(), fSize, fTransformType, GeneralExe(), GeneralInv(), Haar(), i, int, j, k, kTransformCos, kTransformCosHaar, kTransformCosWalsh, kTransformForward, kTransformFourier, kTransformFourierHaar, kTransformFourierWalsh, kTransformHaar, kTransformHartley, kTransformInverse, kTransformSin, kTransformSinHaar, kTransformSinWalsh, kTransformWalsh, kTransformWalshHaar, l, m, pi, TMath::Power(), TMath::Sin(), TMath::Sqrt(), val, and Walsh().
void TSpectrumTransform::BitReverse | ( | float * | working_space, | |
Int_t | num | |||
) | [protected] |
void TSpectrumTransform::BitReverseHaar | ( | float * | working_space, | |
Int_t | shift, | |||
Int_t | num, | |||
Int_t | start | |||
) | [protected] |
void TSpectrumTransform::Fourier | ( | float * | working_space, | |
Int_t | num, | |||
Int_t | hartley, | |||
Int_t | direction, | |||
Int_t | zt_clear | |||
) | [protected] |
Int_t TSpectrumTransform::GeneralExe | ( | float * | working_space, | |
Int_t | zt_clear, | |||
Int_t | num, | |||
Int_t | degree, | |||
Int_t | type | |||
) | [protected] |
Int_t TSpectrumTransform::GeneralInv | ( | float * | working_space, | |
Int_t | num, | |||
Int_t | degree, | |||
Int_t | type | |||
) | [protected] |
void TSpectrumTransform::Walsh | ( | float * | working_space, | |
Int_t | num | |||
) | [protected] |
void TSpectrumTransform::Enhance | ( | const float * | source, | |
float * | destVector | |||
) |
void TSpectrumTransform::FilterZonal | ( | const float * | source, | |
float * | destVector | |||
) |
void TSpectrumTransform::SetDirection | ( | Int_t | direction | ) |
void TSpectrumTransform::SetEnhanceCoeff | ( | Float_t | enhanceCoeff | ) |
void TSpectrumTransform::SetFilterCoeff | ( | Float_t | filterCoeff | ) |
void TSpectrumTransform::Transform | ( | const float * | source, | |
float * | destVector | |||
) |
Int_t TSpectrumTransform::fSize [protected] |
Definition at line 35 of file TSpectrumTransform.h.
Referenced by Enhance(), FilterZonal(), SetRegion(), SetTransformType(), Transform(), and TSpectrumTransform().
Int_t TSpectrumTransform::fTransformType [protected] |
Definition at line 36 of file TSpectrumTransform.h.
Referenced by Enhance(), FilterZonal(), SetTransformType(), Transform(), and TSpectrumTransform().
Int_t TSpectrumTransform::fDegree [protected] |
Definition at line 37 of file TSpectrumTransform.h.
Referenced by Enhance(), FilterZonal(), SetTransformType(), Transform(), and TSpectrumTransform().
Int_t TSpectrumTransform::fDirection [protected] |
Definition at line 38 of file TSpectrumTransform.h.
Referenced by SetDirection(), Transform(), and TSpectrumTransform().
Int_t TSpectrumTransform::fXmin [protected] |
Definition at line 39 of file TSpectrumTransform.h.
Referenced by Enhance(), FilterZonal(), SetRegion(), and TSpectrumTransform().
Int_t TSpectrumTransform::fXmax [protected] |
Definition at line 40 of file TSpectrumTransform.h.
Referenced by Enhance(), FilterZonal(), SetRegion(), and TSpectrumTransform().
Float_t TSpectrumTransform::fFilterCoeff [protected] |
Definition at line 41 of file TSpectrumTransform.h.
Referenced by FilterZonal(), SetFilterCoeff(), and TSpectrumTransform().
Float_t TSpectrumTransform::fEnhanceCoeff [protected] |
Definition at line 42 of file TSpectrumTransform.h.
Referenced by Enhance(), SetEnhanceCoeff(), and TSpectrumTransform().