Nodes · Filter
Sharpen
Filterv1core
Overview
Unsharp-mask sharpening: boosts local contrast at edges.
How to
How-to
- Set
amount; an unsharp mask lifts local contrast at edges. sizeis how wide the detail is: 3 sharpens fine texture, 20 lifts broad contrast.- Small values only — sharpening grain makes it worse. Raise
minimumto leave the grain alone, and lowermaximumif strong edges halo.
Unsharp-mask sharpening: it boosts local contrast at edges. It works on whatever channels selects, alpha included, so set channels to rgb to leave a matte alone.
What it does
The detail is the picture minus a blur of size. Detail smaller than minimum is dropped, the rest is limited to maximum, and amount times that is added back.
Sharpens from older scripts
A Sharpen saved before size existed shows radius and sharpens exactly as it did (against a box blur, colour only). Press → size on its panel to move it to the new controls.
Inputs
| Input | What it takes |
|---|---|
| in | the image this node works on |
Outputs
| Output | Type |
|---|---|
| out | Image |
Parameters
| Parameter | Type | Default | What it does |
|---|---|---|---|
| channels | Choice | rgba | Which channels this node writes: rgba, rgb (alpha passes through untouched), alpha only, all, or none (bypass). Everything unselected comes straight from the input. allrgbargbalphanone |
| size | Float | 3.0 | The width of the blur the detail is measured against, in pixels, as in Blur. Small sharpens fine detail; large lifts broad contrast. |
| filter | Choice | gaussian | The kernel of that blur: gaussian (the default), box, triangle or quadratic. boxtrianglequadraticgaussian |
| amount | Float | 1.0 | How much of the detail to add back. Past ~1 it halos. |
| minimum | Float | 0.0 | Detail smaller than this is left alone - raise it to keep grain and noise from being sharpened. |
| maximum | Float | 1.0 | The most any pixel's detail can count for - lower it to stop strong edges from haloing. |
| radius | Float | 0.0 | How a Sharpen from an older script sharpens: against a box blur of this radius, colour only. Press the → size button above to move the node to size. |
| disabled | Bool | false | Bypass: the node passes its first input through untouched (D in the graph). The knobs keep their values for when it comes back. |
| label | Text | A note shown under the node in the graph — what this node is FOR. Never affects the render or the cache. | |
| hide_input | Bool | false | Draw the node without its input wire — a tidy graph for a node whose source is obvious (a Dot, a viewer tap). |
