Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxNormalizedMutualInformationMetric.h>
A metric based on the itk::ParzenWindowNormalizedMutualInformationImageToImageMetric.
The parameters used in this class are:
Metric: Select this metric as follows:
(Metric "NormalizedMutualInformation")
NumberOfHistogramBins: The size of the histogram. Must be given for each resolution, or for all resolutions at once.
example: (NumberOfHistogramBins 32 32 64)
The default is 32 for each resolution.
NumberOfFixedHistogramBins: The size of the histogram in the fixed dimension. Can be given for each resolution, or for all resolutions at once. If not given, NumberOfHistograms is used.
example: (NumberOfFixedHistogramBins 32 32 64)
The default is the value of NumberOfHistograms.
NumberOfMovingHistogramBins: The size of the histogram in the fixed dimension. Can be given for each resolution, or for all resolutions at once. If not given, NumberOfHistograms is used.
example: (NumberOfMovingHistogramBins 32 32 64)
The default is the value of NumberOfHistograms.
FixedKernelBSplineOrder: The B-spline order of the Parzen window, used to estimate the joint histogram. Can be given for each resolution, or for all resolutions at once.
example: (FixedKernelBSplineOrder 0 1 1)
The default value is 0.
MovingKernelBSplineOrder: The B-spline order of the Parzen window, used to estimate the joint histogram. Can be given for each resolution, or for all resolutions at once.
example: (MovingKernelBSplineOrder 3 3 3)
The default value is 3.
FixedLimitRangeRatio: The relative extension of the intensity range of the fixed image.
If your image has gray values from 0 to 1000 and the FixedLimitRangeRatio is 0.001, the joint histogram will expect fixed image gray values from -0.001 to 1000.001. This may be useful if you use high order B-spline interpolator for the fixed image.
example: (FixedLimitRangeRatio 0.001 0.01 0.01)
The default value is 0.01. Can be given for each resolution, or for all resolutions at once.
MovingLimitRangeRatio: The relative extension of the intensity range of the moving image.
If your image has gray values from 0 to 1000 and the MovingLimitRangeRatio is 0.001, the joint histogram will expect moving image gray values from -0.001 to 1000.001. This may be useful if you use high order B-spline interpolator for the moving image.
example: (MovingLimitRangeRatio 0.001 0.01 0.01)
The default value is 0.01. Can be given for each resolution, or for all resolutions at once.
Definition at line 73 of file elxNormalizedMutualInformationMetric.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ParzenWindowNormalizedMutualInformationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType > | |
static Pointer | New () |
Static Public Member Functions inherited from elastix::BaseComponent | |
static std::string | ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision) |
static void | InitializeElastixExecutable () |
static bool | IsElastixLibrary () |
Protected Member Functions | |
NormalizedMutualInformationMetric () | |
~NormalizedMutualInformationMetric () override | |
Protected Member Functions inherited from itk::ParzenWindowNormalizedMutualInformationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType > | |
virtual void | ComputeLogMarginalPDF (MarginalPDFType &pdf) const |
virtual MeasureType | ComputeNormalizedMutualInformation (MeasureType &jointEntropy) const |
ParzenWindowNormalizedMutualInformationImageToImageMetric () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~ParzenWindowNormalizedMutualInformationImageToImageMetric () override | |
Protected Member Functions inherited from itk::ParzenWindowHistogramImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType > | |
void | AfterThreadedComputePDFs (void) const |
virtual void | ComputeIncrementalMarginalPDFs (const JointPDFDerivativesType *incrementalPDF, IncrementalMarginalPDFType *fixedIncrementalMarginalPDF, IncrementalMarginalPDFType *movingIncrementalMarginalPDF) const |
virtual void | ComputeMarginalPDF (const JointPDFType *jointPDF, MarginalPDFType &marginalPDF, const unsigned int &direction) const |
virtual void | ComputePDFs (const ParametersType ¶meters) const |
virtual void | ComputePDFsAndIncrementalPDFs (const ParametersType ¶meters) const |
virtual void | ComputePDFsAndPDFDerivatives (const ParametersType ¶meters) const |
virtual void | ComputePDFsSingleThreaded (const ParametersType ¶meters) const |
void | EvaluateParzenValues (double parzenWindowTerm, OffsetValueType parzenWindowIndex, const KernelFunctionType *kernel, ParzenValueContainerType &parzenValues) const |
virtual void | GetValueAndAnalyticDerivative (const ParametersType &, MeasureType &, DerivativeType &) const |
virtual void | GetValueAndFiniteDifferenceDerivative (const ParametersType &, MeasureType &, DerivativeType &) const |
virtual void | InitializeHistograms (void) |
virtual void | InitializeKernels (void) |
void | InitializeThreadingParameters (void) const override |
itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedParzenWindowHistogramGetValueAndDerivativePerThreadStruct, AlignedParzenWindowHistogramGetValueAndDerivativePerThreadStruct) | |
itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, ParzenWindowHistogramGetValueAndDerivativePerThreadStruct, PaddedParzenWindowHistogramGetValueAndDerivativePerThreadStruct) | |
void | LaunchComputePDFsThreaderCallback (void) const |
virtual void | NormalizeJointPDF (JointPDFType *pdf, const double &factor) const |
virtual void | NormalizeJointPDFDerivatives (JointPDFDerivativesType *pdf, const double &factor) const |
ParzenWindowHistogramImageToImageMetric () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
void | ThreadedComputePDFs (ThreadIdType threadId) |
virtual void | UpdateJointPDFAndDerivatives (const RealType &fixedImageValue, const RealType &movingImageValue, const DerivativeType *imageJacobian, const NonZeroJacobianIndicesType *nzji, JointPDFType *jointPDF) const |
virtual void | UpdateJointPDFAndIncrementalPDFs (RealType fixedImageValue, RealType movingImageValue, RealType movingMaskValue, const DerivativeType &movingImageValuesRight, const DerivativeType &movingImageValuesLeft, const DerivativeType &movingMaskValuesRight, const DerivativeType &movingMaskValuesLeft, const NonZeroJacobianIndicesType &nzji) const |
void | UpdateJointPDFDerivatives (const JointPDFIndexType &pdfIndex, double factor, const DerivativeType &imageJacobian, const NonZeroJacobianIndicesType &nzji) const |
~ParzenWindowHistogramImageToImageMetric () override | |
Protected Member Functions inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType > | |
AdvancedImageToImageMetric () | |
virtual void | AfterThreadedGetValue (MeasureType &value) const |
virtual void | AfterThreadedGetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const |
virtual void | CheckForAdvancedTransform (void) |
virtual void | CheckForBSplineInterpolator (void) |
virtual void | CheckForBSplineTransform (void) const |
virtual void | CheckNumberOfSamples (unsigned long wanted, unsigned long found) const |
virtual bool | EvaluateMovingImageValueAndDerivative (const MovingImagePointType &mappedPoint, RealType &movingImageValue, MovingImageDerivativeType *gradient) const |
virtual bool | EvaluateTransformJacobian (const FixedImagePointType &fixedImagePoint, TransformJacobianType &jacobian, NonZeroJacobianIndicesType &nzji) const |
virtual void | EvaluateTransformJacobianInnerProduct (const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &imageJacobian) const |
virtual void | InitializeImageSampler (void) |
virtual void | InitializeLimiters (void) |
virtual void | InitializeThreadingParameters (void) const |
virtual bool | IsInsideMovingMask (const MovingImagePointType &point) const |
itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValueAndDerivativePerThreadStruct, AlignedGetValueAndDerivativePerThreadStruct) | |
itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValuePerThreadStruct, AlignedGetValuePerThreadStruct) | |
itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValueAndDerivativePerThreadStruct, PaddedGetValueAndDerivativePerThreadStruct) | |
itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValuePerThreadStruct, PaddedGetValuePerThreadStruct) | |
void | LaunchGetValueAndDerivativeThreaderCallback (void) const |
void | LaunchGetValueThreaderCallback (void) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetUseFixedImageLimiter (bool _arg) |
virtual void | SetUseImageSampler (bool _arg) |
virtual void | SetUseMovingImageLimiter (bool _arg) |
virtual void | ThreadedGetValue (ThreadIdType threadID) |
virtual void | ThreadedGetValueAndDerivative (ThreadIdType threadID) |
virtual bool | TransformPoint (const FixedImagePointType &fixedImagePoint, MovingImagePointType &mappedPoint) const |
~AdvancedImageToImageMetric () override | |
Protected Member Functions inherited from elastix::MetricBase< TElastix > | |
virtual MeasureType | GetExactValue (const ParametersType ¶meters) |
MetricBase () | |
~MetricBase () override | |
Protected Member Functions inherited from elastix::BaseComponentSE< TElastix > | |
BaseComponentSE ()=default | |
~BaseComponentSE () override=default | |
Protected Member Functions inherited from elastix::BaseComponent | |
BaseComponent ()=default | |
virtual | ~BaseComponent ()=default |
Private Member Functions | |
NormalizedMutualInformationMetric (const Self &) | |
void | operator= (const Self &) |
typedef Superclass2::ConfigurationPointer elastix::NormalizedMutualInformationMetric< TElastix >::ConfigurationPointer |
Definition at line 162 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass2::ConfigurationType elastix::NormalizedMutualInformationMetric< TElastix >::ConfigurationType |
Definition at line 161 of file elxNormalizedMutualInformationMetric.h.
typedef itk::SmartPointer< const Self > elastix::NormalizedMutualInformationMetric< TElastix >::ConstPointer |
Definition at line 89 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::CoordinateRepresentationType elastix::NormalizedMutualInformationMetric< TElastix >::CoordinateRepresentationType |
Typedefs from the superclass.
Definition at line 106 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::DerivativeType elastix::NormalizedMutualInformationMetric< TElastix >::DerivativeType |
Definition at line 132 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass2::ElastixPointer elastix::NormalizedMutualInformationMetric< TElastix >::ElastixPointer |
Definition at line 160 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass2::ElastixType elastix::NormalizedMutualInformationMetric< TElastix >::ElastixType |
Typedef's inherited from Elastix.
Definition at line 159 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::FixedImageConstPointer elastix::NormalizedMutualInformationMetric< TElastix >::FixedImageConstPointer |
Definition at line 111 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::FixedImageLimiterOutputType elastix::NormalizedMutualInformationMetric< TElastix >::FixedImageLimiterOutputType |
Definition at line 144 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::FixedImageLimiterType elastix::NormalizedMutualInformationMetric< TElastix >::FixedImageLimiterType |
Definition at line 141 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::FixedImageMaskPointer elastix::NormalizedMutualInformationMetric< TElastix >::FixedImageMaskPointer |
Definition at line 128 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::FixedImageMaskType elastix::NormalizedMutualInformationMetric< TElastix >::FixedImageMaskType |
Definition at line 127 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::FixedImagePixelType elastix::NormalizedMutualInformationMetric< TElastix >::FixedImagePixelType |
Definition at line 134 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::FixedImageRegionType elastix::NormalizedMutualInformationMetric< TElastix >::FixedImageRegionType |
Definition at line 112 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::FixedImageType elastix::NormalizedMutualInformationMetric< TElastix >::FixedImageType |
Definition at line 110 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::GradientImageFilterPointer elastix::NormalizedMutualInformationMetric< TElastix >::GradientImageFilterPointer |
Definition at line 126 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::GradientImageFilterType elastix::NormalizedMutualInformationMetric< TElastix >::GradientImageFilterType |
Definition at line 125 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::GradientImagePointer elastix::NormalizedMutualInformationMetric< TElastix >::GradientImagePointer |
Definition at line 124 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::GradientImageType elastix::NormalizedMutualInformationMetric< TElastix >::GradientImageType |
Definition at line 123 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::GradientPixelType elastix::NormalizedMutualInformationMetric< TElastix >::GradientPixelType |
Definition at line 122 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::ImageSampleContainerPointer elastix::NormalizedMutualInformationMetric< TElastix >::ImageSampleContainerPointer |
Definition at line 140 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::ImageSampleContainerType elastix::NormalizedMutualInformationMetric< TElastix >::ImageSampleContainerType |
Definition at line 138 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::ImageSamplerPointer elastix::NormalizedMutualInformationMetric< TElastix >::ImageSamplerPointer |
Definition at line 137 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::ImageSamplerType elastix::NormalizedMutualInformationMetric< TElastix >::ImageSamplerType |
Definition at line 136 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::InputPointType elastix::NormalizedMutualInformationMetric< TElastix >::InputPointType |
Definition at line 115 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::InterpolatorPointer elastix::NormalizedMutualInformationMetric< TElastix >::InterpolatorPointer |
Definition at line 120 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::InterpolatorType elastix::NormalizedMutualInformationMetric< TElastix >::InterpolatorType |
Definition at line 119 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass2::ITKBaseType elastix::NormalizedMutualInformationMetric< TElastix >::ITKBaseType |
Definition at line 165 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::MeasureType elastix::NormalizedMutualInformationMetric< TElastix >::MeasureType |
Definition at line 131 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::MovingImageConstPointer elastix::NormalizedMutualInformationMetric< TElastix >::MovingImageConstPointer |
Definition at line 109 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::MovingImageDerivativeScalesType elastix::NormalizedMutualInformationMetric< TElastix >::MovingImageDerivativeScalesType |
Definition at line 148 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::MovingImageLimiterOutputType elastix::NormalizedMutualInformationMetric< TElastix >::MovingImageLimiterOutputType |
Definition at line 146 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::MovingImageLimiterType elastix::NormalizedMutualInformationMetric< TElastix >::MovingImageLimiterType |
Definition at line 142 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::MovingImageMaskPointer elastix::NormalizedMutualInformationMetric< TElastix >::MovingImageMaskPointer |
Definition at line 130 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::MovingImageMaskType elastix::NormalizedMutualInformationMetric< TElastix >::MovingImageMaskType |
Definition at line 129 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::MovingImagePixelType elastix::NormalizedMutualInformationMetric< TElastix >::MovingImagePixelType |
Definition at line 108 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::MovingImageRegionType elastix::NormalizedMutualInformationMetric< TElastix >::MovingImageRegionType |
Definition at line 135 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::MovingImageType elastix::NormalizedMutualInformationMetric< TElastix >::MovingImageType |
Definition at line 107 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::OutputPointType elastix::NormalizedMutualInformationMetric< TElastix >::OutputPointType |
Definition at line 116 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::ParametersType elastix::NormalizedMutualInformationMetric< TElastix >::ParametersType |
Definition at line 133 of file elxNormalizedMutualInformationMetric.h.
typedef itk::SmartPointer< Self > elastix::NormalizedMutualInformationMetric< TElastix >::Pointer |
Definition at line 88 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::RealType elastix::NormalizedMutualInformationMetric< TElastix >::RealType |
Definition at line 121 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass2::RegistrationPointer elastix::NormalizedMutualInformationMetric< TElastix >::RegistrationPointer |
Definition at line 164 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass2::RegistrationType elastix::NormalizedMutualInformationMetric< TElastix >::RegistrationType |
Definition at line 163 of file elxNormalizedMutualInformationMetric.h.
typedef NormalizedMutualInformationMetric elastix::NormalizedMutualInformationMetric< TElastix >::Self |
Standard ITK-stuff.
Definition at line 83 of file elxNormalizedMutualInformationMetric.h.
typedef itk::ParzenWindowNormalizedMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > elastix::NormalizedMutualInformationMetric< TElastix >::Superclass1 |
Definition at line 86 of file elxNormalizedMutualInformationMetric.h.
typedef MetricBase< TElastix > elastix::NormalizedMutualInformationMetric< TElastix >::Superclass2 |
Definition at line 87 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::TransformJacobianType elastix::NormalizedMutualInformationMetric< TElastix >::TransformJacobianType |
Definition at line 118 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::TransformParametersType elastix::NormalizedMutualInformationMetric< TElastix >::TransformParametersType |
Definition at line 117 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::TransformPointer elastix::NormalizedMutualInformationMetric< TElastix >::TransformPointer |
Definition at line 114 of file elxNormalizedMutualInformationMetric.h.
typedef Superclass1::TransformType elastix::NormalizedMutualInformationMetric< TElastix >::TransformType |
Definition at line 113 of file elxNormalizedMutualInformationMetric.h.
|
inlineprotected |
The constructor.
Definition at line 181 of file elxNormalizedMutualInformationMetric.h.
|
inlineoverrideprotected |
The destructor.
Definition at line 188 of file elxNormalizedMutualInformationMetric.h.
|
private |
The private constructor.
|
overridevirtual |
Execute stuff before each new pyramid resolution:
Reimplemented from elastix::BaseComponent.
elastix::NormalizedMutualInformationMetric< TElastix >::elxClassNameMacro | ( | "NormalizedMutualInformation" | ) |
Name of this class. Use this name in the parameter file to select this specific metric.
example: (Metric "NormalizedMutualInformation")
|
virtual |
Run-time type information (and related methods).
Reimplemented from elastix::MetricBase< TElastix >.
|
override |
Set up a timer to measure the initialization time and call the Superclass' implementation.
elastix::NormalizedMutualInformationMetric< TElastix >::itkStaticConstMacro | ( | FixedImageDimension | , |
unsigned int | , | ||
FixedImageType::ImageDimension | |||
) |
The fixed image dimension.
elastix::NormalizedMutualInformationMetric< TElastix >::itkStaticConstMacro | ( | MovingImageDimension | , |
unsigned int | , | ||
MovingImageType::ImageDimension | |||
) |
The moving image dimension.
|
static |
Method for creation through the object factory.
|
private |
The private copy constructor.
Generated on 1667476801 for elastix by 1.9.4 |