SimpleITK
1.0.1
|
A dense deformable transform over a bounded spatial domain for 2D or 3D coordinates space. More...
#include <sitkDisplacementFieldTransform.h>
Classes | |
struct | MyVisitor |
Public Types | |
typedef DisplacementFieldTransform | Self |
typedef Transform | Superclass |
Public Types inherited from itk::simple::Transform | |
typedef Transform | Self |
Public Member Functions | |
DisplacementFieldTransform (unsigned int dimensions) | |
DisplacementFieldTransform (Image &) | |
Consume an image to construct a displacement field transform. More... | |
DisplacementFieldTransform (const DisplacementFieldTransform &) | |
DisplacementFieldTransform (const Transform &) | |
Image | GetDisplacementField () const |
Image | GetInverseDisplacementField () const |
std::string | GetName () const |
DisplacementFieldTransform & | operator= (const DisplacementFieldTransform &) |
Self & | SetDisplacementField (Image &) |
Consume an image, and set the displacement field. More... | |
Self & | SetInterpolator (InterpolatorEnum interp) |
Self & | SetInverseDisplacementField (Image &) |
Self & | SetSmoothingBSplineOnUpdate (const std::vector< unsigned int > &numberOfControlPointsForUpdateField=std::vector< unsigned int >(3, 4), const std::vector< unsigned int > &numberOfControlPointsForTotalField=std::vector< unsigned int >(3, 4), bool enforceStationaryBoundary=true, unsigned int order=3) |
Self & | SetSmoothingGaussianOnUpdate (double varianceForUpdateField=1.75, double varianceForTotalField=0.5) |
Self & | SetSmoothingOff () |
Public Member Functions inherited from itk::simple::Transform | |
Self & | AddTransform (Transform t) |
unsigned int | GetDimension (void) const |
Transform | GetInverse () const |
Return a new inverse transform of the same type as this. More... | |
virtual bool | IsLinear () const |
void | MakeUnique (void) |
Performs actually coping if needed to make object unique. More... | |
virtual void | SetIdentity () |
virtual bool | SetInverse () |
Try to change the current transform to it's inverse. More... | |
std::string | ToString (void) const |
Transform (void) | |
By default a 3-d identity transform is constructed. More... | |
template<unsigned int NDimension> | |
Transform (itk::CompositeTransform< double, NDimension > *compositeTransform) | |
Construct a SimpleITK Transform from a pointer to an ITK composite transform. More... | |
Transform (itk::TransformBase *transform) | |
Transform (unsigned int dimensions, TransformEnum type) | |
Construct a specific transformation. More... | |
Transform (Image &displacement, TransformEnum type=sitkDisplacementField) | |
Use an image to construct a transform. More... | |
std::vector< double > | TransformPoint (const std::vector< double > &point) const |
void | WriteTransform (const std::string &filename) const |
virtual | ~Transform (void) |
Transform & | operator= (const Transform &) |
Copy constructor and assignment operator. More... | |
Transform (const Transform &) | |
Copy constructor and assignment operator. More... | |
itk::TransformBase * | GetITKBase (void) |
const itk::TransformBase * | GetITKBase (void) const |
void | SetParameters (const std::vector< double > ¶meters) |
std::vector< double > | GetParameters (void) const |
void | SetFixedParameters (const std::vector< double > ¶meters) |
std::vector< double > | GetFixedParameters (void) const |
Protected Member Functions | |
virtual void | SetPimpleTransform (PimpleTransformBase *pimpleTransform) |
Protected Member Functions inherited from itk::simple::Transform | |
Transform (PimpleTransformBase *pimpleTransform) | |
Private Member Functions | |
void | InternalInitialization (itk::TransformBase *transform) |
template<typename TransformType > | |
void | InternalInitialization (TransformType *transform) |
template<typename TDisplacementFieldTransform > | |
void | InternalSetSmoothingBSplineOnUpdate (TDisplacementFieldTransform *itkDisplacement, const std::vector< unsigned int > &numberOfControlPointsForUpdateField, const std::vector< unsigned int > &numberOfControlPointsForTotalField, bool enforceStationaryBoundary, unsigned int order) |
template<typename TDisplacementFieldTransform > | |
void | InternalSetSmoothingGaussianOnUpdate (TDisplacementFieldTransform *itkDisplacement, double varianceForUpdateField, double varianceForTotalField) |
template<typename TDisplacementFieldTransform > | |
void | InternalSetSmoothingOff (TDisplacementFieldTransform *itkDisplacement) |
Static Private Member Functions | |
static PimpleTransformBase * | CreateDisplacementFieldPimpleTransform (unsigned int dimension) |
template<typename TDisplacementFieldTransform > | |
static Image | InternalGetDisplacementField (const TDisplacementFieldTransform *itkDisplacementTx) |
template<typename TDisplacementFieldTransform > | |
static Image | InternalGetInverseDisplacementField (const TDisplacementFieldTransform *itkDisplacementTx) |
Private Attributes | |
nsstd::function< Image()> | m_pfGetDisplacementField |
nsstd::function< InterpolatorEnum()> | m_pfGetInterpolator |
nsstd::function< Image()> | m_pfGetInverseDisplacementField |
nsstd::function< void(Image &)> | m_pfSetDisplacementField |
nsstd::function< void(InterpolatorEnum &)> | m_pfSetInterpolator |
nsstd::function< void(Image &)> | m_pfSetInverseDisplacementField |
nsstd::function< void(const std::vector< unsigned int > &, const std::vector< unsigned int > &, bool, unsigned int)> | m_pfSetSmoothingBSplineOnUpdate |
nsstd::function< void(double, double)> | m_pfSetSmoothingGaussianOnUpdate |
nsstd::function< void()> | m_pfSetSmoothingOff |
A dense deformable transform over a bounded spatial domain for 2D or 3D coordinates space.
Definition at line 35 of file sitkDisplacementFieldTransform.h.
Definition at line 39 of file sitkDisplacementFieldTransform.h.
Definition at line 40 of file sitkDisplacementFieldTransform.h.
|
explicit |
|
explicit |
Consume an image to construct a displacement field transform.
Image must be of sitkVectorFloat64 pixel type with the number of components equal to the image dimension.
itk::simple::DisplacementFieldTransform::DisplacementFieldTransform | ( | const DisplacementFieldTransform & | ) |
|
explicit |
|
staticprivate |
Image itk::simple::DisplacementFieldTransform::GetDisplacementField | ( | ) | const |
Image itk::simple::DisplacementFieldTransform::GetInverseDisplacementField | ( | ) | const |
|
inlinevirtual |
Name of this class
Reimplemented from itk::simple::Transform.
Definition at line 63 of file sitkDisplacementFieldTransform.h.
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
DisplacementFieldTransform& itk::simple::DisplacementFieldTransform::operator= | ( | const DisplacementFieldTransform & | ) |
Consume an image, and set the displacement field.
parameters
Image must be of sitkVectorFloat64 pixel type with the number of components equal to the image dimension.
Self& itk::simple::DisplacementFieldTransform::SetInterpolator | ( | InterpolatorEnum | interp | ) |
Set the interpolator used between the field voxels.
fixed parameter
|
protectedvirtual |
Reimplemented from itk::simple::Transform.
Self& itk::simple::DisplacementFieldTransform::SetSmoothingBSplineOnUpdate | ( | const std::vector< unsigned int > & | numberOfControlPointsForUpdateField = std::vector< unsigned int >(3, 4) , |
const std::vector< unsigned int > & | numberOfControlPointsForTotalField = std::vector< unsigned int >(3, 4) , |
||
bool | enforceStationaryBoundary = true , |
||
unsigned int | order = 3 |
||
) |
Self& itk::simple::DisplacementFieldTransform::SetSmoothingGaussianOnUpdate | ( | double | varianceForUpdateField = 1.75 , |
double | varianceForTotalField = 0.5 |
||
) |
Self& itk::simple::DisplacementFieldTransform::SetSmoothingOff | ( | ) |
|
private |
Definition at line 156 of file sitkDisplacementFieldTransform.h.
|
private |
Definition at line 162 of file sitkDisplacementFieldTransform.h.
|
private |
Definition at line 159 of file sitkDisplacementFieldTransform.h.
|
private |
Definition at line 155 of file sitkDisplacementFieldTransform.h.
|
private |
Definition at line 161 of file sitkDisplacementFieldTransform.h.
|
private |
Definition at line 158 of file sitkDisplacementFieldTransform.h.
|
private |
Definition at line 166 of file sitkDisplacementFieldTransform.h.
|
private |
Definition at line 165 of file sitkDisplacementFieldTransform.h.
|
private |
Definition at line 164 of file sitkDisplacementFieldTransform.h.