Loading...
Searching...
No Matches
itkKNNGraphAlphaMutualInformationImageToImageMetric.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright UMC Utrecht and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
#ifndef itkKNNGraphAlphaMutualInformationImageToImageMetric_h
#define itkKNNGraphAlphaMutualInformationImageToImageMetric_h
#include "itkMultiInputImageToImageMetricBase.h"
#include "itkArray.h"
#include "itkListSampleCArray.h"
#include "itkBinaryTreeBase.h"
#include "itkBinaryTreeSearchBase.h"
#include "itkANNkDTree.h"
#include "itkANNbdTree.h"
#include "itkANNBruteForceTree.h"
#include "itkANNStandardTreeSearch.h"
#include "itkANNFixedRadiusTreeSearch.h"
#include "itkANNPriorityTreeSearch.h"
#include "itkArray2D.h"
namespace itk
{
template <class TFixedImage, class TMovingImage>
class ITK_TEMPLATE_EXPORT KNNGraphAlphaMutualInformationImageToImageMetric
: public MultiInputImageToImageMetricBase<TFixedImage, TMovingImage>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(KNNGraphAlphaMutualInformationImageToImageMetric);
using Self = KNNGraphAlphaMutualInformationImageToImageMetric;
using Superclass = MultiInputImageToImageMetricBase<TFixedImage, TMovingImage>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(KNNGraphAlphaMutualInformationImageToImageMetric, MultiInputImageToImageMetricBase);
using typename Superclass::CoordinateRepresentationType;
using typename Superclass::MovingImageType;
using typename Superclass::MovingImagePixelType;
using typename Superclass::MovingImageConstPointer;
using typename Superclass::FixedImageType;
using typename Superclass::FixedImageConstPointer;
using typename Superclass::FixedImageRegionType;
using typename Superclass::TransformType;
using typename Superclass::TransformPointer;
using typename Superclass::InputPointType;
using typename Superclass::OutputPointType;
using typename Superclass::TransformParametersType;
using typename Superclass::TransformJacobianType;
using typename Superclass::InterpolatorType;
using typename Superclass::InterpolatorPointer;
using typename Superclass::RealType;
using typename Superclass::GradientPixelType;
using typename Superclass::GradientImageType;
using typename Superclass::GradientImagePointer;
using typename Superclass::FixedImageMaskType;
using typename Superclass::FixedImageMaskPointer;
using typename Superclass::MovingImageMaskType;
using typename Superclass::MovingImageMaskPointer;
using typename Superclass::MeasureType;
using typename Superclass::DerivativeType;
using typename Superclass::ParametersType;
using typename Superclass::FixedImagePixelType;
using typename Superclass::MovingImageRegionType;
using typename Superclass::ImageSamplerType;
using typename Superclass::ImageSamplerPointer;
using typename Superclass::ImageSampleContainerType;
using typename Superclass::ImageSampleContainerPointer;
using typename Superclass::FixedImageLimiterType;
using typename Superclass::MovingImageLimiterType;
using typename Superclass::FixedImageLimiterOutputType;
using typename Superclass::MovingImageLimiterOutputType;
using typename Superclass::NonZeroJacobianIndicesType;
using typename Superclass::FixedImageVectorType;
using typename Superclass::FixedImageMaskVectorType;
using typename Superclass::FixedImageRegionVectorType;
using typename Superclass::MovingImageVectorType;
using typename Superclass::MovingImageMaskVectorType;
using typename Superclass::InterpolatorVectorType;
using typename Superclass::FixedImageInterpolatorVectorType;
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension);
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension);
using MeasurementVectorType = Array<double>;
using MeasurementVectorValueType = typename MeasurementVectorType::ValueType;
using ListSampleType = typename Statistics::ListSampleCArray<MeasurementVectorType, double>;
using ListSamplePointer = typename ListSampleType::Pointer;
using BinaryKNNTreeType = BinaryTreeBase<ListSampleType>;
using BinaryKNNTreePointer = typename BinaryKNNTreeType::Pointer;
using ANNkDTreeType = ANNkDTree<ListSampleType>;
using ANNbdTreeType = ANNbdTree<ListSampleType>;
using ANNBruteForceTreeType = ANNBruteForceTree<ListSampleType>;
using BinaryKNNTreeSearchType = BinaryTreeSearchBase<ListSampleType>;
using BinaryKNNTreeSearchPointer = typename BinaryKNNTreeSearchType::Pointer;
using ANNStandardTreeSearchType = ANNStandardTreeSearch<ListSampleType>;
using ANNFixedRadiusTreeSearchType = ANNFixedRadiusTreeSearch<ListSampleType>;
using ANNPriorityTreeSearchType = ANNPriorityTreeSearch<ListSampleType>;
using IndexArrayType = typename BinaryKNNTreeSearchType::IndexArrayType;
using DistanceArrayType = typename BinaryKNNTreeSearchType::DistanceArrayType;
using typename Superclass::DerivativeValueType;
using TransformJacobianValueType = typename TransformJacobianType::ValueType;
void
SetANNkDTree(unsigned int bucketSize, std::string splittingRule);
void
SetANNkDTree(unsigned int bucketSize,
std::string splittingRuleFixed,
std::string splittingRuleMoving,
std::string splittingRuleJoint);
void
SetANNbdTree(unsigned int bucketSize, std::string splittingRule, std::string shrinkingRule);
void
SetANNbdTree(unsigned int bucketSize,
std::string splittingRuleFixed,
std::string splittingRuleMoving,
std::string splittingRuleJoint,
std::string shrinkingRuleFixed,
std::string shrinkingRuleMoving,
std::string shrinkingRuleJoint);
void
SetANNBruteForceTree();
void
SetANNStandardTreeSearch(unsigned int kNearestNeighbors, double errorBound);
void
SetANNFixedRadiusTreeSearch(unsigned int kNearestNeighbors, double errorBound, double squaredRadius);
void
SetANNPriorityTreeSearch(unsigned int kNearestNeighbors, double errorBound);
void
Initialize() override;
void
GetDerivative(const TransformParametersType & parameters, DerivativeType & Derivative) const override;
MeasureType
GetValue(const TransformParametersType & parameters) const override;
void
GetValueAndDerivative(const TransformParametersType & parameters,
MeasureType & Value,
DerivativeType & Derivative) const override;
itkSetClampMacro(Alpha, double, 0.0, 1.0);
itkGetConstReferenceMacro(Alpha, double);
itkSetClampMacro(AvoidDivisionBy, double, 0.0, 1.0);
itkGetConstReferenceMacro(AvoidDivisionBy, double);
protected:
KNNGraphAlphaMutualInformationImageToImageMetric();
~KNNGraphAlphaMutualInformationImageToImageMetric() override = default;
void
PrintSelf(std::ostream & os, Indent indent) const override;
BinaryKNNTreePointer m_BinaryKNNTreeFixed{ nullptr };
BinaryKNNTreePointer m_BinaryKNNTreeMoving{ nullptr };
BinaryKNNTreePointer m_BinaryKNNTreeJoint{ nullptr };
BinaryKNNTreeSearchPointer m_BinaryKNNTreeSearcherFixed{ nullptr };
BinaryKNNTreeSearchPointer m_BinaryKNNTreeSearcherMoving{ nullptr };
BinaryKNNTreeSearchPointer m_BinaryKNNTreeSearcherJoint{ nullptr };
double m_Alpha{ 0.99 };
double m_AvoidDivisionBy{ 1e-10 };
private:
using typename Superclass::FixedImagePointType;
using typename Superclass::MovingImagePointType;
using typename Superclass::MovingImageDerivativeType;
using typename Superclass::MovingImageContinuousIndexType;
using TransformJacobianContainerType = std::vector<TransformJacobianType>;
// typedef std::vector<ParameterIndexArrayType> TransformJacobianIndicesContainerType;
using TransformJacobianIndicesContainerType = std::vector<NonZeroJacobianIndicesType>;
using SpatialDerivativeType = vnl_matrix<double>;
using SpatialDerivativeContainerType = std::vector<SpatialDerivativeType>;
void
ComputeListSampleValuesAndDerivativePlusJacobian(const ListSamplePointer & listSampleFixed,
const ListSamplePointer & listSampleMoving,
const ListSamplePointer & listSampleJoint,
const bool doDerivative,
TransformJacobianContainerType & jacobians,
TransformJacobianIndicesContainerType & jacobiansIndices,
SpatialDerivativeContainerType & spatialDerivatives) const;
virtual void
EvaluateMovingFeatureImageDerivatives(const MovingImagePointType & mappedPoint,
SpatialDerivativeType & featureGradients) const;
virtual void
UpdateDerivativeOfGammas(const SpatialDerivativeType & D1sparse,
const SpatialDerivativeType & D2sparse_M,
const SpatialDerivativeType & D2sparse_J,
// const ParameterIndexArrayType & D1indices,
// const ParameterIndexArrayType & D2indices_M,
// const ParameterIndexArrayType & D2indices_J,
const NonZeroJacobianIndicesType & D1indices,
const NonZeroJacobianIndicesType & D2indices_M,
const NonZeroJacobianIndicesType & D2indices_J,
const MeasurementVectorType & diff_M,
const MeasurementVectorType & diff_J,
const MeasureType & distance_M,
const MeasureType & distance_J,
DerivativeType & dGamma_M,
DerivativeType & dGamma_J) const;
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkKNNGraphAlphaMutualInformationImageToImageMetric.hxx"
#endif
#endif // end #ifndef itkKNNGraphAlphaMutualInformationImageToImageMetric_h
itk::ANNBruteForceTree
Definition itkANNBruteForceTree.h:37
itk::ANNFixedRadiusTreeSearch
Definition itkANNFixedRadiusTreeSearch.h:37
itk::ANNPriorityTreeSearch
Definition itkANNPriorityTreeSearch.h:37
itk::ANNStandardTreeSearch
Definition itkANNStandardTreeSearch.h:37
itk::ANNbdTree
Definition itkANNbdTree.h:37
itk::ANNkDTree
Definition itkANNkDTree.h:37
itk::AdvancedImageToImageMetric::ImageSampleContainerPointer
typename ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
Definition itkAdvancedImageToImageMetric.h:145
itk::AdvancedImageToImageMetric::MovingImageRegionType
typename MovingImageType::RegionType MovingImageRegionType
Definition itkAdvancedImageToImageMetric.h:138
itk::AdvancedImageToImageMetric::NonZeroJacobianIndicesType
typename AdvancedTransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Definition itkAdvancedImageToImageMetric.h:356
itk::AdvancedImageToImageMetric::FixedImagePixelType
typename FixedImageType::PixelType FixedImagePixelType
Definition itkAdvancedImageToImageMetric.h:137
itk::AdvancedImageToImageMetric::DerivativeValueType
typename DerivativeType::ValueType DerivativeValueType
Definition itkAdvancedImageToImageMetric.h:133
itk::AdvancedImageToImageMetric::ImageSampleContainerType
typename ImageSamplerType::OutputVectorContainerType ImageSampleContainerType
Definition itkAdvancedImageToImageMetric.h:144
itk::AdvancedImageToImageMetric::FixedImageLimiterType
LimiterFunctionBase< RealType, FixedImageDimension > FixedImageLimiterType
Definition itkAdvancedImageToImageMetric.h:148
itk::AdvancedImageToImageMetric::ImageSamplerType
ImageSamplerBase< FixedImageType > ImageSamplerType
Definition itkAdvancedImageToImageMetric.h:142
itk::AdvancedImageToImageMetric::MovingImageLimiterType
LimiterFunctionBase< RealType, MovingImageDimension > MovingImageLimiterType
Definition itkAdvancedImageToImageMetric.h:151
itk::AdvancedImageToImageMetric::MovingImageLimiterOutputType
typename MovingImageLimiterType::OutputType MovingImageLimiterOutputType
Definition itkAdvancedImageToImageMetric.h:153
itk::AdvancedImageToImageMetric::FixedImageLimiterOutputType
typename FixedImageLimiterType::OutputType FixedImageLimiterOutputType
Definition itkAdvancedImageToImageMetric.h:150
itk::AdvancedImageToImageMetric::ImageSamplerPointer
typename ImageSamplerType::Pointer ImageSamplerPointer
Definition itkAdvancedImageToImageMetric.h:143
itk::BinaryTreeBase
Definition itkBinaryTreeBase.h:37
itk::BinaryTreeBase< ListSampleType >::Pointer
SmartPointer< Self > Pointer
Definition itkBinaryTreeBase.h:44
itk::BinaryTreeSearchBase
Definition itkBinaryTreeSearchBase.h:40
itk::BinaryTreeSearchBase< ListSampleType >::IndexArrayType
Array< int > IndexArrayType
Definition itkBinaryTreeSearchBase.h:58
itk::BinaryTreeSearchBase< ListSampleType >::DistanceArrayType
Array< double > DistanceArrayType
Definition itkBinaryTreeSearchBase.h:59
itk::BinaryTreeSearchBase< ListSampleType >::Pointer
SmartPointer< Self > Pointer
Definition itkBinaryTreeSearchBase.h:47
itk::KNNGraphAlphaMutualInformationImageToImageMetric::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(KNNGraphAlphaMutualInformationImageToImageMetric)
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::m_BinaryKNNTreeSearcherMoving
BinaryKNNTreeSearchPointer m_BinaryKNNTreeSearcherMoving
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:272
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::MeasurementVectorValueType
typename MeasurementVectorType::ValueType MeasurementVectorValueType
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:146
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::MovingImagePointType
typename TransformType::OutputPointType MovingImagePointType
itk::KNNGraphAlphaMutualInformationImageToImageMetric::SetANNPriorityTreeSearch
void SetANNPriorityTreeSearch(unsigned int kNearestNeighbors, double errorBound)
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::BinaryKNNTreeType
BinaryTreeBase< ListSampleType > BinaryKNNTreeType
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:151
itk::KNNGraphAlphaMutualInformationImageToImageMetric::SetANNbdTree
void SetANNbdTree(unsigned int bucketSize, std::string splittingRuleFixed, std::string splittingRuleMoving, std::string splittingRuleJoint, std::string shrinkingRuleFixed, std::string shrinkingRuleMoving, std::string shrinkingRuleJoint)
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::SpatialDerivativeType
vnl_matrix< double > SpatialDerivativeType
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:287
itk::KNNGraphAlphaMutualInformationImageToImageMetric::UpdateDerivativeOfGammas
virtual void UpdateDerivativeOfGammas(const SpatialDerivativeType &D1sparse, const SpatialDerivativeType &D2sparse_M, const SpatialDerivativeType &D2sparse_J, const NonZeroJacobianIndicesType &D1indices, const NonZeroJacobianIndicesType &D2indices_M, const NonZeroJacobianIndicesType &D2indices_J, const MeasurementVectorType &diff_M, const MeasurementVectorType &diff_J, const MeasureType &distance_M, const MeasureType &distance_J, DerivativeType &dGamma_M, DerivativeType &dGamma_J) const
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::m_BinaryKNNTreeSearcherFixed
BinaryKNNTreeSearchPointer m_BinaryKNNTreeSearcherFixed
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:271
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::ListSamplePointer
typename ListSampleType::Pointer ListSamplePointer
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:148
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::m_BinaryKNNTreeFixed
BinaryKNNTreePointer m_BinaryKNNTreeFixed
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:267
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::Pointer
SmartPointer< Self > Pointer
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:83
itk::KNNGraphAlphaMutualInformationImageToImageMetric::SetANNkDTree
void SetANNkDTree(unsigned int bucketSize, std::string splittingRule)
itk::KNNGraphAlphaMutualInformationImageToImageMetric::~KNNGraphAlphaMutualInformationImageToImageMetric
~KNNGraphAlphaMutualInformationImageToImageMetric() override=default
itk::KNNGraphAlphaMutualInformationImageToImageMetric::SetANNBruteForceTree
void SetANNBruteForceTree()
itk::KNNGraphAlphaMutualInformationImageToImageMetric::Initialize
void Initialize() override
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::ANNkDTreeType
ANNkDTree< ListSampleType > ANNkDTreeType
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:153
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::IndexArrayType
typename BinaryKNNTreeSearchType::IndexArrayType IndexArrayType
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:164
itk::KNNGraphAlphaMutualInformationImageToImageMetric::SetANNbdTree
void SetANNbdTree(unsigned int bucketSize, std::string splittingRule, std::string shrinkingRule)
itk::KNNGraphAlphaMutualInformationImageToImageMetric::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
itk::KNNGraphAlphaMutualInformationImageToImageMetric::GetValueAndDerivative
void GetValueAndDerivative(const TransformParametersType &parameters, MeasureType &Value, DerivativeType &Derivative) const override
itk::KNNGraphAlphaMutualInformationImageToImageMetric::GetDerivative
void GetDerivative(const TransformParametersType &parameters, DerivativeType &Derivative) const override
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::m_BinaryKNNTreeJoint
BinaryKNNTreePointer m_BinaryKNNTreeJoint
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:269
itk::KNNGraphAlphaMutualInformationImageToImageMetric::SetANNFixedRadiusTreeSearch
void SetANNFixedRadiusTreeSearch(unsigned int kNearestNeighbors, double errorBound, double squaredRadius)
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::MeasurementVectorType
Array< double > MeasurementVectorType
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:145
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::m_BinaryKNNTreeSearcherJoint
BinaryKNNTreeSearchPointer m_BinaryKNNTreeSearcherJoint
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:273
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::Self
KNNGraphAlphaMutualInformationImageToImageMetric Self
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:81
itk::KNNGraphAlphaMutualInformationImageToImageMetric::itkStaticConstMacro
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::BinaryKNNTreePointer
typename BinaryKNNTreeType::Pointer BinaryKNNTreePointer
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:152
itk::KNNGraphAlphaMutualInformationImageToImageMetric::itkStaticConstMacro
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::TransformJacobianContainerType
std::vector< TransformJacobianType > TransformJacobianContainerType
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:284
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::BinaryKNNTreeSearchPointer
typename BinaryKNNTreeSearchType::Pointer BinaryKNNTreeSearchPointer
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:159
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::DistanceArrayType
typename BinaryKNNTreeSearchType::DistanceArrayType DistanceArrayType
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:165
itk::KNNGraphAlphaMutualInformationImageToImageMetric::SetANNkDTree
void SetANNkDTree(unsigned int bucketSize, std::string splittingRuleFixed, std::string splittingRuleMoving, std::string splittingRuleJoint)
itk::KNNGraphAlphaMutualInformationImageToImageMetric::SetANNStandardTreeSearch
void SetANNStandardTreeSearch(unsigned int kNearestNeighbors, double errorBound)
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::m_Alpha
double m_Alpha
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:275
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::Superclass
MultiInputImageToImageMetricBase< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:82
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::TransformJacobianValueType
typename TransformJacobianType::ValueType TransformJacobianValueType
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:168
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::ListSampleType
typename Statistics::ListSampleCArray< MeasurementVectorType, double > ListSampleType
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:147
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::m_AvoidDivisionBy
double m_AvoidDivisionBy
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:276
itk::KNNGraphAlphaMutualInformationImageToImageMetric::KNNGraphAlphaMutualInformationImageToImageMetric
KNNGraphAlphaMutualInformationImageToImageMetric()
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:84
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::m_BinaryKNNTreeMoving
BinaryKNNTreePointer m_BinaryKNNTreeMoving
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:268
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::SpatialDerivativeContainerType
std::vector< SpatialDerivativeType > SpatialDerivativeContainerType
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:288
itk::KNNGraphAlphaMutualInformationImageToImageMetric::ComputeListSampleValuesAndDerivativePlusJacobian
void ComputeListSampleValuesAndDerivativePlusJacobian(const ListSamplePointer &listSampleFixed, const ListSamplePointer &listSampleMoving, const ListSamplePointer &listSampleJoint, const bool doDerivative, TransformJacobianContainerType &jacobians, TransformJacobianIndicesContainerType &jacobiansIndices, SpatialDerivativeContainerType &spatialDerivatives) const
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::BinaryKNNTreeSearchType
BinaryTreeSearchBase< ListSampleType > BinaryKNNTreeSearchType
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:158
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::ANNStandardTreeSearchType
ANNStandardTreeSearch< ListSampleType > ANNStandardTreeSearchType
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:160
itk::KNNGraphAlphaMutualInformationImageToImageMetric::GetValue
MeasureType GetValue(const TransformParametersType &parameters) const override
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::ANNbdTreeType
ANNbdTree< ListSampleType > ANNbdTreeType
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:154
itk::KNNGraphAlphaMutualInformationImageToImageMetric::EvaluateMovingFeatureImageDerivatives
virtual void EvaluateMovingFeatureImageDerivatives(const MovingImagePointType &mappedPoint, SpatialDerivativeType &featureGradients) const
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::ANNBruteForceTreeType
ANNBruteForceTree< ListSampleType > ANNBruteForceTreeType
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:155
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::ANNPriorityTreeSearchType
ANNPriorityTreeSearch< ListSampleType > ANNPriorityTreeSearchType
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:162
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::ANNFixedRadiusTreeSearchType
ANNFixedRadiusTreeSearch< ListSampleType > ANNFixedRadiusTreeSearchType
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:161
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType >::TransformJacobianIndicesContainerType
std::vector< NonZeroJacobianIndicesType > TransformJacobianIndicesContainerType
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:286
itk::MultiInputImageToImageMetricBase::MultiInputImageToImageMetricBase
MultiInputImageToImageMetricBase()=default
itk::MultiInputImageToImageMetricBase::MovingImageVectorType
std::vector< MovingImageConstPointer > MovingImageVectorType
Definition itkMultiInputImageToImageMetricBase.h:107
itk::MultiInputImageToImageMetricBase::FixedImageInterpolatorVectorType
std::vector< FixedImageInterpolatorPointer > FixedImageInterpolatorVectorType
Definition itkMultiInputImageToImageMetricBase.h:110
itk::MultiInputImageToImageMetricBase::FixedImageMaskType
ImageMaskSpatialObject< Self::FixedImageDimension > FixedImageMaskType
Definition itkAdvancedImageToImageMetric.h:124
itk::MultiInputImageToImageMetricBase::InterpolatorVectorType
std::vector< InterpolatorPointer > InterpolatorVectorType
Definition itkMultiInputImageToImageMetricBase.h:109
itk::MultiInputImageToImageMetricBase::MovingImageMaskVectorType
std::vector< MovingImageMaskConstPointer > MovingImageMaskVectorType
Definition itkMultiInputImageToImageMetricBase.h:108
itk::MultiInputImageToImageMetricBase::MovingImageMaskPointer
SmartPointer< MovingImageMaskType > MovingImageMaskPointer
Definition itkAdvancedImageToImageMetric.h:128
itk::MultiInputImageToImageMetricBase::FixedImageMaskVectorType
std::vector< FixedImageMaskConstPointer > FixedImageMaskVectorType
Definition itkMultiInputImageToImageMetricBase.h:105
itk::MultiInputImageToImageMetricBase::FixedImageVectorType
std::vector< FixedImageConstPointer > FixedImageVectorType
Definition itkMultiInputImageToImageMetricBase.h:104
itk::MultiInputImageToImageMetricBase::FixedImageMaskPointer
SmartPointer< FixedImageMaskType > FixedImageMaskPointer
Definition itkAdvancedImageToImageMetric.h:125
itk::MultiInputImageToImageMetricBase::FixedImageRegionVectorType
std::vector< FixedImageRegionType > FixedImageRegionVectorType
Definition itkMultiInputImageToImageMetricBase.h:106
itk::MultiInputImageToImageMetricBase::MovingImageMaskType
ImageMaskSpatialObject< Self::MovingImageDimension > MovingImageMaskType
Definition itkAdvancedImageToImageMetric.h:127
itk::Statistics::ListSampleCArray
A ListSampleBase that internally uses a CArray, which can be accessed.
Definition itkListSampleCArray.h:46
itkANNBruteForceTree.h
itkANNFixedRadiusTreeSearch.h
itkANNPriorityTreeSearch.h
itkANNStandardTreeSearch.h
itkANNbdTree.h
itkANNkDTree.h
itkBinaryTreeBase.h
itkBinaryTreeSearchBase.h
itkListSampleCArray.h
itkMultiInputImageToImageMetricBase.h
itk
Definition itkAdvancedImageToImageMetric.h:43

Generated on 1768596610 for elastix by 1.15.0 |