Nodes/ComfyUI_AP_OpticalFlow/AP Warp Masked Composite Blend (Occlusion)
ComfyUI Node

AP Warp Masked Composite Blend (Occlusion)

A ComfyUI node in AP_OpticalFlow with 27 inputs and 6 outputs.

By adampolczynski·Created 5 months ago·Updated 5 months ago· 1
AP Warp Masked Composite Blend (Occlusion)
  • images
  • mask
  • flow_data
  • output_images
  • warped_images
  • warped_mask
  • valid_mask
  • occlusion_mask
  • composite_alpha
flow_directionab
batch_modeauto
flow_skip0
frames_skip0
strength1.00
invert_flowfalse
invert_maskfalse
mask_strength1.00
mask_feather0
interpolationbilinear
padding_modeborder
abs_epsilon1.00
rel_epsilon0.050
dilate_occlusion0
blend_imagestrue
alpha_modeflow_confidence_x_mask
mask_threshold0.000
use_difference_gatefalse
difference_threshold0.010
difference_feather0
blend_strength1.00
feather0
invert_occlusionfalse
current_frame_index0
CategoryAP_OpticalFlow

Inputs (27)

NameTypeDefaultDescription
imagesIMAGE
maskMASK
flow_dataAP_FLOW
flow_directionCOMBOab2 options: ab, ba
batch_modeCOMBOauto3 options: auto, by_index, repeat_image
flow_skipINT00–2147483647
frames_skipINT00–2147483647
strengthFLOAT1.00-4–4
invert_flowBOOLEANfalse
invert_maskBOOLEANfalse
mask_strengthFLOAT1.000–2
mask_featherINT00–64
interpolationCOMBObilinear3 options: bilinear, nearest, bicubic
padding_modeCOMBOborder3 options: border, zeros, reflection
abs_epsilonFLOAT1.000–50
rel_epsilonFLOAT0.0500–1
dilate_occlusionINT00–32
blend_imagesBOOLEANtrue
alpha_modeCOMBOflow_confidence_x_mask3 options: flow_confidence, flow_confidence_x_mask, mask_only
mask_thresholdFLOAT0.0000–1
use_difference_gateBOOLEANfalse
difference_thresholdFLOAT0.0100–1
difference_featherINT00–64
blend_strengthFLOAT1.000–2
featherINT00–64
invert_occlusionBOOLEANfalse
current_frame_indexoptINT00–2147483647

Outputs (6)

NameTypeDescription
output_imagesIMAGE
warped_imagesIMAGE
warped_maskMASK
valid_maskMASK
occlusion_maskMASK
composite_alphaMASK