18#ifndef elxMissingStructurePenalty_h
19#define elxMissingStructurePenalty_h
50template <
typename TElastix>
53 typename MetricBase<TElastix>::MovingPointSetType>
80 using typename Superclass1::FixedMeshType;
81 using typename Superclass1::FixedMeshPointer;
82 using typename Superclass1::FixedMeshConstPointer;
84 using typename Superclass1::CoordinateRepresentationType;
85 using typename Superclass1::FixedPointSetType;
86 using typename Superclass1::FixedPointSetConstPointer;
87 using typename Superclass1::FixedMeshContainerType;
88 using typename Superclass1::FixedMeshContainerPointer;
89 using typename Superclass1::MappedMeshContainerType;
90 using typename Superclass1::MappedMeshContainerPointer;
91 using typename Superclass1::MovingPointSetType;
92 using typename Superclass1::MovingPointSetConstPointer;
93 using typename Superclass1::CellInterfaceType;
96 using typename Superclass1::TransformType;
97 using typename Superclass1::TransformPointer;
98 using typename Superclass1::InputPointType;
99 using typename Superclass1::OutputPointType;
100 using typename Superclass1::TransformJacobianType;
102 using typename Superclass1::FixedImageMaskType;
103 using typename Superclass1::FixedImageMaskPointer;
104 using typename Superclass1::MovingImageMaskType;
105 using typename Superclass1::MovingImageMaskPointer;
106 using typename Superclass1::MeasureType;
107 using typename Superclass1::DerivativeType;
108 using typename Superclass1::ParametersType;
112 using typename Superclass1::MeshIdType;
158 ReadMesh(
const std::string & meshFileName,
typename FixedMeshType::Pointer & mesh);
185#ifndef ITK_MANUAL_INSTANTIATION
186# include "elxMissingStructurePenalty.hxx"
itk::PointSet< CoordinateRepresentationType, MovingImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, MovingImageDimension, MovingImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > MovingPointSetType
itk::PointSet< CoordinateRepresentationType, FixedImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, FixedImageDimension, FixedImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > FixedPointSetType
itk::SingleValuedCostFunction ITKBaseType
typename ElastixType::FixedImageType FixedImageType
typename ElastixType::MovingImageType MovingImageType
typename ElastixType::RegistrationBaseType RegistrationType
itkOverrideGetNameOfClassMacro(MissingStructurePenalty)
unsigned int ReadTransformixPoints(const std::string &filename, typename MeshType::Pointer &mesh)
void SelectNewSamples() override
MetricBase< TElastix > Superclass2
~MissingStructurePenalty() override=default
typename CombinationTransformType::InitialTransformType InitialTransformType
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
void Initialize() override
ITK_DISALLOW_COPY_AND_MOVE(MissingStructurePenalty)
typename ElastixType::FixedImageType FixedImageType
itk::SmartPointer< Self > Pointer
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
void AfterEachResolution() override
itk::AdvancedCombinationTransform< CoordinateType, Self::FixedImageDimension > CombinationTransformType
void AfterEachIteration() override
FixedPointSetType PointSetType
elxClassNameMacro("MissingStructurePenalty")
itk::MissingVolumeMeshPenalty< typename MetricBase< TElastix >::FixedPointSetType, typename MetricBase< TElastix >::MovingPointSetType > Superclass1
void BeforeRegistration() override
MissingStructurePenalty Self
int BeforeAllBase() override
MissingStructurePenalty()
typename Superclass2::ITKBaseType ITKBaseType
void WriteResultMesh(const std::string &filename, MeshIdType meshId)
itk::SmartPointer< const Self > ConstPointer
unsigned int ReadMesh(const std::string &meshFileName, typename FixedMeshType::Pointer &mesh)
typename OutputPointType::CoordinateType CoordinateType
unsigned int m_NumberOfMeshes
Computes the (pseudo) volume of the transformed surface mesh of a structure. .
Mesh< DummyMeshPixelType, FixedPointSetDimension, MeshTraitsType > FixedMeshType