Skip to content

Flood Fill to BBox Size

Flood Fill to BBox Size

Use Flood Fill to BBox Size with Flood Fill’s BBox output to measure each region relative to the canvas. It can output width, height, or the larger of the two dimensions.

Availability

This node requires Pro.

Common uses

  • Connect Flood Fill’s BBox output to this node.
  • Use the Max mode for a single size mask that catches wide or tall regions.

Input ports

  • input

  • BBox Map expects the BBox output from Flood Fill.

Output ports

  • out

  • Outputs a grayscale map with one size value per flood-filled region.

Parameters

ParameterTypeDefaultRange or values
Outputenummaxmax, x, y

Behavior

  • X reads the BBox width, Y reads the BBox height, and Max returns their larger value.
  • GPU acceleration uses a single shader pass and falls back to the matching CPU calculation.

Common mistakes

  • Values are relative to the entire canvas, so small regions can have low contrast.
  • The node expects Flood Fill BBox data, not its Info output.

View the shared source content