NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Public Member Functions | |
virtual const char * | GetClassName () const |
Run-time type information (and related methods). More... | |
itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension) | |
Image dimension. More... | |
void | SetVerboseOn (void) |
void | SetVerboseOff (void) |
void | SetDebugOn (void) |
void | SetDebugOff (void) |
void | SetOverwriteRegistration (void) |
void | SetExecutablesDirectoryToTry (std::string dir) |
Set the directory to look for executables in. More... | |
void | SetTypeOfInputImagesToRegister (enumRegistrationImagesType regImagesType) |
Set the registration image type. More... | |
virtual void | SetControlPointSpacing (float _arg) |
Set the final control point spacing for non-rigid registrations. More... | |
virtual float | GetControlPointSpacing () |
Get the final control point spacing for non-rigid registrations. More... | |
virtual void | SetNumberOfLevels (unsigned int _arg) |
Set the number of multi-scale registration levels. More... | |
virtual unsigned int | GetNumberOfLevels () |
Get the number of multi-scale registration levels. More... | |
virtual void | SetNumberOfLevelsToUse (unsigned int _arg) |
Set the number of multi-scale registration levels to use. More... | |
virtual unsigned int | GetNumberOfLevelsToUse () |
Get the number of multi-scale registration levels to use. More... | |
void | SetTargetImage (InputImagePointer imTarget) |
Set the target image. More... | |
void | SetSourceImage (InputImagePointer imSource) |
Set the source image. More... | |
void | SetTargetMask (InputImagePointer maskTarget) |
Set the target mask. More... | |
void | SetSourceMask (InputImagePointer maskSource) |
Set the source mask. More... | |
void | SetTargetRegnMask (InputImagePointer maskTargetRegn) |
Set the target registration mask. More... | |
void | SetWorkingDirectory (std::string directory) |
Set the working directory for storing any intermediate files. More... | |
void | SetFileTarget (std::string filename) |
Set the target image filename. More... | |
void | SetFileSource (std::string filename) |
Set the source image filename. More... | |
void | SetFileTargetMask (std::string filename) |
Set the target mask image filename. More... | |
void | SetFileSourceMask (std::string filename) |
Set the source mask image filename. More... | |
void | SetFileInputTargetRegistrationMask (std::string filename) |
Set the input target registration mask filename. More... | |
void | SetFileOutputTargetRegistrationMask (std::string fileOut) |
Set the output target registration mask filename. More... | |
void | SetFileTargetDistanceTransform (std::string fileOut) |
Set the output target mask distance transform image. More... | |
void | SetFileSourceDistanceTransform (std::string fileOut) |
Set the output source mask distance transform image. More... | |
void | SetFileOutputAffineTransformation (std::string fileOut) |
Set the output affine transformation matrix file. More... | |
void | SetFileOutputNonRigidTransformation (std::string fileOut) |
Set the output non-rigid transformation (control-point) file. More... | |
void | SetFileOutputDeformation (std::string fileOut) |
Set the output deformation field file. More... | |
void | SetFileOutputAffineRegistered (std::string fileOut) |
Set the output affine registered file. More... | |
void | SetFileOutputNonRigidRegistered (std::string fileOut) |
Set the output non-rigid registered file. More... | |
void | SetRegisterNonRigid (void) |
Specify whether to perform a non-rigid registration. More... | |
InputImagePointType | TransformPoint (InputImagePointType point) |
Transform a point from the target image to the source. More... | |
void | NonRigidlyTransformImageFile (std::string fileImage, std::string fileResult) |
Non-rigidly trasnform an image file using the registration. More... | |
Static Public Member Functions | |
static Pointer | New () |
Method for creation through the object factory. More... | |
Protected Member Functions | |
MammogramRegistrationFilter () | |
~MammogramRegistrationFilter () | |
std::string | ImageFileIsNiftiOrConvert (std::string fileInput) |
Check if an image is nifti and create a nifti version if not. More... | |
InputImagePointer | GetDistanceTransform (InputImagePointer imMask) |
Compute the distance transform of a mask. More... | |
InputImagePointer | GetTargetRegistrationMask (InputImagePointer imMask) |
Expand the target mask to include the breast edge. More... | |
void | InitialiseTransformationFromImageMoments (InputImagePointer imTarget, InputImagePointer imSource) |
Initialise the affine transform using the image moments. More... | |
std::string | AddSamplingFactorSuffix (std::string fileInput, float ampling) |
Create a new filename for a subsampled image. More... | |
std::string | FileOfImageWithDimensionsLessThan2048 (std::string fileInput) |
Create a subsampled image if any of the image dimensions exceed 2048. More... | |
void | Print (void) |
Print the object. More... | |
InputImagePointer | RunAffineRegistration (InputImagePointer imTarget, InputImagePointer imSource, int finalInterpolator=4, int registrationInterpolator=2) |
The affine registration. More... | |
InputImagePointer | RunNonRigidRegistration (void) |
The a non-rigid registration. More... | |
bool | ReadAffineTransformation (std::string fileAffineTransformation) |
Read the affine transformation. More... | |
bool | ReadNonRigidDeformationField (std::string fileInputDeformation) |
Read the affine transformation. More... | |
bool | ReadRegistrationData () |
Read the transformations instead of re-running them? More... | |
virtual void | GenerateData () |
Does the real work. More... | |
DataObject::Pointer | MakeOutput (unsigned int idx) |
Create the Output. More... | |
Protected Attributes | |
bool | m_FlgVerbose |
bool | m_FlgDebug |
bool | m_FlgOverwrite |
Overwrite existing registration even if it already exists. More... | |
bool | m_FlgRegisterNonRigid |
Specify whether to perform a non-rigid registration. More... | |
enumRegistrationImagesType | m_TypeOfInputImagesToRegister |
Specify the input images to register. More... | |
float | m_ControlPointSpacing |
The final control point spacing in mm. More... | |
unsigned int | m_NumberOfLevels |
The number of multi-scale registration levels. More... | |
unsigned int | m_NumberOfLevelsToUse |
The number of multi-scale registration levels to use. More... | |
std::string | m_DirWorking |
A working directory for storing any intermediate files. More... | |
std::string | m_DirExecutable |
A directory to look for executables in. More... | |
std::string | m_FileTarget |
The input target image filename. More... | |
std::string | m_FileSource |
The input source image filename. More... | |
std::string | m_FileTargetMask |
The input target mask image filename. More... | |
std::string | m_FileSourceMask |
The input source mask image filename. More... | |
std::string | m_FileInputTargetRegistrationMask |
The input target registration mask filename. More... | |
std::string | m_FileOutputTargetRegistrationMask |
The output target registration mask filename. More... | |
std::string | m_FileTargetDistanceTransform |
The output target mask distance transform image. More... | |
std::string | m_FileSourceDistanceTransform |
The output source mask distance transform image. More... | |
std::string | m_FileOutputAffineTransformation |
The output affine transformation matrix. More... | |
std::string | m_FileOutputNonRigidTransformation |
The output non-rigid transformation. More... | |
std::string | m_FileOutputDeformation |
The output deformation field. More... | |
std::string | m_FileOutputAffineRegistered |
The output affine registered image. More... | |
std::string | m_FileOutputNonRigidRegistered |
The output non-rigidly registered image. More... | |
InputImagePointer | m_Target |
The target image. More... | |
InputImagePointer | m_Source |
The source image. More... | |
InputImagePointer | m_TargetMask |
The target mask image. More... | |
InputImagePointer | m_SourceMask |
The source mask image. More... | |
InputImagePointer | m_TargetRegnMask |
The target registration mask image. More... | |
EulerAffinePointerType | m_AffineTransform |
The affine transformation. More... | |
DeformationFieldType::Pointer | m_DeformationField |
The registration deformation field. More... | |
typedef itk::Image< VectorPixelType, ImageDimension > itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::DeformationFieldType |
typedef EulerAffineTransformType::Pointer itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::EulerAffinePointerType |
typedef FactoryType::EulerAffineTransformType itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::EulerAffineTransformType |
typedef itk::ImageRegistrationFactory< InputImageType, ImageDimension, ScalarType > itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::FactoryType |
typedef itk::ImageFileReader< InputImageType > itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::FileReaderType |
typedef itk::ImageFileWriter< InputImageType > itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::FileWriterType |
typedef itk::ImageMomentsCalculator< InputImageType > itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::ImageMomentCalculatorType |
typedef InputImageType::ConstPointer itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::InputImageConstPointer |
typedef InputImageType::PixelType itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::InputImagePixelType |
typedef InputImageType::Pointer itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::InputImagePointer |
typedef InputImageType::PointType itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::InputImagePointType |
typedef InputImageType::RegionType itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::InputImageRegionType |
typedef InputImageType::SpacingType itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::InputImageSpacingType |
typedef TInputImage itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::InputImageType |
Type of the input image.
typedef itk::MammogramMaskSegmentationImageFilter<InputImageType, InputImageType> itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::MammogramMaskFilterType |
typedef OutputImageType::IndexType itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::OutputImageIndexType |
typedef OutputImageType::PixelType itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::OutputImagePixelType |
typedef OutputImageType::Pointer itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::OutputImagePointer |
typedef OutputImageType::PointType itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::OutputImagePointType |
typedef OutputImageType::RegionType itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::OutputImageRegionType |
typedef TOutputImage itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::OutputImageType |
Type of the output image.
typedef SmartPointer< Self > itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::Pointer |
typedef NumericTraits<InputImagePixelType>::RealType itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::RealType |
typedef double itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::ScalarType |
typedef MammogramRegistrationFilter itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::Superclass |
typedef itk::Vector< float, ImageDimension > itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::VectorPixelType |
enum itk::MammogramRegistrationFilter::enumRegistrationImagesType |
|
protected |
|
inlineprotected |
|
protected |
Create a new filename for a subsampled image.
|
protected |
Create a subsampled image if any of the image dimensions exceed 2048.
|
protectedvirtual |
Does the real work.
|
virtual |
Run-time type information (and related methods).
|
virtual |
Get the final control point spacing for non-rigid registrations.
|
protected |
Compute the distance transform of a mask.
|
virtual |
Get the number of multi-scale registration levels.
|
virtual |
Get the number of multi-scale registration levels to use.
|
protected |
Expand the target mask to include the breast edge.
|
protected |
Check if an image is nifti and create a nifti version if not.
|
protected |
Initialise the affine transform using the image moments.
itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::itkStaticConstMacro | ( | ImageDimension | , |
unsigned | int, | ||
TInputImage::ImageDimension | |||
) |
Image dimension.
|
protected |
Create the Output.
|
static |
Method for creation through the object factory.
void itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::NonRigidlyTransformImageFile | ( | std::string | fileImage, |
std::string | fileResult | ||
) |
Non-rigidly trasnform an image file using the registration.
|
protected |
Print the object.
|
protected |
Read the affine transformation.
|
protected |
Read the affine transformation.
|
protected |
Read the transformations instead of re-running them?
|
protected |
The affine registration.
|
protected |
The a non-rigid registration.
|
virtual |
Set the final control point spacing for non-rigid registrations.
|
inline |
|
inline |
|
inline |
Set the directory to look for executables in.
|
inline |
Set the input target registration mask filename.
|
inline |
Set the output affine registered file.
|
inline |
Set the output affine transformation matrix file.
|
inline |
Set the output deformation field file.
|
inline |
Set the output non-rigid registered file.
|
inline |
Set the output non-rigid transformation (control-point) file.
|
inline |
Set the output target registration mask filename.
|
inline |
Set the source image filename.
|
inline |
Set the output source mask distance transform image.
|
inline |
Set the source mask image filename.
|
inline |
Set the target image filename.
|
inline |
Set the output target mask distance transform image.
|
inline |
Set the target mask image filename.
|
virtual |
Set the number of multi-scale registration levels.
|
virtual |
Set the number of multi-scale registration levels to use.
|
inline |
|
inline |
Specify whether to perform a non-rigid registration.
|
inline |
Set the source image.
|
inline |
Set the source mask.
|
inline |
Set the target image.
|
inline |
Set the target mask.
|
inline |
Set the target registration mask.
|
inline |
Set the registration image type.
|
inline |
|
inline |
|
inline |
Set the working directory for storing any intermediate files.
InputImagePointType itk::MammogramRegistrationFilter< TInputImage, TOutputImage >::TransformPoint | ( | InputImagePointType | point | ) |
Transform a point from the target image to the source.
|
protected |
The affine transformation.
|
protected |
The final control point spacing in mm.
|
protected |
The registration deformation field.
|
protected |
A directory to look for executables in.
|
protected |
A working directory for storing any intermediate files.
|
protected |
The input target registration mask filename.
|
protected |
The output affine registered image.
|
protected |
The output affine transformation matrix.
|
protected |
The output deformation field.
|
protected |
The output non-rigidly registered image.
|
protected |
The output non-rigid transformation.
|
protected |
The output target registration mask filename.
|
protected |
The input source image filename.
|
protected |
The output source mask distance transform image.
|
protected |
The input source mask image filename.
|
protected |
The input target image filename.
|
protected |
The output target mask distance transform image.
|
protected |
The input target mask image filename.
|
protected |
|
protected |
Overwrite existing registration even if it already exists.
|
protected |
Specify whether to perform a non-rigid registration.
|
protected |
|
protected |
The number of multi-scale registration levels.
|
protected |
The number of multi-scale registration levels to use.
|
protected |
The source image.
|
protected |
The source mask image.
|
protected |
The target image.
|
protected |
The target mask image.
|
protected |
The target registration mask image.
|
protected |
Specify the input images to register.