auto_crop
auto_cropTrim registration edges by detecting rows and columns with excessive zero pixels, then crop them with optional padding. Use dry-run to preview crop rectangle before applying.
Instructions
Trim registration edges: finds rows/columns with > max_zero_fraction zero pixels and crops them (+pad). dry_run reports the rect only. Checkpoints first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| pad | No | ||
| dry_run | No | ||
| threshold | No | ||
| checkpoint | No | Write an .xisf checkpoint before running (default true) | |
| max_zero_fraction | No |