go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxBSplineResampleInterpolator.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 __elxBSplineResampleInterpolator_h
19 #define __elxBSplineResampleInterpolator_h
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
22 #include "itkBSplineInterpolateImageFunction.h"
23 
24 namespace elastix
25 {
53 template< class TElastix >
55  public
56  itk::BSplineInterpolateImageFunction<
57  typename ResampleInterpolatorBase< TElastix >::InputImageType,
58  typename ResampleInterpolatorBase< TElastix >::CoordRepType,
59  double >, //CoefficientType
60  public ResampleInterpolatorBase< TElastix >
61 {
62 public:
63 
66  typedef itk::BSplineInterpolateImageFunction<
69  double > Superclass1;
71  typedef itk::SmartPointer< Self > Pointer;
72  typedef itk::SmartPointer< const Self > ConstPointer;
73 
75  itkNewMacro( Self );
76 
78  itkTypeMacro( BSplineResampleInterpolator, itk::BSplineInterpolateImageFunction );
79 
84  elxClassNameMacro( "FinalBSplineInterpolator" );
85 
87  itkStaticConstMacro( ImageDimension, unsigned int, Superclass1::ImageDimension );
88 
90  typedef typename Superclass1::OutputType OutputType;
91  typedef typename Superclass1::InputImageType InputImageType;
92  typedef typename Superclass1::IndexType IndexType;
93  typedef typename Superclass1::ContinuousIndexType ContinuousIndexType;
94  typedef typename Superclass1::PointType PointType;
95  typedef typename Superclass1::Iterator Iterator;
96  typedef typename Superclass1::CoefficientDataType CoefficientDataType;
97  typedef typename Superclass1::CoefficientImageType CoefficientImageType;
98  typedef typename Superclass1::CoefficientFilter CoefficientFilter;
99  typedef typename Superclass1::CoefficientFilterPointer CoefficientFilterPointer;
100  typedef typename Superclass1::CovariantVectorType CovariantVectorType;
101 
110 
113 
117  virtual void BeforeRegistration( void );
118 
120  virtual void ReadFromFile( void );
121 
123  virtual void WriteToFile( void ) const;
124 
126  virtual void CreateTransformParametersMap( ParameterMapType * paramsMap ) const;
127 
128 protected:
129 
134 
135 private:
136 
138  BSplineResampleInterpolator( const Self & ); // purposely not implemented
140  void operator=( const Self & ); // purposely not implemented
141 
142 };
143 
144 } // end namespace elastix
145 
146 #ifndef ITK_MANUAL_INSTANTIATION
147 #include "elxBSplineResampleInterpolator.hxx"
148 #endif
149 
150 #endif // end __elxBSplineResampleInterpolator_h
Superclass::RegistrationType RegistrationType
Superclass1::CoefficientDataType CoefficientDataType
ElastixType::MovingImageType InputImageType
Superclass1::CovariantVectorType CovariantVectorType
Superclass2::RegistrationPointer RegistrationPointer
Superclass2::ConfigurationPointer ConfigurationPointer
virtual void CreateTransformParametersMap(ParameterMapType *paramsMap) const
ElastixType::ParameterMapType ParameterMapType
ResampleInterpolatorBase< TElastix > Superclass2
Superclass1::ContinuousIndexType ContinuousIndexType
A resample-interpolator based on B-splines.
Superclass::ConfigurationPointer ConfigurationPointer
Superclass1::CoefficientFilter CoefficientFilter
Superclass1::CoefficientImageType CoefficientImageType
This class is the elastix base class for all ResampleInterpolators.
Superclass::RegistrationPointer RegistrationPointer
elxClassNameMacro("FinalBSplineInterpolator")
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
itk::BSplineInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType, double > Superclass1
Superclass1::CoefficientFilterPointer CoefficientFilterPointer
virtual void WriteToFile(void) const
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
Superclass::ConfigurationType ConfigurationType


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