ComfyUI Node

Centerline to SVG

A ComfyUI node in TJ_Vector with 10 inputs and 3 outputs.

By TJ16th·Created 9 months ago·Updated 9 months ago· 2
Centerline to SVG
  • line_mask
  • original_image
  • svg_string
  • centerline_image
  • statistics
algorithm
smoothing2.0
min_path_length10
simplify_tolerance1.0
bezier_smoothingtrue
dilate_before_thin0
color_info
preserve_colorstrue
CategoryTJ_Vector

Inputs (10)

NameTypeDefaultDescription
line_maskMASK
algorithmCOMBO3 options: ridge, skeleton, medial_axis
smoothingFLOAT2.00–10
min_path_lengthINT101–1000
simplify_toleranceFLOAT1.00–10
bezier_smoothingBOOLEANtrue
dilate_before_thinINT00–10Dilate mask before thinning to merge close lines (0=disabled)
original_imageoptIMAGE
color_infooptSTRING
preserve_colorsoptBOOLEANtrue

Outputs (3)

NameTypeDescription
svg_stringSTRING
centerline_imageIMAGE
statisticsSTRING