Sharpen
Unsharp mask — the image plus amount times its difference from a blur of it (size, filter, quality as Blur).
Unsharp mask — the image plus amount times its difference from a blur of it (size, filter, quality as Blur). minimum (0) and maximum (1) stop the sharpening pushing values past them.
| Node | Sharpen |
|---|---|
| Menu | Filter › Sharpen |
| Names in each format | |
| .oink comp (JSON) | "type": "OC_N_sharpen" |
| .nk script | Sharpen (how .nk import works) |
| Python | nuke.createNode("Sharpen") |
| Assistant (MCP) | create_node(type="Sharpen") |
| Tab search | sharpen |

Inputs and outputs
| Port | Name | Type |
|---|---|---|
| input 0 | Image | image |
| input 1 | mask | image |
| output 0 | Image | image |
Knobs
Panel tab Sharpen, in panel order.
| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
channels | channels | menu | rgb | rgba, rgb, alpha, all, none | Layer the op applies to: rgb, rgba, alpha, all, none, <layer> or <layer>.<ch> | |
minimum | minimum | float | 0 | -1 to 1 | minimum | |
maximum | maximum | float | 1 | 0 to 2 | maximum | |
amount | amount | float | 1 | 0 to 10 | amount | |
size | size | wh ×2 | 1, 1 | 0 to 100 | size | |
filter | filter | menu | GAUSSIAN | BOX (box), TRIANGLE (triangle), QUADRATIC (quadratic), GAUSSIAN (gaussian) | filter | |
quality | quality | float | 15 | 1 to 100 (integer) | quality | |
crop | crop to format | bool | true | crop | ||
mask_channel | mask | menu | none | none, rgba.alpha, rgba.red, rgba.green, rgba.blue | Mask channel, e.g. rgba.alpha (none = no mask) | |
inject | inject | bool | false | Copy the mask into mask.a for nodes downstream | ||
invert_mask | invert | bool | false | invert_mask | ||
fringe | fringe | bool | false | Only apply the effect at the edges of the mask | ||
mix | mix | float | 1 | 0 to 1 | mix |
Other knobs (Python, .nk and the assistant; not on the panel)
| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
gl_color | Viewer Controls Color | float ×3 | 0, 0, 0 | 0 to 1 | ||
postage_stamp_frame | Static Frame | int | 1 | -2147483648 to 2147483647 | ||
lifetimeStart | Lifetime Start | int | 0 | -2147483648 to 2147483647 | ||
lifetimeEnd | Lifetime End | int | 100 | -2147483648 to 2147483647 | ||
useLifetime | Use Lifetime | boolean | false | |||
cached | Cached | boolean | false | |||
bookmark | Bookmark | boolean | false | |||
dope_sheet | Dope Sheet | boolean | false | |||
clone_group | Clone Group | string | ||||
link_source | Link Source | string | ||||
link_overrides | Link Overrides | string | ||||
split_views | Split Views | string | ||||
unpremult | (Un)premult by | enum | none | none, rgba.alpha | ||
invert_unpremult | invert | boolean | false | (Un)premultiply by 1 - alpha |
Examples
Open these from Help › Examples…, or from the ? menu in this node's Properties panel.
- Sharpen (
examples/filter/sharpen.oink): Sharpen subtracts a blurred copy to boost detail; amount scales the effect.