go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes
elastix::BSplineTransformWithDiffusion< TElastix > Class Template Reference

This class combines a B-spline transform with the diffusion/filtering of the deformation field. More...

#include <elxBSplineTransformWithDiffusion.h>

Inheritance diagram for elastix::BSplineTransformWithDiffusion< TElastix >:
Inheritance graph
[legend]
Collaboration diagram for elastix::BSplineTransformWithDiffusion< TElastix >:
Collaboration graph
[legend]

Public Types

typedef
BSplineTransformType::Pointer 
BSplineTransformPointer
typedef
AdvancedBSplineDeformableTransform
< typename elx::TransformBase
< TElastix >::CoordRepType,
elx::TransformBase< TElastix >
::FixedImageDimension,
__VSplineOrder > 
BSplineTransformType
typedef
Superclass2::CombinationTransformType 
CombinationTransformType
typedef
Superclass2::ConfigurationPointer 
ConfigurationPointer
typedef
Superclass2::ConfigurationType 
ConfigurationType
typedef SmartPointer< const SelfConstPointer
typedef
BSplineTransformType::ContinuousIndexType 
ContinuousIndexType
typedef Superclass2::CoordRepType CoordRepType
typedef ImageFileWriter
< VectorImageType
DeformationFieldWriterType
typedef
VectorMeanDiffusionImageFilter
< VectorImageType,
GrayValueImageType
DiffusionFilterType
typedef Image< short,
itkGetStaticConstMacro(SpaceDimension) > 
DummyImageType
typedef
ImageRegionConstIterator
< DummyImageType
DummyIteratorType
typedef Superclass2::ElastixPointer ElastixPointer
typedef Superclass2::ElastixType ElastixType
typedef ElastixType::FixedImageType FixedImageELXType
typedef Superclass2::FixedImageType FixedImageType
typedef Superclass1::Superclass GenericDeformationFieldRegulizer
typedef ImageRegionIterator
< GrayValueImageType
GrayValueImageIteratorType
typedef ImageFileReader
< GrayValueImageType
GrayValueImageReaderType
typedef FixedImageELXType GrayValueImageType
typedef ImageFileWriter
< GrayValueImageType
GrayValueImageWriterType
typedef
GrayValueImageType::PixelType 
GrayValuePixelType
typedef
BSplineTransformType::ImagePointer 
ImagePointer
typedef
BSplineTransformType::ImageType 
ImageType
typedef
BSplineTransformType::IndexType 
IndexType
typedef
Superclass1::InputCovariantVectorType 
InputCovariantVectorType
typedef Superclass1::InputPointType InputPointType
typedef
Superclass1::InputVectorType 
InputVectorType
typedef
Superclass1::InputVnlVectorType 
InputVnlVectorType
typedef
Superclass1::IntermediaryDFTransformType 
IntermediaryDFTransformType
typedef
BSplineInterpolateImageFunction
< GrayValueImageType
InterpolatorType
typedef Superclass2::ITKBaseType ITKBaseType
typedef Superclass1::JacobianType JacobianType
typedef MaximumImageFilter
< GrayValueImageType,
GrayValueImageType,
GrayValueImageType
MaximumImageFilterType
typedef
ElastixType::MovingImageType 
MovingImageELXType
typedef
Superclass2::MovingImageType 
MovingImageType
typedef
BSplineTransformType::OriginType 
OriginType
typedef
Superclass1::OutputCovariantVectorType 
OutputCovariantVectorType
typedef
Superclass1::OutputPointType 
OutputPointType
typedef
Superclass1::OutputVectorType 
OutputVectorType
typedef
Superclass1::OutputVnlVectorType 
OutputVnlVectorType
typedef
BSplineTransformType::ParameterIndexArrayType 
ParameterIndexArrayType
typedef Superclass1::ParametersType ParametersType
typedef
BSplineTransformType::PixelType 
PixelType
typedef SmartPointer< SelfPointer
typedef VectorImageType::SizeType RadiusType
typedef
BSplineTransformType::RegionType 
RegionType
typedef
Superclass2::RegistrationPointer 
RegistrationPointer
typedef
Superclass2::RegistrationType 
RegistrationType
typedef ResampleImageFilter
< MovingImageELXType,
GrayValueImageType,
CoordRepType
ResamplerType1
typedef ResampleImageFilter
< GrayValueImageType,
GrayValueImageType,
CoordRepType
ResamplerType2
typedef Superclass1::ScalarType ScalarType
typedef
BSplineTransformWithDiffusion 
Self
typedef
BSplineTransformType::SizeType 
SizeType
typedef
BSplineTransformType::SpacingType 
SpacingType
typedef
DeformationFieldRegulizer
< AdvancedCombinationTransform
< typename elx::TransformBase
< TElastix >::CoordRepType,
elx::TransformBase< TElastix >
::FixedImageDimension > > 
Superclass1
typedef elx::TransformBase
< TElastix > 
Superclass2
typedef ImageRegionIterator
< VectorImageType
VectorImageIteratorType
typedef
Superclass1::VectorImageType 
VectorImageType
typedef ImageFileReader
< VectorImageType
VectorReaderType
typedef VectorImageType::PixelType VectorType
typedef
BSplineTransformType::WeightsFunctionType 
WeightsFunctionType
typedef
BSplineTransformType::WeightsType 
WeightsType

Public Member Functions

virtual void AfterEachIteration (void)
virtual void AfterRegistration (void)
virtual void BeforeEachResolution (void)
virtual void BeforeRegistration (void)
void DiffuseDeformationField (void)
 elxClassNameMacro ("BSplineTransformWithDiffusion")
virtual const char * GetClassName () const
virtual void IncreaseScale (void)
 itkStaticConstMacro (SplineOrder, unsigned int, __VSplineOrder)
 itkStaticConstMacro (SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
virtual void ReadFromFile (void)
virtual void SetInitialGrid (bool upsampleGridOption)
virtual OutputPointType TransformPoint (const InputPointType &point) const
virtual void WriteToFile (const ParametersType &param) const

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 BSplineTransformWithDiffusion ()
virtual ~BSplineTransformWithDiffusion ()

Protected Attributes

SpacingType m_GridSpacingFactor

Private Member Functions

 BSplineTransformWithDiffusion (const Self &)
void operator= (const Self &)

Private Attributes

bool m_AlsoFixed
ParametersType m_BSplineParameters
BSplineTransformPointer m_BSplineTransform
VectorImageType::Pointer m_DeformationField
OriginType m_DeformationOrigin
RegionType m_DeformationRegion
SpacingType m_DeformationSpacing
VectorImageType::Pointer m_DiffusedField
DiffusionFilterType::Pointer m_Diffusion
std::string m_FixedSegmentationFileName
GrayValueImageType::Pointer m_FixedSegmentationImage
GrayValueImageReaderType::Pointer m_FixedSegmentationReader
GrayValueImageType::Pointer m_GrayValueImage1
GrayValueImageType::Pointer m_GrayValueImage2
InterpolatorType::Pointer m_Interpolator
std::string m_MovingSegmentationFileName
GrayValueImageType::Pointer m_MovingSegmentationImage
GrayValueImageReaderType::Pointer m_MovingSegmentationReader
ResamplerType1::Pointer m_Resampler1
ResamplerType2::Pointer m_Resampler2
bool m_ThresholdBool
GrayValuePixelType m_ThresholdHU
bool m_UseFixedSegmentation
bool m_UseMovingSegmentation
bool m_WriteDiffusionFiles

Detailed Description

template<class TElastix>
class elastix::BSplineTransformWithDiffusion< TElastix >

This class combines a B-spline transform with the diffusion/filtering of the deformation field.

Every n iterations the deformation field is diffused using the VectorMeanDiffusionImageFilter. The total transformation of a point is determined by adding the B-spline deformation to the deformation field arrow. Filtering of the deformation field is based on some 'stiffness coefficient' image.

Todo:
: this Transform has not been tested for images with Direction cosines matrix other than the identity matrix.
Warning:
Using this transform in with the option (HowToCombineTranforms "Compose"). May give unpredictable results. Especially if the initial transformation is large. This is because the coefficient grid is not properly initialized. Better use (HowToCombineTranforms "Add").

The parameters used in this class are:

Parameters:
Transform: Select this transform as follows:
(Transform "BSplineTransformWithDiffusion")
Parameters:
FinalGridSpacing: the grid spacing of the B-spline transform part of this transform for each dimension.
example: (FinalGridSpacing 8.0 8.0 8.0) If only one argument is given, that factor is used for each dimension. The spacing is not in millimeters, but in "voxel size units". The default is 8.0 in every dimension.
Parameters:
UpsampleGridOption: whether or not the B-spline grid should be upsampled from one resolution level to another. Choose from {true, false}.
example: (UpsampleGridOption "true") The default is "true".
Parameters:
FilterPattern: defines according to what schedule/pattern the deformation field should be filtered. Choose from {1,2}, where FilterPattern 1 is diffusion every "DiffusionEachNIterations" iterations, and where FilterPattern 2 filters more frequent in the beginning and less frequent at the end of a resolution.
example: (FilterPattern 1) The default is filter pattern 1.
Parameters:
DiffusionEachNIterations: defines for FilterPattern 1 after how many iterations of the optimiser there should be a filtering step.
example: (DiffusionEachNIterations 5) The default is 1.
Parameters:
AfterIterations: defines for FilterPattern 2 after how many iterations of the optimiser the filter frequency should be increased.
example: (AfterIterations 100 200) The default is 50 and 100.
Parameters:
HowManyIterations: defines to what frequency the filtering should be increased.
example: (HowManyIterations 1 5 10) The default is 1, 5 and 10.
Parameters:
NumberOfDiffusionIterations: defines the number of times the adaptive filtering is performed.
example: (NumberOfDiffusionIterations 10) The default is 1.
Parameters:
Radius: defines the radius of the filter.
example: (Radius 1) The default is 1.
Parameters:
ThresholdBool: defines whether or not the stiffness coefficient image should be thresholded. Choose from {true, false}.
example: (ThresholdBool "true") The default is "true".
Parameters:
ThresholdHU: if it is thresholded, this defines the threshold in Houndsfield units.
example: (ThresholdHU 150) The default is 150.
Parameters:
WriteDiffusionFiles: defines whether or not the stiffness coefficient image, the deformation field and the filtered field should be written to file. Choose from {true, false}.
example: (WriteDiffusionFiles "true") The default is "false".
Parameters:
GrayValueImageAlsoBasedOnFixedImage: defines whether or not the stiffness coefficient image should also be based on the fixed image. Choose from {true, false}.
example: (GrayValueImageAlsoBasedOnFixedImage "true") The default is "true".
Parameters:
UseFixedSegmentation: defines whether or not the stiffness coefficient image should be based on some prior defined segmentation of rigid structures in the fixed image, instead on a thresholding. Choose from {true, false}.
example: (UseFixedSegmentation "true") The default is "false".
Parameters:
FixedSegmentationFileName: the filename of this segmentation.
example: (FixedSegmentationFileName "somestring")
Parameters:
UseMovingSegmentation: defines whether or not the stiffness coefficient image should be based on some prior defined segmentation of rigid structures in the moving image, instead on a thresholding. Choose from {true, false}.
example: (UseMovingSegmentation "true") The default is "false".
Parameters:
MovingSegmentationFileName: the filename of this segmentation.
example: (MovingSegmentationFileName "somestring")
Parameters:
DefaultPixelValueForGVI: the default pixel value, when resampling the grayvalueimage. example: (DefaultPixelValueForGVI 0) The default is 0.

The transform parameters necessary for transformix, additionally defined by this class, are:

Transform Parameters:
DeformationFieldFileName: stores the name of the deformation field.
example: (DeformationFieldFileName "defField.mhd")
Transform Parameters:
GridSize: stores the size of the B-spline grid.
example: (GridSize 16 16 16)
Transform Parameters:
GridIndex: stores the index of the B-spline grid.
example: (GridIndex 0 0 0)
Transform Parameters:
GridSpacing: stores the spacing of the B-spline grid.
example: (GridSpacing 16.0 16.0 16.0)
Transform Parameters:
GridOrigin: stores the origin of the B-spline grid.
example: (GridOrigin 0.0 0.0 0.0)

Definition at line 160 of file elxBSplineTransformWithDiffusion.h.


Member Typedef Documentation

Definition at line 266 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef AdvancedBSplineDeformableTransform< typename elx::TransformBase<TElastix>::CoordRepType, elx::TransformBase<TElastix>::FixedImageDimension, __VSplineOrder > elastix::BSplineTransformWithDiffusion< TElastix >::BSplineTransformType

The ITK-class that provides most of the functionality, and that is set as the "CurrentTransform" in the CombinationTransform.

Definition at line 190 of file elxBSplineTransformWithDiffusion.h.

Reimplemented from elastix::TransformBase< TElastix >.

Definition at line 251 of file elxBSplineTransformWithDiffusion.h.

Reimplemented from elastix::TransformBase< TElastix >.

Definition at line 244 of file elxBSplineTransformWithDiffusion.h.

Reimplemented from elastix::TransformBase< TElastix >.

Definition at line 243 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef SmartPointer<const Self> elastix::BSplineTransformWithDiffusion< TElastix >::ConstPointer

Definition at line 237 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef Superclass2::CoordRepType elastix::BSplineTransformWithDiffusion< TElastix >::CoordRepType

Reimplemented from elastix::TransformBase< TElastix >.

Definition at line 247 of file elxBSplineTransformWithDiffusion.h.

Definition at line 294 of file elxBSplineTransformWithDiffusion.h.

Definition at line 282 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef Image< short, itkGetStaticConstMacro( SpaceDimension ) > elastix::BSplineTransformWithDiffusion< TElastix >::DummyImageType

Other typedef's.

Definition at line 263 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef ImageRegionConstIterator< DummyImageType > elastix::BSplineTransformWithDiffusion< TElastix >::DummyIteratorType

Definition at line 265 of file elxBSplineTransformWithDiffusion.h.

Reimplemented from elastix::TransformBase< TElastix >.

Definition at line 242 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef Superclass2::ElastixType elastix::BSplineTransformWithDiffusion< TElastix >::ElastixType

Typedef's from TransformBase.

Reimplemented from elastix::TransformBase< TElastix >.

Definition at line 241 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef ElastixType::FixedImageType elastix::BSplineTransformWithDiffusion< TElastix >::FixedImageELXType

References to the fixed and moving image types.

Definition at line 258 of file elxBSplineTransformWithDiffusion.h.

Reimplemented from elastix::TransformBase< TElastix >.

Definition at line 248 of file elxBSplineTransformWithDiffusion.h.

Definition at line 267 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef ImageRegionIterator< GrayValueImageType > elastix::BSplineTransformWithDiffusion< TElastix >::GrayValueImageIteratorType

Definition at line 277 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef ImageFileReader< GrayValueImageType > elastix::BSplineTransformWithDiffusion< TElastix >::GrayValueImageReaderType

Definition at line 292 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef FixedImageELXType elastix::BSplineTransformWithDiffusion< TElastix >::GrayValueImageType

Definition at line 274 of file elxBSplineTransformWithDiffusion.h.

Definition at line 293 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef GrayValueImageType::PixelType elastix::BSplineTransformWithDiffusion< TElastix >::GrayValuePixelType

Definition at line 275 of file elxBSplineTransformWithDiffusion.h.

Definition at line 229 of file elxBSplineTransformWithDiffusion.h.

Definition at line 228 of file elxBSplineTransformWithDiffusion.h.

Definition at line 231 of file elxBSplineTransformWithDiffusion.h.

Reimplemented from elastix::TransformBase< TElastix >.

Definition at line 223 of file elxBSplineTransformWithDiffusion.h.

Definition at line 291 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef Superclass2::ITKBaseType elastix::BSplineTransformWithDiffusion< TElastix >::ITKBaseType

Reimplemented from elastix::TransformBase< TElastix >.

Definition at line 250 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef Superclass1::JacobianType elastix::BSplineTransformWithDiffusion< TElastix >::JacobianType
template<class TElastix >
typedef MaximumImageFilter< GrayValueImageType, GrayValueImageType, GrayValueImageType > elastix::BSplineTransformWithDiffusion< TElastix >::MaximumImageFilterType

Definition at line 280 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef ElastixType::MovingImageType elastix::BSplineTransformWithDiffusion< TElastix >::MovingImageELXType

Definition at line 259 of file elxBSplineTransformWithDiffusion.h.

Reimplemented from elastix::TransformBase< TElastix >.

Definition at line 249 of file elxBSplineTransformWithDiffusion.h.

Reimplemented from elastix::TransformBase< TElastix >.

Definition at line 224 of file elxBSplineTransformWithDiffusion.h.

Definition at line 238 of file elxBSplineTransformWithDiffusion.h.

Reimplemented from elastix::TransformBase< TElastix >.

Definition at line 215 of file elxBSplineTransformWithDiffusion.h.

Typedef's specific for the BSplineTransform.

Definition at line 227 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef SmartPointer<Self> elastix::BSplineTransformWithDiffusion< TElastix >::Pointer
template<class TElastix >
typedef VectorImageType::SizeType elastix::BSplineTransformWithDiffusion< TElastix >::RadiusType

Definition at line 283 of file elxBSplineTransformWithDiffusion.h.

Reimplemented from elastix::TransformBase< TElastix >.

Definition at line 246 of file elxBSplineTransformWithDiffusion.h.

Reimplemented from elastix::TransformBase< TElastix >.

Definition at line 245 of file elxBSplineTransformWithDiffusion.h.

Definition at line 286 of file elxBSplineTransformWithDiffusion.h.

Definition at line 289 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef Superclass1::ScalarType elastix::BSplineTransformWithDiffusion< TElastix >::ScalarType
template<class TElastix >
typedef BSplineTransformWithDiffusion elastix::BSplineTransformWithDiffusion< TElastix >::Self

Standard ITK-stuff.

Reimplemented from elastix::TransformBase< TElastix >.

Definition at line 174 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef BSplineTransformType::SizeType elastix::BSplineTransformWithDiffusion< TElastix >::SizeType

Definition at line 232 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef DeformationFieldRegulizer< AdvancedCombinationTransform< typename elx::TransformBase<TElastix>::CoordRepType, elx::TransformBase<TElastix>::FixedImageDimension > > elastix::BSplineTransformWithDiffusion< TElastix >::Superclass1

Definition at line 181 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef elx::TransformBase<TElastix> elastix::BSplineTransformWithDiffusion< TElastix >::Superclass2

Definition at line 182 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef ImageRegionIterator< VectorImageType > elastix::BSplineTransformWithDiffusion< TElastix >::VectorImageIteratorType

Definition at line 273 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef ImageFileReader< VectorImageType > elastix::BSplineTransformWithDiffusion< TElastix >::VectorReaderType

Typedef's for the diffusion of the deformation field.

Definition at line 270 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
typedef VectorImageType::PixelType elastix::BSplineTransformWithDiffusion< TElastix >::VectorType

Definition at line 271 of file elxBSplineTransformWithDiffusion.h.

Definition at line 235 of file elxBSplineTransformWithDiffusion.h.

Definition at line 236 of file elxBSplineTransformWithDiffusion.h.


Constructor & Destructor Documentation

template<class TElastix >
elastix::BSplineTransformWithDiffusion< TElastix >::BSplineTransformWithDiffusion ( ) [protected]

Method to transform a point with extra arguments. Just calls the Superclass1's implementation. Has to be present here since it is an overloaded function.

virtual void TransformPoint( const InputPointType & inputPoint, OutputPointType & outputPoint, WeightsType & weights, ParameterIndexArrayType & indices, bool & inside ) const; The constructor.

template<class TElastix >
virtual elastix::BSplineTransformWithDiffusion< TElastix >::~BSplineTransformWithDiffusion ( ) [inline, protected, virtual]

The destructor.

Definition at line 361 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
elastix::BSplineTransformWithDiffusion< TElastix >::BSplineTransformWithDiffusion ( const Self ) [private]

The private constructor.


Member Function Documentation

template<class TElastix >
virtual void elastix::BSplineTransformWithDiffusion< TElastix >::AfterEachIteration ( void  ) [virtual]

Execute stuff after each iteration:

  • Do a diffusion of the deformation field.

Reimplemented from elastix::BaseComponent.

template<class TElastix >
virtual void elastix::BSplineTransformWithDiffusion< TElastix >::AfterRegistration ( void  ) [virtual]

Execute stuff after registration:

  • Destroy things that are not needed anymore in order to free memory.

Reimplemented from elastix::BaseComponent.

template<class TElastix >
virtual void elastix::BSplineTransformWithDiffusion< TElastix >::BeforeEachResolution ( void  ) [virtual]

Execute stuff before each new pyramid resolution:

  • upsample the B-spline grid.

Reimplemented from elastix::BaseComponent.

template<class TElastix >
virtual void elastix::BSplineTransformWithDiffusion< TElastix >::BeforeRegistration ( void  ) [virtual]

Execute stuff before the actual registration:

  • Create an initial B-spline grid.
  • Create initial registration parameters.
  • Setup stuff for the diffusion of the deformation field.

Reimplemented from elastix::BaseComponent.

template<class TElastix >
void elastix::BSplineTransformWithDiffusion< TElastix >::DiffuseDeformationField ( void  )

Diffuse the deformation field.

template<class TElastix >
elastix::BSplineTransformWithDiffusion< TElastix >::elxClassNameMacro ( "BSplineTransformWithDiffusion< TElastix >"  )

Name of this class. Use this name in the parameter file to select this specific transform.
example: (Transform "BSplineTransformWithDiffusion")

template<class TElastix >
virtual const char* elastix::BSplineTransformWithDiffusion< TElastix >::GetClassName ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from elastix::TransformBase< TElastix >.

template<class TElastix >
virtual void elastix::BSplineTransformWithDiffusion< TElastix >::IncreaseScale ( void  ) [virtual]

Upsample the B-spline grid.

template<class TElastix >
elastix::BSplineTransformWithDiffusion< TElastix >::itkStaticConstMacro ( SpaceDimension  ,
unsigned  int,
Superclass2::FixedImageDimension   
)

Dimension of the domain space.

template<class TElastix >
elastix::BSplineTransformWithDiffusion< TElastix >::itkStaticConstMacro ( SplineOrder  ,
unsigned  int,
__VSplineOrder   
)

The B-spline order.

template<class TElastix >
static Pointer elastix::BSplineTransformWithDiffusion< TElastix >::New ( ) [static]
template<class TElastix >
void elastix::BSplineTransformWithDiffusion< TElastix >::operator= ( const Self ) [private]

The private copy constructor.

template<class TElastix >
virtual void elastix::BSplineTransformWithDiffusion< TElastix >::ReadFromFile ( void  ) [virtual]

Function to read transform-parameters from a file.

Reimplemented from elastix::TransformBase< TElastix >.

template<class TElastix >
virtual void elastix::BSplineTransformWithDiffusion< TElastix >::SetInitialGrid ( bool  upsampleGridOption) [virtual]

Set the initial B-spline grid.

template<class TElastix >
virtual OutputPointType elastix::BSplineTransformWithDiffusion< TElastix >::TransformPoint ( const InputPointType point) const [virtual]

Method to transform a point. This method just calls the implementation from the GenericDeformationFieldRegulizer. This is necessary, since: The DeformationFieldRegulizerFor is used which expects that its template argument is a BSplineDeformableTransform. This is not the case, because we gave it a BSplineCombinationTransform. This last class has a slightly different behavior of the TransformPoint() method (it does not call the TransformPoint() with with 5 arguments, as the BSplineDeformableTransform does).

Reimplemented from itk::DeformationFieldRegulizer< AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > >.

template<class TElastix >
virtual void elastix::BSplineTransformWithDiffusion< TElastix >::WriteToFile ( const ParametersType param) const [virtual]

Function to write transform-parameters to a file.

Reimplemented from elastix::TransformBase< TElastix >.


Field Documentation

template<class TElastix >
bool elastix::BSplineTransformWithDiffusion< TElastix >::m_AlsoFixed [private]

Definition at line 394 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
ParametersType elastix::BSplineTransformWithDiffusion< TElastix >::m_BSplineParameters [private]

The B-spline parameters, which is going to be filled with zeros.

Definition at line 401 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
BSplineTransformPointer elastix::BSplineTransformWithDiffusion< TElastix >::m_BSplineTransform [private]

The internal BSplineTransform, set as a current transform in the combination transform.

Definition at line 406 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
VectorImageType::Pointer elastix::BSplineTransformWithDiffusion< TElastix >::m_DeformationField [private]

Definition at line 375 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
OriginType elastix::BSplineTransformWithDiffusion< TElastix >::m_DeformationOrigin [private]

Definition at line 389 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
RegionType elastix::BSplineTransformWithDiffusion< TElastix >::m_DeformationRegion [private]

Definition at line 388 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
SpacingType elastix::BSplineTransformWithDiffusion< TElastix >::m_DeformationSpacing [private]

Definition at line 390 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
VectorImageType::Pointer elastix::BSplineTransformWithDiffusion< TElastix >::m_DiffusedField [private]

Definition at line 376 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
DiffusionFilterType::Pointer elastix::BSplineTransformWithDiffusion< TElastix >::m_Diffusion [private]

Member variables for diffusion.

Definition at line 374 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
std::string elastix::BSplineTransformWithDiffusion< TElastix >::m_FixedSegmentationFileName [private]

Definition at line 384 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
GrayValueImageType::Pointer elastix::BSplineTransformWithDiffusion< TElastix >::m_FixedSegmentationImage [private]

Definition at line 380 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
GrayValueImageReaderType::Pointer elastix::BSplineTransformWithDiffusion< TElastix >::m_FixedSegmentationReader [private]

Definition at line 382 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
GrayValueImageType::Pointer elastix::BSplineTransformWithDiffusion< TElastix >::m_GrayValueImage1 [private]

Definition at line 377 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
GrayValueImageType::Pointer elastix::BSplineTransformWithDiffusion< TElastix >::m_GrayValueImage2 [private]

Definition at line 378 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
SpacingType elastix::BSplineTransformWithDiffusion< TElastix >::m_GridSpacingFactor [protected]

Member variables.

Definition at line 361 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
InterpolatorType::Pointer elastix::BSplineTransformWithDiffusion< TElastix >::m_Interpolator [private]

Definition at line 387 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
std::string elastix::BSplineTransformWithDiffusion< TElastix >::m_MovingSegmentationFileName [private]

Definition at line 383 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
GrayValueImageType::Pointer elastix::BSplineTransformWithDiffusion< TElastix >::m_MovingSegmentationImage [private]

Definition at line 379 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
GrayValueImageReaderType::Pointer elastix::BSplineTransformWithDiffusion< TElastix >::m_MovingSegmentationReader [private]

Definition at line 381 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
ResamplerType1::Pointer elastix::BSplineTransformWithDiffusion< TElastix >::m_Resampler1 [private]

Definition at line 385 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
ResamplerType2::Pointer elastix::BSplineTransformWithDiffusion< TElastix >::m_Resampler2 [private]

Definition at line 386 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
bool elastix::BSplineTransformWithDiffusion< TElastix >::m_ThresholdBool [private]

Definition at line 395 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
GrayValuePixelType elastix::BSplineTransformWithDiffusion< TElastix >::m_ThresholdHU [private]

Definition at line 396 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
bool elastix::BSplineTransformWithDiffusion< TElastix >::m_UseFixedSegmentation [private]

Definition at line 398 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
bool elastix::BSplineTransformWithDiffusion< TElastix >::m_UseMovingSegmentation [private]

Definition at line 397 of file elxBSplineTransformWithDiffusion.h.

template<class TElastix >
bool elastix::BSplineTransformWithDiffusion< TElastix >::m_WriteDiffusionFiles [private]

Member variables for writing diffusion files.

Definition at line 393 of file elxBSplineTransformWithDiffusion.h.



Generated on 24-10-2011 for elastix by doxygen 1.7.4 elastix logo