selectMarkersForRigidFill
Description
This command compares the data on each side of a gap to other markers to determine if they move rigidly with the selected marker around the gap.
The fragment considered on each side of the gap must be at least 1 and is clamped at no more than 360 keys. Gaps within the range of 10 or less are considered part of the fragment.
Markers considered are first those in the same subject, but if no candidates are found, it expands to all markers (labeled and unlabeled). This is limited by a maximum distance (specified by maxDistance
) that the marker can be from the selected marker. It also requires the candidate markers have data on each side of the gap.
A set of markers that are rigid to the selected marker is found. If multiple sets exist, the first set that is 100% rigid is found, or else the set with the best score.
From the rigid set, the six markers (maximum) closest to the selected marker are used.
Functional area
Selection
Command syntax
Syntax
selectMarkersForRigidFill maxDeviation maxDistance percentTimeRigid |
Arguments
Name | Type | Comments |
---|---|---|
maxDeviation | Specifies in mm how rigid the set of markers used to fill must be as the max deviation in distance between all pairs in the set. For example, a value of 60 would mean the markers may flex in rigidity by 6 cm. | |
maxDistance | Specifies how far away in mm the candidate can be from the selected marker. The default of900 is just under 3 feet, because anything more is likely another subject or body part which isn't likely to move rigidly during the gap. | |
percentTimeRigid | Specifies the percentage of time over the adjacent fragment ranges that the selected marker must be rigid with the chosen set. The default of 0.75 means 75% of the time. |
Flags
None.
Return value
void