New Mask
The New Mask tool creates an empty mask object associated with the current volume data. This provides a blank canvas for manual segmentation or as a target for other segmentation operations.
Accessing the Tool
- Navigate to the Segmentation tab in the ribbon.
- Click New Mask in the Create Mask section.
Parameters
Mask Settings
| Parameter | Description |
|---|---|
| Name | The name for the new mask object. Must be unique within the project. |
| Auto Color | When enabled, automatically assigns a color to the mask. |
| Color | The display color for the mask (available when Auto Color is disabled). |
Workflow
- Open the New Mask tool from the Segmentation tab.
- Enter a descriptive Name for the mask.
- Either enable Auto Color or click the Color button to select a specific color.
- Click Create to generate the mask.
The new mask appears in the Object Browser with the same dimensions, spacing, and origin as the active volume. All voxels are initialized to zero (empty).
Use Cases
- Manual Segmentation: Create a blank mask, then use the Edit Mask tool to draw regions manually.
- Template for Operations: Create masks that will receive segmentation results from other tools.
- Multi-Mask Workflows: Create multiple blank masks to segment different structures in the same dataset.
Scripting
This operation is available via the Python scripting API:
import ScriptingApi as api
app = api.Application()
mask_operations = app.get_mask_operations()
# Create a new blank mask
mask_name = mask_operations.create_mask("MyMask")
See the MaskOperations API Reference for details.
See Also
- Edit Mask — Draw and paint on masks.
- Threshold — Create masks by thresholding.
- Segmentation Tab Overview — Overview of all segmentation tools.