add masking to stats

This commit is contained in:
2026-04-16 00:06:15 -07:00
parent 31422e76db
commit 9fbd305854
3 changed files with 63 additions and 4 deletions

View File

@@ -7,6 +7,7 @@ Compute basic surface statistics: min, max, mean, RMS roughness, median, and ske
| Name | Type | Required | Description |
|------|------|----------|-------------|
| field | DATA_FIELD | Yes | Input field to analyze |
| mask | IMAGE | No | Optional binary mask — only pixels inside the mask contribute to the statistics |
## Outputs
@@ -20,4 +21,4 @@ None.
## Notes
- None.
- When a mask is provided, it must match the field's pixel resolution. Only pixels where the mask is non-zero are included in the statistics.