Nodes/Akatz Custom Nodes/Dilate Mask Linear Infinite | Akatz
ComfyUI Node

Dilate Mask Linear Infinite | Akatz

# Dilate Mask Linear Infinite - mask: Input mask or mask batch - dilation_schedule: Schedule for mask dilations in the format: (start_frame, dilation_speed, (r, g, b)),... - quality_factor: Quality factor for dilation (recommend between 0.25 and 0.15 for good balance between quality and speed) - use_percentage: Boolean to specify if the start_frame is in percentage of the total frames - should_composite_subject: Boolean to composite the subject mask over the final result - subject_mask_color: Color for the subject mask in the format "R, G, B" - initial_background_color: Color for the initial background in the format "R, G, B"

By akatz-ai·Created 2 years ago·Updated 8 months ago· 32
Dilate Mask Linear Infinite | Akatz
  • mask
  • IMAGE
dilation_schedule(0, 30, (0, 255, 0)),
quality_factor0.25
timing_modeFrame
should_composite_subjectfalse
subject_mask_color255, 0, 0
initial_background_color0, 0, 0
Category💜Akatz Nodes/Mask

Inputs (7)

NameTypeDefaultDescription
maskMASK
dilation_scheduleSTRING(0, 30, (0, 255, 0)),
quality_factorFLOAT0.250–1
timing_modeCOMBOFrame2 options: Frame, Percent
should_composite_subjectBOOLEANfalse
subject_mask_colorSTRING255, 0, 0
initial_background_colorSTRING0, 0, 0

Outputs (1)

NameTypeDescription
IMAGEIMAGE