Nodes/painting-by-colors-generator/Paint by Numbers Preprocessor: K-Mean
ComfyUI Node

Paint by Numbers Preprocessor: K-Mean

A ComfyUI node in image/artistic with 9 inputs and 1 output.

By Chrisvenator·Created about a year ago·Updated about a year ago· 2
Paint by Numbers Preprocessor: K-Mean
  • original_image
  • hex_stack
  • preprocessed_image
blur_radius0.0
color_intensity1.0
noise_reduction_strength5.0
bilateral_filtertrue
morphological_cleanuptrue
min_region_size800
num_colors20
Categoryimage/artistic

Inputs (9)

NameTypeDefaultDescription
original_imageIMAGE
blur_radiusFLOAT0.00–100
color_intensityFLOAT1.00.5–2
noise_reduction_strengthFLOAT5.00–5
bilateral_filterBOOLEANtrue
morphological_cleanupBOOLEANtrue
min_region_sizeINT80010–1000
hex_stackoptHEX_STACK
num_colorsoptINT202–50

Outputs (1)

NameTypeDescription
preprocessed_imageIMAGE