Skip to content

Nodes · Filter

Sharpen

Filterv1core

Overview

Unsharp-mask sharpening: boosts local contrast at edges.

How to

How-to

  1. Set amount; an unsharp mask lifts local contrast at edges.
  2. size is how wide the detail is: 3 sharpens fine texture, 20 lifts broad contrast.
  3. Small values only — sharpening grain makes it worse. Raise minimum to leave the grain alone, and lower maximum if 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

InputWhat it takes
inthe image this node works on

Outputs

OutputType
outImage

Parameters

ParameterTypeDefaultWhat it does
channelsChoicergbaWhich channels this node writes: rgba, rgb (alpha passes through untouched), alpha only, all, or none (bypass). Everything unselected comes straight from the input. allrgbargbalphanone
sizeFloat3.0The width of the blur the detail is measured against, in pixels, as in Blur. Small sharpens fine detail; large lifts broad contrast.
filterChoicegaussianThe kernel of that blur: gaussian (the default), box, triangle or quadratic. boxtrianglequadraticgaussian
amountFloat1.0How much of the detail to add back. Past ~1 it halos.
minimumFloat0.0Detail smaller than this is left alone - raise it to keep grain and noise from being sharpened.
maximumFloat1.0The most any pixel's detail can count for - lower it to stop strong edges from haloing.
radiusFloat0.0How 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.
disabledBoolfalseBypass: the node passes its first input through untouched (D in the graph). The knobs keep their values for when it comes back.
labelTextA note shown under the node in the graph — what this node is FOR. Never affects the render or the cache.
hide_inputBoolfalseDraw the node without its input wire — a tidy graph for a node whose source is obvious (a Dot, a viewer tap).