Nodes/comfyui_cv/CV Color Map
ComfyUI Node

CV Color Map

Converts the image to grayscale and applies a false-color map (viridis, jet, inferno, ...). Useful for visualizing depth maps, heat maps and masks. Enable 'color_scale' to draw a labelled colour bar (0..1 intensity) beside the result so the colours can be read back as values.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
CV Color Map
  • image
  • IMAGE
colormapCOLORMAP_VIRIDIS
color_scalefalse
Categoryimage/CV

Inputs (3)

NameTypeDefaultDescription
imageIMAGEInput image. A batch is processed frame by frame.
colormapCOMBOCOLORMAP_VIRIDISFalse-color palette. VIRIDIS/INFERNO are perceptually uniform (best for data); JET is the classic rainbow.
color_scaleoptBOOLEANfalseAppend a vertical colour scale bar with 0..1 intensity labels next to the colour-mapped image (stays legible even for tiny / 1-pixel images).

Outputs (1)

NameTypeDescription
IMAGEIMAGE