go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxMultiInputRandomCoordinateSampler.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 elxMultiInputRandomCoordinateSampler_h
19#define elxMultiInputRandomCoordinateSampler_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
23
24namespace elastix
25{
26
83template <class TElastix>
84class ITK_TEMPLATE_EXPORT MultiInputRandomCoordinateSampler
85 : public itk::MultiInputImageRandomCoordinateSampler<typename elx::ImageSamplerBase<TElastix>::InputImageType>
86 , public elx::ImageSamplerBase<TElastix>
87{
88public:
90
96 using Pointer = itk::SmartPointer<Self>;
97 using ConstPointer = itk::SmartPointer<const Self>;
98
100 itkNewMacro(Self);
101
104
109 elxClassNameMacro("MultiInputRandomCoordinate");
110
112 using typename Superclass1::DataObjectPointer;
115 using typename Superclass1::InputImageType;
116 using typename Superclass1::InputImagePointer;
120 using typename Superclass1::ImageSampleType;
122 using typename Superclass1::MaskType;
125 using typename Superclass1::InputImageSizeType;
129
132 using typename Superclass1::CoordRepType;
133 using typename Superclass1::InterpolatorType;
135
137 itkStaticConstMacro(InputImageDimension, unsigned int, Superclass1::InputImageDimension);
138
140 using typename Superclass2::ElastixType;
141 using typename Superclass2::RegistrationType;
142 using ITKBaseType = typename Superclass2::ITKBaseType;
143
149 void
151
152protected:
157
158private:
160};
161
162} // end namespace elastix
163
164#ifndef ITK_MANUAL_INSTANTIATION
165# include "elxMultiInputRandomCoordinateSampler.hxx"
166#endif
167
168#endif // end #ifndef elxMultiInputRandomCoordinateSampler_h
An interpolator based on the itk::MultiInputImageRandomCoordinateSampler.
~MultiInputRandomCoordinateSampler() override=default
ITK_DISALLOW_COPY_AND_MOVE(MultiInputRandomCoordinateSampler)
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass1::InputImageDimension)
elxClassNameMacro("MultiInputRandomCoordinate")
A class that defines an image sample, which is the coordinates of a point and its value.
This class is a base class for any image sampler.
typename InputImageType::PointType InputImagePointType
typename InputImageType::SizeType InputImageSizeType
typename InputImagePointType::ValueType InputImagePointValueType
typename ImageSampleType::RealType ImageSampleValueType
typename InputImageType::IndexType InputImageIndexType
Samples an image by randomly composing a set of physical coordinates.
typename InputImageType::ConstPointer InputImageConstPointer
BSplineInterpolateImageFunction< InputImageType, CoordRepType, double > DefaultInterpolatorType
typename InputImageType::RegionType InputImageRegionType
typename InputImageType::Pointer InputImagePointer
ImageMaskSpatialObject< Self::InputImageDimension > MaskType
typename InputImageType::PixelType InputImagePixelType
InterpolateImageFunction< InputImageType, CoordRepType > InterpolatorType
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.


Generated on 2024-07-17 for elastix by doxygen 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) elastix logo