| 
 | 
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages | 
#include <itkStatisticalShapePointPenalty.h>
Computes the Mahalanobis distance between the transformed shape and a mean shape. A model mean and covariance are required.
Definition at line 56 of file itkStatisticalShapePointPenalty.h.
 Inheritance diagram for itk::StatisticalShapePointPenalty< TFixedPointSet, TMovingPointSet >:Public Types | |
| using | ConstPointer = SmartPointer< const Self > | 
| using | CoordRepType = typename OutputPointType::CoordRepType | 
| using | DerivativeValueType = typename DerivativeType::ValueType | 
| using | FixedPointSetConstPointer = typename FixedPointSetType::ConstPointer | 
| using | FixedPointSetType = TFixedPointSet | 
| using | InputPointType = typename TransformType::InputPointType | 
| using | MovingPointSetConstPointer = typename MovingPointSetType::ConstPointer | 
| using | MovingPointSetType = TMovingPointSet | 
| using | NonZeroJacobianIndicesType = typename TransformType::NonZeroJacobianIndicesType | 
| using | OutputPointType = typename TransformType::OutputPointType | 
| using | PCACovarianceType = vnl_svd_economy< CoordRepType > | 
| using | PointDataIterator = typename FixedPointSetType::PointDataContainer::ConstIterator | 
| using | Pointer = SmartPointer< Self > | 
| using | PointIterator = typename FixedPointSetType::PointsContainer::ConstIterator | 
| using | ProposalDerivativeType = typename std::vector< VnlVectorType * > | 
| using | Self = StatisticalShapePointPenalty | 
| using | Superclass = SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet > | 
| using | TransformJacobianType = typename TransformType::JacobianType | 
| using | TransformParametersType = typename TransformType::ParametersType | 
| using | TransformPointer = typename TransformType::Pointer | 
| using | TransformType = AdvancedTransform< CoordinateRepresentationType, Self::FixedPointSetDimension, Self::MovingPointSetDimension > | 
| using | VnlMatrixType = vnl_matrix< CoordRepType > | 
| using | VnlVectorType = vnl_vector< CoordRepType > | 
  Public Types inherited from itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet > | |
| using | ConstPointer = SmartPointer< const Self > | 
| using | CoordinateRepresentationType = Superclass::ParametersValueType | 
| using | DerivativeValueType = typename DerivativeType::ValueType | 
| using | FixedImageMaskConstPointer = typename FixedImageMaskType::ConstPointer | 
| using | FixedImageMaskPointer = typename FixedImageMaskType::Pointer | 
| using | FixedImageMaskType = ImageMaskSpatialObject< Self::FixedPointSetDimension > | 
| using | FixedPointSetConstPointer = typename FixedPointSetType::ConstPointer | 
| using | FixedPointSetPixelType = typename FixedPointSetType::PixelType | 
| using | FixedPointSetType = TFixedPointSet | 
| using | InputPointType = typename TransformType::InputPointType | 
| using | MovingImageMaskConstPointer = typename MovingImageMaskType::ConstPointer | 
| using | MovingImageMaskPointer = typename MovingImageMaskType::Pointer | 
| using | MovingImageMaskType = ImageMaskSpatialObject< Self::MovingPointSetDimension > | 
| using | MovingPointSetConstPointer = typename MovingPointSetType::ConstPointer | 
| using | MovingPointSetPixelType = typename MovingPointSetType::PixelType | 
| using | MovingPointSetType = TMovingPointSet | 
| using | NonZeroJacobianIndicesType = typename TransformType::NonZeroJacobianIndicesType | 
| using | OutputPointType = typename TransformType::OutputPointType | 
| using | PointDataIterator = typename FixedPointSetType::PointDataContainer::ConstIterator | 
| using | Pointer = SmartPointer< Self > | 
| using | PointIterator = typename FixedPointSetType::PointsContainer::ConstIterator | 
| using | Self = SingleValuedPointSetToPointSetMetric | 
| using | Superclass = SingleValuedCostFunction | 
| using | TransformJacobianType = typename TransformType::JacobianType | 
| using | TransformParametersType = typename TransformType::ParametersType | 
| using | TransformPointer = typename TransformType::Pointer | 
| using | TransformType = AdvancedTransform< CoordinateRepresentationType, Self::FixedPointSetDimension, Self::MovingPointSetDimension > | 
Public Member Functions | |
| virtual void | BaseVarianceNeedsUpdateOff () | 
| virtual void | BaseVarianceNeedsUpdateOn () | 
| virtual MeasureType | GetBaseVariance () const | 
| virtual MeasureType | GetCentroidXVariance () const | 
| virtual MeasureType | GetCentroidYVariance () const | 
| virtual MeasureType | GetCentroidZVariance () const | 
| virtual const char * | GetClassName () const | 
| virtual MeasureType | GetCutOffSharpness () const | 
| virtual MeasureType | GetCutOffValue () const | 
| void | GetDerivative (const TransformParametersType ¶meters, DerivativeType &Derivative) const override | 
| virtual const bool & | GetNormalizedShapeModel () | 
| virtual const int & | GetShapeModelCalculation () | 
| virtual MeasureType | GetShrinkageIntensity () const | 
| virtual MeasureType | GetSizeVariance () const | 
| MeasureType | GetValue (const TransformParametersType ¶meters) const override | 
| void | GetValueAndDerivative (const TransformParametersType ¶meters, MeasureType &Value, DerivativeType &Derivative) const override | 
| void | Initialize () override | 
| ITK_DISALLOW_COPY_AND_MOVE (StatisticalShapePointPenalty) | |
| virtual void | NormalizedShapeModelOff () | 
| virtual void | NormalizedShapeModelOn () | 
| virtual void | SetBaseVariance (MeasureType _arg) | 
| virtual void | SetBaseVarianceNeedsUpdate (bool _arg) | 
| virtual void | SetCentroidXVariance (MeasureType _arg) | 
| virtual void | SetCentroidYVariance (MeasureType _arg) | 
| virtual void | SetCentroidZVariance (MeasureType _arg) | 
| virtual void | SetCovarianceMatrix (const vnl_matrix< double > *_arg) | 
| virtual void | SetCutOffSharpness (MeasureType _arg) | 
| virtual void | SetCutOffValue (MeasureType _arg) | 
| virtual void | SetEigenValues (const vnl_vector< double > *_arg) | 
| virtual void | SetEigenVectors (const vnl_matrix< double > *_arg) | 
| virtual void | SetMeanVector (const vnl_vector< double > *_arg) | 
| virtual void | SetNormalizedShapeModel (bool _arg) | 
| virtual void | SetShapeModelCalculation (int _arg) | 
| virtual void | SetShrinkageIntensity (MeasureType _arg) | 
| virtual void | SetShrinkageIntensityNeedsUpdate (bool _arg) | 
| virtual void | SetSizeVariance (MeasureType _arg) | 
| virtual void | SetVariancesNeedsUpdate (bool _arg) | 
| virtual void | ShrinkageIntensityNeedsUpdateOff () | 
| virtual void | ShrinkageIntensityNeedsUpdateOn () | 
| virtual void | VariancesNeedsUpdateOff () | 
| virtual void | VariancesNeedsUpdateOn () | 
  Public Member Functions inherited from itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet > | |
| virtual void | BeforeThreadedGetValueAndDerivative (const TransformParametersType ¶meters) const | 
| virtual const FixedImageMaskType * | GetFixedImageMask () | 
| virtual const FixedPointSetType * | GetFixedPointSet () | 
| virtual const MovingImageMaskType * | GetMovingImageMask () | 
| virtual const MovingPointSetType * | GetMovingPointSet () | 
| unsigned int | GetNumberOfParameters () const override | 
| virtual const TransformType * | GetTransform () | 
| virtual const bool & | GetUseMetricSingleThreaded () | 
| ITK_DISALLOW_COPY_AND_MOVE (SingleValuedPointSetToPointSetMetric) | |
| itkStaticConstMacro (FixedPointSetDimension, unsigned int, TFixedPointSet::PointDimension) | |
| itkStaticConstMacro (MovingPointSetDimension, unsigned int, TMovingPointSet::PointDimension) | |
| virtual void | SetFixedImageMask (const FixedImageMaskType *_arg) | 
| virtual void | SetFixedPointSet (const FixedPointSetType *_arg) | 
| virtual void | SetMovingImageMask (const MovingImageMaskType *_arg) | 
| virtual void | SetMovingPointSet (const MovingPointSetType *_arg) | 
| virtual void | SetTransform (TransformType *_arg) | 
| void | SetTransformParameters (const ParametersType ¶meters) const | 
| virtual void | SetUseMetricSingleThreaded (bool _arg) | 
| virtual void | UseMetricSingleThreadedOff () | 
| virtual void | UseMetricSingleThreadedOn () | 
Static Public Member Functions | |
| static Pointer | New () | 
Protected Member Functions | |
| void | PrintSelf (std::ostream &os, Indent indent) const override | 
| StatisticalShapePointPenalty () | |
| ~StatisticalShapePointPenalty () override | |
  Protected Member Functions inherited from itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet > | |
| void | PrintSelf (std::ostream &os, Indent indent) const override | 
| SingleValuedPointSetToPointSetMetric ()=default | |
| ~SingleValuedPointSetToPointSetMetric () override=default | |
Private Member Functions | |
| void | CalculateCutOffDerivative (typename DerivativeType::element_type &derivativeElement, const MeasureType &value) const | 
| void | CalculateCutOffValue (MeasureType &value) const | 
| void | CalculateDerivative (DerivativeType &derivative, const MeasureType &value, const VnlVectorType &differenceVector, const VnlVectorType &eigrot, const unsigned int shapeLength) const | 
| void | CalculateValue (MeasureType &value, VnlVectorType &differenceVector, VnlVectorType ¢errotated, VnlVectorType &eigrot) const | 
| void | FillProposalDerivative (const OutputPointType &fixedPoint, const unsigned int vertexindex) const | 
| void | FillProposalVector (const OutputPointType &fixedPoint, const unsigned int vertexindex) const | 
| void | NormalizeProposalVector (const unsigned int shapeLength) const | 
| void | UpdateCentroidAndAlignProposalDerivative (const unsigned int shapeLength) const | 
| void | UpdateCentroidAndAlignProposalVector (const unsigned int shapeLength) const | 
| void | UpdateL2 (const unsigned int shapeLength) const | 
| void | UpdateL2AndNormalizeProposalDerivative (const unsigned int shapeLength) const | 
Private Attributes | |
| double | m_BaseStd {} | 
| double | m_BaseVariance {} | 
| bool | m_BaseVarianceNeedsUpdate {} | 
| double | m_CentroidXStd {} | 
| double | m_CentroidXVariance {} | 
| double | m_CentroidYStd {} | 
| double | m_CentroidYVariance {} | 
| double | m_CentroidZStd {} | 
| double | m_CentroidZVariance {} | 
| const VnlMatrixType * | m_CovarianceMatrix {} | 
| double | m_CutOffSharpness {} | 
| double | m_CutOffValue {} | 
| const VnlVectorType * | m_EigenValues {} | 
| VnlVectorType * | m_EigenValuesRegularized {} | 
| const VnlMatrixType * | m_EigenVectors {} | 
| VnlMatrixType * | m_InverseCovarianceMatrix {} | 
| VnlVectorType | m_MeanValues {} | 
| const VnlVectorType * | m_MeanVector {} | 
| bool | m_NormalizedShapeModel {} | 
| ProposalDerivativeType * | m_ProposalDerivative {} | 
| unsigned int | m_ProposalLength {} | 
| VnlVectorType | m_ProposalVector {} | 
| int | m_ShapeModelCalculation {} | 
| double | m_ShrinkageIntensity {} | 
| bool | m_ShrinkageIntensityNeedsUpdate {} | 
| double | m_SizeStd {} | 
| double | m_SizeVariance {} | 
| bool | m_VariancesNeedsUpdate {} | 
Additional Inherited Members | |
  Protected Attributes inherited from itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet > | |
| FixedImageMaskConstPointer | m_FixedImageMask { nullptr } | 
| FixedPointSetConstPointer | m_FixedPointSet { nullptr } | 
| MovingImageMaskConstPointer | m_MovingImageMask { nullptr } | 
| MovingPointSetConstPointer | m_MovingPointSet { nullptr } | 
| unsigned int | m_NumberOfPointsCounted { 0 } | 
| TransformPointer | m_Transform { nullptr } | 
| bool | m_UseMetricSingleThreaded { true } | 
| using itk::StatisticalShapePointPenalty< TFixedPointSet, TMovingPointSet >::ConstPointer = SmartPointer<const Self> | 
Definition at line 66 of file itkStatisticalShapePointPenalty.h.
| using itk::StatisticalShapePointPenalty< TFixedPointSet, TMovingPointSet >::CoordRepType = typename OutputPointType::CoordRepType | 
Definition at line 95 of file itkStatisticalShapePointPenalty.h.
| using itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::DerivativeValueType = typename DerivativeType::ValueType | 
Definition at line 111 of file itkSingleValuedPointSetToPointSetMetric.h.
| using itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::FixedPointSetConstPointer = typename FixedPointSetType::ConstPointer | 
Definition at line 81 of file itkSingleValuedPointSetToPointSetMetric.h.
| using itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::FixedPointSetType = TFixedPointSet | 
Typedefs.
Definition at line 79 of file itkSingleValuedPointSetToPointSetMetric.h.
| using itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::InputPointType = typename TransformType::InputPointType | 
Definition at line 96 of file itkSingleValuedPointSetToPointSetMetric.h.
| using itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MovingPointSetConstPointer = typename MovingPointSetType::ConstPointer | 
Definition at line 84 of file itkSingleValuedPointSetToPointSetMetric.h.
| using itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MovingPointSetType = TMovingPointSet | 
Definition at line 82 of file itkSingleValuedPointSetToPointSetMetric.h.
| using itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::NonZeroJacobianIndicesType = typename TransformType::NonZeroJacobianIndicesType | 
Typedefs for support of sparse Jacobians and compact support of transformations.
Definition at line 115 of file itkSingleValuedPointSetToPointSetMetric.h.
| using itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::OutputPointType = typename TransformType::OutputPointType | 
Definition at line 97 of file itkSingleValuedPointSetToPointSetMetric.h.
| using itk::StatisticalShapePointPenalty< TFixedPointSet, TMovingPointSet >::PCACovarianceType = vnl_svd_economy<CoordRepType> | 
Definition at line 101 of file itkStatisticalShapePointPenalty.h.
| using itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::PointDataIterator = typename FixedPointSetType::PointDataContainer::ConstIterator | 
Definition at line 86 of file itkSingleValuedPointSetToPointSetMetric.h.
| using itk::StatisticalShapePointPenalty< TFixedPointSet, TMovingPointSet >::Pointer = SmartPointer<Self> | 
Definition at line 65 of file itkStatisticalShapePointPenalty.h.
| using itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::PointIterator = typename FixedPointSetType::PointsContainer::ConstIterator | 
Definition at line 85 of file itkSingleValuedPointSetToPointSetMetric.h.
| using itk::StatisticalShapePointPenalty< TFixedPointSet, TMovingPointSet >::ProposalDerivativeType = typename std::vector<VnlVectorType *> | 
Definition at line 99 of file itkStatisticalShapePointPenalty.h.
| using itk::StatisticalShapePointPenalty< TFixedPointSet, TMovingPointSet >::Self = StatisticalShapePointPenalty | 
Standard class typedefs.
Definition at line 63 of file itkStatisticalShapePointPenalty.h.
| using itk::StatisticalShapePointPenalty< TFixedPointSet, TMovingPointSet >::Superclass = SingleValuedPointSetToPointSetMetric<TFixedPointSet, TMovingPointSet> | 
Definition at line 64 of file itkStatisticalShapePointPenalty.h.
| using itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::TransformJacobianType = typename TransformType::JacobianType | 
Definition at line 99 of file itkSingleValuedPointSetToPointSetMetric.h.
| using itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::TransformParametersType = typename TransformType::ParametersType | 
Definition at line 98 of file itkSingleValuedPointSetToPointSetMetric.h.
| using itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::TransformPointer = typename TransformType::Pointer | 
Definition at line 95 of file itkSingleValuedPointSetToPointSetMetric.h.
| using itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::TransformType = AdvancedTransform<CoordinateRepresentationType, Self::FixedPointSetDimension, Self::MovingPointSetDimension> | 
More typedefs.
Definition at line 93 of file itkSingleValuedPointSetToPointSetMetric.h.
| using itk::StatisticalShapePointPenalty< TFixedPointSet, TMovingPointSet >::VnlMatrixType = vnl_matrix<CoordRepType> | 
Definition at line 97 of file itkStatisticalShapePointPenalty.h.
| using itk::StatisticalShapePointPenalty< TFixedPointSet, TMovingPointSet >::VnlVectorType = vnl_vector<CoordRepType> | 
Definition at line 96 of file itkStatisticalShapePointPenalty.h.
      
  | 
  protected | 
      
  | 
  overrideprotected | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
Run-time type information (and related methods).
Reimplemented from itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
Reimplemented in elastix::StatisticalShapePenalty< TElastix >.
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  override | 
Get the derivatives of the match measure.
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  override | 
Get the value for single valued optimizers.
      
  | 
  override | 
Get value and derivatives for multiple valued optimizers.
      
  | 
  overridevirtual | 
Initialization.
Reimplemented from itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
| itk::StatisticalShapePointPenalty< TFixedPointSet, TMovingPointSet >::ITK_DISALLOW_COPY_AND_MOVE | ( | StatisticalShapePointPenalty< TFixedPointSet, TMovingPointSet > | ) | 
      
  | 
  static | 
Method for creation through the object factory.
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  private | 
      
  | 
  overrideprotected | 
PrintSelf.
      
  | 
  virtual | 
Set/Get the BaseVariance parameter.
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
Set/Get the shrinkageIntensity parameter.
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  private | 
Definition at line 249 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 248 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 238 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 229 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 228 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 231 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 230 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 233 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 232 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 222 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 254 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 253 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 224 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 241 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 223 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 226 of file itkStatisticalShapePointPenalty.h.
      
  | 
  mutableprivate | 
Definition at line 251 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 221 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 245 of file itkStatisticalShapePointPenalty.h.
      
  | 
  mutableprivate | 
Definition at line 243 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 244 of file itkStatisticalShapePointPenalty.h.
      
  | 
  mutableprivate | 
Definition at line 250 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 246 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 247 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 237 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 235 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 234 of file itkStatisticalShapePointPenalty.h.
      
  | 
  private | 
Definition at line 239 of file itkStatisticalShapePointPenalty.h.
Generated on 1739326392 for elastix by   1.9.8  |