ITK  4.6.0
Insight Segmentation and Registration Toolkit
itkGaussianExponentialDiffeomorphicTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
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 __itkGaussianExponentialDiffeomorphicTransform_h
19 #define __itkGaussianExponentialDiffeomorphicTransform_h
20 
22 
23 #include "itkGaussianOperator.h"
25 
26 namespace itk
27 {
28 
55 template
56  <class TScalar, unsigned int NDimensions>
58  public ConstantVelocityFieldTransform<TScalar, NDimensions>
59 {
60 public:
66 
69 
71  itkNewMacro( Self );
72 
74  itkStaticConstMacro( ConstantVelocityFieldDimension, unsigned int, NDimensions );
75 
77  itkStaticConstMacro( Dimension, unsigned int, NDimensions );
78 
82  typedef typename DerivativeType::ValueType DerivativeValueType;
83 
88 
89  typedef typename DisplacementFieldType::PixelType DisplacementVectorType;
90 
96  virtual void UpdateTransformParameters( const DerivativeType & update, ScalarType factor = 1.0 );
97 
102 
106  itkSetMacro( GaussianSmoothingVarianceForTheConstantVelocityField, ScalarType );
107  itkGetConstMacro( GaussianSmoothingVarianceForTheConstantVelocityField, ScalarType );
109 
113  itkSetMacro( GaussianSmoothingVarianceForTheUpdateField, ScalarType );
114  itkGetConstMacro( GaussianSmoothingVarianceForTheUpdateField, ScalarType );
116 
117 protected:
120 
124 
128 
130 
131  void PrintSelf( std::ostream &, Indent ) const;
132 
133 private:
134  GaussianExponentialDiffeomorphicTransform( const Self& ); //purposely not implemented
135  void operator=( const Self& ); //purposely not implemented
136 
139 };
140 
141 } // end namespace itk
142 
143 #ifndef ITK_MANUAL_INSTANTIATION
144 # include "itkGaussianExponentialDiffeomorphicTransform.hxx"
145 #endif
146 
147 #endif // __itkGaussianExponentialDiffeomorphicTransform_h
Provides local/dense/high-dimensionality transformation via a a constant velocity field...
Light weight base class for most itk classes.
Superclass::DisplacementFieldType DisplacementFieldType
virtual ConstantVelocityFieldPointer GaussianSmoothConstantVelocityField(ConstantVelocityFieldType *, ScalarType)
DisplacementFieldType::Pointer DisplacementFieldPointer
GaussianOperator< ScalarType, NDimensions > GaussianSmoothingOperatorType
Exponential transform using a Gaussian smoothing kernel.
void PrintSelf(std::ostream &, Indent) const
VectorNeighborhoodOperatorImageFilter< ConstantVelocityFieldType, ConstantVelocityFieldType > GaussianSmoothingSmootherType
Image< OutputVectorType, ConstantVelocityFieldDimension > ConstantVelocityFieldType
virtual void UpdateTransformParameters(const DerivativeType &update, ScalarType factor=1.0)
ConstantVelocityFieldType::Pointer ConstantVelocityFieldPointer
ConstantVelocityFieldTransform< TScalar, NDimensions > Superclass
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Applies a single scalar NeighborhoodOperator to an itk::Vector image region.
Templated n-dimensional image class.
Definition: itkImage.h:75