GenericTransformImage.h File Reference

#include "BRAINSCommonLibWin32Header.h"
#include <iostream>
#include "itkImage.h"
#include "itkCastImageFilter.h"
#include "itkRescaleIntensityImageFilter.h"
#include "itkWarpImageFilter.h"
#include "itkLinearInterpolateImageFunction.h"
#include "itkNearestNeighborInterpolateImageFunction.h"
#include "itkBSplineInterpolateImageFunction.h"
#include "itkWindowedSincInterpolateImageFunction.h"
#include "itkBinaryThresholdImageFilter.h"
#include "itkSignedMaurerDistanceMapImageFilter.h"
#include "itkStatisticsImageFilter.h"
#include "itkScaleVersor3DTransform.h"
#include "itkScaleSkewVersor3DTransform.h"
#include "itkAffineTransform.h"
#include <itkBSplineDeformableTransform.h>
#include <itkThinPlateR2LogRSplineKernelTransform.h>
#include "itkVersorRigid3DTransform.h"
#include "ConvertToRigidAffine.h"
#include "itkResampleImageFilter.h"
#include "itkImageDuplicator.h"
#include "Imgmath.h"
#include "itkTransformFactory.h"
#include "itkTransformFileReader.h"
#include "itkTransformFileWriter.h"
#include "GenericTransformImage.txx"

Go to the source code of this file.

Namespaces

namespace  GenericTransformImageNS
namespace  itk
 

STL includes.


Typedefs

typedef itk::AffineTransform
< double, 3 > 
AffineTransformType
typedef
itk::BSplineDeformableTransform
< CoordinateRepType,
GenericTransformImageNS::SpaceDimension,
GenericTransformImageNS::SplineOrder
BSplineTransformType
typedef double CoordinateRepType
typedef itk::Transform< double, 3, 3 > GenericTransformType
typedef
itk::ScaleSkewVersor3DTransform
< double > 
ScaleSkewVersor3DTransformType
typedef
itk::ScaleVersor3DTransform
< double > 
ScaleVersor3DTransformType
typedef
itk::ThinPlateR2LogRSplineKernelTransform
< double, 3 > 
ThinPlateSpline3DTransformType
typedef
itk::TransformFileReader::TransformListType 
TransformListType
typedef itk::TransformFileReader TransformReaderType
typedef
itk::VersorRigid3DTransform
< double > 
VersorRigid3DTransformType

Functions

void itk::AddExtraTransformRegister (void)
VersorRigid3DTransformType::Pointer itk::ComputeRigidTransformFromGeneric (const GenericTransformType::ConstPointer genericTransformToWrite)
 A utility function to write ITK compliant transforms to disk in a way that is compliant with the ReadTransformFromDisk.
template<typename InputImageType , class OutputImageType , typename DeformationImageType >
OutputImageType::Pointer GenericTransformImage (InputImageType const *const OperandImage, const itk::ImageBase< InputImageType::ImageDimension > *ReferenceImage, typename DeformationImageType::Pointer DeformationField, typename GenericTransformType::Pointer genericTransform, typename InputImageType::PixelType suggestedDefaultValue, const std::string interpolationMode, const bool binaryFlag)
 A class to transform images. Only one of genericTransform or DeformationField can be non-null.
GenericTransformType::Pointer itk::ReadTransformFromDisk (const std::string initialTransform)
 A utility function to read ITK compliant transforms to disk in a way that is compliant with the WriteTransformFromDisk.
template<class IOImageType >
IOImageType::Pointer itk::SetRigidTransformInPlace (typename VersorRigid3DTransformType::ConstPointer RigidTransform, const IOImageType *InputImage)
 This templated function will duplicate the input image, change the direction and origin to refelect the physical space tranform that would be equivalent to calling the resample image filter. InplaceImage=SetRigidTransformInPlace(RigidTransform,InputImage); ResampleImage(InplaceImage,Identity); should produce the same result as ResampleImage(InputImage,RigidTransform);.
template<class InputImageType , class OutputImageType >
OutputImageType::Pointer TransformResample (InputImageType const *const inputImage, const itk::ImageBase< InputImageType::ImageDimension > *ReferenceImage, typename InputImageType::PixelType defaultValue, typename itk::InterpolateImageFunction< InputImageType, typename itk::NumericTraits< typename InputImageType::PixelType >::RealType >::Pointer interp, typename GenericTransformType::Pointer transform)
 A class to transform images.
template<class InputImageType , class OutputImageType , class DeformationImageType >
OutputImageType::Pointer TransformWarp (InputImageType const *const inputImage, const itk::ImageBase< InputImageType::ImageDimension > *ReferenceImage, typename InputImageType::PixelType defaultValue, typename itk::InterpolateImageFunction< InputImageType, typename itk::NumericTraits< typename InputImageType::PixelType >::RealType >::Pointer interp, typename DeformationImageType::Pointer deformationField)
 A class to transform images.
int itk::WriteBothTransformsToDisk (const GenericTransformType::ConstPointer genericTransformToWrite, const std::string &outputTransform, const std::string &strippedOutputTransform)
 Special purpose convenience function -- should not have a public interface.
int itk::WriteStrippedRigidTransformToDisk (const GenericTransformType::ConstPointer genericTransformToWrite, const std::string &strippedOutputTransform)
 Special purpose convenience function -- should not have a public interface.
void itk::WriteTransformToDisk (GenericTransformType const *const genericTransformToWrite, const std::string outputTransform)
 A utility function to write ITK compliant transforms to disk in a way that is compliant with the ReadTransformFromDisk.

Variables

static const unsigned int GenericTransformImageNS::SpaceDimension = 3
static const unsigned int GenericTransformImageNS::SplineOrder = 3

Typedef Documentation

typedef itk::AffineTransform< double, 3 > AffineTransformType
typedef double CoordinateRepType
typedef itk::Transform< double, 3, 3 > GenericTransformType
typedef itk::ScaleSkewVersor3DTransform< double > ScaleSkewVersor3DTransformType
typedef itk::ScaleVersor3DTransform< double > ScaleVersor3DTransformType
typedef itk::ThinPlateR2LogRSplineKernelTransform< double, 3 > ThinPlateSpline3DTransformType
typedef itk::TransformFileReader TransformReaderType
typedef itk::VersorRigid3DTransform< double > VersorRigid3DTransformType

Function Documentation

template<typename InputImageType , class OutputImageType , typename DeformationImageType >
OutputImageType::Pointer GenericTransformImage ( InputImageType const *const   OperandImage,
const itk::ImageBase< InputImageType::ImageDimension > *  ReferenceImage,
typename DeformationImageType::Pointer  DeformationField,
typename GenericTransformType::Pointer  genericTransform,
typename InputImageType::PixelType  suggestedDefaultValue,
const std::string  interpolationMode,
const bool  binaryFlag 
) [inline]

A class to transform images. Only one of genericTransform or DeformationField can be non-null.

Author:
Hans J. Johnson
template<class InputImageType , class OutputImageType >
OutputImageType::Pointer TransformResample ( InputImageType const *const   inputImage,
const itk::ImageBase< InputImageType::ImageDimension > *  ReferenceImage,
typename InputImageType::PixelType  defaultValue,
typename itk::InterpolateImageFunction< InputImageType, typename itk::NumericTraits< typename InputImageType::PixelType >::RealType >::Pointer  interp,
typename GenericTransformType::Pointer  transform 
) [inline]

A class to transform images.

Author:
Hans J. Johnson
template<class InputImageType , class OutputImageType , class DeformationImageType >
OutputImageType::Pointer TransformWarp ( InputImageType const *const   inputImage,
const itk::ImageBase< InputImageType::ImageDimension > *  ReferenceImage,
typename InputImageType::PixelType  defaultValue,
typename itk::InterpolateImageFunction< InputImageType, typename itk::NumericTraits< typename InputImageType::PixelType >::RealType >::Pointer  interp,
typename DeformationImageType::Pointer  deformationField 
) [inline]

A class to transform images.

Author:
Hans J. Johnson

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1