Nodes/ComfyUI Temporal Mask Tools/Temporal Mask Remove Short Objects
ComfyUI Node

Temporal Mask Remove Short Objects

Remove transient or tiny activations from temporal masks based on duration/area thresholds.

By nomadoor·Created 10 months ago·Updated 10 months ago· 2
Temporal Mask Remove Short Objects
  • mask_batch
  • Mask Batch
min_duration2
min_area_pixels10
CategoryTemporalMask/Operations

Inputs (3)

NameTypeDefaultDescription
mask_batchMASK
min_durationINT21–64Minimum consecutive frames required to keep a pixel active.
min_area_pixelsINT100–1000000Connected components with fewer active pixels than this are removed.

Outputs (1)

NameTypeDescription
Mask BatchMASK