Back to module list
Get local object region
Description
Creates a local object region (sphere centred on the centroid of the input object) for each object in a specified object collection. The radius of each local region can be based on a fixed value, or taken from an object measurement. Local object regions are stored as children of their respective input object.
Parameters
- Input objects (default = "") Object collection from the workspace for which local object regions will be generated. One region will be generated for each object and assigned as a child of the respective input object.
- Output objects (default = "") Output local region objects to add to the workspace. Each local object region is a sphere with centroid coincident with the centroid of the corresponding input object. These objects are assigned as a child of their respective input object.
- Radius value source (default = "Fixed value") Controls how the radius of the spot is defined:
- "Fixed value" A single radius, defined by "Fixed value" will be used for all objects.
- "Measurement" The radius will be equal to the value of a measurement (specified by "Radius measurement") associated with the object being measured. Radii will potentially be different for each object.
- "Parent measurement" The radius will be equal to the value of a measurement (specified by "Parent radius measurement") associated a parent of the object being measured (specified by "Parent object"). Radii will potentially be different for each object.
- "Single point" The output objects will all be a single point corresponding to the centroid of the input object.
- Fixed value (default = "2.0") Fixed spot radius to use for generating all local object regions when "Radius value source" is in "Fixed value" mode.
- Radius measurement (default = "") Measurement associated with the input object. This will be used as spot the radius for generating the local object region when "Radius value source" is in "Measurement" mode.
- Parent object (default = "") Parent object of the input object being processed. This parent will provide the measurement (specified by "Parent radius measurement") to be used as the spot radius for generating the local object region when "Radius value source" is in "Parent measurement" mode.
- Parent radius measurement (default = "") Measurement associated with a parent of the input object. This will be used as the spot radius for generating the local object region when "Radius value source" is in "Parent measurement" mode.
- Calibrated units (default = "false") When selected, spot radius values (irrespective of whether they are fixed values, measurements or parent measurements) are assumed to be specified in calibrated units (as defined by the "Input control" parameter "Spatial unit"). Otherwise, pixel units are assumed.