go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxTransformRigidityPenaltyTerm.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright UMC Utrecht and contributors
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef __elxTransformRigidityPenaltyTerm_H__
19 #define __elxTransformRigidityPenaltyTerm_H__
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 
24 namespace elastix
25 {
26 
109 template< class TElastix >
112  typename MetricBase< TElastix >::FixedImageType,
113  double >,
114  public MetricBase< TElastix >
115 {
116 public:
117 
122  double > Superclass1;
124  typedef itk::SmartPointer< Self > Pointer;
125  typedef itk::SmartPointer< const Self > ConstPointer;
126 
128  itkNewMacro( Self );
129 
132 
137  elxClassNameMacro( "TransformRigidityPenalty" );
138 
155  typedef typename Superclass1::RealType RealType;
178 
180 
182  itkStaticConstMacro( FixedImageDimension, unsigned int,
183  FixedImageType::ImageDimension );
184 
186  itkStaticConstMacro( MovingImageDimension, unsigned int,
187  MovingImageType::ImageDimension );
188 
197 
201  void Initialize( void ) override;
202 
207  void BeforeEachResolution( void ) override;
208 
215  void BeforeRegistration( void ) override;
216 
221  void AfterEachIteration( void ) override;
222 
227  void SelectNewSamples( void ) override{}
228 
229 protected:
230 
233 
236 
237 private:
238 
240  TransformRigidityPenalty( const Self & ); // purposely not implemented
242  void operator=( const Self & ); // purposely not implemented
243 
244 };
245 
246 } // end namespace elastix
247 
248 #ifndef ITK_MANUAL_INSTANTIATION
249 #include "elxTransformRigidityPenaltyTerm.hxx"
250 #endif
251 
252 #endif // end #ifndef __elxTransformRigidityPenaltyTerm_H__
A class that deals with user given parameters and command line arguments.
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
itk::SingleValuedCostFunction ITKBaseType
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:89
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:81
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:92
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:87
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:88
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:85
A penalty term based on non-rigidity.
Superclass1::InterpolatorPointer InterpolatorPointer
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::MovingImageLimiterType MovingImageLimiterType
elxClassNameMacro("TransformRigidityPenalty")
Superclass1::FixedImageMaskPointer FixedImageMaskPointer
Superclass1::CoefficientImageType CoefficientImageType
Superclass2::RegistrationPointer RegistrationPointer
Superclass1::FixedImageRegionType FixedImageRegionType
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
Superclass1::FixedImageConstPointer FixedImageConstPointer
Superclass1::TransformJacobianType TransformJacobianType
void BeforeRegistration(void) override
Superclass1::MovingImageRegionType MovingImageRegionType
Superclass1::MovingImageConstPointer MovingImageConstPointer
Superclass1::ImageSamplerPointer ImageSamplerPointer
Superclass1::GradientPixelType GradientPixelType
void AfterEachIteration(void) override
void BeforeEachResolution(void) override
itk::SmartPointer< const Self > ConstPointer
Superclass1::FixedImagePixelType FixedImagePixelType
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
Superclass1::FixedImageMaskType FixedImageMaskType
void Initialize(void) override
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass1::GradientImagePointer GradientImagePointer
itk::TransformRigidityPenaltyTerm< typename MetricBase< TElastix >::FixedImageType, double > Superclass1
Superclass1::GradientImageFilterType GradientImageFilterType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass1::TransformParametersType TransformParametersType
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass1::MovingImageMaskType MovingImageMaskType
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::FixedImageLimiterType FixedImageLimiterType
Superclass1::GradientImageType GradientImageType
Superclass1::MovingImagePixelType MovingImagePixelType
Superclass2::ConfigurationType ConfigurationType
Superclass2::ConfigurationPointer ConfigurationPointer
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
This class is a base class for any image sampler.
Base class for all ITK limiter function objects.
A cost function that calculates a penalty term on a transformation.
A cost function that calculates a rigidity penalty term.
Superclass::FixedImagePixelType FixedImagePixelType
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass::InterpolatorPointer InterpolatorPointer
Superclass::MovingImagePixelType MovingImagePixelType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::GradientImagePointer GradientImagePointer
Superclass::ImageSampleContainerType ImageSampleContainerType
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass::TransformParametersType TransformParametersType
BSplineTransformType::ImageType CoefficientImageType
Superclass::FixedImageRegionType FixedImageRegionType
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass::MovingImageMaskPointer MovingImageMaskPointer
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass::TransformJacobianType TransformJacobianType
Superclass::GradientImageFilterType GradientImageFilterType
Superclass::FixedImageMaskType FixedImageMaskType


Generated on 1652341256 for elastix by doxygen 1.9.1 elastix logo