go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxReducedDimensionBSplineResampleInterpolator.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 __elxReducedDimensionBSplineResampleInterpolator_h
19 #define __elxReducedDimensionBSplineResampleInterpolator_h
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 
24 namespace elastix
25 {
26 
53 template< class TElastix >
55  public
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 
79 
84  elxClassNameMacro( "FinalReducedDimensionBSplineInterpolator" );
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 
114  virtual void BeforeRegistration( void );
115 
117  virtual void ReadFromFile( void );
118 
120  virtual void WriteToFile( void ) const;
121 
122 protected:
123 
128 
129 private:
130 
132  ReducedDimensionBSplineResampleInterpolator( const Self & ); // purposely not implemented
134  void operator=( const Self & ); // purposely not implemented
135 
136 };
137 
138 } // end namespace elastix
139 
140 #ifndef ITK_MANUAL_INSTANTIATION
141 #include "elxReducedDimensionBSplineResampleInterpolator.hxx"
142 #endif
143 
144 #endif // end __elxReducedDimensionBSplineResampleInterpolator_h
Superclass::RegistrationType RegistrationType
ElastixType::MovingImageType InputImageType
elxClassNameMacro("FinalReducedDimensionBSplineInterpolator")
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
A resample-interpolator based on B-splines which ignores the last dimension.
itk::BSplineInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType, double > Superclass1
Superclass::ConfigurationPointer ConfigurationPointer
Evaluates the B-Spline interpolation of an image. Spline order may be from 0 to 5.
This class is the elastix base class for all ResampleInterpolators.
Superclass::RegistrationPointer RegistrationPointer
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
Superclass::ConfigurationType ConfigurationType


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