Nodes/atlas-camera/Atlas Scope Mask 🎯
ComfyUI Node

Atlas Scope Mask 🎯

A ComfyUI node in Atlas/04 Β· Masks with 6 inputs and 2 outputs.

By mikejamesvfxΒ·Created 2 months agoΒ·Updated about 23 hours agoΒ· 1
Atlas Scope Mask 🎯
  • sky_mask
  • segment_mask
  • fallback_mask
  • exclude_mask
  • status
β—„promptβ–Ί
β—„grow_px16β–Ί
β—„min_coverage_pct0.2β–Ί
CategoryAtlas/04 Β· Masks

Inputs (6)

NameTypeDefaultDescription
sky_maskMASKThe always-on base exclusion (SAM sky mask). Every fallback path returns exactly this.
promptoptSTRINGThe scope prompt β€” wire the same sam_* rail that feeds this row's SAM3Segment. Empty = this layer is unscoped/absent: the node returns the sky mask alone and (via lazy evaluation) the segmenter never runs.
segment_maskoptMASKThe SAM3 segment for this band's content. Only evaluated when prompt is non-empty.
grow_pxoptINT160–256Dilate the segment before inverting (keeps silhouettes from clipping β€” the old GrowMask 16 default).
min_coverage_pctoptFLOAT0.20–50If the segment covers less than this % of the frame, treat the prompt as a NO-MATCH and fall back to band-only instead of excluding the whole layer.
fallback_maskoptMASKGeometry-prior fallback, tried BEFORE band-only when the SAM prompt no-matches β€” wire an AtlasSemanticMask (fixed ADE20K vocabulary, can't miss the way free-text prompts can). Lazy: only evaluated on an actual no-match.

Outputs (2)

NameTypeDescription
exclude_maskMASKβ€”
statusSTRINGβ€”