XMarkerListDistance¶
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 as
PCLCloudDistances,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.
Windows¶
Default Panel¶
Input Fields¶
inMarkerList0¶
- name: inMarkerList0, type: MLBase, deprecated name: inputMarkerList0¶
 An XMarkerList.
inMarkerList1¶
- name: inMarkerList1, type: MLBase, deprecated name: inputMarkerList1¶
 An XMarkerList.
Output Fields¶
outDistanceCurves¶
- name: outDistanceCurves, type: MLBase¶
 A CurveList with three curves (for Manhattan, Euclidean and Chebyshev distance measure) containing the marker-wise distances. The points are aligned with the left input marker list.
Parameter Fields¶
Field Index¶
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
|
  | 
  | 
  | 
  | 
  | 
|
  | 
  | 
Visible Fields¶
Update¶
- name: update, type: Trigger¶
 Initiates update of all output field values.
Clear¶
- name: clear, type: Trigger¶
 Clears all output field values to a clean initial state.
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.
Has Valid Output¶
- name: hasValidOutput, type: Bool, persistent: no¶
 Indicates validity of output field values (success of computation).
[]¶
- name: updateDone, type: Trigger, persistent: no¶
 Notifies that an update was performed (Check status interface fields to identify success or failure).