19 #ifndef itkJointHistogramMutualInformationImageToImageMetricv4_h
20 #define itkJointHistogramMutualInformationImageToImageMetricv4_h
43 template<
typename TFixedImage,
typename TMovingImage,
typename TVirtualImage = TFixedImage,
44 typename TInternalComputationValueType = double,
45 typename TMetricTraits = DefaultImageToImageMetricTraitsv4<TFixedImage,TMovingImage,TVirtualImage,TInternalComputationValueType>
48 public ImageToImageMetricv4<TFixedImage, TMovingImage, TVirtualImage, TInternalComputationValueType, TMetricTraits>
66 typedef typename Superclass::CoordinateRepresentationType
98 itkStaticConstMacro(VirtualImageDimension,
typename TVirtualImage::ImageDimensionType, TVirtualImage::ImageDimension);
99 itkStaticConstMacro(MovingImageDimension,
typename TMovingImage::ImageDimensionType, TMovingImage::ImageDimension);
140 itkGetConstReferenceMacro(NumberOfHistogramBins,
SizeValueType );
144 itkSetMacro(VarianceForJointPDFSmoothing, TInternalComputationValueType);
145 itkGetMacro(VarianceForJointPDFSmoothing, TInternalComputationValueType);
149 virtual void Initialize() ITK_OVERRIDE;
155 virtual ~JointHistogramMutualInformationImageToImageMetricv4() ITK_OVERRIDE;
160 virtual
void InitializeForIteration() const ITK_OVERRIDE;
191 void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
197 ITK_DISALLOW_COPY_AND_ASSIGN(JointHistogramMutualInformationImageToImageMetricv4);
209 TInternalComputationValueType m_VarianceForJointPDFSmoothing;
213 TInternalComputationValueType m_FixedImageTrueMin;
214 TInternalComputationValueType m_FixedImageTrueMax;
215 TInternalComputationValueType m_MovingImageTrueMin;
216 TInternalComputationValueType m_MovingImageTrueMax;
217 TInternalComputationValueType m_FixedImageBinSize;
218 TInternalComputationValueType m_MovingImageBinSize;
220 TInternalComputationValueType m_JointPDFSum;
223 TInternalComputationValueType m_Log2;
230 #ifndef ITK_MANUAL_INSTANTIATION
231 #include "itkJointHistogramMutualInformationImageToImageMetricv4.hxx"
Superclass::RegionType RegionType
Superclass::MeasureType MeasureType
Light weight base class for most itk classes.
Represent the size (bounds) of a n-dimensional image.
Class for partitioning of an ImageRegion.
Superclass::IndexValueType IndexValueType
Computes the gradient of an image by convolution with the first derivative of a Gaussian.
unsigned long SizeValueType
FixedImageType::PixelType FixedImagePixelType
TOutputImage OutputImageType
Partitions an indexed container.
Linearly interpolate an image at specified positions.
MovingImageType::PixelType MovingImagePixelType
Control indentation during Print() invocation.
Define additional traits for native types such as int or float.
Templated n-dimensional image class.