18#ifndef elxMissingStructurePenalty_h
19#define elxMissingStructurePenalty_h
24#include "itkMeshFileReader.h"
25#include "itkMeshFileWriter.h"
53template <
class TElastix>
56 typename MetricBase<TElastix>::MovingPointSetType>
110 using typename Superclass1::MeasureType;
111 using typename Superclass1::DerivativeType;
112 using typename Superclass1::ParametersType;
162 ReadMesh(
const std::string & meshFileName,
typename FixedMeshType::Pointer & mesh);
189#ifndef ITK_MANUAL_INSTANTIATION
190# include "elxMissingStructurePenalty.hxx"
This class is the elastix base class for all Metrics.
itk::SingleValuedCostFunction ITKBaseType
typename ElastixType::FixedImageType FixedImageType
itk::PointSet< CoordinateRepresentationType, FixedImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, FixedImageDimension, FixedImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > FixedPointSetType
typename ElastixType::MovingImageType MovingImageType
typename ElastixType::RegistrationBaseType RegistrationType
itk::PointSet< CoordinateRepresentationType, MovingImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, MovingImageDimension, MovingImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > MovingPointSetType
unsigned int ReadTransformixPoints(const std::string &filename, typename MeshType::Pointer &mesh)
void SelectNewSamples() override
~MissingStructurePenalty() override=default
typename CombinationTransformType::InitialTransformType InitialTransformType
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
void Initialize() override
ITK_DISALLOW_COPY_AND_MOVE(MissingStructurePenalty)
Mesh< DummyMeshPixelType, FixedPointSetDimension, MeshTraitsType > FixedMeshType
void WriteResultMesh(const char *filename, MeshIdType meshId)
typename ElastixType::FixedImageType FixedImageType
itk::SmartPointer< Self > Pointer
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
typename OutputPointType::CoordRepType CoordRepType
void AfterEachResolution() override
void AfterEachIteration() override
FixedPointSetType PointSetType
elxClassNameMacro("MissingStructurePenalty")
void BeforeRegistration() override
int BeforeAllBase() override
MissingStructurePenalty()
typename Superclass2::ITKBaseType ITKBaseType
itk::SmartPointer< const Self > ConstPointer
unsigned int ReadMesh(const std::string &meshFileName, typename FixedMeshType::Pointer &mesh)
unsigned int m_NumberOfMeshes
Computes the (pseudo) volume of the transformed surface mesh of a structure. .
VectorContainer< MeshIdType, FixedMeshConstPointer > FixedMeshContainerType
Mesh< DummyMeshPixelType, FixedPointSetDimension, MeshTraitsType > FixedMeshType
typename TransformType::InputPointType InputPointType
typename TransformType::Pointer TransformPointer
typename MeshTraitsType::CellType CellInterfaceType
typename FixedMeshContainerType::Pointer FixedMeshContainerPointer
typename TransformType::ParametersType TransformParametersType
typename TransformType::JacobianType TransformJacobianType
typename FixedMeshType::ConstPointer FixedMeshConstPointer
typename TransformType::OutputPointType OutputPointType
typename FixedMeshType::Pointer FixedMeshPointer
typename MappedMeshContainerType::Pointer MappedMeshContainerPointer
VectorContainer< MeshIdType, FixedMeshPointer > MappedMeshContainerType
typename FixedImageMaskType::Pointer FixedImageMaskPointer
typename MovingPointSetType::ConstPointer MovingPointSetConstPointer
typename FixedPointSetType::ConstPointer FixedPointSetConstPointer
typename MovingImageMaskType::Pointer MovingImageMaskPointer
TMovingPointSet MovingPointSetType
Superclass::ParametersValueType CoordinateRepresentationType
SpatialObject< Self::MovingPointSetDimension > MovingImageMaskType
TFixedPointSet FixedPointSetType
SpatialObject< Self::FixedPointSetDimension > FixedImageMaskType