Parameters
Input objects (default = "") Object collection from the workspace to apply the expand or shrink operation to.
Update input objects (default = "true") When selected, the post-operation objects will update the input objects in the workspace (all measurements and relationships will be retained). Otherwise, the objects will be saved to the workspace in a new collection with the name specified by the "Output objects" parameter. Note: If updating the objects, any previously-measured object properties (e.g. object volume) may become invalid. To update such measurements it's necessary to re-run the relevant measurement modules.
Output objects (default = "") If "Update input objects" is not selected, the post-operation objects will be saved to the workspace in a new collection with this name.
Method (default = "Expand 2D") Controls which expand or shrink operation is applied to the input objects:
- "Expand 2D" Adds any non-object coordinates within "Radius change" of the object to the object. This operates in a slice-by-slice manner, irrespective of whether a 2D or 3D object is provided. This effectively runs a 2D binary dilation operation on each object. Uses ImageJ implementation.
- "Expand 3D" Adds any non-object coordinates within "Radius change" of the object to the object. This effectively runs a 3D binary dilation operation on each object. Uses MorphoLibJ implementation.
- "Shrink 2D" Removes any object coordinates within "Radius change" of the object boundary from the object. This operates in a slice-by-slice manner, irrespective of whether a 2D or 3D object is provided. This effectively runs a 2D binary erosion operation on each object. Uses ImageJ implementation.
- "Shrink 3D" Removes any object coordinates within "Radius change" of the object boundary from the object. This effectively runs a 3D binary erosion operation on each object. Uses MorphoLibJ implementation.
Radius change (default = "1.0") Distance from the object boundary to test for potential inclusion or removal of coordinates. When expanding, any non-object coordinates within this distance of the object are included in the object. While shrinking, any object coordinates within this distance of the object boundary are removed from the object. This value is assumed specified in pixel coordinates unless "Calibrated units" is selected.
Calibrated units (default = "false") When selected, "Radius change" is assumed to be specified in calibrated units (as defined by the "Input control" parameter "Spatial unit"). Otherwise, pixel units are assumed.