plastimatch
|
#include "plmbase_config.h"
#include "itkTranslationTransform.h"
#include "itkVersorRigid3DTransform.h"
#include "itkQuaternionRigidTransform.h"
#include "itkAffineTransform.h"
#include "itkBSplineDeformableTransform.h"
#include "itkThinPlateSplineKernelTransform.h"
#include "itkSimilarity3DTransform.h"
#include "itk_image_type.h"
#include "smart_pointer.h"
#include "volume.h"
Go to the source code of this file.
Classes | |
class | Xform |
The Xform class is an abstraction that encapsulates a simple transform, either native format (B-spline or vector field), or ITK format (linear, B-spline, or vector field). More... | |
Typedefs | |
typedef itk::TranslationTransform< double, 3 > | TranslationTransformType |
typedef itk::VersorRigid3DTransform< double > | VersorTransformType |
typedef itk::QuaternionRigidTransform< double > | QuaternionTransformType |
typedef itk::AffineTransform< double, 3 > | AffineTransformType |
typedef itk::Similarity3DTransform< double > | SimilarityTransformType |
typedef itk::BSplineDeformableTransform< double, SplineDimension, SplineOrder > | BsplineTransformType |
typedef itk::ThinPlateSplineKernelTransform< float, 3 > | FloatTpsTransformType |
typedef itk::ThinPlateSplineKernelTransform< double, 3 > | DoubleTpsTransformType |
typedef DoubleTpsTransformType | TpsTransformType |
Enumerations | |
enum | Xform_type { XFORM_NONE , XFORM_ITK_TRANSLATION , XFORM_ITK_VERSOR , XFORM_ITK_QUATERNION , XFORM_ITK_SIMILARITY , XFORM_ITK_AFFINE , XFORM_ITK_BSPLINE , XFORM_ITK_TPS , XFORM_ITK_VECTOR_FIELD , XFORM_GPUIT_BSPLINE , XFORM_GPUIT_VECTOR_FIELD } |
Functions | |
Xform::Pointer | xform_load (const std::string &fn) |
Xform::Pointer | xform_load (const char *fn) |
void | xform_load (Xform *xf, const std::string &fn) |
void | xform_load (Xform *xf, const char *fn) |
void | xform_save (Xform *xf, const std::string &fn) |
void | xform_save (Xform *xf, const char *fn) |
void | xform_itk_bsp_init_default (Xform *xf) |
void | xform_itk_bsp_set_grid (Xform *xf, const BsplineTransformType::OriginType bsp_origin, const BsplineTransformType::SpacingType bsp_spacing, const BsplineTransformType::RegionType bsp_region, const BsplineTransformType::DirectionType bsp_direction) |
void | xform_to_trn (Xform *xf_out, const Xform *xf_in, Plm_image_header *pih) |
void | xform_to_vrs (Xform *xf_out, const Xform *xf_in, Plm_image_header *pih) |
void | xform_to_quat (Xform *xf_out, const Xform *xf_in, Plm_image_header *pih) |
void | xform_to_aff (Xform *xf_out, const Xform *xf_in, Plm_image_header *pih) |
void | xform_to_similarity (Xform *xf_out, const Xform *xf_in, Plm_image_header *pih) |
DeformationFieldType::Pointer | xform_gpuit_vf_to_itk_vf (Volume *vf, const Plm_image_header *pih) |
void | xform_to_itk_bsp (Xform *xf_out, const Xform *xf_in, Plm_image_header *pih, const float *grid_spac) |
void | xform_to_itk_bsp_nobulk (Xform *xf_out, Xform *xf_in, Plm_image_header *pih, const float *grid_spac) |
void | xform_to_itk_vf (Xform *xf_out, Xform *xf_in, const Plm_image_header *pih) |
void | xform_to_itk_vf (Xform *xf_out, Xform *xf_in, FloatImageType::Pointer image) |
void | xform_to_gpuit_bsp (Xform *xf_out, Xform *xf_in, Plm_image_header *pih, const float *grid_spac) |
void | xform_to_gpuit_vf (Xform *xf_out, const Xform *xf_in, const Plm_image_header *pih) |
Xform::Pointer | xform_to_aff (const Xform::Pointer &xf_in) |
Xform::Pointer | xform_to_itk_bsp (const Xform::Pointer &xf_in, Plm_image_header *pih, const float *grid_spac) |
Xform::Pointer | xform_to_itk_bsp_nobulk (const Xform::Pointer &xf_in, Plm_image_header *pih, const float *grid_spac) |
Xform::Pointer | xform_to_itk_vf (const Xform::Pointer &xf_in, Plm_image_header *pih) |
Xform::Pointer | xform_to_gpuit_bsp (const Xform::Pointer &xf_in, Plm_image_header *pih, float *grid_spac) |
Xform::Pointer | xform_to_gpuit_vf (const Xform::Pointer &xf_in, const Plm_image_header *pih) |
Variables | |
const unsigned int | SplineDimension = 3 |
const unsigned int | SplineOrder = 3 |
typedef itk::AffineTransform< double, 3 > AffineTransformType |
typedef itk::BSplineDeformableTransform< double, SplineDimension, SplineOrder > BsplineTransformType |
typedef itk::ThinPlateSplineKernelTransform< double, 3 > DoubleTpsTransformType |
typedef itk::ThinPlateSplineKernelTransform< float, 3 > FloatTpsTransformType |
typedef itk::QuaternionRigidTransform< double > QuaternionTransformType |
typedef itk::Similarity3DTransform<double> SimilarityTransformType |
typedef itk::TranslationTransform< double, 3 > TranslationTransformType |
typedef itk::VersorRigid3DTransform< double > VersorTransformType |
enum Xform_type |
DeformationFieldType::Pointer xform_gpuit_vf_to_itk_vf | ( | Volume * | vf, |
const Plm_image_header * | pih ) |
void xform_itk_bsp_init_default | ( | Xform * | xf | ) |
void xform_itk_bsp_set_grid | ( | Xform * | xf, |
const BsplineTransformType::OriginType | bsp_origin, | ||
const BsplineTransformType::SpacingType | bsp_spacing, | ||
const BsplineTransformType::RegionType | bsp_region, | ||
const BsplineTransformType::DirectionType | bsp_direction ) |
Xform::Pointer xform_load | ( | const char * | fn | ) |
Xform::Pointer xform_load | ( | const std::string & | fn | ) |
void xform_load | ( | Xform * | xf, |
const char * | fn ) |
void xform_load | ( | Xform * | xf, |
const std::string & | fn ) |
void xform_save | ( | Xform * | xf, |
const char * | fn ) |
void xform_save | ( | Xform * | xf, |
const std::string & | fn ) |
Xform::Pointer xform_to_aff | ( | const Xform::Pointer & | xf_in | ) |
void xform_to_aff | ( | Xform * | xf_out, |
const Xform * | xf_in, | ||
Plm_image_header * | pih ) |
Xform::Pointer xform_to_gpuit_bsp | ( | const Xform::Pointer & | xf_in, |
Plm_image_header * | pih, | ||
float * | grid_spac ) |
void xform_to_gpuit_bsp | ( | Xform * | xf_out, |
Xform * | xf_in, | ||
Plm_image_header * | pih, | ||
const float * | grid_spac ) |
Xform::Pointer xform_to_gpuit_vf | ( | const Xform::Pointer & | xf_in, |
const Plm_image_header * | pih ) |
void xform_to_gpuit_vf | ( | Xform * | xf_out, |
const Xform * | xf_in, | ||
const Plm_image_header * | pih ) |
Xform::Pointer xform_to_itk_bsp | ( | const Xform::Pointer & | xf_in, |
Plm_image_header * | pih, | ||
const float * | grid_spac ) |
void xform_to_itk_bsp | ( | Xform * | xf_out, |
const Xform * | xf_in, | ||
Plm_image_header * | pih, | ||
const float * | grid_spac ) |
Xform::Pointer xform_to_itk_bsp_nobulk | ( | const Xform::Pointer & | xf_in, |
Plm_image_header * | pih, | ||
const float * | grid_spac ) |
void xform_to_itk_bsp_nobulk | ( | Xform * | xf_out, |
Xform * | xf_in, | ||
Plm_image_header * | pih, | ||
const float * | grid_spac ) |
Xform::Pointer xform_to_itk_vf | ( | const Xform::Pointer & | xf_in, |
Plm_image_header * | pih ) |
void xform_to_itk_vf | ( | Xform * | xf_out, |
Xform * | xf_in, | ||
const Plm_image_header * | pih ) |
void xform_to_quat | ( | Xform * | xf_out, |
const Xform * | xf_in, | ||
Plm_image_header * | pih ) |
void xform_to_similarity | ( | Xform * | xf_out, |
const Xform * | xf_in, | ||
Plm_image_header * | pih ) |
void xform_to_trn | ( | Xform * | xf_out, |
const Xform * | xf_in, | ||
Plm_image_header * | pih ) |
void xform_to_vrs | ( | Xform * | xf_out, |
const Xform * | xf_in, | ||
Plm_image_header * | pih ) |
const unsigned int SplineDimension = 3 |
const unsigned int SplineOrder = 3 |