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  virtual void Initialize( void ) throw ( itk::ExceptionObject );
202 
207  virtual void BeforeEachResolution( void );
208 
215  virtual void BeforeRegistration( void );
216 
221  virtual void AfterEachIteration( void );
222 
227  virtual void SelectNewSamples( void ){}
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__
Superclass1::TransformParametersType TransformParametersType
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:85
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:88
Superclass1::FixedImagePixelType FixedImagePixelType
Superclass1::FixedImageConstPointer FixedImageConstPointer
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:86
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::MovingImageLimiterType MovingImageLimiterType
itk::SmartPointer< const Self > ConstPointer
elxClassNameMacro("TransformRigidityPenalty")
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
A cost function that calculates a rigidity penalty term.
Superclass::TransformJacobianType TransformJacobianType
Superclass2::RegistrationPointer RegistrationPointer
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass::TransformParametersType TransformParametersType
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:92
Superclass1::GradientPixelType GradientPixelType
Superclass1::MovingImageRegionType MovingImageRegionType
Superclass::MovingImageMaskPointer MovingImageMaskPointer
A penalty term based on non-rigidity.
Superclass::FixedImageRegionType FixedImageRegionType
Superclass::GradientImagePointer GradientImagePointer
Superclass1::FixedImageMaskType FixedImageMaskType
Superclass1::GradientImageType GradientImageType
Superclass1::GradientImageFilterType GradientImageFilterType
This class is a base class for any image sampler.
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
virtual void BeforeEachResolution(void)
virtual void AfterEachIteration(void)
Superclass2::ConfigurationType ConfigurationType
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass::GradientImageFilterType GradientImageFilterType
Superclass1::ImageSamplerPointer ImageSamplerPointer
Superclass1::InterpolatorPointer InterpolatorPointer
Superclass1::MovingImagePixelType MovingImagePixelType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass1::CoefficientImageType CoefficientImageType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::MovingImagePixelType MovingImagePixelType
Superclass1::MovingImageConstPointer MovingImageConstPointer
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass::InterpolatorPointer InterpolatorPointer
Base class for all ITK limiter function objects.
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:81
itk::TransformRigidityPenaltyTerm< typename MetricBase< TElastix >::FixedImageType, double > Superclass1
itk::SingleValuedCostFunction ITKBaseType
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:89
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::TransformJacobianType TransformJacobianType
Superclass::FixedImageMaskType FixedImageMaskType
Superclass1::FixedImageRegionType FixedImageRegionType
Superclass1::MovingImageMaskType MovingImageMaskType
Superclass::FixedImagePixelType FixedImagePixelType
virtual void BeforeRegistration(void)
Superclass1::FixedImageMaskPointer FixedImageMaskPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:87
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass1::GradientImagePointer GradientImagePointer
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:72
Superclass1::FixedImageLimiterType FixedImageLimiterType


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.13 elastix logo