Fill holes in objects

Fills holes in all objects in a collection.

Description

Fills holes in all objects in a collection. Holes are considered as non-object regions bounded on all sides by object coordinates. This operation is performed on an object-by-object basis, so only holes bounded by coordinates of the same object will be filled. Holes can be filled slice-by-slice in 2D (considering only coordiantes in a single XY plane using 4-way connectivity) or in full 3D (considering all surrounding coordinates using 6-way connectivity). Input objects can be updated with the post-hole filling coordinates, or all output objects can be stored in the workspace as a new collection.

Parameters

Parameter Description
Input objects Object collection from the workspace to apply fill holes operation to.
Update input objects 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 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 Controls whether the holes are filled in 2D or 3D:
  • "Fill holes 2D" Holes are considered on a slice-by-slice basis (i.e. 4-way connectivity within a slice). This can be applied to both 2D and 3D objects.
  • "Fill holes 2D" Holes are considered in 3D (i.e. 6-way connectivity). Note: If a 2D object (either from a 2D or 3D source) is loaded, no holes will be filled, as the top and bottom will be considered "open".