SimpleITK  
sitkInverseDisplacementFieldImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 *
3 * Copyright NumFOCUS
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 sitkInverseDisplacementFieldImageFilter_h
19 #define sitkInverseDisplacementFieldImageFilter_h
20 
21 /*
22  * WARNING: DO NOT EDIT THIS FILE!
23  * THIS FILE IS AUTOMATICALLY GENERATED BY THE SIMPLEITK BUILD PROCESS.
24  * Please look at sitkImageFilterTemplate.h.in to make changes.
25  */
26 
27 #include <memory>
28 
29 #include "sitkBasicFilters.h"
30 #include "sitkImageFilter.h"
31 
32 namespace itk::simple {
33 
50  public:
52 
55 
59 
62 \
63 
67  SITK_RETURN_SELF_TYPE_HEADER SetSize ( std::vector<uint32_t> Size ) { this->m_Size = std::move(Size); return *this; }
68 
72  std::vector<uint32_t> GetSize() const { return this->m_Size; }\
73 
77  SITK_RETURN_SELF_TYPE_HEADER SetOutputOrigin ( std::vector<double> OutputOrigin ) { this->m_OutputOrigin = std::move(OutputOrigin); return *this; }
78 
82  std::vector<double> GetOutputOrigin() const { return this->m_OutputOrigin; }\
83 
87  SITK_RETURN_SELF_TYPE_HEADER SetOutputSpacing ( std::vector<double> OutputSpacing ) { this->m_OutputSpacing = std::move(OutputSpacing); return *this; }
88 
92  std::vector<double> GetOutputSpacing() const { return this->m_OutputSpacing; }\
93 
97  SITK_RETURN_SELF_TYPE_HEADER SetSubsamplingFactor ( unsigned int SubsamplingFactor ) { this->m_SubsamplingFactor = SubsamplingFactor; return *this; }
98 
102  unsigned int GetSubsamplingFactor() const { return this->m_SubsamplingFactor; }
103 
105  std::string GetName() const { return std::string ("InverseDisplacementFieldImageFilter"); }
106 
108  std::string ToString() const;
109 
110 
113  Image Execute ( const Image& image1 );
114 
115 
117  void SetReferenceImage(const Image & refImage );
118 
119  private:
120 
123  using MemberFunctionType = Image (Self::*)( const Image& image1 );
124  template <class TImageType> Image ExecuteInternal ( const Image& image1 );
125 
126 
128 
129  std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> > m_MemberFactory;
130 
131 
132  /* */
133  std::vector<uint32_t> m_Size{std::vector<uint32_t>(3, 0)};
134 
135  /* */
136  std::vector<double> m_OutputOrigin{std::vector<double>(3, 0.0)};
137 
138  /* */
139  std::vector<double> m_OutputSpacing{std::vector<double>(3, 1.0)};
140 
141  unsigned int m_SubsamplingFactor{16u};
142 
143 
144 
145  };
146 
157  SITKBasicFilters_EXPORT Image InverseDisplacementField ( const Image& image1, std::vector<uint32_t> size = std::vector<uint32_t>(3, 0), std::vector<double> outputOrigin = std::vector<double>(3, 0.0), std::vector<double> outputSpacing = std::vector<double>(3, 1.0), unsigned int subsamplingFactor = 16u );
158 
160 }
161 #endif
itk::simple::Image
The Image class for SimpleITK.
Definition: sitkImage.h:76
sitkBasicFilters.h
itk::Size
itk::simple::detail::MemberFunctionAddressor
Definition: sitkDetail.h:29
itk::simple::InverseDisplacementFieldImageFilter::PixelIDTypeList
RealVectorPixelIDTypeList PixelIDTypeList
Definition: sitkInverseDisplacementFieldImageFilter.h:61
itk::simple::InverseDisplacementFieldImageFilter::SetSubsamplingFactor
Self & SetSubsamplingFactor(unsigned int SubsamplingFactor)
Definition: sitkInverseDisplacementFieldImageFilter.h:97
itk::simple::InverseDisplacementFieldImageFilter::SetOutputSpacing
Self & SetOutputSpacing(std::vector< double > OutputSpacing)
Definition: sitkInverseDisplacementFieldImageFilter.h:87
sitkImageFilter.h
itk::simple::InverseDisplacementFieldImageFilter::GetSubsamplingFactor
unsigned int GetSubsamplingFactor() const
Definition: sitkInverseDisplacementFieldImageFilter.h:102
itk::simple::InverseDisplacementFieldImageFilter::GetOutputSpacing
std::vector< double > GetOutputSpacing() const
Definition: sitkInverseDisplacementFieldImageFilter.h:92
itk::simple::InverseDisplacementFieldImageFilter::SetSize
Self & SetSize(std::vector< uint32_t > Size)
Definition: sitkInverseDisplacementFieldImageFilter.h:67
itk::simple::InverseDisplacementFieldImageFilter::m_MemberFactory
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Definition: sitkInverseDisplacementFieldImageFilter.h:129
SITKBasicFilters_EXPORT
#define SITKBasicFilters_EXPORT
Definition: sitkBasicFilters.h:52
itk::simple::InverseDisplacementFieldImageFilter::GetSize
std::vector< uint32_t > GetSize() const
Definition: sitkInverseDisplacementFieldImageFilter.h:72
itk::simple::InverseDisplacementFieldImageFilter::GetOutputOrigin
std::vector< double > GetOutputOrigin() const
Definition: sitkInverseDisplacementFieldImageFilter.h:82
itk::simple::InverseDisplacementFieldImageFilter::MemberFunctionType
Image(Self::*)(const Image &image1) MemberFunctionType
Definition: sitkInverseDisplacementFieldImageFilter.h:123
itk::simple::RealVectorPixelIDTypeList
typelist2::typelist< VectorPixelID< float >, VectorPixelID< double > > RealVectorPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:143
itk::simple::InverseDisplacementFieldImageFilter::SetOutputOrigin
Self & SetOutputOrigin(std::vector< double > OutputOrigin)
Definition: sitkInverseDisplacementFieldImageFilter.h:77
itk::simple::InverseDisplacementFieldImageFilter
Computes the inverse of a displacement field.
Definition: sitkInverseDisplacementFieldImageFilter.h:49
itk::simple::ImageFilter
The base interface for SimpleITK filters that take one input image.
Definition: sitkImageFilter.h:35
itk::Image
Definition: sitkPixelIDTypes.h:28
itk::simple::InverseDisplacementField
Image InverseDisplacementField(const Image &image1, std::vector< uint32_t > size=std::vector< uint32_t >(3, 0), std::vector< double > outputOrigin=std::vector< double >(3, 0.0), std::vector< double > outputSpacing=std::vector< double >(3, 1.0), unsigned int subsamplingFactor=16u)
Computes the inverse of a displacement field.
itk::simple
Definition: sitkAdditionalProcedures.h:28
itk::simple::InverseDisplacementFieldImageFilter::GetName
std::string GetName() const
Definition: sitkInverseDisplacementFieldImageFilter.h:105