Go to the documentation of this file.
18 #ifndef __itkPCAMetric_h
19 #define __itkPCAMetric_h
23 #include "itkSmoothingRecursiveGaussianImageFilter.h"
25 #include "itkNearestNeighborInterpolateImageFunction.h"
26 #include "itkExtractImageFilter.h"
32 template<
class TFixedImage,
class TMovingImage >
55 itkSetMacro( SampleLastDimensionRandomly,
bool );
56 itkSetMacro( NumSamplesLastDimension,
unsigned int );
57 itkSetMacro( NumAdditionalSamplesFixed,
unsigned int );
58 itkSetMacro( ReducedDimensionIndex,
unsigned int );
59 itkSetMacro( SubtractMean,
bool );
61 itkSetMacro( TransformIsStackTransform,
bool );
62 itkSetMacro( NumEigenValues,
unsigned int );
63 itkSetMacro( UseDerivativeOfMean,
bool );
64 itkSetMacro( DeNoise,
bool );
65 itkSetMacro( VarNoise,
double );
68 itkGetConstMacro( SampleLastDimensionRandomly,
bool );
69 itkGetConstMacro( NumSamplesLastDimension,
int );
87 typedef typename Superclass::RealType
RealType;
118 FixedImageType::ImageDimension );
122 MovingImageType::ImageDimension );
145 void PrintSelf( std::ostream & os, Indent indent )
const;
154 typedef typename itk::ContinuousIndex< CoordinateRepresentationType, FixedImageDimension >
188 void SampleRandom(
const int n,
const int m, std::vector< int > & numbers )
const;
218 #ifndef ITK_MANUAL_INSTANTIATION
219 #include "itkPCAMetric.hxx"
222 #endif // end #ifndef __itkPCAMetric_h
Superclass::TransformParametersType TransformParametersType
FixedImageSizeType m_GridSize
Superclass::GradientPixelType GradientPixelType
Superclass::MovingImagePixelType MovingImagePixelType
Superclass::FixedImageIndexType FixedImageIndexType
Superclass::TransformJacobianType TransformJacobianType
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics.
virtual void GetDerivative(const TransformParametersType ¶meters, DerivativeType &derivative) const
void SampleRandom(const int n, const int m, std::vector< int > &numbers) const
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Superclass::DerivativeType DerivativeType
Superclass::OutputPointType OutputPointType
Superclass::MovingImageDerivativeType MovingImageDerivativeType
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
Superclass::InterpolatorType InterpolatorType
vnl_vector< double > m_secondEigenVector
Superclass::ImageSamplerPointer ImageSamplerPointer
FixedImageRegionType::SizeType FixedImageSizeType
unsigned int m_ReducedDimensionIndex
BSplineInterpolatorType::CovariantVectorType MovingImageDerivativeType
Superclass::GradientImagePointer GradientImagePointer
Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass::FixedImageType FixedImageType
Superclass::RealType RealType
Superclass::BSplineInterpolatorType BSplineInterpolatorType
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::ImageSampleContainerType ImageSampleContainerType
Superclass::MovingImageIndexType MovingImageIndexType
Superclass::TransformJacobianType TransformJacobianType
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass::CoordinateRepresentationType CoordinateRepresentationType
void operator=(const Self &)
virtual MeasureType GetValue(const TransformParametersType ¶meters) const
Superclass::MovingImageConstPointer MovingImageConstPointer
SmartPointer< const Self > ConstPointer
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
bool m_UseDerivativeOfMean
Superclass::FixedImageIndexValueType FixedImageIndexValueType
vnl_vector< double > m_thirdEigenVector
Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass::FixedImageMaskType FixedImageMaskType
itk::ContinuousIndex< CoordinateRepresentationType, FixedImageDimension > FixedImageContinuousIndexType
Superclass::MovingImageMaskPointer MovingImageMaskPointer
vnl_vector< double > m_seventhEigenVector
Superclass::CentralDifferenceGradientFilterType CentralDifferenceGradientFilterType
Superclass::FixedImagePixelType FixedImagePixelType
vnl_vector< double > m_sixthEigenVector
vnl_vector< double > m_normdCdmu
Superclass::DerivativeType DerivativeType
Superclass::TransformType TransformType
bool m_TransformIsStackTransform
Superclass::MovingImagePointType MovingImagePointType
Superclass::MeasureType MeasureType
virtual void GetValueAndDerivative(const TransformParametersType ¶meters, MeasureType &Value, DerivativeType &Derivative) const
Superclass::FixedImageLimiterType FixedImageLimiterType
vnl_vector< double > m_firstEigenVector
AdvancedImageToImageMetric< TFixedImage, TMovingImage > Superclass
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::InterpolatorPointer InterpolatorPointer
unsigned int m_NumAdditionalSamplesFixed
Superclass::ParametersType ParametersType
Superclass::FixedImagePointType FixedImagePointType
Superclass::MeasureType MeasureType
unsigned int m_NumEigenValues
vnl_vector< double > m_eigenValues
bool m_SampleLastDimensionRandomly
Superclass::GradientImageType GradientImageType
Superclass::MovingImageRegionType MovingImageRegionType
unsigned int m_NumSamplesLastDimension
Superclass::GradientImageFilterType GradientImageFilterType
Superclass::ImageSamplerType ImageSamplerType
Superclass::GradientImageFilterPointer GradientImageFilterPointer
SmartPointer< Self > Pointer
vnl_vector< double > m_fifthEigenVector
Superclass::FixedImageMaskPointer FixedImageMaskPointer
virtual void Initialize(void)
Superclass::TransformPointer TransformPointer
Superclass::InputPointType InputPointType
Superclass::TransformParametersType TransformParametersType
Superclass::FixedImageRegionType FixedImageRegionType
vnl_vector< double > m_fourthEigenVector
Superclass::MovingImageType MovingImageType
Superclass::MovingImageLimiterType MovingImageLimiterType
void EvaluateTransformJacobianInnerProduct(const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &imageJacobian) const
Generated on OURCE_DATE_EPOCH for elastix by 1.8.18 |
|