18 #ifndef itkMattesMutualInformationImageToImageMetricv4_h
19 #define itkMattesMutualInformationImageToImageMetricv4_h
97 template <
typename TFixedImage,
typename TMovingImage,
typename TVirtualImage = TFixedImage,
98 typename TInternalComputationValueType = double,
99 typename TMetricTraits = DefaultImageToImageMetricTraitsv4<TFixedImage,TMovingImage,TVirtualImage,TInternalComputationValueType>
102 public ImageToImageMetricv4<TFixedImage, TMovingImage, TVirtualImage, TInternalComputationValueType, TMetricTraits>
144 itkStaticConstMacro(
VirtualImageDimension,
typename TVirtualImage::ImageDimensionType, TVirtualImage::ImageDimension);
145 itkStaticConstMacro(
FixedImageDimension,
typename TFixedImage::ImageDimensionType, TFixedImage::ImageDimension);
146 itkStaticConstMacro(
MovingImageDimension,
typename TMovingImage::ImageDimensionType, TMovingImage::ImageDimension);
154 itkGetConstReferenceMacro(NumberOfHistogramBins,
SizeValueType);
206 void
PrintSelf(std::ostream& os, Indent indent) const ITK_OVERRIDE;
277 void Initialize(
size_t maxBufferLength,
const size_t cachedNumberOfLocalParameters,
281 void DoubleBufferSize();
284 m_CurrentFillSize(0),
295 return this->m_CachedNumberOfLocalParameters;
302 void CheckAndReduceIfNecessary();
307 void BlockAndReduce();
312 m_BufferOffsetContainer[m_CurrentFillSize] = offset;
313 PDFValueType * PDFBufferForWriting = m_BufferPDFValuesContainer[m_CurrentFillSize];
315 return PDFBufferForWriting;
353 void operator = (const
Self &) ITK_DELETE_FUNCTION;
362 #ifndef ITK_MANUAL_INSTANTIATION
363 #include "itkMattesMutualInformationImageToImageMetricv4.hxx"
Critical section locking class that can be allocated on the stack.
Superclass::RegionType RegionType
Superclass::VirtualPointSetType VirtualPointSetType
Light weight base class for most itk classes.
Superclass::JacobianType JacobianType
Superclass::MeasureType MeasureType
Superclass::VirtualIndexType VirtualIndexType
SmartPointer< Self > Pointer
Represent the size (bounds) of a n-dimensional image.
signed long OffsetValueType
Superclass::MovingTransformType MovingTransformType
Class for partitioning of an ImageRegion.
typedef(itk::Concept::IsFloatingPoint< FixedImagePixelValueType >) OnlyDefinedForFloatingPointTypes0
MetricTraits::FixedImageGradientType FixedImageGradientType
unsigned long SizeValueType
Derivative of a BSpline kernel used for density estimation and nonparameteric regression.
BSpline kernel used for density estimation and nonparameteric regression.
FixedImageType::PixelType FixedImagePixelType
FixedImageType::IndexType FixedImageIndexType
Superclass::VirtualPointType VirtualPointType
Superclass::DerivativeType DerivativeType
Superclass::IndexType IndexType
Standard exception handling object.
unsigned int ThreadIdType
MovingImageType::PixelType MovingImagePixelType
MovingImageType::PointType MovingImagePointType
MetricTraits::MovingImageGradientType MovingImageGradientType
FixedSampledPointSetType::Pointer FixedSampledPointSetPointer
Define additional traits for native types such as int or float.
FixedImageType::PointType FixedImagePointType
TFixedImage FixedImageType
Templated n-dimensional image class.
Superclass::VirtualImageType VirtualImageType