XMarkerListDistance¶
-
MLModule
¶ author Tobias Boehler
package FMEstable/ReleaseMeVis
dll MLXMarkerListDistance
definition mlXMarkerListDistance.def keywords XMarkerList
,distance
,marker
,list
,markerlist
,euclidean
,manhattan
,cityblock
,taxicab
,norm
,metric
Purpose¶
This module calculates the distance between two marker lists.
This module has a computation complexity of O(n*n). Take this in consideration if the number of XMarkers exceeds a few thousand, because otherwise the computing time easily becomes relevant. You may want to consider alternatives such asPCLCloudDistances
,itkHausdorffDistanceImageFilter
, MaskSurfaceDistance or other itk*Distance*ImageFilters.
Usage¶
Connect two marker lists (inMarkerList0
, inMarkerList1
), press Update
and read the distances from the various output fields.
Details¶
Distances are computed between all markers using the Manhattan distance (1-norm), Euclidean distance (2-norm) and the Chebyshev distance.
The output fields (outManhattanDistanceField
, outManhattanDistanceMinField
etc.) provide the condensed distances. The curves at outDistanceCurves
provide the individual distances between markers.
Tips¶
To calculate distances for XMarkerLists with different sizes, check both inAllowDifferentListSizes
and inSelectClosestMarker
.
Input Fields¶
Output Fields¶
Parameter Fields¶
Field Index¶
[] : Trigger |
outChebyshevDistanceMaxField : Double |
outManhattanDistanceMaxField : Double |
Clear : Trigger |
outChebyshevDistanceMinField : Double |
outManhattanDistanceMinField : Double |
doNotClearOnFailedUpdate : Bool |
outChebyshevDistanceVariance : Double |
outManhattanDistanceVariance : Double |
Has Valid Output : Bool |
outEuclideanDistanceField : Double |
Status Code : Enum |
inAllowDifferentListSizes : Bool |
outEuclideanDistanceMaxField : Double |
Status Message : String |
inSelectClosestMarker : Bool |
outEuclideanDistanceMinField : Double |
Update : Trigger |
On Input Change Behavior : Enum |
outEuclideanDistanceVariance : Double |
|
outChebyshevDistanceField : Double |
outManhattanDistanceField : Double |
Visible Fields¶
On Input Change Behavior¶
-
name:
onInputChangeBehavior
, type:
Enum
, default:
Clear
, deprecated name:
shouldAutoUpdate,shouldUpdateAutomatically
¶ Declares how the module should react if a value of an input field changes.
Values:
Title | Name | Deprecated Name |
---|---|---|
Update | Update | TRUE |
Clear | Clear | FALSE |
Status Code¶
-
name:
statusCode
, type:
Enum
, persistent:
no
¶ Reflects module’s status (successful or failed computations) as one of some predefined enumeration values.
Values:
Title | Name |
---|---|
Ok | Ok |
Invalid input object | Invalid input object |
Invalid input parameter | Invalid input parameter |
Internal error | Internal error |
Status Message¶
-
name:
statusMessage
, type:
String
, persistent:
no
¶ Gives additional, detailed information about status code as human-readable message.