Files
tono/docs/nodes/Local Contrast.md
2026-03-30 23:10:42 -07:00

28 lines
969 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Local Contrast
Expand the local dynamic range at each pixel to reveal fine surface features that are hidden by global contrast range. Equivalent to Gwyddion local_contrast.c.
## Inputs
| Name | Type | Required | Description |
|------|------|----------|-------------|
| field | DATA_FIELD | Yes | Input field |
## Outputs
| Name | Type | Description |
|------|------|-------------|
| result | DATA_FIELD | Field with enhanced local contrast |
## Controls
| Name | Type | Default | Description |
|------|------|---------|-------------|
| kernel_size | INT | 10 | Size of the local neighbourhood window in pixels (2100) |
| weight | FLOAT | 0.5 | Blend weight between original and full-contrast output (0 = original, 1 = full local contrast; 01) |
## Limitations
- Large kernel sizes are slow; values above ~50 pixels may be noticeably slow on large fields.
- The enhancement is purely a display-contrast operation; it changes the underlying data values.