#include <TSpectrum2Transform.h>
Inheritance diagram for TSpectrum2Transform:
Public Types | |
enum | |
enum | |
Public Member Functions | |
TSpectrum2Transform () | |
TSpectrum2Transform (Int_t sizeX, Int_t sizeY) | |
virtual | ~TSpectrum2Transform () |
void | Enhance (const Float_t **fSource, Float_t **fDest) |
void | FilterZonal (const Float_t **fSource, Float_t **fDest) |
void | SetDirection (Int_t direction) |
void | SetEnhanceCoeff (Float_t enhanceCoeff) |
void | SetFilterCoeff (Float_t filterCoeff) |
void | SetRegion (Int_t xmin, Int_t xmax, Int_t ymin, Int_t ymax) |
void | SetTransformType (Int_t transType, Int_t degree) |
void | Transform (const Float_t **fSource, Float_t **fDest) |
TSpectrum2Transform () | |
TSpectrum2Transform (Int_t sizeX, Int_t sizeY) | |
virtual | ~TSpectrum2Transform () |
void | Enhance (const Float_t **fSource, Float_t **fDest) |
void | FilterZonal (const Float_t **fSource, Float_t **fDest) |
void | SetDirection (Int_t direction) |
void | SetEnhanceCoeff (Float_t enhanceCoeff) |
void | SetFilterCoeff (Float_t filterCoeff) |
void | SetRegion (Int_t xmin, Int_t xmax, Int_t ymin, Int_t ymax) |
void | SetTransformType (Int_t transType, Int_t degree) |
void | Transform (const Float_t **fSource, Float_t **fDest) |
Protected Member Functions | |
void | BitReverse (Float_t *working_space, Int_t num) |
void | BitReverseHaar (Float_t *working_space, Int_t shift, Int_t num, Int_t start) |
void | FourCos2 (Float_t **working_matrix, Float_t *working_vector, Int_t numx, Int_t numy, Int_t direction, Int_t type) |
void | Fourier (Float_t *working_space, Int_t num, Int_t hartley, Int_t direction, Int_t zt_clear) |
void | General2 (Float_t **working_matrix, Float_t *working_vector, Int_t numx, Int_t numy, Int_t direction, Int_t type, Int_t degree) |
Int_t | GeneralExe (Float_t *working_space, Int_t zt_clear, Int_t num, Int_t degree, Int_t type) |
Int_t | GeneralInv (Float_t *working_space, Int_t num, Int_t degree, Int_t type) |
void | Haar (Float_t *working_space, Int_t num, Int_t direction) |
void | HaarWalsh2 (Float_t **working_matrix, Float_t *working_vector, Int_t numx, Int_t numy, Int_t direction, Int_t type) |
void | Walsh (Float_t *working_space, Int_t num) |
void | BitReverse (Float_t *working_space, Int_t num) |
void | BitReverseHaar (Float_t *working_space, Int_t shift, Int_t num, Int_t start) |
void | FourCos2 (Float_t **working_matrix, Float_t *working_vector, Int_t numx, Int_t numy, Int_t direction, Int_t type) |
void | Fourier (Float_t *working_space, Int_t num, Int_t hartley, Int_t direction, Int_t zt_clear) |
void | General2 (Float_t **working_matrix, Float_t *working_vector, Int_t numx, Int_t numy, Int_t direction, Int_t type, Int_t degree) |
Int_t | GeneralExe (Float_t *working_space, Int_t zt_clear, Int_t num, Int_t degree, Int_t type) |
Int_t | GeneralInv (Float_t *working_space, Int_t num, Int_t degree, Int_t type) |
void | Haar (Float_t *working_space, Int_t num, Int_t direction) |
void | HaarWalsh2 (Float_t **working_matrix, Float_t *working_vector, Int_t numx, Int_t numy, Int_t direction, Int_t type) |
void | Walsh (Float_t *working_space, Int_t num) |
Protected Attributes | |
Int_t | fSizeX |
Int_t | fSizeY |
Int_t | fTransformType |
Int_t | fDegree |
Int_t | fDirection |
Int_t | fXmin |
Int_t | fXmax |
Int_t | fYmin |
Int_t | fYmax |
Float_t | fFilterCoeff |
Float_t | fEnhanceCoeff |
Definition at line 30 of file TSpectrum2Transform.h.
anonymous enum |
Definition at line 44 of file TSpectrum2Transform.h.
anonymous enum |
Definition at line 44 of file TSpectrum2Transform.h.
TSpectrum2Transform::TSpectrum2Transform | ( | ) |
Definition at line 56 of file TSpectrum2Transform.cxx.
References TObject::Error(), fDegree, fDirection, fEnhanceCoeff, fFilterCoeff, fSizeX, fSizeY, fTransformType, fXmax, fXmin, fYmax, fYmin, kTransformCos, kTransformForward, and n.
TSpectrum2Transform::~TSpectrum2Transform | ( | ) | [virtual] |
Definition at line 99 of file TSpectrum2Transform.cxx.
TSpectrum2Transform::TSpectrum2Transform | ( | ) |
virtual TSpectrum2Transform::~TSpectrum2Transform | ( | ) | [virtual] |
void TSpectrum2Transform::FourCos2 | ( | Float_t ** | working_matrix, | |
Float_t * | working_vector, | |||
Int_t | numx, | |||
Int_t | numy, | |||
Int_t | direction, | |||
Int_t | type | |||
) | [protected] |
Definition at line 796 of file TSpectrum2Transform.cxx.
References TMath::Cos(), Fourier(), i, j, kTransformCos, kTransformForward, kTransformFourier, kTransformHartley, kTransformInverse, kTransformSin, n, pi, TMath::Sin(), size, and TMath::Sqrt().
Referenced by Enhance(), FilterZonal(), and Transform().
void TSpectrum2Transform::Fourier | ( | Float_t * | working_space, | |
Int_t | num, | |||
Int_t | hartley, | |||
Int_t | direction, | |||
Int_t | zt_clear | |||
) | [protected] |
Definition at line 287 of file TSpectrum2Transform.cxx.
References a, b, c, TMath::Cos(), d, i, j, k, kTransformForward, kTransformInverse, m, pi, RootCsg::sign(), TMath::Sin(), and TMath::Sqrt().
Referenced by FourCos2().
void TSpectrum2Transform::General2 | ( | Float_t ** | working_matrix, | |
Float_t * | working_vector, | |||
Int_t | numx, | |||
Int_t | numy, | |||
Int_t | direction, | |||
Int_t | type, | |||
Int_t | degree | |||
) | [protected] |
Definition at line 1066 of file TSpectrum2Transform.cxx.
References a, b, BitReverseHaar(), TMath::Cos(), GeneralExe(), GeneralInv(), i, j, kTransformCosHaar, kTransformCosWalsh, kTransformForward, kTransformFourierHaar, kTransformFourierWalsh, kTransformInverse, kTransformSinHaar, kTransformSinWalsh, kTransformWalshHaar, l, m, pi, TMath::Power(), TMath::Sin(), TMath::Sqrt(), and val.
Referenced by Enhance(), FilterZonal(), and Transform().
Int_t TSpectrum2Transform::GeneralExe | ( | Float_t * | working_space, | |
Int_t | zt_clear, | |||
Int_t | num, | |||
Int_t | degree, | |||
Int_t | type | |||
) | [protected] |
Definition at line 460 of file TSpectrum2Transform.cxx.
References a, b, c, TMath::Cos(), d, i, j, k, kTransformCosHaar, kTransformFourierHaar, kTransformSinHaar, kTransformWalshHaar, m, pi, TMath::Sin(), and TMath::Sqrt().
Referenced by General2().
Int_t TSpectrum2Transform::GeneralInv | ( | Float_t * | working_space, | |
Int_t | num, | |||
Int_t | degree, | |||
Int_t | type | |||
) | [protected] |
Definition at line 581 of file TSpectrum2Transform.cxx.
References a, b, c, TMath::Cos(), d, i, j, k, kTransformCosHaar, kTransformFourierHaar, kTransformSinHaar, kTransformWalshHaar, m, pi, TMath::Sin(), and TMath::Sqrt().
Referenced by General2().
Definition at line 107 of file TSpectrum2Transform.cxx.
References a, b, c, i, j, kTransformForward, kTransformInverse, m, TMath::Power(), TMath::Sqrt(), and val.
Referenced by HaarWalsh2().
void TSpectrum2Transform::HaarWalsh2 | ( | Float_t ** | working_matrix, | |
Float_t * | working_vector, | |||
Int_t | numx, | |||
Int_t | numy, | |||
Int_t | direction, | |||
Int_t | type | |||
) | [protected] |
Definition at line 702 of file TSpectrum2Transform.cxx.
References BitReverse(), Haar(), i, j, kTransformForward, kTransformHaar, kTransformInverse, kTransformWalsh, and Walsh().
Referenced by Enhance(), FilterZonal(), and Transform().
Definition at line 190 of file TSpectrum2Transform.cxx.
References a, i, m, and TMath::Sqrt().
Referenced by HaarWalsh2().
Definition at line 2716 of file TSpectrum2Transform.cxx.
References a, fDegree, fEnhanceCoeff, FourCos2(), fSizeX, fSizeY, fTransformType, fXmin, fYmax, fYmin, General2(), HaarWalsh2(), i, j, kTransformCos, kTransformCosHaar, kTransformCosWalsh, kTransformForward, kTransformFourier, kTransformFourierHaar, kTransformFourierWalsh, kTransformHaar, kTransformHartley, kTransformInverse, kTransformSin, kTransformSinHaar, kTransformSinWalsh, kTransformWalsh, kTransformWalshHaar, TMath::Max(), and size.
Definition at line 2272 of file TSpectrum2Transform.cxx.
References a, fDegree, fFilterCoeff, FourCos2(), fSizeX, fSizeY, fTransformType, fXmin, fYmax, fYmin, General2(), HaarWalsh2(), i, j, kTransformCos, kTransformCosHaar, kTransformCosWalsh, kTransformForward, kTransformFourier, kTransformFourierHaar, kTransformFourierWalsh, kTransformHaar, kTransformHartley, kTransformInverse, kTransformSin, kTransformSinHaar, kTransformSinWalsh, kTransformWalsh, kTransformWalshHaar, TMath::Max(), and size.
void TSpectrum2Transform::SetDirection | ( | Int_t | direction | ) |
Definition at line 3203 of file TSpectrum2Transform.cxx.
References TObject::Error(), fDirection, kTransformForward, and kTransformInverse.
void TSpectrum2Transform::SetEnhanceCoeff | ( | Float_t | enhanceCoeff | ) |
void TSpectrum2Transform::SetFilterCoeff | ( | Float_t | filterCoeff | ) |
Definition at line 3180 of file TSpectrum2Transform.cxx.
References TObject::Error(), fSizeX, fSizeY, fXmax, fXmin, fYmax, and fYmin.
Definition at line 3142 of file TSpectrum2Transform.cxx.
References TObject::Error(), fDegree, fSizeX, fSizeY, fTransformType, kTransformFourierWalsh, kTransformSinHaar, and n.
Definition at line 1694 of file TSpectrum2Transform.cxx.
References fDegree, fDirection, FourCos2(), fSizeX, fSizeY, fTransformType, General2(), HaarWalsh2(), i, j, kTransformCos, kTransformCosHaar, kTransformCosWalsh, kTransformForward, kTransformFourier, kTransformFourierHaar, kTransformFourierWalsh, kTransformHaar, kTransformHartley, kTransformInverse, kTransformSin, kTransformSinHaar, kTransformSinWalsh, kTransformWalsh, kTransformWalshHaar, TMath::Max(), and size.
void TSpectrum2Transform::BitReverseHaar | ( | Float_t * | working_space, | |
Int_t | shift, | |||
Int_t | num, | |||
Int_t | start | |||
) | [protected] |
void TSpectrum2Transform::FourCos2 | ( | Float_t ** | working_matrix, | |
Float_t * | working_vector, | |||
Int_t | numx, | |||
Int_t | numy, | |||
Int_t | direction, | |||
Int_t | type | |||
) | [protected] |
void TSpectrum2Transform::Fourier | ( | Float_t * | working_space, | |
Int_t | num, | |||
Int_t | hartley, | |||
Int_t | direction, | |||
Int_t | zt_clear | |||
) | [protected] |
void TSpectrum2Transform::General2 | ( | Float_t ** | working_matrix, | |
Float_t * | working_vector, | |||
Int_t | numx, | |||
Int_t | numy, | |||
Int_t | direction, | |||
Int_t | type, | |||
Int_t | degree | |||
) | [protected] |
Int_t TSpectrum2Transform::GeneralExe | ( | Float_t * | working_space, | |
Int_t | zt_clear, | |||
Int_t | num, | |||
Int_t | degree, | |||
Int_t | type | |||
) | [protected] |
Int_t TSpectrum2Transform::GeneralInv | ( | Float_t * | working_space, | |
Int_t | num, | |||
Int_t | degree, | |||
Int_t | type | |||
) | [protected] |
void TSpectrum2Transform::HaarWalsh2 | ( | Float_t ** | working_matrix, | |
Float_t * | working_vector, | |||
Int_t | numx, | |||
Int_t | numy, | |||
Int_t | direction, | |||
Int_t | type | |||
) | [protected] |
void TSpectrum2Transform::SetDirection | ( | Int_t | direction | ) |
void TSpectrum2Transform::SetEnhanceCoeff | ( | Float_t | enhanceCoeff | ) |
void TSpectrum2Transform::SetFilterCoeff | ( | Float_t | filterCoeff | ) |
Int_t TSpectrum2Transform::fSizeX [protected] |
Definition at line 32 of file TSpectrum2Transform.h.
Referenced by Enhance(), FilterZonal(), SetRegion(), SetTransformType(), Transform(), and TSpectrum2Transform().
Int_t TSpectrum2Transform::fSizeY [protected] |
Definition at line 33 of file TSpectrum2Transform.h.
Referenced by Enhance(), FilterZonal(), SetRegion(), SetTransformType(), Transform(), and TSpectrum2Transform().
Int_t TSpectrum2Transform::fTransformType [protected] |
Definition at line 34 of file TSpectrum2Transform.h.
Referenced by Enhance(), FilterZonal(), SetTransformType(), Transform(), and TSpectrum2Transform().
Int_t TSpectrum2Transform::fDegree [protected] |
Definition at line 35 of file TSpectrum2Transform.h.
Referenced by Enhance(), FilterZonal(), SetTransformType(), Transform(), and TSpectrum2Transform().
Int_t TSpectrum2Transform::fDirection [protected] |
Definition at line 36 of file TSpectrum2Transform.h.
Referenced by SetDirection(), Transform(), and TSpectrum2Transform().
Int_t TSpectrum2Transform::fXmin [protected] |
Definition at line 37 of file TSpectrum2Transform.h.
Referenced by Enhance(), FilterZonal(), SetRegion(), and TSpectrum2Transform().
Int_t TSpectrum2Transform::fXmax [protected] |
Definition at line 38 of file TSpectrum2Transform.h.
Referenced by SetRegion(), and TSpectrum2Transform().
Int_t TSpectrum2Transform::fYmin [protected] |
Definition at line 39 of file TSpectrum2Transform.h.
Referenced by Enhance(), FilterZonal(), SetRegion(), and TSpectrum2Transform().
Int_t TSpectrum2Transform::fYmax [protected] |
Definition at line 40 of file TSpectrum2Transform.h.
Referenced by Enhance(), FilterZonal(), SetRegion(), and TSpectrum2Transform().
Float_t TSpectrum2Transform::fFilterCoeff [protected] |
Definition at line 41 of file TSpectrum2Transform.h.
Referenced by FilterZonal(), SetFilterCoeff(), and TSpectrum2Transform().
Float_t TSpectrum2Transform::fEnhanceCoeff [protected] |
Definition at line 42 of file TSpectrum2Transform.h.
Referenced by Enhance(), SetEnhanceCoeff(), and TSpectrum2Transform().