Go to the documentation of this file.
18 #ifndef __itkComputeDisplacementDistribution_h
19 #define __itkComputeDisplacementDistribution_h
27 #include "itkMultiThreader.h"
45 template<
class TFixedImage,
class TTransform >
78 TFixedImage::ImageDimension );
96 itkSetMacro( NumberOfJacobianMeasurements, SizeValueType );
113 double & jacg,
double & maxJJ, std::string method );
117 double & jacg,
double & maxJJ, std::string method );
120 double & jacg,
double & maxJJ, std::string methods );
125 this->
m_Threader->SetNumberOfThreads( numberOfThreads );
215 PaddedComputePerThreadStruct );
217 AlignedComputePerThreadStruct );
235 #ifndef ITK_MANUAL_INSTANTIATION
236 #include "itkComputeDisplacementDistribution.hxx"
239 #endif // end #ifndef __itkComputeDisplacementDistribution_h
SizeValueType m_NumberOfPixelsCounted
double st_DisplacementSquared
TransformType::Pointer TransformPointer
ImageRandomSamplerBase< FixedImageType > ImageRandomSamplerBaseType
FixedImageType::IndexType FixedImageIndexType
ImageSamplerBase< FixedImageType > ImageSamplerBaseType
FixedImageType::PixelType FixedImagePixelType
void SetNumberOfThreads(ThreadIdType numberOfThreads)
virtual void SampleFixedImageForJacobianTerms(ImageSampleContainerPointer &sampleContainer)
itkAlignedTypedef(ITK_CACHE_LINE_ALIGNMENT, PaddedComputePerThreadStruct, AlignedComputePerThreadStruct)
void SetFixedImageRegion(const FixedImageRegionType ®ion)
SmartPointer< Self > Pointer
This is a helper class for the automatic parameter estimation of the ASGD optimizer.
FixedImageRegionType m_FixedImageRegion
FixedImageMaskConstPointer m_FixedImageMask
DerivativeType m_ExactGradient
FixedImageMaskType::ConstPointer FixedImageMaskConstPointer
ImageSamplerBaseType::Pointer ImageSamplerBasePointer
TransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
ImageSampleContainerType::Pointer ImageSampleContainerPointer
SpatialObject< itkGetStaticConstMacro(FixedImageDimension) > FixedImageMaskType
Superclass::DerivativeType DerivativeType
itk::MultiThreader ThreaderType
ThreadIdType m_ComputePerThreadVariablesSize
JacobianType::ValueType JacobianValueType
AlignedComputePerThreadStruct * m_ComputePerThreadVariables
Superclass::ParametersType ParametersType
Samples all voxels in the InputImageRegion.
virtual void ComputeSingleThreaded(const ParametersType &mu, double &jacg, double &maxJJ, std::string method)
FixedImageMaskType::Pointer FixedImageMaskPointer
virtual void InitializeThreadingParameters(void)
JacobianType TransformJacobianType
Superclass::DerivativeType DerivativeType
FixedImageType::RegionType FixedImageRegionType
TransformType::JacobianType JacobianType
itkPadStruct(ITK_CACHE_LINE_ALIGNMENT, ComputePerThreadStruct, PaddedComputePerThreadStruct)
virtual void AfterThreadedCompute(double &jacg, double &maxJJ)
FixedImageType::PointType FixedImagePointType
ImageGridSampler< FixedImageType > ImageGridSamplerType
ImageSampleContainerPointer m_SampleContainer
Superclass::ScalesType ScalesType
static ITK_THREAD_RETURN_TYPE ComputeThreaderCallback(void *arg)
SmartPointer< const Self > ConstPointer
ComputeDisplacementDistribution Self
SizeValueType m_NumberOfParameters
ImageFullSamplerType::Pointer ImageFullSamplerPointer
ImageGridSamplerType ::ImageSampleContainerType ImageSampleContainerType
ComputeDisplacementDistribution(const Self &)
virtual void BeforeThreadedCompute(const ParametersType &mu)
itkStaticConstMacro(FixedImageDimension, unsigned int, TFixedImage::ImageDimension)
virtual ~ComputeDisplacementDistribution()
TransformType::NumberOfParametersType NumberOfParametersType
void LaunchComputeThreaderCallback(void) const
ImageFullSampler< FixedImageType > ImageFullSamplerType
ScaledSingleValuedCostFunction::Pointer m_CostFunction
Superclass::ParametersType ParametersType
MultiThreaderParameterType m_ThreaderParameters
ThreaderType::ThreadInfoStruct ThreadInfoType
ImageGridSamplerType::Pointer ImageGridSamplerPointer
ScaledSingleValuedNonLinearOptimizer Superclass
SizeValueType m_NumberOfJacobianMeasurements
virtual void ComputeUsingSearchDirection(const ParametersType &mu, double &jacg, double &maxJJ, std::string methods)
virtual void Compute(const ParametersType &mu, double &jacg, double &maxJJ, std::string method)
ThreaderType::Pointer m_Threader
TransformType::ScalarType CoordinateRepresentationType
ComputeDisplacementDistribution()
TransformPointer m_Transform
This class is a base class for any image sampler.
Superclass::ImageSampleContainerType ImageSampleContainerType
Samples image voxels on a regular grid.
NonLinearOptimizer::ScalesType ScalesType
FixedImageType::ConstPointer m_FixedImage
SizeValueType st_NumberOfPixelsCounted
TFixedImage FixedImageType
virtual void ThreadedCompute(ThreadIdType threadID)
This class is a base class for any image sampler that randomly picks samples.
void operator=(const Self &)
ImageRandomSamplerBaseType::Pointer ImageRandomSamplerBasePointer
Generated on OURCE_DATE_EPOCH for elastix by 1.8.18 |
|