go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxNearestNeighborInterpolator.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 __elxNearestNeighborInterpolator_h
19 #define __elxNearestNeighborInterpolator_h
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
22 #include "itkNearestNeighborInterpolateImageFunction.h"
23 
24 namespace elastix
25 {
26 
41 template< class TElastix >
43  public
44  itk::NearestNeighborInterpolateImageFunction<
45  typename InterpolatorBase< TElastix >::InputImageType,
46  typename InterpolatorBase< TElastix >::CoordRepType >,
47  public
48  InterpolatorBase< TElastix >
49 {
50 public:
51 
54  typedef itk::NearestNeighborInterpolateImageFunction<
58  typedef itk::SmartPointer< Self > Pointer;
59  typedef itk::SmartPointer< const Self > ConstPointer;
60 
62  itkNewMacro( Self );
63 
65  itkTypeMacro( NearestNeighborInterpolator, itk::NearestNeighborInterpolateImageFunction );
66 
71  elxClassNameMacro( "NearestNeighborInterpolator" );
72 
74  itkStaticConstMacro( ImageDimension, unsigned int, Superclass1::ImageDimension );
75 
77  typedef typename Superclass1::OutputType OutputType;
78  typedef typename Superclass1::InputImageType InputImageType;
79  typedef typename Superclass1::IndexType IndexType;
80  typedef typename Superclass1::ContinuousIndexType ContinuousIndexType;
81  typedef typename Superclass1::PointType PointType;
82 
91 
92 protected:
93 
98 
99 private:
100 
102  NearestNeighborInterpolator( const Self & ); // purposely not implemented
104  void operator=( const Self & ); // purposely not implemented
105 
106 };
107 
108 } // end namespace elastix
109 
110 #ifndef ITK_MANUAL_INSTANTIATION
111 #include "elxNearestNeighborInterpolator.hxx"
112 #endif
113 
114 #endif // end #ifndef __elxNearestNeighborInterpolator_h
elastix::NearestNeighborInterpolator::PointType
Superclass1::PointType PointType
Definition: elxNearestNeighborInterpolator.h:81
elastix::NearestNeighborInterpolator::ITKBaseType
Superclass2::ITKBaseType ITKBaseType
Definition: elxNearestNeighborInterpolator.h:90
elastix::InterpolatorBase::ITKBaseType
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
Definition: elxInterpolatorBase.h:68
elastix::InterpolatorBase::InputImageType
ElastixType::MovingImageType InputImageType
Definition: elxInterpolatorBase.h:63
elastix::NearestNeighborInterpolator::InputImageType
Superclass1::InputImageType InputImageType
Definition: elxNearestNeighborInterpolator.h:78
elastix::NearestNeighborInterpolator::Superclass1
itk::NearestNeighborInterpolateImageFunction< typename InterpolatorBase< TElastix >::InputImageType, typename InterpolatorBase< TElastix >::CoordRepType > Superclass1
Definition: elxNearestNeighborInterpolator.h:56
elastix::NearestNeighborInterpolator::elxClassNameMacro
elxClassNameMacro("NearestNeighborInterpolator")
elastix::NearestNeighborInterpolator::RegistrationPointer
Superclass2::RegistrationPointer RegistrationPointer
Definition: elxNearestNeighborInterpolator.h:89
elastix::NearestNeighborInterpolator::ElastixType
Superclass2::ElastixType ElastixType
Definition: elxNearestNeighborInterpolator.h:84
elastix::InterpolatorBase::ElastixPointer
Superclass::ElastixPointer ElastixPointer
Definition: elxInterpolatorBase.h:56
elastix::NearestNeighborInterpolator::OutputType
Superclass1::OutputType OutputType
Definition: elxNearestNeighborInterpolator.h:77
elastix::NearestNeighborInterpolator::ElastixPointer
Superclass2::ElastixPointer ElastixPointer
Definition: elxNearestNeighborInterpolator.h:85
elastix::InterpolatorBase::CoordRepType
ElastixType::CoordRepType CoordRepType
Definition: elxInterpolatorBase.h:64
elastix::NearestNeighborInterpolator
An interpolator based on the itkNearestNeighborInterpolateImageFunction.
Definition: elxNearestNeighborInterpolator.h:49
elastix::NearestNeighborInterpolator::Self
NearestNeighborInterpolator Self
Definition: elxNearestNeighborInterpolator.h:53
elastix::NearestNeighborInterpolator::ConfigurationPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Definition: elxNearestNeighborInterpolator.h:87
elastix::NearestNeighborInterpolator::IndexType
Superclass1::IndexType IndexType
Definition: elxNearestNeighborInterpolator.h:79
elastix::NearestNeighborInterpolator::NearestNeighborInterpolator
NearestNeighborInterpolator()
Definition: elxNearestNeighborInterpolator.h:95
elastix::NearestNeighborInterpolator::ConfigurationType
Superclass2::ConfigurationType ConfigurationType
Definition: elxNearestNeighborInterpolator.h:86
elastix::NearestNeighborInterpolator::~NearestNeighborInterpolator
virtual ~NearestNeighborInterpolator()
Definition: elxNearestNeighborInterpolator.h:97
elastix::NearestNeighborInterpolator::NearestNeighborInterpolator
NearestNeighborInterpolator(const Self &)
elastix::InterpolatorBase::ConfigurationPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxInterpolatorBase.h:58
elastix::InterpolatorBase::RegistrationPointer
Superclass::RegistrationPointer RegistrationPointer
Definition: elxInterpolatorBase.h:60
elxIncludes.h
elastix::InterpolatorBase::RegistrationType
Superclass::RegistrationType RegistrationType
Definition: elxInterpolatorBase.h:59
elastix::NearestNeighborInterpolator::Superclass2
InterpolatorBase< TElastix > Superclass2
Definition: elxNearestNeighborInterpolator.h:57
elastix::InterpolatorBase::ConfigurationType
Superclass::ConfigurationType ConfigurationType
Definition: elxInterpolatorBase.h:57
elastix::InterpolatorBase
This class is the elastix base class for all Interpolators.
Definition: elxInterpolatorBase.h:44
elastix::InterpolatorBase::ElastixType
Superclass::ElastixType ElastixType
Definition: elxInterpolatorBase.h:52
elastix::NearestNeighborInterpolator::RegistrationType
Superclass2::RegistrationType RegistrationType
Definition: elxNearestNeighborInterpolator.h:88
elastix::NearestNeighborInterpolator::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: elxNearestNeighborInterpolator.h:59
elastix
Definition: elxFixedGenericPyramid.h:25
elastix::NearestNeighborInterpolator::itkStaticConstMacro
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
elastix::NearestNeighborInterpolator::Pointer
itk::SmartPointer< Self > Pointer
Definition: elxNearestNeighborInterpolator.h:58
elastix::NearestNeighborInterpolator::ContinuousIndexType
Superclass1::ContinuousIndexType ContinuousIndexType
Definition: elxNearestNeighborInterpolator.h:80
elastix::NearestNeighborInterpolator::operator=
void operator=(const Self &)


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo