Procrustes3D
Public Types
| Name | |
|---|---|
| typedef double | RealType |
| typedef vnl_vector_fixed< double, 3 > | PointType |
| typedef std::vector< PointType > | ShapeType |
| typedef ShapeType::iterator | ShapeIteratorType |
| typedef std::vector< ShapeType > | ShapeListType |
| typedef ShapeListType::iterator | ShapeListIteratorType |
| typedef std::vector< SimilarityTransform3D > | SimilarityTransformListType |
| typedef SimilarityTransformListType::iterator | SimilarityTransformListIteratorType |
| typedef vnl_matrix_fixed< double, 3+1, 3+1 > | TransformMatrixType |
| typedef std::vector< TransformMatrixType > | TransformMatrixListType |
| typedef TransformMatrixListType::iterator | TransformMatrixIteratorType |
Public Functions
| Name | |
|---|---|
| Procrustes3D() | |
| Procrustes3D(bool do_scaling, bool do_rotation_translation) | |
| bool | GetScaling() const |
| void | ScalingOn() |
| void | ScalingOff() |
| bool | GetRotationTranslation() const |
| void | RotationTranslationOn() |
| void | RotationTranslationOff() |
| void | AlignShapes(SimilarityTransformListType & transforms, ShapeListType & shapes) |
| void | RemoveTranslation(SimilarityTransformListType & transforms, ShapeListType & shapes) |
| void | ConstructTransformMatrices(SimilarityTransformListType & transforms, TransformMatrixListType & transformMatrices) |
| void | ConstructTransformMatrix(SimilarityTransform3D & transform, TransformMatrixType & transformMatrix) |
| void | ComputeMeanShape(ShapeType & mean, ShapeListType & shapeList) |
| void | ComputeCenterOfMass(ShapeType & shape, PointType & center) |
| void | CenterShape(ShapeType & shape) |
| void | ComputeCommonCenter(SimilarityTransformListType & transforms, PointType & center) |
| void | AlignSourceToTarget(SimilarityTransform3D & transform, ShapeType & target, ShapeType & source) |
| int | ComputeMedianShape(ShapeListType & shapeList) |
| void | TransformShape(ShapeType & shape, SimilarityTransform3D & transform) |
| void | TransformShapes(ShapeListType & shapes, SimilarityTransformListType & transforms) |
| RealType | ComputeSumOfSquares(ShapeListType & shapes) |
Public Types Documentation
typedef RealType
cpp
typedef double Procrustes3D::RealType;
typedef PointType
cpp
typedef vnl_vector_fixed<double, 3> Procrustes3D::PointType;
typedef ShapeType
cpp
typedef std::vector<PointType> Procrustes3D::ShapeType;
typedef ShapeIteratorType
cpp
typedef ShapeType::iterator Procrustes3D::ShapeIteratorType;
typedef ShapeListType
cpp
typedef std::vector<ShapeType> Procrustes3D::ShapeListType;
typedef ShapeListIteratorType
cpp
typedef ShapeListType::iterator Procrustes3D::ShapeListIteratorType;
typedef SimilarityTransformListType
cpp
typedef std::vector<SimilarityTransform3D> Procrustes3D::SimilarityTransformListType;
typedef SimilarityTransformListIteratorType
cpp
typedef SimilarityTransformListType::iterator Procrustes3D::SimilarityTransformListIteratorType;
typedef TransformMatrixType
cpp
typedef vnl_matrix_fixed<double, 3 + 1, 3 + 1> Procrustes3D::TransformMatrixType;
typedef TransformMatrixListType
cpp
typedef std::vector<TransformMatrixType> Procrustes3D::TransformMatrixListType;
typedef TransformMatrixIteratorType
cpp
typedef TransformMatrixListType::iterator Procrustes3D::TransformMatrixIteratorType;
Public Functions Documentation
function Procrustes3D
cpp
inline Procrustes3D()
function Procrustes3D
cpp
inline Procrustes3D(
bool do_scaling,
bool do_rotation_translation
)
function GetScaling
cpp
inline bool GetScaling() const
function ScalingOn
cpp
inline void ScalingOn()
function ScalingOff
cpp
inline void ScalingOff()
function GetRotationTranslation
cpp
inline bool GetRotationTranslation() const
function RotationTranslationOn
cpp
inline void RotationTranslationOn()
function RotationTranslationOff
cpp
inline void RotationTranslationOff()
function AlignShapes
cpp
void AlignShapes(
SimilarityTransformListType & transforms,
ShapeListType & shapes
)
function RemoveTranslation
cpp
void RemoveTranslation(
SimilarityTransformListType & transforms,
ShapeListType & shapes
)
function ConstructTransformMatrices
cpp
void ConstructTransformMatrices(
SimilarityTransformListType & transforms,
TransformMatrixListType & transformMatrices
)
function ConstructTransformMatrix
cpp
void ConstructTransformMatrix(
SimilarityTransform3D & transform,
TransformMatrixType & transformMatrix
)
function ComputeMeanShape
cpp
void ComputeMeanShape(
ShapeType & mean,
ShapeListType & shapeList
)
function ComputeCenterOfMass
cpp
void ComputeCenterOfMass(
ShapeType & shape,
PointType & center
)
function CenterShape
cpp
void CenterShape(
ShapeType & shape
)
function ComputeCommonCenter
cpp
void ComputeCommonCenter(
SimilarityTransformListType & transforms,
PointType & center
)
function AlignSourceToTarget
cpp
void AlignSourceToTarget(
SimilarityTransform3D & transform,
ShapeType & target,
ShapeType & source
)
function ComputeMedianShape
cpp
int ComputeMedianShape(
ShapeListType & shapeList
)
function TransformShape
cpp
static void TransformShape(
ShapeType & shape,
SimilarityTransform3D & transform
)
function TransformShapes
cpp
static void TransformShapes(
ShapeListType & shapes,
SimilarityTransformListType & transforms
)
function ComputeSumOfSquares
cpp
static RealType ComputeSumOfSquares(
ShapeListType & shapes
)
Updated on 2026-03-31 at 16:02:10 +0000