18 #ifndef __itkMissingStructurePenalty_h 19 #define __itkMissingStructurePenalty_h 23 #include "itkPointSet.h" 26 #include "itkVectorContainer.h" 43 template<
class TFixedPo
intSet,
class TMovingPo
intSet >
84 Superclass::FixedPointSetDimension );
86 Superclass::MovingPointSetDimension );
91 FixedPointSetDimension, FixedPointSetDimension, CoordRepType >
MeshTraitsType;
101 typedef typename FixedMeshType::PointType::VectorType
VectorType;
131 itkSetConstObjectMacro( FixedMeshContainer, FixedMeshContainerType );
132 itkGetConstObjectMacro( FixedMeshContainer, FixedMeshContainerType );
134 itkSetObjectMacro( MappedMeshContainer, MappedMeshContainerType );
135 itkGetObjectMacro( MappedMeshContainer, MappedMeshContainerType );
140 virtual void Initialize(
void ) throw ( ExceptionObject );
150 MeasureType
GetValue( const TransformParametersType & parameters ) const;
153 void GetDerivative( const TransformParametersType & parameters,
154 DerivativeType & Derivative ) const;
158 MeasureType & Value, DerivativeType & Derivative ) const;
163 virtual ~MissingVolumeMeshPenalty();
176 void SubVector( const VectorType & fullVector, SubVectorType & subVector, const
unsigned int leaveOutIndex ) const;
178 MissingVolumeMeshPenalty( const Self & );
179 void operator=( const Self & );
185 #ifndef ITK_MANUAL_INSTANTIATION 186 #include "itkMissingStructurePenalty.hxx" Superclass::DerivativeType DerivativeType
itk::Vector< typename VectorType::ValueType, FixedPointSetDimension-1 > SubVectorType
Superclass::TransformPointer TransformPointer
Superclass::TransformJacobianType TransformJacobianType
FixedMeshType::PointIdentifier FixedMeshPointIdentifier
FixedMeshType::PointDataContainerPointer MeshPointDataContainerPointer
FixedMeshContainerConstPointer m_FixedMeshContainer
FixedMeshType::Pointer FixedMeshPointer
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
SmartPointer< const Self > ConstPointer
TransformType::Pointer TransformPointer
VectorContainer< MeshIdType, FixedMeshPointer > MappedMeshContainerType
Mesh< DummyMeshPixelType, FixedPointSetDimension, MeshTraitsType > FixedMeshType
FixedMeshType::PointsContainer MeshPointsContainerType
FixedMeshType::PointDataContainerIterator MeshPointDataContainerConstIteratorType
Superclass::DerivativeType DerivativeType
TransformType::ParametersType TransformParametersType
MeshPointsContainerType::ConstPointer MeshPointsContainerConstPointer
OutputPointType::CoordRepType CoordRepType
TransformType::OutputPointType OutputPointType
TransformType::InputPointType InputPointType
VectorContainer< MeshIdType, FixedMeshConstPointer > FixedMeshContainerType
MappedMeshContainerType::ConstPointer MappedMeshContainerConstPointer
MeshTraitsType::CellType::CellInterface CellInterfaceType
FixedMeshType::PointsContainerIterator MeshPointsContainerIteratorType
MappedMeshContainerType::Pointer MappedMeshContainerPointer
FixedMeshContainerType::Pointer FixedMeshContainerPointer
FixedMeshType::PointDataContainer MeshPointDataContainerType
MissingVolumeMeshPenalty Self
MeshPointDataContainerType::Iterator MeshPointDataContainerIteratorType
Superclass::TransformParametersType TransformParametersType
unsigned char DummyMeshPixelType
MeasureType GetValue(const TransformParametersType ¶meters) const
itkStaticConstMacro(FixedPointSetDimension, unsigned int, Superclass::FixedPointSetDimension)
TransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
DefaultStaticMeshTraits< DummyMeshPixelType, FixedPointSetDimension, FixedPointSetDimension, CoordRepType > MeshTraitsType
Superclass::MeasureType MeasureType
Superclass::DerivativeValueType DerivativeValueType
SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet > Superclass
FixedMeshType::PointType MeshPointType
Superclass::MeasureType MeasureType
Superclass::TransformType TransformType
FixedMeshType::ConstPointer FixedMeshConstPointer
vnl_vector< CoordRepType > VnlVectorType
Array< DerivativeValueType > MeshPointsDerivativeValueType
virtual void Initialize(void)
VectorType::const_pointer VectorConstPointer
Computes similarity between two point sets.
FixedMeshConstPointer m_FixedMesh
Superclass::InputPointType InputPointType
MappedMeshContainerPointer m_MappedMeshContainer
DerivativeType::ValueType DerivativeValueType
FixedMeshType::PointsContainerConstIterator MeshPointsContainerConstIteratorType
SmartPointer< Self > Pointer
Superclass::OutputPointType OutputPointType
FixedMeshType::PointDataContainerConstPointer MeshPointDataContainerConstPointer
FixedMeshContainerType::ElementIdentifier FixedMeshContainerElementIdentifier
void GetDerivative(const TransformParametersType ¶meters, DerivativeType &Derivative) const
FixedMeshType::PointType::VectorType VectorType
void GetValueAndDerivative(const TransformParametersType ¶meters, MeasureType &Value, DerivativeType &Derivative) const
FixedMeshContainerType::ConstPointer FixedMeshContainerConstPointer
void SubVector(const VectorType &fullVector, SubVectorType &subVector, const unsigned int leaveOutIndex) const
AdvancedTransform< CoordinateRepresentationType, itkGetStaticConstMacro(FixedPointSetDimension), itkGetStaticConstMacro(MovingPointSetDimension) > TransformType
Computes the (pseudo) volume of the transformed surface mesh of a structure. .
MeshPointsContainerType::Pointer MeshPointsContainerPointer
TransformType::JacobianType TransformJacobianType