Oink
Sharpen Sharpen

Sharpen

Unsharp mask — the image plus amount times its difference from a blur of it (size, filter, quality as Blur).

raw .md

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.

NodeSharpen
MenuFilter › Sharpen
Names in each format
.oink comp (JSON)"type": "OC_N_sharpen"
.nk scriptSharpen (how .nk import works)
Pythonnuke.createNode("Sharpen")
Assistant (MCP)create_node(type="Sharpen")
Tab searchsharpen

Sharpen properties

Inputs and outputs

PortNameType
input 0Imageimage
input 1maskimage
output 0Imageimage

Knobs

Panel tab Sharpen, in panel order.

KnobLabelTypeDefaultRange / values.nk knobDescription
channelschannelsmenurgbrgba, rgb, alpha, all, noneLayer the op applies to: rgb, rgba, alpha, all, none, <layer> or <layer>.<ch>
minimumminimumfloat0-1 to 1minimum
maximummaximumfloat10 to 2maximum
amountamountfloat10 to 10amount
sizesizewh ×21, 10 to 100size
filterfiltermenuGAUSSIANBOX (box), TRIANGLE (triangle), QUADRATIC (quadratic), GAUSSIAN (gaussian)filter
qualityqualityfloat151 to 100 (integer)quality
cropcrop to formatbooltruecrop
mask_channelmaskmenunonenone, rgba.alpha, rgba.red, rgba.green, rgba.blueMask channel, e.g. rgba.alpha (none = no mask)
injectinjectboolfalseCopy the mask into mask.a for nodes downstream
invert_maskinvertboolfalseinvert_mask
fringefringeboolfalseOnly apply the effect at the edges of the mask
mixmixfloat10 to 1mix

Other knobs (Python, .nk and the assistant; not on the panel)

KnobLabelTypeDefaultRange / values.nk knobDescription
gl_colorViewer Controls Colorfloat ×30, 0, 00 to 1
postage_stamp_frameStatic Frameint1-2147483648 to 2147483647
lifetimeStartLifetime Startint0-2147483648 to 2147483647
lifetimeEndLifetime Endint100-2147483648 to 2147483647
useLifetimeUse Lifetimebooleanfalse
cachedCachedbooleanfalse
bookmarkBookmarkbooleanfalse
dope_sheetDope Sheetbooleanfalse
clone_groupClone Groupstring
link_sourceLink Sourcestring
link_overridesLink Overridesstring
split_viewsSplit Viewsstring
unpremult(Un)premult byenumnonenone, rgba.alpha
invert_unpremultinvertbooleanfalse(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.

On this page