MinColor

Calculates the difference between the darkest value in the input image and the target value, and then adds the result to the image. This sets the darkest pixel to the target value.

To have MinColor calculate the darkest pixels and remember them, click Find Pixel Delta.

Inputs and Controls

Connection Type

Connection Name

Function

Input

unnamed

The image sequence to which the minimum is applied.

Control (UI)

Knob (Scripting)

Default Value

Function

MinColor Tab

search

channels

rgb

Only these channels are searched for the minimum value.

If you set this to something other than all or none, you can use the checkboxes on the right to select individual channels.

modify

modify

all

Sets the channels to which the calculated delta is added.

If you set this to something other than all or none, you can use the checkboxes on the right to select individual channels.

target

target

0.095

Sets the value to add to the calculated darkest pixel from the input image. This sets the darkest pixel in the image to the target value.

direction

adjdir

Up

Sets the conditions under which the image is modified:

Up - only apply changes if the calculated delta is positive.

Down - only apply changes if the calculated delta is negative.

Both - apply changes if the calculated delta is positive or negative.

delta

pixeldelta

0

Displays the calculated pixel delta value.

Find Pixel Delta

N/A

N/A

Click to calculate the pixel delta for all or some frames.

Python Tab (These controls are for Python callbacks and can be used to have Python functions automatically called when various events happen in Nuke.)

before render

beforeRender

none

These functions run prior to starting rendering in execute(). If they throw an exception, the render aborts.

before each frame

beforeFrameRender

none

These functions run prior to starting rendering of each individual frame. If they throw an exception, the render aborts.

after each frame

afterFrameRender

none

These functions run after each frame is finished rendering. They are not called if the render aborts. If they throw an exception, the render aborts.

after render

afterRender

none

These functions run after rendering of all frames is finished. If they throw an error, the render aborts.

render progress renderProgress none These functions run during rendering to determine progress or failure.