go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxDistancePreservingRigidityPenaltyTerm.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 __elxDistancePreservingRigidityPenaltyTerm_H__
19 #define __elxDistancePreservingRigidityPenaltyTerm_H__
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 
24 namespace elastix
25 {
63 template< class TElastix >
65  public itk::DistancePreservingRigidityPenaltyTerm< typename MetricBase< TElastix >::FixedImageType, double >,
66  public MetricBase< TElastix >
67 {
68 public:
69 
75  typedef itk::SmartPointer< Self > Pointer;
76  typedef itk::SmartPointer< const Self > ConstPointer;
77 
79  itkNewMacro( Self );
80 
83 
88  elxClassNameMacro( "DistancePreservingRigidityPenalty" );
89 
106  typedef typename Superclass1::RealType RealType;
131 
133  itkStaticConstMacro( FixedImageDimension, unsigned int, FixedImageType::ImageDimension );
134 
136  itkStaticConstMacro( MovingImageDimension, unsigned int, MovingImageType::ImageDimension );
137 
146 
148  typedef itk::MultiResolutionPyramidImageFilter<
150  typedef typename SegmentedImagePyramidType::Pointer SegmentedImagePyramidPointer;
151 
155  virtual void Initialize( void ) throw ( itk::ExceptionObject );
156 
162  virtual void BeforeRegistration( void );
163 
164 protected:
165 
168 
171 
172 private:
173 
175  DistancePreservingRigidityPenalty( const Self & ); // purposely not implemented
177  void operator=( const Self & ); // purposely not implemented
178 
179 };
180 
181 } // end namespace elastix
182 
183 #ifndef ITK_MANUAL_INSTANTIATION
184 #include "elxDistancePreservingRigidityPenaltyTerm.hxx"
185 #endif
186 
187 #endif // end #ifndef __elxDistancePreservingRigidityPenaltyTerm_H__
188 
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:86
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:89
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:87
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:93
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
This class is a base class for any image sampler.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
itk::MultiResolutionPyramidImageFilter< SegmentedImageType, SegmentedImageType > SegmentedImagePyramidType
Base class for all ITK limiter function objects.
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:82
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
itk::SingleValuedCostFunction ITKBaseType
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:90
A penalty term designed to preserve inter-voxel distances within rigid body regions.
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:88
itk::DistancePreservingRigidityPenaltyTerm< typename MetricBase< TElastix >::FixedImageType, double > Superclass1
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
elxClassNameMacro("DistancePreservingRigidityPenalty")


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