|
Public Types |
typedef ImageToImageMetric | Self |
typedef SingleValuedCostFunction | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const
Self > | ConstPointer |
typedef Superclass::ParametersValueType | CoordinateRepresentationType |
typedef TMovingImage | MovingImageType |
typedef TMovingImage::PixelType | MovingImagePixelType |
typedef MovingImageType::ConstPointer | MovingImageConstPointer |
typedef TFixedImage | FixedImageType |
typedef FixedImageType::ConstPointer | FixedImageConstPointer |
typedef FixedImageType::RegionType | FixedImageRegionType |
typedef Transform< CoordinateRepresentationType,
itkGetStaticConstMacro(MovingImageDimension),
itkGetStaticConstMacro(FixedImageDimension) | TransformType ) |
typedef TransformType::Pointer | TransformPointer |
typedef TransformType::InputPointType | InputPointType |
typedef TransformType::OutputPointType | OutputPointType |
typedef TransformType::ParametersType | TransformParametersType |
typedef TransformType::JacobianType | TransformJacobianType |
typedef InterpolateImageFunction<
MovingImageType, CoordinateRepresentationType > | InterpolatorType |
typedef InterpolatorType::Pointer | InterpolatorPointer |
typedef SpatialObject< itkGetStaticConstMacro(FixedImageDimension) | FixedImageMaskType ) |
typedef FixedImageMaskType::Pointer | FixedImageMaskPointer |
typedef SpatialObject< itkGetStaticConstMacro(MovingImageDimension) | MovingImageMaskType ) |
typedef MovingImageMaskType::Pointer | MovingImageMaskPointer |
typedef Superclass::MeasureType | MeasureType |
typedef Superclass::DerivativeType | DerivativeType |
typedef Superclass::ParametersType | ParametersType |
|
typedef NumericTraits< MovingImagePixelType
>::RealType | RealType |
typedef CovariantVector< RealType,
itkGetStaticConstMacro(MovingImageDimension) | GradientPixelType ) |
typedef Image< GradientPixelType,
itkGetStaticConstMacro(MovingImageDimension) | GradientImageType ) |
typedef SmartPointer< GradientImageType > | GradientImagePointer |
typedef GradientRecursiveGaussianImageFilter<
MovingImageType, GradientImageType > | GradientImageFilterType |
typedef GradientImageFilterType::Pointer | GradientImageFilterPointer |
Public Member Functions |
virtual const char * | GetNameOfClass () const |
virtual void | SetFixedImage (const FixedImageType *_arg) |
virtual const FixedImageType * | GetFixedImage () |
virtual void | SetMovingImage (const MovingImageType *_arg) |
virtual const MovingImageType * | GetMovingImage () |
virtual void | SetTransform (TransformType *_arg) |
virtual const TransformType * | GetTransform () |
virtual void | SetInterpolator (InterpolatorType *_arg) |
virtual const InterpolatorType * | GetInterpolator () |
virtual const unsigned long & | GetNumberOfPixelsCounted () |
virtual void | SetFixedImageRegion (FixedImageRegionType _arg) |
virtual const FixedImageRegionType & | GetFixedImageRegion () |
virtual const GradientImageType * | GetGradientImage () |
void | SetTransformParameters (const ParametersType ¶meters) const |
unsigned int | GetNumberOfParameters (void) const |
virtual void | Initialize (void) throw ( ExceptionObject ) |
|
| itkStaticConstMacro (MovingImageDimension, unsigned int, TMovingImage::ImageDimension) |
| itkStaticConstMacro (FixedImageDimension, unsigned int, TFixedImage::ImageDimension) |
|
virtual void | SetMovingImageMask (MovingImageMaskType *_arg) |
virtual const MovingImageMaskType * | GetMovingImageMask () |
|
virtual void | SetFixedImageMask (FixedImageMaskType *_arg) |
virtual const FixedImageMaskType * | GetFixedImageMask () |
|
virtual void | SetComputeGradient (bool _arg) |
virtual const bool & | GetComputeGradient () |
virtual void | ComputeGradientOn () |
virtual void | ComputeGradientOff () |
Protected Member Functions |
| ImageToImageMetric () |
virtual | ~ImageToImageMetric () |
void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Attributes |
unsigned long | m_NumberOfPixelsCounted |
FixedImageConstPointer | m_FixedImage |
MovingImageConstPointer | m_MovingImage |
TransformPointer | m_Transform |
InterpolatorPointer | m_Interpolator |
bool | m_ComputeGradient |
GradientImagePointer | m_GradientImage |
FixedImageMaskPointer | m_FixedImageMask |
MovingImageMaskPointer | m_MovingImageMask |
This class computes a value that measures the similarity between the Fixed image and the transformed Moving image. The Interpolator is used to compute intensity values on non-grid positions resulting from mapping points through the Transform.