18#ifndef itkComputeJacobianTerms_h
19#define itkComputeJacobianTerms_h
36template <
class TFixedImage,
class TTransform>
86 itkSetMacro(UseScales,
bool);
87 itkSetMacro(MaxBandCovSize,
unsigned int);
88 itkSetMacro(NumberOfBandStructureSamples,
unsigned int);
89 itkSetMacro(NumberOfJacobianMeasurements, SizeValueType);
107 Compute(
double & TrC,
double & TrCC,
double & maxJJ,
double & maxJCJ);
154#ifndef ITK_MANUAL_INSTANTIATION
155# include "itkComputeJacobianTerms.hxx"
FixedImageType::ConstPointer m_FixedImage
typename TransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
ComputeJacobianTerms Self
typename ImageGridSamplerType ::ImageSampleContainerType ImageSampleContainerType
typename ImageSamplerBaseType::Pointer ImageSamplerBasePointer
ITK_DISALLOW_COPY_AND_MOVE(ComputeJacobianTerms)
typename ScaledSingleValuedNonLinearOptimizerType::ScalesType ScalesType
typename TransformType::ScalarType CoordinateRepresentationType
FixedImageMaskConstPointer m_FixedImageMask
virtual void SampleFixedImageForJacobianTerms(ImageSampleContainerPointer &sampleContainer)
SmartPointer< Self > Pointer
typename ImageSampleContainerType::Pointer ImageSampleContainerPointer
ImageSamplerBase< FixedImageType > ImageSamplerBaseType
~ComputeJacobianTerms() override=default
FixedImageRegionType m_FixedImageRegion
typename FixedImageType::PointType FixedImagePointType
ImageRandomSamplerBase< FixedImageType > ImageRandomSamplerBaseType
typename FixedImageType::IndexType FixedImageIndexType
typename FixedImageMaskType::Pointer FixedImageMaskPointer
void SetFixedImageRegion(const FixedImageRegionType ®ion)
typename TransformType::Pointer TransformPointer
typename JacobianType::ValueType JacobianValueType
ImageGridSampler< FixedImageType > ImageGridSamplerType
itkStaticConstMacro(FixedImageDimension, unsigned int, TFixedImage::ImageDimension)
ComputeJacobianTerms()=default
typename ImageGridSamplerType::Pointer ImageGridSamplerPointer
virtual void Compute(double &TrC, double &TrCC, double &maxJJ, double &maxJCJ)
ScaledSingleValuedNonLinearOptimizer ScaledSingleValuedNonLinearOptimizerType
unsigned int m_MaxBandCovSize
ImageMaskSpatialObject< Self::FixedImageDimension > FixedImageMaskType
typename TransformType::NumberOfParametersType NumberOfParametersType
typename TransformType::JacobianType JacobianType
TransformPointer m_Transform
unsigned int m_NumberOfBandStructureSamples
TFixedImage FixedImageType
typename FixedImageType::RegionType FixedImageRegionType
typename FixedImageMaskType::ConstPointer FixedImageMaskConstPointer
typename ImageRandomSamplerBaseType::Pointer ImageRandomSamplerBasePointer
JacobianType TransformJacobianType
SmartPointer< const Self > ConstPointer
typename ScaledSingleValuedNonLinearOptimizerType ::ScaledCostFunctionPointer ScaledCostFunctionPointer
SizeValueType m_NumberOfJacobianMeasurements
Samples image voxels on a regular grid.
SmartPointer< Self > Pointer
This class is a base class for any image sampler that randomly picks samples.
SmartPointer< Self > Pointer
This class is a base class for any image sampler.
SmartPointer< Self > Pointer
NonLinearOptimizer::ScalesType ScalesType