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