#include <itkMultivariateLegendrePolynomial.h>
Collaboration diagram for itk::MultivariateLegendrePolynomial:
Public Types | |
typedef Array< double > | DoubleArrayType |
typedef Array< unsigned long > | ULongArrayType |
typedef Array< long > | LongArrayType |
typedef DoubleArrayType | CoefficientArrayType |
typedef DoubleArrayType | ParametersType |
typedef ULongArrayType | DomainSizeType |
typedef LongArrayType | IndexType |
Public Methods | |
MultivariateLegendrePolynomial (unsigned int dimension, unsigned int degree, const DomainSizeType &domainSize) | |
virtual | ~MultivariateLegendrePolynomial () |
void | Initialize (void) |
unsigned int | GetDimension (void) const |
unsigned int | GetDegree (void) const |
unsigned int | GetNumberOfCoefficients (void) const |
const DomainSizeType & | GetDomainSize (void) const |
void | SetCoefficients (const CoefficientArrayType &coef) throw (CoefficientVectorSizeMismatch) |
const CoefficientArrayType * | GetCoefficients (void) const |
double | operator() (IndexType index) |
unsigned int | GetNumberOfCoefficients (void) |
unsigned int | GetNumberOfCoefficients (unsigned int dimension, unsigned int degree) |
Protected Methods | |
double | LegendreSum (const double x, int n, const CoefficientArrayType *coef, int offset=0) |
void | CalculateXCoef (double norm_y, const CoefficientArrayType *coef) |
void | CalculateYCoef (double norm_z, const CoefficientArrayType *coef) |
|
Internal coefficient storage type. Definition at line 79 of file itkMultivariateLegendrePolynomial.h. |
|
The size of the domain. Definition at line 86 of file itkMultivariateLegendrePolynomial.h. |
|
Legendre polynomial coefficients type. Definition at line 74 of file itkMultivariateLegendrePolynomial.h. |
|
Definition at line 87 of file itkMultivariateLegendrePolynomial.h. |
|
Definition at line 76 of file itkMultivariateLegendrePolynomial.h. |
|
Same as CoefficientArray This type definition will be used by EnergyFunction object. Definition at line 83 of file itkMultivariateLegendrePolynomial.h. |
|
Definition at line 75 of file itkMultivariateLegendrePolynomial.h. |
|
Constructor. |
|
Destructor. |
|
Referenced by operator()(). |
|
Referenced by operator()(). |
|
Gets Legendre polynomials' coefficients. |
|
Gets the degree (the degree of Legendre polynomials). Definition at line 109 of file itkMultivariateLegendrePolynomial.h. |
|
Gets the dimension. Definition at line 105 of file itkMultivariateLegendrePolynomial.h. |
|
Gets each dimesion's size. Definition at line 121 of file itkMultivariateLegendrePolynomial.h. |
|
Gets the number of coefficients. |
|
Gets the number of coefficients. |
|
Returns the number of coefficients of the polynomial This number is computed from the degree of the polynomial the SetCoefficients() method expects an array of this size, an exception is thrown otherwise
Definition at line 117 of file itkMultivariateLegendrePolynomial.h. |
|
Constructor calls this function. So there is no need to call separately. However, if you want to set parameters to zeros, call this. Allocates memory for the internal coefficients array and caches. |
|
Referenced by operator()(). |
|
In the case which the bias field is 2D, it returns bias value at the point which is specified by the index Definition at line 150 of file itkMultivariateLegendrePolynomial.h. References CalculateXCoef(), CalculateYCoef(), and LegendreSum(). |
|
Sets the Legendre polynomials' parameters.
|