go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkTransformPenaltyTerm.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 __itkTransformPenaltyTerm_h
19 #define __itkTransformPenaltyTerm_h
20 
22 
23 // Needed for checking for B-spline for faster implementation
26 
27 namespace itk
28 {
44 template< class TFixedImage, class TScalarType = double >
46  public AdvancedImageToImageMetric< TFixedImage, TFixedImage >
47 {
48 public:
49 
53  TFixedImage, TFixedImage > Superclass;
54  typedef SmartPointer< Self > Pointer;
55  typedef SmartPointer< const Self > ConstPointer;
56 
59 
70  // these not: use advanced transform below
71  //typedef typename Superclass::TransformType TransformType;
72  //typedef typename Superclass::TransformPointer TransformPointer;
79  typedef typename Superclass::RealType RealType;
98 
107 
109  typedef TScalarType ScalarType; // \todo: not really meaningful name.
110 
118 
120  itkStaticConstMacro( FixedImageDimension, unsigned int, FixedImageType::ImageDimension );
121 
122 protected:
123 
132 
135 
137  ~TransformPenaltyTerm() override {}
138 
141 
142 private:
143 
145  TransformPenaltyTerm( const Self & ); // purposely not implemented
147  void operator=( const Self & ); // purposely not implemented
148 
149 };
150 
151 } // end namespace itk
152 
153 #ifndef ITK_MANUAL_INSTANTIATION
154 #include "itkTransformPenaltyTerm.hxx"
155 #endif
156 
157 #endif // #ifndef __itkTransformPenaltyTerm_h
Deformable transform using a B-spline representation.
This class combines two transforms: an 'initial transform' with a 'current transform'.
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics.
ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
AdvancedTransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Transform maps points, vectors and covariant vectors from an input space to an output space.
SpatialJacobianType::InternalMatrixType InternalMatrixType
std::vector< SpatialHessianType > JacobianOfSpatialHessianType
std::vector< SpatialJacobianType > JacobianOfSpatialJacobianType
FixedArray< Matrix< ScalarType, InputSpaceDimension, InputSpaceDimension >, OutputSpaceDimension > SpatialHessianType
Matrix< ScalarType, OutputSpaceDimension, InputSpaceDimension > SpatialJacobianType
A cost function that calculates a penalty term on a transformation.
TransformPenaltyTerm(const Self &)
Superclass::MovingImagePointType MovingImagePointType
SmartPointer< const Self > ConstPointer
Superclass::MovingImagePointer MovingImagePointer
Superclass::InputPointType InputPointType
Superclass::FixedImageType FixedImageType
Superclass::TransformJacobianType TransformJacobianType
Superclass::MovingImageType MovingImageType
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass::TransformParametersType TransformParametersType
Superclass::DerivativeValueType DerivativeValueType
Superclass::ImageSampleContainerType ImageSampleContainerType
Superclass::FixedImageRegionType FixedImageRegionType
Superclass::MovingImageMaskPointer MovingImageMaskPointer
Superclass::FixedImageMaskType FixedImageMaskType
Superclass::FixedImageMaskPointer FixedImageMaskPointer
AdvancedImageToImageMetric< TFixedImage, TFixedImage > Superclass
Superclass::InterpolatorType InterpolatorType
Superclass::ThreaderType ThreaderType
TransformType::InternalMatrixType InternalMatrixType
Superclass::FixedImagePixelType FixedImagePixelType
Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
Superclass::MeasureType MeasureType
Superclass::GradientImageType GradientImageType
TransformType::SpatialHessianType SpatialHessianType
Superclass::BSplineOrder2TransformType BSplineOrder2TransformType
Superclass::BSplineOrder3TransformType BSplineOrder3TransformType
Superclass::DerivativeType DerivativeType
Superclass::FixedImageIndexType FixedImageIndexType
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::BSplineOrder1TransformPointer BSplineOrder1TransformPointer
void operator=(const Self &)
Superclass::ParametersType ParametersType
virtual bool CheckForBSplineTransform2(BSplineOrder3TransformPointer &bspline) const
Superclass::FixedImageIndexValueType FixedImageIndexValueType
Superclass::OutputPointType OutputPointType
Superclass::FixedImagePointer FixedImagePointer
TransformType::SpatialJacobianType SpatialJacobianType
TransformType::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Superclass::InterpolatorPointer InterpolatorPointer
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass::BSplineOrder3TransformPointer BSplineOrder3TransformPointer
Superclass::AdvancedTransformType TransformType
Superclass::GradientImagePointer GradientImagePointer
Superclass::GradientPixelType GradientPixelType
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
Superclass::BSplineOrder2TransformPointer BSplineOrder2TransformPointer
Superclass::GradientImageFilterType GradientImageFilterType
Superclass::MovingImagePixelType MovingImagePixelType
Superclass::MovingImageConstPointer MovingImageConstPointer
TransformType::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Superclass::MovingImageIndexType MovingImageIndexType
Superclass::BSplineOrder1TransformType BSplineOrder1TransformType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::FixedImagePointType FixedImagePointType
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::ThreadInfoType ThreadInfoType
Superclass::CombinationTransformType CombinationTransformType
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.


Generated on 1641078589 for elastix by doxygen 1.9.1 elastix logo