Nodes/MdColorMod/Color Threshold (MD)
ComfyUI Node

Color Threshold (MD)

Thresholds an image based on a selected channel, mapping values below Low to 0 and above High to 255.

By MdONeilsl·Created 2 months ago·Updated about a month ago· 0
Color Threshold (MD)
  • image
  • mask
  • image
ChannelValue
Low127
High255
Categorymd/image/color

Inputs (5)

NameTypeDefaultDescription
imageIMAGEInput image tensor.
ChannelCOMBOValueChannel to use for thresholding.
LowFLOAT1270–255Lower threshold value (0-255).
HighFLOAT2550–255Upper threshold value (0-255).
maskoptMASKOptional mask to restrict the adjustment area.

Outputs (1)

NameTypeDescription
imageIMAGEThe thresholded image.