Filter objects
DEPRECATED: Please use individual filter modules instead (e.
Description
DEPRECATED: Please use individual filter modules instead (e.g. "Based on measurement").
Filter an object collection based on a variety of properties. Objects that satisfy the relevant condition can be removed from the input collection, moved to another collection (and removed from the input collection) or simply counted (but retained in the input collection).
Parameters
Parameter | Description |
---|---|
Input objects | Objects to be filtered. |
Filter mode | Controls what happens to objects which don't pass the filter:
|
Output (filtered) objects | New object collection containing input objects which did not pass the filter. These objects are only stored if "Filter mode" is set to "Move filtered objects to new class". |
Method for filtering | Controls the type of filter being used:
|
Include Z-position | When selected, object pixels which make contact with the lower (z = 0) and upper (z = max_value) slices of the image stack will lead to removal of that object. If not selected, pixels along this edge will be ignored (i.e. contact won't lead to object removal). If enabled for single slice stacks all objects will removed. |
Measurement to filter on | Objects will be filtered against their value of this measurement. Objects missing this measurement are not removed; however, they can be removed by using the module "With / without measurement". |
Parent object | Parent object to filter by. The presence or absence of this relationship will determine which of the input objects are counted, removed or moved (depending on the "Filter mode" parameter). |
Child objects | Objects will be filtered against the number of children they have from this object collection. |
Reference mode | Type of reference value used to compare objects to:
|
Reference value | When "Reference mode" is set to "Fixed value", all objects will be compared to this fixed value. |
Reference value image | When "Reference mode" is set to "Image measurement", all objects will be compared to a measurement associated with this image. |
Reference image measurement | When "Reference mode" is set to "Image measurement", all objects will be compared to this measurement, which itself is associated with the image specified by "Reference value image". |
Reference value parent object | When "Reference mode" is set to "Parent object measurement", all objects will be compared to a measurement associated with their parent object from this collection. |
Reference object measurement | When "Reference mode" is set to "Parent object measurement", all objects will be compared to this measurement, which itself is associated with the parent object specified by "Reference value parent object". |
Reference value multiplier | Irrespective of how the reference value was determined, it can be systematically adjusted prior to use for comparison using this multiplier. For example, an image measurement reference value of 32 with a "Reference value multiplier" of "0.5" will see all objects compared against a value of 16. This is useful when comparing to dynamic values coming from image and parent object measurements. |
Show image | When selected, a specific image will be displayed when this module executes. This can be used to display a pre-prepared, object ID-labelled image to the user, thus acting as a reference for which object IDs to remove. The image to be displayed is set using the "Image to display" parameter. |
Image to display | Image to display when the module executes. For example, this could be a pre-prepared image with object IDs inserted as text overlays using the "Add labels" module. |