MarkerPCA¶
-
MLModule
¶ genre Marker
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLGeometry1
definition MLGeometry1.def keywords XMarker
,main
,axis
,bounding
,box
Purpose¶
The MarkerPCA
module does a principal component analysis (PCA) on the 3D positions of the markers.
The resulting eigenvectors and eigenvalues are sorted so that the largest eigenvalue comes first.
Input Fields¶
inMarkerList¶
-
name:
inMarkerList
, type:
XMarkerList(MLBase)
¶ The input markers list.
For accessing this object via scripting see the Scripting Reference:MLXMarkerListWrapper
.
Parameter Fields¶
Field Index¶
Center : Vector3 |
Update : Trigger |
Center Of Mass : Vector3 |
Valid : Bool |
Longest Axis : Vector3 |
|
Longest Extent : Float |
|
Middle Axis : Vector3 |
|
Middle Extent : Float |
|
Shortest Axis : Vector3 |
|
Shortest Extent : Float |
Visible Fields¶
Longest Extent¶
-
name:
longestExtent
, type:
Float
, persistent:
no
¶ The extent along the longest axis.
Shortest Extent¶
-
name:
shortestExtent
, type:
Float
, persistent:
no
¶ The extent along the shortest axis.
Center¶
-
name:
center
, type:
Vector3
, persistent:
no
¶ The center (aka midpoint). This can be used to calculate/render the object aligned bounding box by adding/subtracting the axes multiplied by half their extent.