Go to the documentation of this file.
18 #ifndef __itkPCAMetric_F_multithreaded_H__
19 #define __itkPCAMetric_F_multithreaded_H__
23 #include "itkSmoothingRecursiveGaussianImageFilter.h"
25 #include "itkNearestNeighborInterpolateImageFunction.h"
26 #include "itkExtractImageFilter.h"
30 template<
class TFixedImage,
class TMovingImage >
32 public AdvancedImageToImageMetric< TFixedImage, TMovingImage >
53 itkSetMacro( SubtractMean,
bool );
55 itkSetMacro( TransformIsStackTransform,
bool );
56 itkSetMacro( NumEigenValues,
unsigned int );
114 FixedImageType::ImageDimension );
118 MovingImageType::ImageDimension );
144 void PrintSelf( std::ostream & os, Indent indent )
const;
153 typedef typename itk::ContinuousIndex< CoordinateRepresentationType, FixedImageDimension >
185 itkPadStruct( ITK_CACHE_LINE_ALIGNMENT, PCAMetricGetSamplesPerThreadStruct,
186 PaddedPCAMetricGetSamplesPerThreadStruct );
189 PaddedPCAMetricGetSamplesPerThreadStruct,
190 AlignedPCAMetricGetSamplesPerThreadStruct );
250 #ifndef ITK_MANUAL_INSTANTIATION
251 #include "itkPCAMetric_F_multithreaded.hxx"
254 #endif // end #ifndef __itkPCAMetric_F_multithreaded_H__
Superclass::TransformParametersType TransformParametersType
Superclass::ThreadInfoType ThreadInfoType
FixedImageSizeType m_GridSize
Superclass::FixedImageRegionType FixedImageRegionType
Superclass::GradientPixelType GradientPixelType
ImageSamplerType::Pointer ImageSamplerPointer
Superclass::MovingImagePixelType MovingImagePixelType
Superclass::FixedImageIndexType FixedImageIndexType
Superclass::TransformJacobianType TransformJacobianType
Superclass::GradientImageType GradientImageType
void LaunchComputeDerivativeThreaderCallback(void) const
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
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Superclass::DerivativeType DerivativeType
void GetValueAndDerivativeSingleThreaded(const TransformParametersType ¶meters, MeasureType &Value, DerivativeType &Derivative) const
vnl_matrix< RealType > MatrixType
Superclass::OutputPointType OutputPointType
void ThreadedComputeDerivative(ThreadIdType threadID)
Superclass::MovingImageDerivativeType MovingImageDerivativeType
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::InterpolatorType InterpolatorType
Superclass::ImageSamplerPointer ImageSamplerPointer
FixedImageRegionType::SizeType FixedImageSizeType
PCAMetricMultiThreaderParameterType m_PCAMetricThreaderParameters
FixedArray< double, Self::MovingImageDimension > MovingImageDerivativeScalesType
MovingImageLimiterType::OutputType MovingImageLimiterOutputType
DerivativeMatrixType m_CSv
BSplineInterpolatorType::CovariantVectorType MovingImageDerivativeType
DerivativeType::ValueType DerivativeValueType
itkPadStruct(ITK_CACHE_LINE_ALIGNMENT, PCAMetricGetSamplesPerThreadStruct, PaddedPCAMetricGetSamplesPerThreadStruct)
DerivativeType st_Derivative
Superclass::GradientImagePointer GradientImagePointer
Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass::FixedImageType FixedImageType
Superclass::RealType RealType
Superclass::BSplineInterpolatorType BSplineInterpolatorType
virtual void InitializeThreadingParameters(void) const
std::vector< unsigned int > m_PixelStartIndex
Superclass::OutputPointType OutputPointType
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass::ParametersType ParametersType
LimiterFunctionBase< RealType, MovingImageDimension > MovingImageLimiterType
Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
Superclass::GradientImageFilterType GradientImageFilterType
Superclass::InterpolatorPointer InterpolatorPointer
Superclass::GradientImagePointer GradientImagePointer
Superclass::MovingImageMaskType MovingImageMaskType
ImageSamplerType::OutputVectorContainerType ImageSampleContainerType
Superclass::InterpolatorType InterpolatorType
Superclass::ImageSampleContainerType ImageSampleContainerType
Superclass::MovingImageIndexType MovingImageIndexType
ThreadIdType m_PCAMetricGetSamplesPerThreadVariablesSize
AdvancedTransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Superclass::TransformJacobianType TransformJacobianType
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
Superclass::FixedImageMaskType FixedImageMaskType
Superclass::FixedImageConstPointer FixedImageConstPointer
FixedImageType::IndexType FixedImageIndexType
void ThreadedGetSamples(ThreadIdType threadID)
MovingImageType::RegionType MovingImageRegionType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
itkAlignedTypedef(ITK_CACHE_LINE_ALIGNMENT, PaddedPCAMetricGetSamplesPerThreadStruct, AlignedPCAMetricGetSamplesPerThreadStruct)
void operator=(const Self &)
virtual MeasureType GetValue(const TransformParametersType ¶meters) const
Superclass::MovingImageConstPointer MovingImageConstPointer
SmartPointer< const Self > ConstPointer
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass::MovingImageMaskType MovingImageMaskType
static ITK_THREAD_RETURN_TYPE ComputeDerivativeThreaderCallback(void *arg)
Superclass::FixedImageIndexValueType FixedImageIndexValueType
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::FixedImageType FixedImageType
itk::MultiThreader ThreaderType
Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass::FixedImageMaskType FixedImageMaskType
Superclass::MovingImagePixelType MovingImagePixelType
FixedImageType::PixelType FixedImagePixelType
itk::ContinuousIndex< CoordinateRepresentationType, FixedImageDimension > FixedImageContinuousIndexType
Superclass::MovingImageMaskPointer MovingImageMaskPointer
Superclass::CentralDifferenceGradientFilterType CentralDifferenceGradientFilterType
Superclass::FixedImagePixelType FixedImagePixelType
TransformType::InputPointType FixedImagePointType
Superclass::DerivativeType DerivativeType
FixedImageLimiterType::OutputType FixedImageLimiterOutputType
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
DerivativeMatrixType m_vdSdmu_part1
ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
void AfterThreadedComputeDerivative(DerivativeType &derivative) const
LimiterFunctionBase< RealType, FixedImageDimension > FixedImageLimiterType
Superclass::RealType RealType
AdvancedImageToImageMetric< TFixedImage, TMovingImage > Superclass
void PrintSelf(std::ostream &os, Indent indent) const
AlignedPCAMetricGetSamplesPerThreadStruct * m_PCAMetricGetSamplesPerThreadVariables
Superclass::InterpolatorPointer InterpolatorPointer
Superclass::ParametersType ParametersType
Superclass::FixedImagePointType FixedImagePointType
InterpolatorType::ContinuousIndexType MovingImageContinuousIndexType
Superclass::MeasureType MeasureType
unsigned int m_NumEigenValues
Superclass::GradientImageType GradientImageType
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass::MovingImageRegionType MovingImageRegionType
TransformType::OutputPointType MovingImagePointType
Superclass::MovingImageMaskPointer MovingImageMaskPointer
Superclass::GradientImageFilterType GradientImageFilterType
Superclass::ImageSamplerType ImageSamplerType
Superclass::GradientImageFilterPointer GradientImageFilterPointer
SmartPointer< Self > Pointer
Superclass::FixedImageMaskPointer FixedImageMaskPointer
vnl_matrix< DerivativeValueType > DerivativeMatrixType
virtual void Initialize(void)
Superclass::MovingImageType MovingImageType
Superclass::TransformPointer TransformPointer
BSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, double > BSplineInterpolatorType
DerivativeMatrixType m_vSAtmm
Superclass::InputPointType InputPointType
Superclass::TransformParametersType TransformParametersType
void AfterThreadedGetSamples(MeasureType &value) const
Superclass::GradientPixelType GradientPixelType
SizeValueType st_NumberOfPixelsCounted
Superclass::FixedImageRegionType FixedImageRegionType
GradientImageFilter< MovingImageType, RealType, RealType > CentralDifferenceGradientFilterType
Superclass::TransformPointer TransformPointer
Superclass::TransformType TransformType
MovingImageType::IndexType MovingImageIndexType
DerivativeMatrixType m_Sv
FixedImageIndexType::IndexValueType FixedImageIndexValueType
unsigned int m_LastDimIndex
void LaunchGetSamplesThreaderCallback(void) const
Superclass::MovingImageType MovingImageType
static ITK_THREAD_RETURN_TYPE GetSamplesThreaderCallback(void *arg)
std::vector< FixedImagePointType > st_ApprovedSamples
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass::MovingImageLimiterType MovingImageLimiterType
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass::InputPointType InputPointType
ImageSamplerBase< FixedImageType > ImageSamplerType
void EvaluateTransformJacobianInnerProduct(const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &imageJacobian) const
Superclass::ThreaderType ThreaderType
ThreaderType::ThreadInfoStruct ThreadInfoType
Generated on OURCE_DATE_EPOCH for elastix by 1.8.18 |
|