itk::ParticleMeshBasedGeneralEntropyGradientFunction
Inherits from itk::ParticleVectorFunction< VDimension >, LightObject
Public Types
Name | |
---|---|
typedef ParticleMeshBasedGeneralEntropyGradientFunction | Self |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef ParticleVectorFunction< VDimension > | Superclass |
typedef ParticleGeneralShapeGradientMatrix< double, VDimension > | ShapeGradientType |
typedef ShapeDataType::DataType | DataType |
typedef Superclass::VectorType | VectorType |
typedef ParticleSystemType::PointType | PointType |
typedef vnl_vector< DataType > | vnl_vector_type |
typedef vnl_matrix< DataType > | vnl_matrix_type |
Public Functions
Name | |
---|---|
itkNewMacro(Self ) | |
void | SetShapeData(ShapeDataType * s) |
ShapeDataType * | GetShapeData() |
const ShapeDataType * | GetShapeData() const |
void | SetShapeGradient(ShapeGradientType * s) |
ShapeGradientType * | GetShapeGradient() |
const ShapeGradientType * | GetShapeGradient() const |
virtual VectorType | Evaluate(unsigned int , unsigned int , const ParticleSystemType * , double & , double & ) const |
virtual VectorType | Evaluate(unsigned int , unsigned int , const ParticleSystemType * , double & maxtimestep) const |
virtual double | Energy(unsigned int a, unsigned int b, const ParticleSystemType * c) const |
virtual void | BeforeIteration() |
virtual void | AfterIteration() |
void | SetMinimumVarianceDecay(double initial_value, double final_value, double time_period) |
void | SetMinimumVariance(double d) |
double | GetMinimumVariance() const |
bool | GetHoldMinimumVariance() const |
void | SetHoldMinimumVariance(bool b) |
void | SetRecomputeCovarianceInterval(int i) |
int | GetRecomputeCovarianceInterval() const |
void | SetAttributeScales(const std::vector< double > & s) |
void | SetDomainsPerShape(int i) |
int | GetDomainsPerShape() const |
void | SetAttributesPerDomain(const std::vector< int > & i) |
void | UseMeanEnergy() |
void | UseEntropy() |
void | SetXYZ(int i, bool val) |
void | SetNormals(int i, bool val) |
bool | CheckForNans(vnl_matrix_type mat) |
virtual ParticleVectorFunction< VDimension >::Pointer | Clone() |
Protected Functions
Name | |
---|---|
ParticleMeshBasedGeneralEntropyGradientFunction() | |
virtual | ~ParticleMeshBasedGeneralEntropyGradientFunction() |
void | operator=(const ParticleMeshBasedGeneralEntropyGradientFunction & ) |
ParticleMeshBasedGeneralEntropyGradientFunction(const ParticleMeshBasedGeneralEntropyGradientFunction & ) | |
virtual void | ComputeUpdates(const ParticleSystemType * c) |
Public Attributes
Name | |
---|---|
itkTypeMacro(ParticleMeshBasedGeneralEntropyGradientFunction, ParticleVectorFunction) typedef typename Superclass typedef ParticleGeneralShapeMatrix< double, VDimension > | ShapeDataType |
unsigned | int |
unsigned | VDimension |
Protected Attributes
Name | |
---|---|
ShapeDataType::Pointer | m_ShapeData |
ShapeGradientType::Pointer | m_ShapeGradient |
std::shared_ptr< vnl_matrix_type > | m_PointsUpdate |
double | m_MinimumVariance |
double | m_MinimumEigenValue |
bool | m_HoldMinimumVariance |
int | m_RecomputeCovarianceInterval |
double | m_MinimumVarianceDecayConstant |
int | m_Counter |
std::vector< double > | m_AttributeScales |
int | m_DomainsPerShape |
std::vector< int > | m_AttributesPerDomain |
double | m_CurrentEnergy |
bool | m_UseMeanEnergy |
std::vector< bool > | m_UseXYZ |
std::vector< bool > | m_UseNormals |
std::shared_ptr< vnl_matrix_type > | m_points_mean |
std::shared_ptr< vnl_matrix_type > | m_InverseCovMatrix |
int | num_dims |
int | num_samples |
Additional inherited members
Public Types inherited from itk::ParticleVectorFunction< VDimension >
Name | |
---|---|
typedef ParticleSystem | ParticleSystemType |
Public Functions inherited from itk::ParticleVectorFunction< VDimension >
Name | |
---|---|
itkTypeMacro(ParticleVectorFunction , LightObject ) | |
itkStaticConstMacro(Dimension , unsigned int , VDimension ) | |
virtual void | ResetBuffers() |
virtual void | BeforeEvaluate(unsigned int , unsigned int , const ParticleSystemType * ) |
virtual void | SetParticleSystem(ParticleSystemType * p) |
virtual ParticleSystemType * | GetParticleSystem() const |
virtual void | SetDomainNumber(unsigned int i) |
virtual int | GetDomainNumber() const |
Protected Functions inherited from itk::ParticleVectorFunction< VDimension >
Name | |
---|---|
ParticleVectorFunction() | |
virtual | ~ParticleVectorFunction() |
ParticleVectorFunction(const ParticleVectorFunction & ) |
Protected Attributes inherited from itk::ParticleVectorFunction< VDimension >
Name | |
---|---|
ParticleSystemType * | m_ParticleSystem |
unsigned int | m_DomainNumber |
Detailed Description
template <unsigned int VDimension>
class itk::ParticleMeshBasedGeneralEntropyGradientFunction;
Public Types Documentation
typedef Self
typedef ParticleMeshBasedGeneralEntropyGradientFunction itk::ParticleMeshBasedGeneralEntropyGradientFunction< VDimension >::Self;
Standard class typedefs.
typedef Pointer
typedef SmartPointer<Self> itk::ParticleMeshBasedGeneralEntropyGradientFunction< VDimension >::Pointer;
typedef ConstPointer
typedef SmartPointer<const Self> itk::ParticleMeshBasedGeneralEntropyGradientFunction< VDimension >::ConstPointer;
typedef Superclass
typedef ParticleVectorFunction<VDimension> itk::ParticleMeshBasedGeneralEntropyGradientFunction< VDimension >::Superclass;
typedef ShapeGradientType
typedef ParticleGeneralShapeGradientMatrix<double, VDimension> itk::ParticleMeshBasedGeneralEntropyGradientFunction< VDimension >::ShapeGradientType;
typedef DataType
typedef ShapeDataType::DataType itk::ParticleMeshBasedGeneralEntropyGradientFunction< VDimension >::DataType;
typedef VectorType
typedef Superclass::VectorType itk::ParticleMeshBasedGeneralEntropyGradientFunction< VDimension >::VectorType;
Vector & Point types.
typedef PointType
typedef ParticleSystemType::PointType itk::ParticleMeshBasedGeneralEntropyGradientFunction< VDimension >::PointType;
typedef vnl_vector_type
typedef vnl_vector<DataType> itk::ParticleMeshBasedGeneralEntropyGradientFunction< VDimension >::vnl_vector_type;
typedef vnl_matrix_type
typedef vnl_matrix<DataType> itk::ParticleMeshBasedGeneralEntropyGradientFunction< VDimension >::vnl_matrix_type;
Public Functions Documentation
function itkNewMacro
itkNewMacro(
Self
)
Method for creation through the object factory. Dimensionality of the domain of the particle system.
function SetShapeData
inline void SetShapeData(
ShapeDataType * s
)
Access the shape matrix.
function GetShapeData
inline ShapeDataType * GetShapeData()
function GetShapeData
inline const ShapeDataType * GetShapeData() const
function SetShapeGradient
inline void SetShapeGradient(
ShapeGradientType * s
)
Access the shape gradient matrix.
function GetShapeGradient
inline ShapeGradientType * GetShapeGradient()
function GetShapeGradient
inline const ShapeGradientType * GetShapeGradient() const
function Evaluate
virtual VectorType Evaluate(
unsigned int ,
unsigned int ,
const ParticleSystemType * ,
double & ,
double &
) const
Reimplements: itk::ParticleVectorFunction::Evaluate
The first argument is a pointer to the particle system. The second argument is the index of the domain within that particle system. The third argument is the index of the particle location within the given domain.
function Evaluate
inline virtual VectorType Evaluate(
unsigned int ,
unsigned int ,
const ParticleSystemType * ,
double & maxtimestep
) const
Reimplements: itk::ParticleVectorFunction::Evaluate
The first argument is a pointer to the particle system. The second argument is the index of the domain within that particle system. The third argument is the index of the particle location within the given domain.
function Energy
inline virtual double Energy(
unsigned int a,
unsigned int b,
const ParticleSystemType * c
) const
Reimplements: itk::ParticleVectorFunction::Energy
function BeforeIteration
inline virtual void BeforeIteration()
Reimplements: itk::ParticleVectorFunction::BeforeIteration
Called before each iteration of a solver.
function AfterIteration
inline virtual void AfterIteration()
Reimplements: itk::ParticleVectorFunction::AfterIteration
Called after each iteration of the solver.
function SetMinimumVarianceDecay
inline void SetMinimumVarianceDecay(
double initial_value,
double final_value,
double time_period
)
function SetMinimumVariance
inline void SetMinimumVariance(
double d
)
function GetMinimumVariance
inline double GetMinimumVariance() const
function GetHoldMinimumVariance
inline bool GetHoldMinimumVariance() const
function SetHoldMinimumVariance
inline void SetHoldMinimumVariance(
bool b
)
function SetRecomputeCovarianceInterval
inline void SetRecomputeCovarianceInterval(
int i
)
function GetRecomputeCovarianceInterval
inline int GetRecomputeCovarianceInterval() const
function SetAttributeScales
inline void SetAttributeScales(
const std::vector< double > & s
)
function SetDomainsPerShape
inline void SetDomainsPerShape(
int i
)
Set/Get the number of domains per shape.
function GetDomainsPerShape
inline int GetDomainsPerShape() const
function SetAttributesPerDomain
inline void SetAttributesPerDomain(
const std::vector< int > & i
)
function UseMeanEnergy
inline void UseMeanEnergy()
function UseEntropy
inline void UseEntropy()
function SetXYZ
inline void SetXYZ(
int i,
bool val
)
function SetNormals
inline void SetNormals(
int i,
bool val
)
function CheckForNans
inline bool CheckForNans(
vnl_matrix_type mat
)
function Clone
inline virtual ParticleVectorFunction< VDimension >::Pointer Clone()
Reimplements: itk::ParticleVectorFunction::Clone
Protected Functions Documentation
function ParticleMeshBasedGeneralEntropyGradientFunction
inline ParticleMeshBasedGeneralEntropyGradientFunction()
function ~ParticleMeshBasedGeneralEntropyGradientFunction
inline virtual ~ParticleMeshBasedGeneralEntropyGradientFunction()
function operator=
void operator=(
const ParticleMeshBasedGeneralEntropyGradientFunction &
)
function ParticleMeshBasedGeneralEntropyGradientFunction
ParticleMeshBasedGeneralEntropyGradientFunction(
const ParticleMeshBasedGeneralEntropyGradientFunction &
)
function ComputeUpdates
virtual void ComputeUpdates(
const ParticleSystemType * c
)
Public Attributes Documentation
variable ShapeDataType
itkTypeMacro(ParticleMeshBasedGeneralEntropyGradientFunction, ParticleVectorFunction) typedef typename Superclass typedef ParticleGeneralShapeMatrix< double, VDimension > ShapeDataType;
Type of particle system.
variable int
unsigned int;
variable VDimension
unsigned VDimension;
Protected Attributes Documentation
variable m_ShapeData
ShapeDataType::Pointer m_ShapeData;
variable m_ShapeGradient
ShapeGradientType::Pointer m_ShapeGradient;
variable m_PointsUpdate
std::shared_ptr< vnl_matrix_type > m_PointsUpdate;
variable m_MinimumVariance
double m_MinimumVariance;
variable m_MinimumEigenValue
double m_MinimumEigenValue;
variable m_HoldMinimumVariance
bool m_HoldMinimumVariance;
variable m_RecomputeCovarianceInterval
int m_RecomputeCovarianceInterval;
variable m_MinimumVarianceDecayConstant
double m_MinimumVarianceDecayConstant;
variable m_Counter
int m_Counter;
variable m_AttributeScales
std::vector< double > m_AttributeScales;
variable m_DomainsPerShape
int m_DomainsPerShape;
variable m_AttributesPerDomain
std::vector< int > m_AttributesPerDomain;
variable m_CurrentEnergy
double m_CurrentEnergy;
variable m_UseMeanEnergy
bool m_UseMeanEnergy;
variable m_UseXYZ
std::vector< bool > m_UseXYZ;
variable m_UseNormals
std::vector< bool > m_UseNormals;
variable m_points_mean
std::shared_ptr< vnl_matrix_type > m_points_mean;
variable m_InverseCovMatrix
std::shared_ptr< vnl_matrix_type > m_InverseCovMatrix;
variable num_dims
int num_dims;
variable num_samples
int num_samples;
Updated on 2022-07-23 at 17:50:03 -0600