go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkTransformRigidityPenaltyTerm.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 __itkTransformRigidityPenaltyTerm_h
19 #define __itkTransformRigidityPenaltyTerm_h
20 
22 
26 
28 #include "itkNeighborhood.h"
29 #include "itkImageRegionIterator.h"
30 #include "itkNeighborhoodOperatorImageFilter.h"
31 #include "itkNeighborhoodIterator.h"
32 
34 #include "itkGrayscaleDilateImageFilter.h"
35 #include "itkBinaryBallStructuringElement.h"
36 #include "itkImageRegionIterator.h"
37 
38 namespace itk
39 {
70 template< class TFixedImage, class TScalarType >
72  public TransformPenaltyTerm< TFixedImage, TScalarType >
73 {
74 public:
75 
78  typedef TransformPenaltyTerm<
79  TFixedImage, TScalarType > Superclass;
81  typedef SmartPointer< const Self > ConstPointer;
82 
84  itkNewMacro( Self );
85 
88 
107  typedef typename Superclass::RealType RealType;
125 
134 
141 
143  itkStaticConstMacro( FixedImageDimension, unsigned int, FixedImageType::ImageDimension );
144  itkStaticConstMacro( MovingImageDimension, unsigned int, FixedImageType::ImageDimension );
145  itkStaticConstMacro( ImageDimension, unsigned int, FixedImageType::ImageDimension );
146 
148  virtual void Initialize( void ) throw ( ExceptionObject );
149 
155  typedef typename CoefficientImageType::Pointer CoefficientImagePointer;
156  typedef typename CoefficientImageType::SpacingType CoefficientImageSpacingType;
157 
159  typedef Neighborhood< ScalarType,
160  itkGetStaticConstMacro( FixedImageDimension ) > NeighborhoodType;
161  typedef typename NeighborhoodType::SizeType NeighborhoodSizeType;
162  typedef ImageRegionIterator< CoefficientImageType > CoefficientImageIteratorType;
163  typedef NeighborhoodOperatorImageFilter<
165  typedef NeighborhoodIterator< CoefficientImageType > NeighborhoodIteratorType;
166  typedef typename NeighborhoodIteratorType::RadiusType RadiusType;
167 
170  typedef typename RigidityImageType::Pointer RigidityImagePointer;
171  typedef typename RigidityImageType::PixelType RigidityPixelType;
172  typedef typename RigidityImageType::RegionType RigidityImageRegionType;
173  typedef typename RigidityImageType::IndexType RigidityImageIndexType;
174  typedef typename RigidityImageType::PointType RigidityImagePointType;
175  typedef ImageRegionIterator< RigidityImageType > RigidityImageIteratorType;
176  typedef BinaryBallStructuringElement<
178  itkGetStaticConstMacro( FixedImageDimension ) > StructuringElementType;
179  typedef typename StructuringElementType::RadiusType SERadiusType;
180  typedef GrayscaleDilateImageFilter<
183  typedef typename DilateFilterType::Pointer DilateFilterPointer;
184 
187 
190  const ParametersType & parameters ) const;
191 
193  virtual void GetDerivative(
194  const ParametersType & parameters,
195  DerivativeType & derivative ) const;
196 
199  const TransformParametersType & parameters ) const;
200 
202  virtual void GetValueAndDerivative(
203  const ParametersType & parameters,
204  MeasureType & value,
205  DerivativeType & derivative ) const;
206 
210  itkSetObjectMacro( BSplineTransform, BSplineTransformType );
211 
213  //itkSetObjectMacro( RigidityCoefficientImage, RigidityImageType );
214 
216  itkSetClampMacro( LinearityConditionWeight, ScalarType,
217  0.0, NumericTraits< ScalarType >::max() );
218  itkGetMacro( LinearityConditionWeight, ScalarType );
219 
221  itkSetClampMacro( OrthonormalityConditionWeight, ScalarType,
222  0.0, NumericTraits< ScalarType >::max() );
223  itkGetMacro( OrthonormalityConditionWeight, ScalarType );
224 
226  itkSetClampMacro( PropernessConditionWeight, ScalarType,
227  0.0, NumericTraits< ScalarType >::max() );
228  itkGetMacro( PropernessConditionWeight, ScalarType );
229 
231  itkSetMacro( UseLinearityCondition, bool );
232 
234  itkSetMacro( UseOrthonormalityCondition, bool );
235 
237  itkSetMacro( UsePropernessCondition, bool );
238 
242  itkSetMacro( CalculateLinearityCondition, bool );
243 
247  itkSetMacro( CalculateOrthonormalityCondition, bool );
248 
252  itkSetMacro( CalculatePropernessCondition, bool );
253 
255  itkGetConstReferenceMacro( LinearityConditionValue, MeasureType );
256 
258  itkGetConstReferenceMacro( OrthonormalityConditionValue, MeasureType );
259 
261  itkGetConstReferenceMacro( PropernessConditionValue, MeasureType );
262 
264  itkGetConstReferenceMacro( LinearityConditionGradientMagnitude, MeasureType );
265 
267  itkGetConstReferenceMacro( OrthonormalityConditionGradientMagnitude, MeasureType );
268 
270  itkGetConstReferenceMacro( PropernessConditionGradientMagnitude, MeasureType );
271 
273  //itkGetConstReferenceMacro( RigidityPenaltyTermValue, MeasureType );
274 
276  itkSetMacro( DilateRigidityImages, bool );
277 
279  itkSetClampMacro( DilationRadiusMultiplier, CoordinateRepresentationType,
280  0.1, NumericTraits< CoordinateRepresentationType >::max() );
281 
283  itkSetObjectMacro( FixedRigidityImage, RigidityImageType );
284 
286  itkSetObjectMacro( MovingRigidityImage, RigidityImageType );
287 
289  itkSetMacro( UseFixedRigidityImage, bool );
290 
292  itkSetMacro( UseMovingRigidityImage, bool );
293 
295  void FillRigidityCoefficientImage( const ParametersType & parameters ) const;
296 
297 protected:
298 
303 
305  void PrintSelf( std::ostream & os, Indent indent ) const;
306 
307 private:
308 
310  TransformRigidityPenaltyTerm( const Self & ); // purposely not implemented
312  void operator=( const Self & ); // purposely not implemented
313 
315  virtual void DilateRigidityImages( void );
316 
318  void Create1DOperator( NeighborhoodType & F, const std::string & whichF,
319  const unsigned int WhichDimension, const CoefficientImageSpacingType & spacing ) const;
320 
322  void CreateNDOperator( NeighborhoodType & F, const std::string & whichF,
323  const CoefficientImageSpacingType & spacing ) const;
324 
327  const std::vector< NeighborhoodType > & Operators ) const;
328 
334 
342 
349 
357  std::vector< DilateFilterPointer > m_FixedRigidityImageDilation;
358  std::vector< DilateFilterPointer > m_MovingRigidityImageDilation;
363 
364 };
365 
366 } // end namespace itk
367 
368 #ifndef ITK_MANUAL_INSTANTIATION
369 #include "itkTransformRigidityPenaltyTerm.hxx"
370 #endif
371 
372 #endif // #ifndef __itkTransformRigidityPenaltyTerm_h
itk::TransformRigidityPenaltyTerm::BSplineOrder1TransformPointer
Superclass::BSplineOrder1TransformPointer BSplineOrder1TransformPointer
Definition: itkTransformRigidityPenaltyTerm.h:129
itk::TransformPenaltyTerm::FixedImageMaskType
Superclass::FixedImageMaskType FixedImageMaskType
Definition: itkTransformPenaltyTerm.h:85
itk::TransformRigidityPenaltyTerm::RadiusType
NeighborhoodIteratorType::RadiusType RadiusType
Definition: itkTransformRigidityPenaltyTerm.h:166
itk::TransformRigidityPenaltyTerm::Superclass
TransformPenaltyTerm< TFixedImage, TScalarType > Superclass
Definition: itkTransformRigidityPenaltyTerm.h:79
itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::FixedImageType >::TransformParametersType
Superclass::TransformParametersType TransformParametersType
Definition: itkAdvancedImageToImageMetric.h:113
itk::TransformPenaltyTerm::RealType
Superclass::RealType RealType
Definition: itkTransformPenaltyTerm.h:79
itk::TransformRigidityPenaltyTerm::FixedImagePixelType
Superclass::FixedImagePixelType FixedImagePixelType
Definition: itkTransformRigidityPenaltyTerm.h:121
itk::TransformPenaltyTerm::TransformType
Superclass::AdvancedTransformType TransformType
Definition: itkTransformPenaltyTerm.h:112
itk::TransformRigidityPenaltyTerm::DilateFilterPointer
DilateFilterType::Pointer DilateFilterPointer
Definition: itkTransformRigidityPenaltyTerm.h:183
itk::TransformRigidityPenaltyTerm::TransformJacobianType
Superclass::TransformJacobianType TransformJacobianType
Definition: itkTransformRigidityPenaltyTerm.h:104
itk::TransformPenaltyTerm::TransformParametersType
Superclass::TransformParametersType TransformParametersType
Definition: itkTransformPenaltyTerm.h:75
itk::TransformRigidityPenaltyTerm::TransformRigidityPenaltyTerm
TransformRigidityPenaltyTerm(const Self &)
itk::TransformRigidityPenaltyTerm::RigidityImagePointType
RigidityImageType::PointType RigidityImagePointType
Definition: itkTransformRigidityPenaltyTerm.h:174
itk::TransformRigidityPenaltyTerm::GetValue
virtual MeasureType GetValue(const ParametersType &parameters) const
itk::TransformPenaltyTerm::BSplineOrder3TransformType
Superclass::BSplineOrder3TransformType BSplineOrder3TransformType
Definition: itkTransformPenaltyTerm.h:105
itk::TransformRigidityPenaltyTerm::DerivativeType
Superclass::DerivativeType DerivativeType
Definition: itkTransformRigidityPenaltyTerm.h:118
itk::TransformRigidityPenaltyTerm::FixedImageRegionType
Superclass::FixedImageRegionType FixedImageRegionType
Definition: itkTransformRigidityPenaltyTerm.h:98
itk::TransformPenaltyTerm::BSplineOrder3TransformPointer
Superclass::BSplineOrder3TransformPointer BSplineOrder3TransformPointer
Definition: itkTransformPenaltyTerm.h:106
itk::TransformPenaltyTerm::SpatialJacobianType
TransformType::SpatialJacobianType SpatialJacobianType
Definition: itkTransformPenaltyTerm.h:113
itk::TransformRigidityPenaltyTerm::FixedImageMaskType
Superclass::FixedImageMaskType FixedImageMaskType
Definition: itkTransformRigidityPenaltyTerm.h:113
itk::TransformPenaltyTerm::MovingImageConstPointer
Superclass::MovingImageConstPointer MovingImageConstPointer
Definition: itkTransformPenaltyTerm.h:65
itk::TransformRigidityPenaltyTerm::GetValueAndDerivative
virtual void GetValueAndDerivative(const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const
itk::TransformPenaltyTerm::FixedImageConstPointer
Superclass::FixedImageConstPointer FixedImageConstPointer
Definition: itkTransformPenaltyTerm.h:68
itk::TransformRigidityPenaltyTerm::GradientImageType
Superclass::GradientImageType GradientImageType
Definition: itkTransformRigidityPenaltyTerm.h:109
itk::TransformRigidityPenaltyTerm::m_FixedRigidityImage
RigidityImagePointer m_FixedRigidityImage
Definition: itkTransformRigidityPenaltyTerm.h:354
itk::TransformPenaltyTerm::GradientImageFilterPointer
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Definition: itkTransformPenaltyTerm.h:84
SmartPointer< Self >
itk::TransformRigidityPenaltyTerm::MeasureType
Superclass::MeasureType MeasureType
Definition: itkTransformRigidityPenaltyTerm.h:117
itk::AdvancedImageToImageMetric
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics.
Definition: itkAdvancedImageToImageMetric.h:81
itk::TransformRigidityPenaltyTerm::OutputPointType
Superclass::OutputPointType OutputPointType
Definition: itkTransformRigidityPenaltyTerm.h:102
itk::TransformRigidityPenaltyTerm::m_UseFixedRigidityImage
bool m_UseFixedRigidityImage
Definition: itkTransformRigidityPenaltyTerm.h:361
itkTransformPenaltyTerm.h
itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::FixedImageType >::DerivativeType
Superclass::DerivativeType DerivativeType
Definition: itkAdvancedImageToImageMetric.h:128
itk::TransformPenaltyTerm::TransformJacobianType
Superclass::TransformJacobianType TransformJacobianType
Definition: itkTransformPenaltyTerm.h:76
itk::TransformPenaltyTerm::MovingImageMaskPointer
Superclass::MovingImageMaskPointer MovingImageMaskPointer
Definition: itkTransformPenaltyTerm.h:88
itk::TransformPenaltyTerm::JacobianOfSpatialJacobianType
TransformType::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Definition: itkTransformPenaltyTerm.h:114
itkAdvancedCombinationTransform.h
itk::TransformRigidityPenaltyTerm::BSplineTransformType
BSplineOrder3TransformType BSplineTransformType
Definition: itkTransformRigidityPenaltyTerm.h:151
itk::TransformPenaltyTerm::BSplineOrder2TransformType
Superclass::BSplineOrder2TransformType BSplineOrder2TransformType
Definition: itkTransformPenaltyTerm.h:103
itk::TransformRigidityPenaltyTerm::FixedImagePointer
Superclass::FixedImagePointer FixedImagePointer
Definition: itkTransformRigidityPenaltyTerm.h:96
itk::TransformRigidityPenaltyTerm::FixedImageConstPointer
Superclass::FixedImageConstPointer FixedImageConstPointer
Definition: itkTransformRigidityPenaltyTerm.h:97
itk::TransformRigidityPenaltyTerm::m_OrthonormalityConditionWeight
ScalarType m_OrthonormalityConditionWeight
Definition: itkTransformRigidityPenaltyTerm.h:332
itk::TransformPenaltyTerm::SpatialHessianType
TransformType::SpatialHessianType SpatialHessianType
Definition: itkTransformPenaltyTerm.h:115
itk::TransformRigidityPenaltyTerm::NeighborhoodIteratorType
NeighborhoodIterator< CoefficientImageType > NeighborhoodIteratorType
Definition: itkTransformRigidityPenaltyTerm.h:165
itk::TransformRigidityPenaltyTerm::SpatialJacobianType
Superclass::SpatialJacobianType SpatialJacobianType
Definition: itkTransformRigidityPenaltyTerm.h:136
itk::TransformRigidityPenaltyTerm::itkStaticConstMacro
itkStaticConstMacro(ImageDimension, unsigned int, FixedImageType::ImageDimension)
itk::TransformRigidityPenaltyTerm::InternalMatrixType
Superclass::InternalMatrixType InternalMatrixType
Definition: itkTransformRigidityPenaltyTerm.h:140
itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::FixedImageType >::CoordinateRepresentationType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Definition: itkAdvancedImageToImageMetric.h:100
itk::TransformRigidityPenaltyTerm::CoordinateRepresentationType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Definition: itkTransformRigidityPenaltyTerm.h:87
itk::TransformRigidityPenaltyTerm::InterpolatorPointer
Superclass::InterpolatorPointer InterpolatorPointer
Definition: itkTransformRigidityPenaltyTerm.h:106
itk::TransformRigidityPenaltyTerm::m_DilateRigidityImages
bool m_DilateRigidityImages
Definition: itkTransformRigidityPenaltyTerm.h:352
itk::TransformPenaltyTerm::MeasureType
Superclass::MeasureType MeasureType
Definition: itkTransformPenaltyTerm.h:89
itk::AdvancedBSplineDeformableTransform::SpacingType
Superclass::SpacingType SpacingType
Definition: itkAdvancedBSplineDeformableTransform.h:197
itk::TransformRigidityPenaltyTerm::CoefficientImagePointer
CoefficientImageType::Pointer CoefficientImagePointer
Definition: itkTransformRigidityPenaltyTerm.h:155
itk::AdvancedBSplineDeformableTransform
Deformable transform using a B-spline representation.
Definition: itkAdvancedBSplineDeformableTransform.h:135
itk::TransformRigidityPenaltyTerm::TransformPointer
Superclass::TransformPointer TransformPointer
Definition: itkTransformRigidityPenaltyTerm.h:100
itk::TransformRigidityPenaltyTerm::RigidityImagePointer
RigidityImageType::Pointer RigidityImagePointer
Definition: itkTransformRigidityPenaltyTerm.h:170
Image
itk::TransformRigidityPenaltyTerm::NeighborhoodType
Neighborhood< ScalarType, itkGetStaticConstMacro(FixedImageDimension) > NeighborhoodType
Definition: itkTransformRigidityPenaltyTerm.h:160
itk::TransformRigidityPenaltyTerm::m_PropernessConditionValue
MeasureType m_PropernessConditionValue
Definition: itkTransformRigidityPenaltyTerm.h:338
itk::TransformPenaltyTerm::InternalMatrixType
TransformType::InternalMatrixType InternalMatrixType
Definition: itkTransformPenaltyTerm.h:117
itk::TransformRigidityPenaltyTerm::BSplineOrder3TransformPointer
Superclass::BSplineOrder3TransformPointer BSplineOrder3TransformPointer
Definition: itkTransformRigidityPenaltyTerm.h:133
itk::TransformRigidityPenaltyTerm::m_MovingRigidityImageDilation
std::vector< DilateFilterPointer > m_MovingRigidityImageDilation
Definition: itkTransformRigidityPenaltyTerm.h:358
itk::TransformRigidityPenaltyTerm::m_OrthonormalityConditionValue
MeasureType m_OrthonormalityConditionValue
Definition: itkTransformRigidityPenaltyTerm.h:337
itk::TransformPenaltyTerm::MovingImagePointer
Superclass::MovingImagePointer MovingImagePointer
Definition: itkTransformPenaltyTerm.h:64
itk::TransformRigidityPenaltyTerm::RealType
Superclass::RealType RealType
Definition: itkTransformRigidityPenaltyTerm.h:107
itk::TransformRigidityPenaltyTerm::FixedImageType
Superclass::FixedImageType FixedImageType
Definition: itkTransformRigidityPenaltyTerm.h:95
itk::AdvancedBSplineDeformableTransform::Pointer
SmartPointer< Self > Pointer
Definition: itkAdvancedBSplineDeformableTransform.h:142
itk::TransformRigidityPenaltyTerm::InterpolatorType
Superclass::InterpolatorType InterpolatorType
Definition: itkTransformRigidityPenaltyTerm.h:105
itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::FixedImageType >::ParametersType
Superclass::ParametersType ParametersType
Definition: itkAdvancedImageToImageMetric.h:130
itk::TransformRigidityPenaltyTerm::RigidityPixelType
RigidityImageType::PixelType RigidityPixelType
Definition: itkTransformRigidityPenaltyTerm.h:171
itk::TransformRigidityPenaltyTerm::GradientImageFilterType
Superclass::GradientImageFilterType GradientImageFilterType
Definition: itkTransformRigidityPenaltyTerm.h:111
itk::TransformRigidityPenaltyTerm::m_OrthonormalityConditionGradientMagnitude
MeasureType m_OrthonormalityConditionGradientMagnitude
Definition: itkTransformRigidityPenaltyTerm.h:340
itk::TransformRigidityPenaltyTerm::m_FixedRigidityImageDilation
std::vector< DilateFilterPointer > m_FixedRigidityImageDilation
Definition: itkTransformRigidityPenaltyTerm.h:357
itk::TransformRigidityPenaltyTerm::FilterSeparable
CoefficientImagePointer FilterSeparable(const CoefficientImageType *, const std::vector< NeighborhoodType > &Operators) const
itk::TransformRigidityPenaltyTerm::m_PropernessConditionGradientMagnitude
MeasureType m_PropernessConditionGradientMagnitude
Definition: itkTransformRigidityPenaltyTerm.h:341
itk::TransformRigidityPenaltyTerm::MovingImageType
Superclass::MovingImageType MovingImageType
Definition: itkTransformRigidityPenaltyTerm.h:91
BSplineTransform
itk::TransformPenaltyTerm::InterpolatorType
Superclass::InterpolatorType InterpolatorType
Definition: itkTransformPenaltyTerm.h:77
itk::TransformRigidityPenaltyTerm::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const
itk::TransformRigidityPenaltyTerm::BSplineOrder3TransformType
Superclass::BSplineOrder3TransformType BSplineOrder3TransformType
Definition: itkTransformRigidityPenaltyTerm.h:132
itk::TransformRigidityPenaltyTerm::ScalarType
Superclass::ScalarType ScalarType
Definition: itkTransformRigidityPenaltyTerm.h:124
itk::TransformPenaltyTerm::BSplineOrder1TransformType
Superclass::BSplineOrder1TransformType BSplineOrder1TransformType
Definition: itkTransformPenaltyTerm.h:101
itk::TransformPenaltyTerm::GradientImageType
Superclass::GradientImageType GradientImageType
Definition: itkTransformPenaltyTerm.h:81
itk::TransformRigidityPenaltyTerm::GradientImageFilterPointer
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Definition: itkTransformRigidityPenaltyTerm.h:112
itk::TransformPenaltyTerm::DerivativeValueType
Superclass::DerivativeValueType DerivativeValueType
Definition: itkTransformPenaltyTerm.h:91
itk::TransformRigidityPenaltyTerm::BSplineTransformPointer
BSplineTransformType::Pointer BSplineTransformPointer
Definition: itkTransformRigidityPenaltyTerm.h:152
itk::TransformRigidityPenaltyTerm::m_FixedRigidityImageDilated
RigidityImagePointer m_FixedRigidityImageDilated
Definition: itkTransformRigidityPenaltyTerm.h:359
itk::TransformPenaltyTerm::FixedImageRegionType
Superclass::FixedImageRegionType FixedImageRegionType
Definition: itkTransformPenaltyTerm.h:69
itk::TransformPenaltyTerm::MovingImagePixelType
Superclass::MovingImagePixelType MovingImagePixelType
Definition: itkTransformPenaltyTerm.h:63
itk::TransformRigidityPenaltyTerm::m_PropernessConditionWeight
ScalarType m_PropernessConditionWeight
Definition: itkTransformRigidityPenaltyTerm.h:333
itk::TransformPenaltyTerm::BSplineOrder2TransformPointer
Superclass::BSplineOrder2TransformPointer BSplineOrder2TransformPointer
Definition: itkTransformPenaltyTerm.h:104
itk::TransformPenaltyTerm
A cost function that calculates a penalty term on a transformation.
Definition: itkTransformPenaltyTerm.h:47
itk::TransformRigidityPenaltyTerm::m_UseOrthonormalityCondition
bool m_UseOrthonormalityCondition
Definition: itkTransformRigidityPenaltyTerm.h:344
itk::TransformRigidityPenaltyTerm::m_LinearityConditionGradientMagnitude
MeasureType m_LinearityConditionGradientMagnitude
Definition: itkTransformRigidityPenaltyTerm.h:339
itk::TransformPenaltyTerm::InputPointType
Superclass::InputPointType InputPointType
Definition: itkTransformPenaltyTerm.h:73
itk::TransformPenaltyTerm::ParametersType
Superclass::ParametersType ParametersType
Definition: itkTransformPenaltyTerm.h:92
itk::TransformPenaltyTerm::CombinationTransformType
Superclass::CombinationTransformType CombinationTransformType
Definition: itkTransformPenaltyTerm.h:100
itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::FixedImageType >::ScalarType
TransformType::ScalarType ScalarType
Definition: itkAdvancedImageToImageMetric.h:152
itk::TransformRigidityPenaltyTerm::SpatialHessianType
Superclass::SpatialHessianType SpatialHessianType
Definition: itkTransformRigidityPenaltyTerm.h:138
itk::TransformRigidityPenaltyTerm::DilateFilterType
GrayscaleDilateImageFilter< RigidityImageType, RigidityImageType, StructuringElementType > DilateFilterType
Definition: itkTransformRigidityPenaltyTerm.h:182
itk::TransformRigidityPenaltyTerm::m_CalculateOrthonormalityCondition
bool m_CalculateOrthonormalityCondition
Definition: itkTransformRigidityPenaltyTerm.h:347
itk::TransformRigidityPenaltyTerm::m_CalculatePropernessCondition
bool m_CalculatePropernessCondition
Definition: itkTransformRigidityPenaltyTerm.h:348
itk::TransformPenaltyTerm::BSplineOrder1TransformPointer
Superclass::BSplineOrder1TransformPointer BSplineOrder1TransformPointer
Definition: itkTransformPenaltyTerm.h:102
itk::TransformPenaltyTerm::FixedImageMaskPointer
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Definition: itkTransformPenaltyTerm.h:86
itk::TransformRigidityPenaltyTerm::FillRigidityCoefficientImage
void FillRigidityCoefficientImage(const ParametersType &parameters) const
itk::TransformPenaltyTerm::FixedImagePixelType
Superclass::FixedImagePixelType FixedImagePixelType
Definition: itkTransformPenaltyTerm.h:93
itk::TransformRigidityPenaltyTerm::MovingImageConstPointer
Superclass::MovingImageConstPointer MovingImageConstPointer
Definition: itkTransformRigidityPenaltyTerm.h:94
itk::TransformRigidityPenaltyTerm::m_MovingRigidityImageDilated
RigidityImagePointer m_MovingRigidityImageDilated
Definition: itkTransformRigidityPenaltyTerm.h:360
itk::TransformRigidityPenaltyTerm::Self
TransformRigidityPenaltyTerm Self
Definition: itkTransformRigidityPenaltyTerm.h:77
itk::TransformRigidityPenaltyTerm::DilateRigidityImages
virtual void DilateRigidityImages(void)
itk::TransformRigidityPenaltyTerm::GradientImagePointer
Superclass::GradientImagePointer GradientImagePointer
Definition: itkTransformRigidityPenaltyTerm.h:110
itk::TransformRigidityPenaltyTerm::CoefficientImageIteratorType
ImageRegionIterator< CoefficientImageType > CoefficientImageIteratorType
Definition: itkTransformRigidityPenaltyTerm.h:162
itk::TransformRigidityPenaltyTerm::m_LinearityConditionValue
MeasureType m_LinearityConditionValue
Definition: itkTransformRigidityPenaltyTerm.h:336
itk::TransformPenaltyTerm::FixedImagePointer
Superclass::FixedImagePointer FixedImagePointer
Definition: itkTransformPenaltyTerm.h:67
itk::TransformPenaltyTerm::JacobianOfSpatialHessianType
TransformType::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Definition: itkTransformPenaltyTerm.h:116
itk::TransformRigidityPenaltyTerm::ImageSampleContainerType
Superclass::ImageSampleContainerType ImageSampleContainerType
Definition: itkTransformRigidityPenaltyTerm.h:122
itk::TransformRigidityPenaltyTerm::m_RigidityCoefficientImageIsFilled
bool m_RigidityCoefficientImageIsFilled
Definition: itkTransformRigidityPenaltyTerm.h:353
itk::TransformRigidityPenaltyTerm::StructuringElementType
BinaryBallStructuringElement< RigidityPixelType, itkGetStaticConstMacro(FixedImageDimension) > StructuringElementType
Definition: itkTransformRigidityPenaltyTerm.h:178
itk::TransformRigidityPenaltyTerm::TransformType
Superclass::TransformType TransformType
Definition: itkTransformRigidityPenaltyTerm.h:99
itk::TransformPenaltyTerm::GradientImagePointer
Superclass::GradientImagePointer GradientImagePointer
Definition: itkTransformPenaltyTerm.h:82
itk::TransformRigidityPenaltyTerm::m_MovingRigidityImage
RigidityImagePointer m_MovingRigidityImage
Definition: itkTransformRigidityPenaltyTerm.h:355
itk::TransformPenaltyTerm::GradientImageFilterType
Superclass::GradientImageFilterType GradientImageFilterType
Definition: itkTransformPenaltyTerm.h:83
itk::TransformRigidityPenaltyTerm
A cost function that calculates a rigidity penalty term.
Definition: itkTransformRigidityPenaltyTerm.h:73
itk::TransformRigidityPenaltyTerm::m_DilationRadiusMultiplier
CoordinateRepresentationType m_DilationRadiusMultiplier
Definition: itkTransformRigidityPenaltyTerm.h:351
itk::TransformRigidityPenaltyTerm::BSplineOrder2TransformType
Superclass::BSplineOrder2TransformType BSplineOrder2TransformType
Definition: itkTransformRigidityPenaltyTerm.h:130
itk::TransformPenaltyTerm::DerivativeType
Superclass::DerivativeType DerivativeType
Definition: itkTransformPenaltyTerm.h:90
itk::TransformRigidityPenaltyTerm::Create1DOperator
void Create1DOperator(NeighborhoodType &F, const std::string &whichF, const unsigned int WhichDimension, const CoefficientImageSpacingType &spacing) const
itk::TransformRigidityPenaltyTerm::m_UsePropernessCondition
bool m_UsePropernessCondition
Definition: itkTransformRigidityPenaltyTerm.h:345
itk::TransformRigidityPenaltyTerm::BSplineOrder2TransformPointer
Superclass::BSplineOrder2TransformPointer BSplineOrder2TransformPointer
Definition: itkTransformRigidityPenaltyTerm.h:131
itk::TransformRigidityPenaltyTerm::BeforeThreadedGetValueAndDerivative
virtual void BeforeThreadedGetValueAndDerivative(const TransformParametersType &parameters) const
itk::TransformRigidityPenaltyTerm::GradientPixelType
Superclass::GradientPixelType GradientPixelType
Definition: itkTransformRigidityPenaltyTerm.h:108
itk::TransformRigidityPenaltyTerm::m_CalculateLinearityCondition
bool m_CalculateLinearityCondition
Definition: itkTransformRigidityPenaltyTerm.h:346
itk::TransformRigidityPenaltyTerm::BSplineOrder1TransformType
Superclass::BSplineOrder1TransformType BSplineOrder1TransformType
Definition: itkTransformRigidityPenaltyTerm.h:128
itk::TransformPenaltyTerm::InterpolatorPointer
Superclass::InterpolatorPointer InterpolatorPointer
Definition: itkTransformPenaltyTerm.h:78
itk::TransformRigidityPenaltyTerm::InputPointType
Superclass::InputPointType InputPointType
Definition: itkTransformRigidityPenaltyTerm.h:101
itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::FixedImageType >::MeasureType
Superclass::MeasureType MeasureType
Definition: itkAdvancedImageToImageMetric.h:127
itk::TransformPenaltyTerm::ScalarType
TScalarType ScalarType
Definition: itkTransformPenaltyTerm.h:109
itk::TransformRigidityPenaltyTerm::Pointer
SmartPointer< Self > Pointer
Definition: itkTransformRigidityPenaltyTerm.h:80
itk
Definition: itkAdvancedImageToImageMetric.h:40
itk::TransformRigidityPenaltyTerm::operator=
void operator=(const Self &)
itk::TransformRigidityPenaltyTerm::itkStaticConstMacro
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
itk::TransformRigidityPenaltyTerm::NeighborhoodSizeType
NeighborhoodType::SizeType NeighborhoodSizeType
Definition: itkTransformRigidityPenaltyTerm.h:161
itk::TransformRigidityPenaltyTerm::itkStaticConstMacro
itkStaticConstMacro(MovingImageDimension, unsigned int, FixedImageType::ImageDimension)
itk::TransformRigidityPenaltyTerm::TransformRigidityPenaltyTerm
TransformRigidityPenaltyTerm()
itk::TransformRigidityPenaltyTerm::FixedImageMaskPointer
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Definition: itkTransformRigidityPenaltyTerm.h:114
itk::TransformRigidityPenaltyTerm::CombinationTransformType
Superclass::CombinationTransformType CombinationTransformType
Definition: itkTransformRigidityPenaltyTerm.h:127
itk::TransformPenaltyTerm::ImageSampleContainerType
Superclass::ImageSampleContainerType ImageSampleContainerType
Definition: itkTransformPenaltyTerm.h:94
itk::TransformRigidityPenaltyTerm::RigidityImageIteratorType
ImageRegionIterator< RigidityImageType > RigidityImageIteratorType
Definition: itkTransformRigidityPenaltyTerm.h:175
itk::TransformRigidityPenaltyTerm::TransformParametersType
Superclass::TransformParametersType TransformParametersType
Definition: itkTransformRigidityPenaltyTerm.h:103
itk::TransformRigidityPenaltyTerm::m_BSplineTransform
BSplineTransformPointer m_BSplineTransform
Definition: itkTransformRigidityPenaltyTerm.h:330
itk::TransformRigidityPenaltyTerm::RigidityImageIndexType
RigidityImageType::IndexType RigidityImageIndexType
Definition: itkTransformRigidityPenaltyTerm.h:173
itk::TransformPenaltyTerm::MovingImageMaskType
Superclass::MovingImageMaskType MovingImageMaskType
Definition: itkTransformPenaltyTerm.h:87
itk::TransformPenaltyTerm::ImageSampleContainerPointer
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Definition: itkTransformPenaltyTerm.h:95
itk::TransformRigidityPenaltyTerm::NOIFType
NeighborhoodOperatorImageFilter< CoefficientImageType, CoefficientImageType > NOIFType
Definition: itkTransformRigidityPenaltyTerm.h:164
itk::TransformRigidityPenaltyTerm::ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkTransformRigidityPenaltyTerm.h:81
itk::TransformRigidityPenaltyTerm::MovingImageMaskType
Superclass::MovingImageMaskType MovingImageMaskType
Definition: itkTransformRigidityPenaltyTerm.h:115
itk::TransformPenaltyTerm::CoordinateRepresentationType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Definition: itkTransformPenaltyTerm.h:58
itk::TransformRigidityPenaltyTerm::GridSpacingType
BSplineTransformType::SpacingType GridSpacingType
Definition: itkTransformRigidityPenaltyTerm.h:153
itk::TransformPenaltyTerm::MovingImageType
Superclass::MovingImageType MovingImageType
Definition: itkTransformPenaltyTerm.h:62
itk::TransformRigidityPenaltyTerm::m_LinearityConditionWeight
ScalarType m_LinearityConditionWeight
Definition: itkTransformRigidityPenaltyTerm.h:331
TScalarType
itk::TransformRigidityPenaltyTerm::MovingImageMaskPointer
Superclass::MovingImageMaskPointer MovingImageMaskPointer
Definition: itkTransformRigidityPenaltyTerm.h:116
itk::TransformPenaltyTerm::GradientPixelType
Superclass::GradientPixelType GradientPixelType
Definition: itkTransformPenaltyTerm.h:80
itk::TransformRigidityPenaltyTerm::JacobianOfSpatialJacobianType
Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Definition: itkTransformRigidityPenaltyTerm.h:137
itk::TransformPenaltyTerm::FixedImageType
Superclass::FixedImageType FixedImageType
Definition: itkTransformPenaltyTerm.h:66
itk::TransformRigidityPenaltyTerm::ParametersType
Superclass::ParametersType ParametersType
Definition: itkTransformRigidityPenaltyTerm.h:120
itk::AdvancedImageToImageMetric< TFixedImage, TFixedImage >::TransformPointer
Superclass::TransformPointer TransformPointer
Definition: itkAdvancedImageToImageMetric.h:110
itk::TransformRigidityPenaltyTerm::Initialize
virtual void Initialize(void)
itk::TransformRigidityPenaltyTerm::m_UseLinearityCondition
bool m_UseLinearityCondition
Definition: itkTransformRigidityPenaltyTerm.h:343
itk::TransformRigidityPenaltyTerm::m_UseMovingRigidityImage
bool m_UseMovingRigidityImage
Definition: itkTransformRigidityPenaltyTerm.h:362
itk::TransformRigidityPenaltyTerm::ImageSampleContainerPointer
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Definition: itkTransformRigidityPenaltyTerm.h:123
itk::TransformRigidityPenaltyTerm::m_RigidityPenaltyTermValue
MeasureType m_RigidityPenaltyTermValue
Definition: itkTransformRigidityPenaltyTerm.h:335
itk::TransformRigidityPenaltyTerm::DerivativeValueType
Superclass::DerivativeValueType DerivativeValueType
Definition: itkTransformRigidityPenaltyTerm.h:119
itk::TransformRigidityPenaltyTerm::JacobianOfSpatialHessianType
Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Definition: itkTransformRigidityPenaltyTerm.h:139
itk::TransformRigidityPenaltyTerm::SERadiusType
StructuringElementType::RadiusType SERadiusType
Definition: itkTransformRigidityPenaltyTerm.h:179
itk::TransformRigidityPenaltyTerm::RigidityImageType
CoefficientImageType RigidityImageType
Definition: itkTransformRigidityPenaltyTerm.h:169
itk::TransformRigidityPenaltyTerm::~TransformRigidityPenaltyTerm
virtual ~TransformRigidityPenaltyTerm()
Definition: itkTransformRigidityPenaltyTerm.h:302
itk::TransformRigidityPenaltyTerm::MovingImagePixelType
Superclass::MovingImagePixelType MovingImagePixelType
Definition: itkTransformRigidityPenaltyTerm.h:92
itk::TransformRigidityPenaltyTerm::CoefficientImageSpacingType
CoefficientImageType::SpacingType CoefficientImageSpacingType
Definition: itkTransformRigidityPenaltyTerm.h:156
itk::TransformRigidityPenaltyTerm::CheckUseAndCalculationBooleans
void CheckUseAndCalculationBooleans(void)
itk::TransformRigidityPenaltyTerm::m_RigidityCoefficientImage
RigidityImagePointer m_RigidityCoefficientImage
Definition: itkTransformRigidityPenaltyTerm.h:356
itk::TransformRigidityPenaltyTerm::CreateNDOperator
void CreateNDOperator(NeighborhoodType &F, const std::string &whichF, const CoefficientImageSpacingType &spacing) const
itk::TransformRigidityPenaltyTerm::GetDerivative
virtual void GetDerivative(const ParametersType &parameters, DerivativeType &derivative) const
itkAdvancedBSplineDeformableTransform.h
itk::TransformPenaltyTerm::OutputPointType
Superclass::OutputPointType OutputPointType
Definition: itkTransformPenaltyTerm.h:74
itk::TransformRigidityPenaltyTerm::RigidityImageRegionType
RigidityImageType::RegionType RigidityImageRegionType
Definition: itkTransformRigidityPenaltyTerm.h:172
itk::TransformRigidityPenaltyTerm::MovingImagePointer
Superclass::MovingImagePointer MovingImagePointer
Definition: itkTransformRigidityPenaltyTerm.h:93
itk::TransformRigidityPenaltyTerm::CoefficientImageType
BSplineTransformType::ImageType CoefficientImageType
Definition: itkTransformRigidityPenaltyTerm.h:154


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo