Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.comfy.org/llms.txt

Use this file to discover all available pages before exploring further.

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
The ImageHistogram node analyzes the color distribution of an input image. It calculates and outputs several histograms, which are graphs showing how many pixels in the image have each possible intensity value. It generates separate histograms for the red, green, and blue color channels, a composite RGB histogram, and a luminance histogram based on a standard brightness formula.

Inputs

ParameterData TypeRequiredRangeDescription
imageIMAGEYesN/AThe input image to analyze. The node processes the first image in the batch.

Outputs

Output NameData TypeDescription
rgbHISTOGRAMA composite histogram representing the average pixel intensity across the red, green, and blue channels.
luminanceHISTOGRAMA histogram of the image’s perceived brightness, calculated using the ITU-R BT.709 standard luminance formula.
redHISTOGRAMA histogram showing the distribution of pixel intensities in the red color channel.
greenHISTOGRAMA histogram showing the distribution of pixel intensities in the green color channel.
blueHISTOGRAMA histogram showing the distribution of pixel intensities in the blue color channel.

Source fingerprint (SHA-256): 026a470129a49794bc1ddcdd3ecd8e8ad95b43fc94db4387f0e2de365b305879