Nodes/comfyui_bmad_nodes/BuildColorRangeAdvanced (hsv)
ComfyUI Node Runs on cloud

BuildColorRangeAdvanced (hsv)

A ComfyUI node in Bmad/CV/Color A. with 4 inputs and 3 outputs.

By bmad4ever·Created 3 years ago·Updated about a year ago· 64
BuildColorRangeAdvanced (hsv)
  • samples
  • HSV_COLOR
  • HSV_COLOR
  • IR_HUE_MODE
hue_exp# hue h_quant2(0, 1).scale_by_constant(16) if 2 < v_median < 253 else to_interval(0, 180)
sat_exp# saturation to_interval(5, 255) if 2 < v_median < 253 else s_quant2(0,1).interpolate(0.2, [0, 255])
val_exp# value v_quant2(0,1).interpolate(.5, [0, 255]).scale_by_constant(50) if 2 < v_median < 253 else v_quant2(0,1).scale_by_constant(8)
CategoryBmad/CV/Color A.

Inputs (4)

NameTypeDefaultDescription
samplesHSV_SAMPLES
hue_expSTRING# hue h_quant2(0, 1).scale_by_constant(16) if 2 < v_median < 253 else to_interval(0, 180)
sat_expSTRING# saturation to_interval(5, 255) if 2 < v_median < 253 else s_quant2(0,1).interpolate(0.2, [0, 255])
val_expSTRING# value v_quant2(0,1).interpolate(.5, [0, 255]).scale_by_constant(50) if 2 < v_median < 253 else v_quant2(0,1).scale_by_constant(8)

Outputs (3)

NameTypeDescription
HSV_COLORHSV_COLOR
HSV_COLORHSV_COLOR
IR_HUE_MODEIR_HUE_MODE