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 
25 namespace elastix
26 {
27 
110 template< class TElastix >
113  typename MetricBase< TElastix >::FixedImageType,
114  double >,
115  public MetricBase< TElastix >
116 {
117 public:
118 
123  double > Superclass1;
125  typedef itk::SmartPointer< Self > Pointer;
126  typedef itk::SmartPointer< const Self > ConstPointer;
127 
129  itkNewMacro( Self );
130 
133 
138  elxClassNameMacro( "TransformRigidityPenalty" );
139 
156  typedef typename Superclass1::RealType RealType;
179 
181 
183  itkStaticConstMacro( FixedImageDimension, unsigned int,
184  FixedImageType::ImageDimension );
185 
187  itkStaticConstMacro( MovingImageDimension, unsigned int,
188  MovingImageType::ImageDimension );
189 
198 
202  virtual void Initialize( void ) throw ( itk::ExceptionObject );
203 
208  virtual void BeforeEachResolution( void );
209 
216  virtual void BeforeRegistration( void );
217 
222  virtual void AfterEachIteration( void );
223 
228  virtual void SelectNewSamples( void ){}
229 
230 protected:
231 
234 
237 
238 private:
239 
241  TransformRigidityPenalty( const Self & ); // purposely not implemented
243  void operator=( const Self & ); // purposely not implemented
244 
245 };
246 
247 } // end namespace elastix
248 
249 #ifndef ITK_MANUAL_INSTANTIATION
250 #include "elxTransformRigidityPenaltyTerm.hxx"
251 #endif
252 
253 #endif // end #ifndef __elxTransformRigidityPenaltyTerm_H__
Superclass1::TransformParametersType TransformParametersType
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:86
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:89
Superclass1::FixedImagePixelType FixedImagePixelType
Superclass1::FixedImageConstPointer FixedImageConstPointer
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:87
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:93
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:82
itk::TransformRigidityPenaltyTerm< typename MetricBase< TElastix >::FixedImageType, double > Superclass1
itk::SingleValuedCostFunction ITKBaseType
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:90
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:88
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass1::GradientImagePointer GradientImagePointer
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
Superclass1::FixedImageLimiterType FixedImageLimiterType


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo