NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Computes similarity between two objects to be registered using Histogram. More...
Public Types | |
typedef HistogramSimilarityMeasure | Self |
typedef SimilarityMeasure < TFixedImage, TMovingImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::MeasureType | MeasureType |
typedef Superclass::ParametersType | ParametersType |
typedef Superclass::DerivativeType | DerivativeType |
typedef Superclass::FixedImagePixelType | FixedImagePixelType |
typedef Superclass::MovingImagePixelType | MovingImagePixelType |
typedef Statistics::UCLHistogram < double, 2 > | HistogramType |
typedef HistogramType::Pointer | HistogramPointer |
typedef HistogramType::SizeType | HistogramSizeType |
typedef HistogramType::MeasurementVectorType | HistogramMeasurementVectorType |
typedef HistogramType::AbsoluteFrequencyType | HistogramFrequencyType |
typedef HistogramType::Iterator | HistogramIteratorType |
Public Types inherited from itk::FiniteDifferenceGradientSimilarityMeasure< TFixedImage, TMovingImage > | |
typedef FiniteDifferenceGradientSimilarityMeasure | Self |
typedef SimilarityMeasure < TFixedImage, TMovingImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Array< double > | ScalesType |
typedef Superclass::DerivativeType | DerivativeType |
typedef Superclass::TransformType | TransformType |
typedef Superclass::TransformParametersType | TransformParametersType |
typedef Superclass::MeasureType | MeasureType |
Public Types inherited from itk::SimilarityMeasure< TFixedImage, TMovingImage > | |
typedef SimilarityMeasure | Self |
typedef ImageToImageMetricWithConstraint < TFixedImage, TMovingImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::TransformType | TransformType |
typedef itk::UCLBaseTransform < double, TFixedImage::ImageDimension, TMovingImage::ImageDimension > | UCLBaseTransformType |
typedef Superclass::TransformPointer | TransformPointer |
typedef Superclass::TransformParametersType | TransformParametersType |
typedef Superclass::TransformJacobianType | TransformJacobianType |
typedef Superclass::InputPointType | InputPointType |
typedef Superclass::OutputPointType | OutputPointType |
typedef Superclass::MeasureType | MeasureType |
typedef Superclass::DerivativeType | DerivativeType |
typedef Superclass::FixedImageType | FixedImageType |
typedef FixedImageType::SizeType | FixedImageSizeType |
typedef Superclass::FixedImageType::PixelType | FixedImagePixelType |
typedef Superclass::MovingImageType | MovingImageType |
typedef MovingImageType::SizeType | MovingImageSizeType |
typedef Superclass::MovingImageType::PixelType | MovingImagePixelType |
typedef Superclass::FixedImageConstPointer | FixedImageConstPointer |
typedef Superclass::MovingImageConstPointer | MovingImageConstPointer |
typedef ImageFileWriter < TFixedImage > | ImageFileWriterType |
typedef Superclass::InterpolatorType | InterpolatorType |
typedef Image< char, TFixedImage::ImageDimension > | MidwayImageType |
typedef Image< float, TFixedImage::ImageDimension > | FloatImageType |
typedef Image< unsigned char, TFixedImage::ImageDimension > | UnsignedCharImageType |
typedef SignedMaurerDistanceMapImageFilter < UnsignedCharImageType, FloatImageType > | FixedDistanceMapImageFilterType |
typedef SignedMaurerDistanceMapImageFilter < UnsignedCharImageType, FloatImageType > | MovingDistanceMapImageFilterType |
typedef LinearInterpolateImageFunction < FloatImageType, double > | DistanceMapLinearInterpolatorType |
typedef itk::EulerAffineTransform < double, TFixedImage::ImageDimension, TMovingImage::ImageDimension > | AffineTransformType |
typedef const ImageMaskSpatialObject < TFixedImage::ImageDimension > | FixedMaskType |
typedef const ImageMaskSpatialObject < TMovingImage::ImageDimension > | MovingMaskType |
Public Types inherited from itk::ImageToImageMetricWithConstraint< TFixedImage, TMovingImage > | |
typedef ImageToImageMetricWithConstraint | Self |
typedef ImageToImageMetric < TFixedImage, TMovingImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef itk::Constraint | ConstraintType |
typedef ConstraintType::Pointer | ConstraintPointer |
typedef MetricDerivativeBridge < TFixedImage, TMovingImage > | MetricDerivativeBridgeType |
typedef MetricDerivativeBridgeType::Pointer | MetricDerivativePointer |
typedef Superclass::MeasureType | MeasureType |
typedef Superclass::DerivativeType | DerivativeType |
typedef Superclass::ParametersType | TransformParametersType |
Additional Inherited Members | |
Static Public Attributes inherited from itk::SimilarityMeasure< TFixedImage, TMovingImage > | |
static const int | SYMMETRIC_METRIC_AVERAGE |
static const int | SYMMETRIC_METRIC_MID_WAY |
static const int | SYMMETRIC_METRIC_BOTH_FIXED_AND_MOVING_TRANSFORM |
Computes similarity between two objects to be registered using Histogram.
As of 20090126, provides support for filling histogram in a Parzen window type approach. However, the code is a bit simple for now, and we assume that the image has the same number of intensity values as the histogram has bins. So you MUST rescale your image to fit the histogram first.
typedef SmartPointer<const Self> itk::HistogramSimilarityMeasure< TFixedImage, TMovingImage >::ConstPointer |
typedef Superclass::DerivativeType itk::HistogramSimilarityMeasure< TFixedImage, TMovingImage >::DerivativeType |
typedef Superclass::FixedImagePixelType itk::HistogramSimilarityMeasure< TFixedImage, TMovingImage >::FixedImagePixelType |
typedef HistogramType::AbsoluteFrequencyType itk::HistogramSimilarityMeasure< TFixedImage, TMovingImage >::HistogramFrequencyType |
typedef HistogramType::Iterator itk::HistogramSimilarityMeasure< TFixedImage, TMovingImage >::HistogramIteratorType |
typedef HistogramType::MeasurementVectorType itk::HistogramSimilarityMeasure< TFixedImage, TMovingImage >::HistogramMeasurementVectorType |
typedef HistogramType::Pointer itk::HistogramSimilarityMeasure< TFixedImage, TMovingImage >::HistogramPointer |
typedef HistogramType::SizeType itk::HistogramSimilarityMeasure< TFixedImage, TMovingImage >::HistogramSizeType |
typedef Statistics::UCLHistogram<double, 2> itk::HistogramSimilarityMeasure< TFixedImage, TMovingImage >::HistogramType |
Typedefs for histogram.
typedef Superclass::MeasureType itk::HistogramSimilarityMeasure< TFixedImage, TMovingImage >::MeasureType |
Types transferred from the base class
typedef Superclass::MovingImagePixelType itk::HistogramSimilarityMeasure< TFixedImage, TMovingImage >::MovingImagePixelType |
typedef Superclass::ParametersType itk::HistogramSimilarityMeasure< TFixedImage, TMovingImage >::ParametersType |
typedef SmartPointer<Self> itk::HistogramSimilarityMeasure< TFixedImage, TMovingImage >::Pointer |
typedef HistogramSimilarityMeasure itk::HistogramSimilarityMeasure< TFixedImage, TMovingImage >::Self |
Standard class typedefs.
typedef SimilarityMeasure<TFixedImage, TMovingImage> itk::HistogramSimilarityMeasure< TFixedImage, TMovingImage >::Superclass |
|
protected |
|
inlineprotectedvirtual |
|
protectedvirtual |
Use this method to add corresponding pairs of image values, called repeatedly during a single value of the cost function.
Implements itk::SimilarityMeasure< TFixedImage, TMovingImage >.
|
inlineprotected |
Returns the co-variance.
|
inlineprotected |
Returns the entropy in the fixed direction.
|
inlineprotected |
Returns the entropy in the moving direction.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::FiniteDifferenceGradientSimilarityMeasure< TFixedImage, TMovingImage >.
Reimplemented in itk::PIUImageToImageMetric< TFixedImage, TMovingImage >, itk::JEImageToImageMetric< TFixedImage, TMovingImage >, itk::MIImageToImageMetric< TFixedImage, TMovingImage >, and itk::NMIImageToImageMetric< TFixedImage, TMovingImage >.
|
virtual |
Return the joint histogram. This is updated during every call to the GetValue() method and the GetDerivative() method.
|
virtual |
Gets the histogram size.
double itk::HistogramSimilarityMeasure< TFixedImage, TMovingImage >::GetParzenDerivative | ( | double | x | ) |
Returns the Parzen derivative.
double itk::HistogramSimilarityMeasure< TFixedImage, TMovingImage >::GetParzenValue | ( | double | x | ) |
Returns the Parzen value.
|
virtual |
void itk::HistogramSimilarityMeasure< TFixedImage, TMovingImage >::Initialize | ( | ) | ||
throw | ( | ExceptionObject | ||
) |
Initializes the metric.
|
inlineprotected |
Returns joint entropy.
|
inlineprotected |
Returns the mean in the x-direction.
|
inlineprotected |
Returns the mean in the y-direction.
|
protected |
PrintSelf funtion
|
inlineprotectedvirtual |
Called at the start of each evaluation.
Implements itk::SimilarityMeasure< TFixedImage, TMovingImage >.
|
inline |
Overload this method, to make it easier for users.
|
virtual |
Sets the histogram size. Note this function must be called before Initialize()
.
|
virtual |
If set to true, we fill histogram with a gaussian per sample. Default false. NOTE: For now, for this to work properly, the image must have the same number of intensity values as the histogram.
|
inlineprotected |
Returns the variance in the x-direction.
|
inlineprotected |
Returns the variance in the y-direction.
|
protected |
Pointer to the joint histogram. This is updated during every call to GetValue()
|
protected |
The histogram size.