#include "vtkImageDecomposeFilter.h"
Go to the source code of this file.
Classes | |
struct | vtkImageComplex |
class | vtkImageFourierFilter |
Superclass that implements complex numbers. More... | |
Defines | |
#define | vtkImageComplexEuclidSet(C, R, I) |
#define | vtkImageComplexPolarSet(C, M, P) |
#define | vtkImageComplexPrint(C) printf("(%.3f, %.3f)", (C).Real, (C).Imag) |
#define | vtkImageComplexScale(cOut, S, cIn) |
#define | vtkImageComplexConjugate(cIn, cOut) |
#define | vtkImageComplexAdd(C1, C2, cOut) |
#define | vtkImageComplexSubtract(C1, C2, cOut) |
#define | vtkImageComplexMultiply(C1, C2, cOut) |
#define | vtkImageComplexExponential(cIn, cOut) |
#define vtkImageComplexEuclidSet | ( | C, | |||
R, | |||||
I | ) |
#define vtkImageComplexPolarSet | ( | C, | |||
M, | |||||
P | ) |
Value:
(C).Real = (M)*cos(P); \ (C).Imag = (M)*sin(P)
Definition at line 47 of file vtkImageFourierFilter.h.
#define vtkImageComplexPrint | ( | C | ) | printf("(%.3f, %.3f)", (C).Real, (C).Imag) |
Definition at line 51 of file vtkImageFourierFilter.h.
#define vtkImageComplexScale | ( | cOut, | |||
S, | |||||
cIn | ) |
Value:
(cOut).Real = (cIn).Real * (S); \ (cOut).Imag = (cIn).Imag * (S)
Definition at line 54 of file vtkImageFourierFilter.h.
#define vtkImageComplexConjugate | ( | cIn, | |||
cOut | ) |
Value:
(cOut).Imag = (cIn).Imag * -1.0; \ (cOut).Real = (cIn).Real
Definition at line 58 of file vtkImageFourierFilter.h.
#define vtkImageComplexAdd | ( | C1, | |||
C2, | |||||
cOut | ) |
Value:
(cOut).Real = (C1).Real + (C2).Real; \ (cOut).Imag = (C1).Imag + (C2).Imag
Definition at line 62 of file vtkImageFourierFilter.h.
#define vtkImageComplexSubtract | ( | C1, | |||
C2, | |||||
cOut | ) |
Value:
(cOut).Real = (C1).Real - (C2).Real; \ (cOut).Imag = (C1).Imag - (C2).Imag
Definition at line 66 of file vtkImageFourierFilter.h.
#define vtkImageComplexMultiply | ( | C1, | |||
C2, | |||||
cOut | ) |
Value:
{ \ vtkImageComplex _vtkImageComplexMultiplyTemp; \ _vtkImageComplexMultiplyTemp.Real = (C1).Real*(C2).Real-(C1).Imag*(C2).Imag;\ _vtkImageComplexMultiplyTemp.Imag = (C1).Real*(C2).Imag+(C1).Imag*(C2).Real;\ cOut = _vtkImageComplexMultiplyTemp; \ }
Definition at line 70 of file vtkImageFourierFilter.h.
#define vtkImageComplexExponential | ( | cIn, | |||
cOut | ) |
Value:
{ \
double tmp = exp(cIn.Real); \
cOut.Real = tmp * cos(cIn.Imag); \
cOut.Imag = tmp * sin(cIn.Imag); \
}
Definition at line 79 of file vtkImageFourierFilter.h.