ComfyUI Node
Donut Auto Gamma (DEPRECATED)
A ComfyUI node in donut/image with 6 inputs and 2 outputs.
Donut Auto Gamma (DEPRECATED)
- image
- image
- gamma
◄methodgslf►
◄strength1.0►
◄target0.50►
◄percentile50►
◄directionboth►
Categorydonut/image
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| method | COMBO | gslf | Detection method: simple_mean (fastest), iagcwd (deviation-based), gslf (histogram-based, most sophisticated), percentile (robust to outliers) |
| strength | FLOAT | 1.00–2 | Correction strength (1.0 = full correction) |
| targetopt | FLOAT | 0.500.1–0.9 | Target value for simple_mean and percentile methods |
| percentileopt | FLOAT | 501–99 | Which percentile to target (percentile method only) |
| directionopt | COMBO | both | both: auto brighten/darken, brighten_only: only brighten dark images, darken_only: only darken bright images |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| gamma | FLOAT | — |