NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Base class for NifTK Image Registration Methods employing a binary mask. More...
Public Types | |
typedef MaskedImageRegistrationMethod | Self |
typedef SingleResolutionImageRegistrationMethod < TInputImageType, TInputImageType > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImageType | InputImageType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef InputImageType::SizeType | InputImageSizeType |
typedef InputImageType::IndexType | InputImageIndexType |
typedef InputImageType::SpacingType | InputImageSpacingType |
typedef InputImageType::PointType | InputImageOriginType |
typedef InputImageType::DirectionType | InputImageDirectionType |
typedef BoundaryValueRescaleIntensityImageFilter < InputImageType > | RescaleFilterType |
typedef RescaleFilterType::Pointer | RescaleFilterPointer |
typedef SmoothingRecursiveGaussianImageFilter < InputImageType, InputImageType > | SmoothingFilterType |
typedef SmoothingFilterType::Pointer | SmoothingFilterPointer |
typedef BinaryThresholdImageFilter < InputImageType, InputImageType > | ThresholdFilterType |
typedef ThresholdFilterType::Pointer | ThresholdFilterPointer |
typedef BinaryCrossStructuringElement < InputImagePixelType, InputImageType::ImageDimension > | StructuringType |
typedef BinaryDilateImageFilter < InputImageType, InputImageType, StructuringType > | DilateMaskFilterType |
typedef DilateMaskFilterType::Pointer | DilateMaskFilterPointer |
typedef MultiplyImageFilter < InputImageType, InputImageType > | MultiplyFilterType |
typedef MultiplyFilterType::Pointer | MultiplyFilterPointer |
typedef unsigned char | MaskPixelType |
typedef Image< MaskPixelType, InputImageType::ImageDimension > | MaskImageType |
typedef CastImageFilter < InputImageType, MaskImageType > | CastToMaskImageTypeFilterType |
typedef CastToMaskImageTypeFilterType::Pointer | CastToMaskImageTypeFilterPointer |
typedef ImageMaskSpatialObject < InputImageType::ImageDimension > | MaskFilterType |
typedef MaskFilterType::Pointer | MaskFilterPointer |
typedef Superclass::TransformType | TransformType |
Public Types inherited from itk::SingleResolutionImageRegistrationMethod< TInputImageType, TInputImageType > | |
typedef SingleResolutionImageRegistrationMethod | Self |
typedef ImageRegistrationMethod < TInputImageType, TInputImageType > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef itk::IterationUpdateCommand | IterationUpdateCommandType |
typedef IterationUpdateCommandType::Pointer | IterationUpdateCommandPointer |
typedef Superclass::ParametersType | ParametersType |
typedef Superclass::TransformType | TransformType |
typedef Superclass::InterpolatorType | InterpolatorType |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::SingleResolutionImageRegistrationMethod< TInputImageType, TInputImageType > | |
static Pointer | New () |
Protected Member Functions | |
MaskedImageRegistrationMethod () | |
virtual | ~MaskedImageRegistrationMethod () |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | Initialize () throw (ExceptionObject) |
void | CopyImage (const InputImageType *source, InputImageType *target) |
Protected Member Functions inherited from itk::SingleResolutionImageRegistrationMethod< TInputImageType, TInputImageType > | |
SingleResolutionImageRegistrationMethod () | |
virtual | ~SingleResolutionImageRegistrationMethod () |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | GenerateData () |
virtual void | DoRegistration () throw (ExceptionObject) |
Additional Inherited Members | |
Protected Attributes inherited from itk::SingleResolutionImageRegistrationMethod< TInputImageType, TInputImageType > | |
InterpolatorType::Pointer | m_FixedImageInterpolator |
InterpolatorType::Pointer | m_MovingImageInterpolator |
Base class for NifTK Image Registration Methods employing a binary mask.
This Class extends the SingleResolutionImageRegistrationMethod, with inputs for a fixed and moving mask. This class provides for thresholding the mask, dilating the mask a number of times and optionally multiplying it by the input image, or just setting it on the similarity measure.
The threshold, dilating, masking is all applied within the Initialize() method, at then end of which, the Initialize methods calls SetFixedImage and SetMovingImage with the resultant images.
We also take and store a copy of the original Fixed and Moving image so that subclasses can have access to it. For example, block matching needs a masked image to decide which sets of points to use, but then when its doing the match, it always wants unmasked images.
typedef CastToMaskImageTypeFilterType::Pointer itk::MaskedImageRegistrationMethod< TInputImageType >::CastToMaskImageTypeFilterPointer |
typedef CastImageFilter<InputImageType, MaskImageType > itk::MaskedImageRegistrationMethod< TInputImageType >::CastToMaskImageTypeFilterType |
typedef SmartPointer<const Self> itk::MaskedImageRegistrationMethod< TInputImageType >::ConstPointer |
typedef DilateMaskFilterType::Pointer itk::MaskedImageRegistrationMethod< TInputImageType >::DilateMaskFilterPointer |
typedef BinaryDilateImageFilter<InputImageType, InputImageType, StructuringType> itk::MaskedImageRegistrationMethod< TInputImageType >::DilateMaskFilterType |
typedef InputImageType::ConstPointer itk::MaskedImageRegistrationMethod< TInputImageType >::InputImageConstPointer |
typedef InputImageType::DirectionType itk::MaskedImageRegistrationMethod< TInputImageType >::InputImageDirectionType |
typedef InputImageType::IndexType itk::MaskedImageRegistrationMethod< TInputImageType >::InputImageIndexType |
typedef InputImageType::PointType itk::MaskedImageRegistrationMethod< TInputImageType >::InputImageOriginType |
typedef InputImageType::PixelType itk::MaskedImageRegistrationMethod< TInputImageType >::InputImagePixelType |
typedef InputImageType::Pointer itk::MaskedImageRegistrationMethod< TInputImageType >::InputImagePointer |
typedef InputImageType::RegionType itk::MaskedImageRegistrationMethod< TInputImageType >::InputImageRegionType |
typedef InputImageType::SizeType itk::MaskedImageRegistrationMethod< TInputImageType >::InputImageSizeType |
typedef InputImageType::SpacingType itk::MaskedImageRegistrationMethod< TInputImageType >::InputImageSpacingType |
typedef TInputImageType itk::MaskedImageRegistrationMethod< TInputImageType >::InputImageType |
Type of the input image.
typedef MaskFilterType::Pointer itk::MaskedImageRegistrationMethod< TInputImageType >::MaskFilterPointer |
typedef ImageMaskSpatialObject< InputImageType::ImageDimension > itk::MaskedImageRegistrationMethod< TInputImageType >::MaskFilterType |
typedef Image<MaskPixelType, InputImageType::ImageDimension> itk::MaskedImageRegistrationMethod< TInputImageType >::MaskImageType |
typedef unsigned char itk::MaskedImageRegistrationMethod< TInputImageType >::MaskPixelType |
Note that the ImageMaskSpatialObject types need unsigned char.
typedef MultiplyFilterType::Pointer itk::MaskedImageRegistrationMethod< TInputImageType >::MultiplyFilterPointer |
typedef MultiplyImageFilter<InputImageType, InputImageType> itk::MaskedImageRegistrationMethod< TInputImageType >::MultiplyFilterType |
Optionally, we multiply the mask with the input, or we pass it into ImageMaskSpatialObject.
typedef SmartPointer<Self> itk::MaskedImageRegistrationMethod< TInputImageType >::Pointer |
typedef RescaleFilterType::Pointer itk::MaskedImageRegistrationMethod< TInputImageType >::RescaleFilterPointer |
typedef BoundaryValueRescaleIntensityImageFilter<InputImageType> itk::MaskedImageRegistrationMethod< TInputImageType >::RescaleFilterType |
This class provides rescaling of inputs. This is useful, for example if you are doing NMI based registration, and want to rescale inputs to match a histogram size, or for example, if you are doing similarity measures like CC, RIU, or PIU where the magnitude of the scalar values will impact the sensitivity of the registration algorithm.
typedef MaskedImageRegistrationMethod itk::MaskedImageRegistrationMethod< TInputImageType >::Self |
Standard class typedefs.
typedef SmoothingFilterType::Pointer itk::MaskedImageRegistrationMethod< TInputImageType >::SmoothingFilterPointer |
typedef SmoothingRecursiveGaussianImageFilter<InputImageType, InputImageType > itk::MaskedImageRegistrationMethod< TInputImageType >::SmoothingFilterType |
Now added smoothing, after rescaling.
typedef BinaryCrossStructuringElement<InputImagePixelType, InputImageType::ImageDimension> itk::MaskedImageRegistrationMethod< TInputImageType >::StructuringType |
Then we dilate it a number of times.
typedef SingleResolutionImageRegistrationMethod<TInputImageType, TInputImageType> itk::MaskedImageRegistrationMethod< TInputImageType >::Superclass |
typedef ThresholdFilterType::Pointer itk::MaskedImageRegistrationMethod< TInputImageType >::ThresholdFilterPointer |
typedef BinaryThresholdImageFilter<InputImageType, InputImageType> itk::MaskedImageRegistrationMethod< TInputImageType >::ThresholdFilterType |
Threshold mask to 0 and 1, just in case its not binary already.
typedef Superclass::TransformType itk::MaskedImageRegistrationMethod< TInputImageType >::TransformType |
|
protected |
|
inlineprotectedvirtual |
|
protected |
Just to copy image.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::SingleResolutionImageRegistrationMethod< TInputImageType, TInputImageType >.
Reimplemented in itk::BlockMatchingMethod< TImageType, TScalarType >, itk::MultiStageImageRegistrationMethod< TInputImageType >, itk::TranslateRotateScaleImageRegistrationMethod< TInputImageType >, itk::TranslationThenRotationImageRegistrationMethod< TInputImageType >, and itk::RigidPlusScaleImageRegistrationMethod< TInputImageType >.
InputImageType* itk::MaskedImageRegistrationMethod< TInputImageType >::GetFixedImageCopy | ( | ) |
Get the fixed image copy. Lazy Initialized.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
InputImageType* itk::MaskedImageRegistrationMethod< TInputImageType >::GetMovingImageCopy | ( | ) |
Get the moving image copy. Lazy Initialized.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
Override this method to wire everything together.
Reimplemented from itk::SingleResolutionImageRegistrationMethod< TInputImageType, TInputImageType >.
Reimplemented in itk::BlockMatchingMethod< TImageType, TScalarType >.
|
static |
Method for creation through the object factory.
|
protected |
void itk::MaskedImageRegistrationMethod< TInputImageType >::SetFixedMask | ( | const InputImageType * | fixedMask | ) |
Set/Get the Fixed mask.
|
virtual |
Upper limit to threshold at.
Defaults to maximum for pixel type.
|
virtual |
Lower limit to threshold mask at.
Defaults to 1.
|
virtual |
If this is true, we multiply the mask by the image, and only give the single resolution method, an already masked image. If this is false, we leave the image as it is, and set the mask onto the single res method. You probably want true for deformable stuff, and false for affine stuff. Default false.
void itk::MaskedImageRegistrationMethod< TInputImageType >::SetMovingMask | ( | const InputImageType * | movingMask | ) |
Set/Get the Moving mask.
|
virtual |
Upper limit to threshold at.
Defaults to maximum for pixel type.
|
virtual |
Lower limit to threshold at.
Defaults to 1.
|
virtual |
Set the number of mask dilations.
Default is zero.
|
virtual |
Set the boundary value for if we want to do thresholding.
|
virtual |
Turns image rescaling of the fixed image off or on. If you turn it on, you should also set the Min/Max values you want to rescale to, as they default to 0,255.
Default is off.
|
virtual |
Set the lower threshold, so we can mask these values out before rescaling.
|
virtual |
Set the Maximum rescale value for the fixed image.
|
virtual |
Set the minimum rescale value for the fixed image.
|
virtual |
Set the upper threshold, so we can mask these values out before rescaling.
|
virtual |
Set the boundary value for if we want to do thresholding.
|
virtual |
Turns image rescaling of the moving image off or on. If you turn it on, you should also set the Min/Max values you want to rescale to as they default to 0,255.
Default is off.
|
virtual |
Set the lower threshold, so we can mask these values out before rescaling.
|
virtual |
Set the Maximum rescale value for the moving image.
|
virtual |
Set the minimum rescale value for the moving image.
|
virtual |
Set the upper threshold, so we can mask these values out before rescaling.
|
virtual |
Set the Sigma for Gaussian smoothing.
Default 0.
|
virtual |
Threshold fixed mask.
Defaults to true.
|
virtual |
Threshold moving mask.
Defaults to true.
|
virtual |
Turns whether we are using the fixed mask at all.
Default is off.
|
virtual |
Turns whether we are using the moving mask at all.
Default is off.