AdjustBBox

The AdjustBBox node lets you expand or crop the edges of the bounding box by a specified number of pixels. The bounding box defines the area of the frame that Nuke sees as having valid image data. For example, if you have an image with lots of black (0,0,0,0), you can adjust the bounding box to contain just the useful area so that Nuke won’t waste time computing results where there is no change.

Inputs and Controls

Connection Type

Connection Name

Function

Input

unnamed

The image whose bounding box to resize.

Control (UI)

Knob (Scripting)

Default Value

Function

AdjBBox Tab

Add Pixels

numpixels

25

Adjust the width and height of the input image’s bounding box by adding or removing pixels. Click the 2 button to display separate fields for width (w) and height (h).

If you crop the bounding box, the edge pixels of the bounding box area get replicated towards the edges of the image.

Step-by-Step Guides

Resizing the Bounding Box