ComfyUI Node
Temporal Mask Union
Combine nearby temporal mask frames using logical OR or majority voting to stabilize transient detections.
Temporal Mask Union
- mask_batch
- Mask Batch
◄radius2►
◄modeor►
◄threshold3►
CategoryTemporalMask/Operations
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| mask_batch | MASK | — | |
| radius | INT | 20–32 | Half width of the temporal window (frames). |
| mode | COMBO | or | 'or' unions any active frame; 'majority' requires the threshold count. |
| threshold | INT | 31–64 | Frames within the window that must be active when using majority mode. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| Mask Batch | MASK | — |