Add relationship connection
Adds a series of line overlays, representing various relationship scenarios.
Description
Adds a series of line overlays, representing various relationship scenarios. Lines extend between centroids of two objects. Depicted relationships can be between mutual child of the same parent object, between partner objects of between children and parents.
Parameters
Parameter | Description |
---|---|
Colour mode | Method for assigning colour of each object:
|
Colour map | Colourmap used for colour gradients. This parameter is used if "Colour mode" is set to any mode which yields a range of colours (e.g. measurements or IDs). Choices are: Black fire, Ice, Jet, Physics, Random, Random (vibrant), Spectrum, Thermal. |
Single colour | Colour for all object overlays to be rendered using. This parameter is used if "Colour mode" is set to "Single colour". Choices are: White, Black, Red, Orange, Yellow, Green, Cyan, Blue, Violet, Magenta. |
Child objects for colour | Object collection used to determine the colour based on number of children per object when "Colour mode" is set to "Child count". These objects will be children of the input objects. |
Measurement for colour | Measurement used to determine the colour when "Colour mode" is set to either "Measurement value" or "Parent measurement value". |
Parent object for colour | Object collection used to determine the colour based on either the ID or measurement value of a parent object when "Colour mode" is set to either "Parent ID" or "Parent measurement value". These objects will be parents of the input objects. |
Partner objects for colour | Object collection used to determine the colour based on number of partners per object when "Colour mode" is set to "Partner count". These objects will be partners of the input objects. |
Opacity (%) | Opacity of the overlay to be rendered. This is a value between 0 (totally transparent) and 100 (totally opaque). |
Range minimum mode | Controls whether the minimum range for displayed colours is set automatically to the minimum available value (e.g. the smallest measurement being rendered), or whether it is defined manually by the "Minimum value" parameter. |
Minimum value | When "Range minimum mode" is set to "Manual", this is the minimum value that will be displayed as a unique colour. All values smaller than this will be displayed with the same colour. |
Range maximum mode | Controls whether the maximum range for displayed colours is set automatically to the maximum available value (e.g. the largest measurement being rendered), or whether it is defined manually by the "Maximum value" parameter. |
Maximum value | When "Range maximum mode" is set to "Manual", this is the maximum value that will be displayed as a unique colour. All values larger than this will be displayed with the same colour. |
Input image | Image onto which overlay will be rendered. Input image will only be updated if "Apply to input image" is enabled, otherwise the image containing the overlay will be stored as a new image with name specified by "Output image". |
Line mode | Controls what object-object relationships will be represented by the lines. In all cases, lines are drawn between object centroids, although the line start and end points can be offset along the line when the "Offset by measurement" setting is selected: - "Between children" Draw lines between all objects in two child object sets of a common parent object ("Parent objects"). This will result in all permutations of lines between one child object set and the other The child object sets are selected with the "Child objects 1" and "Child objects 2" parameters. - "Between partners" Draw lines between all partner objects. The two partner object sets are selected using the "Partner objects 1" and "Partner objects 2" parameters. - "Parent to child" Draw lines between parent objects and all their children. Parent objects are selected using the "Parent objects" parameter and children using the "Child objects 1" parameter.. |
Parent objects | Used to select the parent object of the two child object sets when in "Between children" mode, or to select the parent objects in "Parent to child" mode. |
Child objects 1 | Selects the first child objects set when in "Between children" mode, or the (only) child set when in "Parent to child" mode. |
Child objects 2 | Selects the second child objects set when in "Between children" mode. |
Partner objects 1 | Selects the first partner objects set when in "Between partners" mode. |
Partner objects 2 | Selects the second partner objects set when in "Between partners" mode. |
Apply to input image | Determines if the modifications made to the input image (added overlay elements) will be applied to that image or directed to a new image. When selected, the input image will be updated. |
Add output image to workspace | If the modifications (overlay) aren't being applied directly to the input image, this control will determine if a separate image containing the overlay should be saved to the workspace. |
Output image | The name of the new image to be saved to the workspace (if not applying the changes directly to the input image). |
Render mode | Controls how the line is displayed between the centroids of the relevant two objects: - "Full line" Draws a complete line between the two centroids (unless "Offset by measurement" is selected, in which case the line won't necessarily begin at the centroid). - "Half line" Draws a line between the first object (either "Child objects 1", "Partner objects 1" or "Parent objects" when in "Between children", "Between partners" or "Parent to child" modes, respectively) and the mid-point between the two relevant objects. Any offsets applied when "Offset by measurement" is selected still apply. - "Midpoint dot" Draws a dot half way between the two relevant objects (no line is drawn). |
Line width | Width of the rendered lines. Specified in pixel units. |
Point size | Size of each overlay marker. Choices are: Tiny, Small, Medium, Large, Extra large. |
Point type | Type of overlay marker used to represent each object. Choices are: Circle, Cross, Dot, Hybrid. |
Offset by measurement | When selected, the lines at either end can start a fraction of the way between the two relevant object centroids. Separate offsets are applied at each end, with measurements providing the offset values selected using the "Measurement name 1" and "Measurement name 2" parameters. For example. This is useful when it is preferable to not have the line extend all the way between centroids. |
Measurement name 1 | Object measurement specifying offset to be applied to the line start point. Offsets are fractional values, specifying the proportion of the line to ignore. For example, dual offsets of 0.25 will result in a line half the usual length. |
Measurement name 2 | Object measurement specifying offset to be applied to the line end point. Offsets are fractional values, specifying the proportion of the line to ignore. For example, dual offsets of 0.25 will result in a line half the usual length. |
Render in all frames | Display the overlay elements in all frames (time axis) of the input image stack, irrespective of whether the object was present in that frame. |
Enable multithreading | Process multiple overlay elements simultaneously. This can provide a speed improvement when working on a computer with a multi-core CPU. |