Relate objects
Relate objects of two classes based on a variety of metrics (e.
Description
Relate objects of two classes based on a variety of metrics (e.g. spatial overlap or proximity). The assigned relationships are of the form many-to-one, where many input "child" objects can be related to at most, one "parent" object. Measurements associated with this relationship (e.g. distance from child to parent surface) are stored as measurements of the relevant child object.
Parameters
Parameter | Description |
---|---|
Parent (larger) objects | Input reference objects. The "Child (smaller) objects" will be related to these, with children assigned one parent based on, for example, closest proximity or maximum spatial overlap. There's no guarantee of each parent object being assigned at least one child. |
Child (smaller) objects | Objects to relate to the parents. Each child will be assigned at most one parent. There's no guarantee a child will be assigned any parent, especially when using options such as "Limit linking by distance". |
Method to relate objects | The metric by which parent and child objects will be related:
|
Reference point | Controls the method used for determining proximity-based relationships:
|
Limit linking by distance | When selected, objects will only be related if the distance between them (as calculated by the "Reference point" metric) is less than or equal to the distance defined by "Maximum linking distance (px)". |
Maximum linking distance (px) | If "Limit linking by distance" is selected, this is the maximum permitted distance between objects for them to be assigned a relationship. |
Inside/outside mode | When relating children to parent surfaces it's possible to only include children inside, outside or on the edge of the parent.This parameter controls which children are allowed to be related to the parents. Choices are: Inside and outside (all distances), Inside only (distances < 0), Inside and on surface (distances <= 0), On surface only (distances = 0), Outside and on surface (distances >= 0), Outside only (distances > 0). |
Minimum percentage overlap | Percentage of total child volume overlapping with the parent object. |
Require centroid overlap | When selected, child objects are only related to a parent if their centroid is inside the parent object (i.e. the child object centroid is coincident with a parent object coordinate). |
Only link objects in same frame | When selected, child and parent objects must be in the same time frame for them to be linked. |
Merge related objects | When selected, any merged children and parents will be removed from their respective object collections, combined into a single object (one merged object per parent and associated children) and stored in a new object collection. |
Output overlapping objects | If "Merge related objects" is selected, this is the name of the output related objects collection that will be stored in the workspace. |