go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxNearestNeighborResampleInterpolator.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 __elxNearestNeighborResampleInterpolator_h
19 #define __elxNearestNeighborResampleInterpolator_h
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
22 #include "itkNearestNeighborInterpolateImageFunction.h"
23 
24 namespace elastix
25 {
26 
43 template< class TElastix >
45  public
46  itk::NearestNeighborInterpolateImageFunction<
47  typename ResampleInterpolatorBase< TElastix >::InputImageType,
48  typename ResampleInterpolatorBase< TElastix >::CoordRepType >,
49  public ResampleInterpolatorBase< TElastix >
50 {
51 public:
52 
55  typedef itk::NearestNeighborInterpolateImageFunction<
59  typedef itk::SmartPointer< Self > Pointer;
60  typedef itk::SmartPointer< const Self > ConstPointer;
61 
63  itkNewMacro( Self );
64 
66  itkTypeMacro( NearestNeighborResampleInterpolator, NearestNeighborInterpolateImageFunction );
67 
72  elxClassNameMacro( "FinalNearestNeighborInterpolator" );
73 
75  itkStaticConstMacro( ImageDimension, unsigned int, Superclass1::ImageDimension );
76 
78  typedef typename Superclass1::OutputType OutputType;
79  typedef typename Superclass1::InputImageType InputImageType;
80  typedef typename Superclass1::IndexType IndexType;
81  typedef typename Superclass1::ContinuousIndexType ContinuousIndexType;
82 
91 
92 protected:
93 
98 
99 private:
100 
102  NearestNeighborResampleInterpolator( 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 "elxNearestNeighborResampleInterpolator.hxx"
112 #endif
113 
114 #endif // end __elxNearestNeighborResampleInterpolator_h
elastix::ResampleInterpolatorBase::ElastixType
Superclass::ElastixType ElastixType
Definition: elxResampleInterpolatorBase.h:51
elastix::NearestNeighborResampleInterpolator::Pointer
itk::SmartPointer< Self > Pointer
Definition: elxNearestNeighborResampleInterpolator.h:59
elastix::NearestNeighborResampleInterpolator::RegistrationPointer
Superclass2::RegistrationPointer RegistrationPointer
Definition: elxNearestNeighborResampleInterpolator.h:89
elastix::NearestNeighborResampleInterpolator::NearestNeighborResampleInterpolator
NearestNeighborResampleInterpolator()
Definition: elxNearestNeighborResampleInterpolator.h:95
elastix::NearestNeighborResampleInterpolator::ElastixPointer
Superclass2::ElastixPointer ElastixPointer
Definition: elxNearestNeighborResampleInterpolator.h:85
elastix::ResampleInterpolatorBase::InputImageType
ElastixType::MovingImageType InputImageType
Definition: elxResampleInterpolatorBase.h:62
elastix::NearestNeighborResampleInterpolator::ContinuousIndexType
Superclass1::ContinuousIndexType ContinuousIndexType
Definition: elxNearestNeighborResampleInterpolator.h:81
elastix::NearestNeighborResampleInterpolator::~NearestNeighborResampleInterpolator
virtual ~NearestNeighborResampleInterpolator()
Definition: elxNearestNeighborResampleInterpolator.h:97
elastix::ResampleInterpolatorBase::ElastixPointer
Superclass::ElastixPointer ElastixPointer
Definition: elxResampleInterpolatorBase.h:55
elastix::NearestNeighborResampleInterpolator::itkStaticConstMacro
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
elastix::NearestNeighborResampleInterpolator::NearestNeighborResampleInterpolator
NearestNeighborResampleInterpolator(const Self &)
elastix::NearestNeighborResampleInterpolator::ConfigurationPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Definition: elxNearestNeighborResampleInterpolator.h:87
elastix::NearestNeighborResampleInterpolator::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: elxNearestNeighborResampleInterpolator.h:60
elastix::NearestNeighborResampleInterpolator::Superclass1
itk::NearestNeighborInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType > Superclass1
Definition: elxNearestNeighborResampleInterpolator.h:57
elastix::NearestNeighborResampleInterpolator::operator=
void operator=(const Self &)
elastix::ResampleInterpolatorBase::ConfigurationPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxResampleInterpolatorBase.h:57
elastix::NearestNeighborResampleInterpolator::ITKBaseType
Superclass2::ITKBaseType ITKBaseType
Definition: elxNearestNeighborResampleInterpolator.h:90
elastix::NearestNeighborResampleInterpolator::Superclass2
ResampleInterpolatorBase< TElastix > Superclass2
Definition: elxNearestNeighborResampleInterpolator.h:58
elastix::NearestNeighborResampleInterpolator::ConfigurationType
Superclass2::ConfigurationType ConfigurationType
Definition: elxNearestNeighborResampleInterpolator.h:86
elastix::NearestNeighborResampleInterpolator
A nearest neighbor resample-interpolator.
Definition: elxNearestNeighborResampleInterpolator.h:50
elastix::ResampleInterpolatorBase::CoordRepType
ElastixType::CoordRepType CoordRepType
Definition: elxResampleInterpolatorBase.h:63
elastix::ResampleInterpolatorBase
This class is the elastix base class for all ResampleInterpolators.
Definition: elxResampleInterpolatorBase.h:43
elastix::NearestNeighborResampleInterpolator::elxClassNameMacro
elxClassNameMacro("FinalNearestNeighborInterpolator")
elxIncludes.h
elastix::NearestNeighborResampleInterpolator::IndexType
Superclass1::IndexType IndexType
Definition: elxNearestNeighborResampleInterpolator.h:80
elastix::NearestNeighborResampleInterpolator::InputImageType
Superclass1::InputImageType InputImageType
Definition: elxNearestNeighborResampleInterpolator.h:79
elastix::ResampleInterpolatorBase::ITKBaseType
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
Definition: elxResampleInterpolatorBase.h:67
elastix::ResampleInterpolatorBase::RegistrationPointer
Superclass::RegistrationPointer RegistrationPointer
Definition: elxResampleInterpolatorBase.h:59
elastix::ResampleInterpolatorBase::ConfigurationType
Superclass::ConfigurationType ConfigurationType
Definition: elxResampleInterpolatorBase.h:56
elastix::NearestNeighborResampleInterpolator::ElastixType
Superclass2::ElastixType ElastixType
Definition: elxNearestNeighborResampleInterpolator.h:84
elastix::NearestNeighborResampleInterpolator::OutputType
Superclass1::OutputType OutputType
Definition: elxNearestNeighborResampleInterpolator.h:78
elastix::NearestNeighborResampleInterpolator::Self
NearestNeighborResampleInterpolator Self
Definition: elxNearestNeighborResampleInterpolator.h:54
elastix::NearestNeighborResampleInterpolator::RegistrationType
Superclass2::RegistrationType RegistrationType
Definition: elxNearestNeighborResampleInterpolator.h:88
elastix
Definition: elxFixedGenericPyramid.h:25
elastix::ResampleInterpolatorBase::RegistrationType
Superclass::RegistrationType RegistrationType
Definition: elxResampleInterpolatorBase.h:58


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo