go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxRandomSamplerSparseMask.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 __elxRandomSamplerSparseMask_h
19#define __elxRandomSamplerSparseMask_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
23
24namespace elastix
25{
26
53template< class TElastix >
55 public
57 typename elx::ImageSamplerBase< TElastix >::InputImageType >,
58 public
59 elx::ImageSamplerBase< TElastix >
60{
61public:
62
69 typedef itk::SmartPointer< Self > Pointer;
70 typedef itk::SmartPointer< const Self > ConstPointer;
71
73 itkNewMacro( Self );
74
77
82 elxClassNameMacro( "RandomSparseMask" );
83
98
100 itkStaticConstMacro( InputImageDimension, unsigned int, Superclass1::InputImageDimension );
101
103 typedef typename Superclass2::ElastixType ElastixType;
104 typedef typename Superclass2::ElastixPointer ElastixPointer;
105 typedef typename Superclass2::ConfigurationType ConfigurationType;
106 typedef typename Superclass2::ConfigurationPointer ConfigurationPointer;
107 typedef typename Superclass2::RegistrationType RegistrationType;
108 typedef typename Superclass2::RegistrationPointer RegistrationPointer;
109 typedef typename Superclass2::ITKBaseType ITKBaseType;
110
114 void BeforeEachResolution( void ) override;
115
116protected:
117
122
123private:
124
126 RandomSamplerSparseMask( const Self & ); // purposely not implemented
128 void operator=( const Self & ); // purposely not implemented
129
130};
131
132} // end namespace elastix
133
134#ifndef ITK_MANUAL_INSTANTIATION
135#include "elxRandomSamplerSparseMask.hxx"
136#endif
137
138#endif // end #ifndef __elxRandomSamplerSparseMask_h
An interpolator based on the itk::ImageRandomSamplerSparseMask.
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass1::InputImagePointType InputImagePointType
elxClassNameMacro("RandomSparseMask")
void BeforeEachResolution(void) override
Superclass1::InputImageRegionType InputImageRegionType
Superclass1::OutputVectorContainerType OutputVectorContainerType
Superclass1::InputImageType InputImageType
Superclass1::ImageSampleType ImageSampleType
Superclass1::InputImagePointer InputImagePointer
Superclass1::InputImageConstPointer InputImageConstPointer
Superclass1::InputImagePixelType InputImagePixelType
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass2::ConfigurationType ConfigurationType
Superclass1::InputImageIndexType InputImageIndexType
Superclass1::DataObjectPointer DataObjectPointer
Superclass2::ElastixPointer ElastixPointer
itk::ImageRandomSamplerSparseMask< typename elx::ImageSamplerBase< TElastix >::InputImageType > Superclass1
elx::ImageSamplerBase< TElastix > Superclass2
Superclass2::RegistrationType RegistrationType
Superclass2::RegistrationPointer RegistrationPointer
Superclass1::OutputVectorContainerPointer OutputVectorContainerPointer
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass1::InputImageDimension)
itk::SmartPointer< const Self > ConstPointer
Samples randomly some voxels of an image.
Superclass::InputImageRegionType InputImageRegionType
Superclass::InputImagePixelType InputImagePixelType
Superclass::InputImagePointer InputImagePointer
Superclass::DataObjectPointer DataObjectPointer
Superclass::InputImageConstPointer InputImageConstPointer
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.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo