|
|
Home | Main Page | Topics | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxPolydataDummyPenalty.h>
A dummy metric to generate transformed meshes at each iteration. This metric does not contribute to the cost function, but provides the options to read vtk polydata meshes from the command-line and write the transformed meshes to disk each iteration or resolution level. The command-line options for input meshes is: -fmesh<[A-Z]><MetricNumber>. This metric can be used as a base for other mesh-based penalties.
The parameters used in this class are:
Metric: Select this metric as follows:
(Metric "PolydataDummyPenalty")
(WriteResultMeshAfterEachIteration "True")
(WriteResultMeshAfterEachResolution "True")
Definition at line 61 of file elxPolydataDummyPenalty.h.
Public Types | |
| using | CombinationTransformType = itk::AdvancedCombinationTransform<CoordinateType, Self::FixedImageDimension> |
| using | ConstPointer = itk::SmartPointer<const Self> |
| using | CoordinateType = typename OutputPointType::CoordinateType |
| using | FixedImageType |
| using | ImageType = FixedImageType |
| using | InitialTransformType = typename CombinationTransformType::InitialTransformType |
| using | ITKBaseType = typename Superclass2::ITKBaseType |
| using | MeshType = FixedMeshType |
| using | MovingImageType |
| using | Pointer = itk::SmartPointer<Self> |
| using | PointSetType = FixedPointSetType |
| using | Self = PolydataDummyPenalty |
| using | Superclass1 |
| using | Superclass2 = MetricBase<TElastix> |
| Public Types inherited from itk::MeshPenalty< TFixedPointSet, TMovingPointSet > | |
| using | CellInterfaceType = typename MeshTraitsType::CellType |
| using | ConstPointer = SmartPointer<const Self> |
| using | CoordinateType = typename InputPointType::CoordinateType |
| using | DerivativeValueType |
| using | DummyMeshPixelType = unsigned char |
| using | FixedImagePointType = typename TransformType::InputPointType |
| using | FixedMeshConstPointer = typename FixedMeshType::ConstPointer |
| using | FixedMeshContainerConstPointer = typename FixedMeshContainerType::ConstPointer |
| using | FixedMeshContainerElementIdentifier = typename FixedMeshContainerType::ElementIdentifier |
| using | FixedMeshContainerPointer = typename FixedMeshContainerType::Pointer |
| using | FixedMeshContainerType = VectorContainer<MeshIdType, FixedMeshConstPointer> |
| using | FixedMeshPointer = typename FixedMeshType::Pointer |
| using | FixedMeshType = Mesh<PointNormalType, FixedPointSetDimension, MeshTraitsType> |
| using | InputPointType |
| using | MappedMeshContainerConstPointer = typename MappedMeshContainerType::ConstPointer |
| using | MappedMeshContainerPointer = typename MappedMeshContainerType::Pointer |
| using | MappedMeshContainerType = VectorContainer<MeshIdType, FixedMeshPointer> |
| using | MeshIdType = unsigned int |
| using | MeshPointDataContainerConstIteratorType = typename FixedMeshType::PointDataContainerIterator |
| using | MeshPointDataContainerConstPointer = typename FixedMeshType::PointDataContainerConstPointer |
| using | MeshPointDataContainerPointer = typename FixedMeshType::PointDataContainerPointer |
| using | MeshPointDataContainerType = typename FixedMeshType::PointDataContainer |
| using | MeshPointsContainerConstIteratorType = typename FixedMeshType::PointsContainerConstIterator |
| using | MeshPointsContainerConstPointer = typename MeshPointsContainerType::ConstPointer |
| using | MeshPointsContainerIteratorType = typename FixedMeshType::PointsContainerIterator |
| using | MeshPointsContainerPointer = typename MeshPointsContainerType::Pointer |
| using | MeshPointsContainerType = typename FixedMeshType::PointsContainer |
| using | MeshPointsDerivativeValueType = Array<DerivativeValueType> |
| using | MeshPointType = typename FixedMeshType::PointType |
| using | MeshTraitsType |
| using | MovingImagePointType = typename TransformType::OutputPointType |
| using | NonZeroJacobianIndicesType |
| using | OutputPointType |
| using | Pointer = SmartPointer<Self> |
| using | PointNormalType = Vector<typename TransformType::ScalarType, FixedPointSetDimension> |
| using | Self = MeshPenalty |
| using | SpatialJacobianType = typename TransformType::SpatialJacobianType |
| using | Superclass = SingleValuedPointSetToPointSetMetric<TFixedPointSet, TMovingPointSet> |
| using | TransformJacobianType |
| using | TransformPointer |
| using | TransformType |
| using | VectorType = typename FixedMeshType::PointType::VectorType |
| using | VnlVectorType = vnl_vector<CoordinateType> |
| 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 | 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 | MovingPointSetType = TMovingPointSet |
| using | NonZeroJacobianIndicesType = typename TransformType::NonZeroJacobianIndicesType |
| using | OutputPointType = typename TransformType::OutputPointType |
| 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 |
| Public Types inherited from elastix::MetricBase< TElastix > | |
| using | AdvancedMetricType = itk::AdvancedImageToImageMetric<FixedImageType, MovingImageType> |
| using | CoordinateRepresentationType = typename ITKBaseType::ParametersValueType |
| using | ElastixType |
| using | FixedImageType = typename ElastixType::FixedImageType |
| using | FixedPointSetType |
| using | FixedPointType = typename FixedImageType::PointType |
| using | FixedPointValueType = typename FixedPointType::ValueType |
| using | ImageSamplerBaseType = typename AdvancedMetricType::ImageSamplerType |
| using | ITKBaseType = itk::SingleValuedCostFunction |
| using | MeasureType = typename ITKBaseType::MeasureType |
| using | MovingImageDerivativeScalesType = typename AdvancedMetricType::MovingImageDerivativeScalesType |
| using | MovingImageType = typename ElastixType::MovingImageType |
| using | MovingPointSetType |
| using | MovingPointType = typename MovingImageType::PointType |
| using | MovingPointValueType = typename MovingPointType::ValueType |
| using | RegistrationType |
| using | Self = MetricBase |
| using | Superclass = BaseComponentSE<TElastix> |
| Public Types inherited from elastix::BaseComponentSE< TElastix > | |
| using | ElastixType = TElastix |
| using | RegistrationType = typename ElastixType::RegistrationBaseType |
| using | Self = BaseComponentSE |
| using | Superclass = BaseComponent |
Static Public Member Functions | |
| static Pointer | New () |
| Static Public Member Functions inherited from itk::MeshPenalty< TFixedPointSet, TMovingPointSet > | |
| static Pointer | New () |
| Static Public Member Functions inherited from elastix::BaseComponent | |
| template<typename TBaseComponent> | |
| static auto | AsITKBaseType (TBaseComponent *const baseComponent) -> decltype(baseComponent->GetAsITKBaseType()) |
| static void | InitializeElastixExecutable () |
| static bool | IsElastixLibrary () |
Protected Member Functions | |
| PolydataDummyPenalty () | |
| ~PolydataDummyPenalty () override=default | |
| Protected Member Functions inherited from itk::MeshPenalty< TFixedPointSet, TMovingPointSet > | |
| MeshPenalty () | |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| ~MeshPenalty () override=default | |
| Protected Member Functions inherited from itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet > | |
| const auto & | GetFixedPoints () const |
| const auto & | GetMovingPoints () const |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| SingleValuedPointSetToPointSetMetric ()=default | |
| ~SingleValuedPointSetToPointSetMetric () override=default | |
| Protected Member Functions inherited from elastix::MetricBase< TElastix > | |
| virtual MeasureType | GetExactValue (const ParametersType ¶meters) |
| MetricBase ()=default | |
| ~MetricBase () override=default | |
| Protected Member Functions inherited from elastix::BaseComponentSE< TElastix > | |
| BaseComponentSE ()=default | |
| ~BaseComponentSE () override=default | |
| Protected Member Functions inherited from elastix::BaseComponent | |
| BaseComponent ()=default | |
| virtual | ~BaseComponent ()=default |
Private Attributes | |
| elxOverrideGetSelfMacro | |
| unsigned int | m_NumberOfMeshes |
| using elastix::PolydataDummyPenalty< TElastix >::CombinationTransformType = itk::AdvancedCombinationTransform<CoordinateType, Self::FixedImageDimension> |
Other typedef's.
Definition at line 129 of file elxPolydataDummyPenalty.h.
| using elastix::PolydataDummyPenalty< TElastix >::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 75 of file elxPolydataDummyPenalty.h.
| using elastix::PolydataDummyPenalty< TElastix >::CoordinateType = typename OutputPointType::CoordinateType |
Definition at line 120 of file elxPolydataDummyPenalty.h.
| using elastix::MetricBase< TElastix >::FixedImageType |
Other typedef's.
Definition at line 94 of file elxMetricBase.h.
| using elastix::PolydataDummyPenalty< TElastix >::ImageType = FixedImageType |
Definition at line 148 of file elxPolydataDummyPenalty.h.
| using elastix::PolydataDummyPenalty< TElastix >::InitialTransformType = typename CombinationTransformType::InitialTransformType |
Definition at line 130 of file elxPolydataDummyPenalty.h.
| using elastix::PolydataDummyPenalty< TElastix >::ITKBaseType = typename Superclass2::ITKBaseType |
Definition at line 135 of file elxPolydataDummyPenalty.h.
| using elastix::PolydataDummyPenalty< TElastix >::MeshType = FixedMeshType |
Definition at line 147 of file elxPolydataDummyPenalty.h.
| using elastix::MetricBase< TElastix >::MovingImageType |
Definition at line 97 of file elxMetricBase.h.
| using elastix::PolydataDummyPenalty< TElastix >::Pointer = itk::SmartPointer<Self> |
Definition at line 74 of file elxPolydataDummyPenalty.h.
| using elastix::PolydataDummyPenalty< TElastix >::PointSetType = FixedPointSetType |
Assuming fixed and moving pointsets are of equal type, which implicitly assumes that the fixed and moving image are of the same type.
Definition at line 146 of file elxPolydataDummyPenalty.h.
| using elastix::PolydataDummyPenalty< TElastix >::Self = PolydataDummyPenalty |
Standard ITK-stuff.
Definition at line 70 of file elxPolydataDummyPenalty.h.
| using elastix::PolydataDummyPenalty< TElastix >::Superclass1 |
Definition at line 71 of file elxPolydataDummyPenalty.h.
| using elastix::PolydataDummyPenalty< TElastix >::Superclass2 = MetricBase<TElastix> |
Definition at line 73 of file elxPolydataDummyPenalty.h.
|
protected |
The constructor.
|
overrideprotecteddefault |
The destructor.
|
overridevirtual |
Reimplemented from elastix::BaseComponent.
|
overridevirtual |
Reimplemented from elastix::BaseComponent.
|
overridevirtual |
Do some things before registration:
Reimplemented from elastix::BaseComponent.
|
overridevirtual |
Reimplemented from elastix::BaseComponent.
| elastix::PolydataDummyPenalty< TElastix >::elxClassNameMacro | ( | "PolydataDummyPenalty< TElastix >" | ) |
Name of this class. Use this name in the parameter file to select this specific metric.
example: (Metric "PolydataDummyPenalty")
|
overridevirtual |
Typedef for timer. Sets up a timer to measure the initialization time and calls the Superclass' implementation.
Reimplemented from itk::SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >.
| elastix::PolydataDummyPenalty< TElastix >::ITK_DISALLOW_COPY_AND_MOVE | ( | PolydataDummyPenalty< TElastix > | ) |
| elastix::PolydataDummyPenalty< TElastix >::itkOverrideGetNameOfClassMacro | ( | PolydataDummyPenalty< TElastix > | ) |
Run-time type information (and related methods).
| elastix::PolydataDummyPenalty< TElastix >::itkStaticConstMacro | ( | FixedImageDimension | , |
| unsigned int | , | ||
| FixedImageType::ImageDimension | ) |
The fixed image dimension.
| elastix::PolydataDummyPenalty< TElastix >::itkStaticConstMacro | ( | MovingImageDimension | , |
| unsigned int | , | ||
| MovingImageType::ImageDimension | ) |
|
static |
Method for creation through the object factory.
| unsigned int elastix::PolydataDummyPenalty< TElastix >::ReadMesh | ( | const std::string & | meshFileName, |
| typename FixedMeshType::Pointer & | mesh ) |
Function to read the corresponding points.
| unsigned int elastix::PolydataDummyPenalty< TElastix >::ReadTransformixPoints | ( | const std::string & | filename, |
| typename MeshType::Pointer & | mesh ) |
|
inlineoverridevirtual |
Overwrite to silence warning.
Reimplemented from elastix::MetricBase< TElastix >.
Definition at line 188 of file elxPolydataDummyPenalty.h.
| void elastix::PolydataDummyPenalty< TElastix >::WriteResultMesh | ( | const std::string & | filename, |
| MeshIdType | meshId ) |
|
private |
Definition at line 198 of file elxPolydataDummyPenalty.h.
|
private |
Definition at line 200 of file elxPolydataDummyPenalty.h.
Generated on 1774142652 for elastix by 1.15.0 |