ComfyTV/VideoFXgenerated

Histogram Equalize(HistogramEqStage)

The Histogram Equalize node (class HistogramEqStage) applies histogram equalization to a video clip.

Histogram Eq Stage

video
video
ComfyTV

Description

The Histogram Equalize node (class HistogramEqStage) applies histogram equalization to a video clip. Histogram equalization redistributes the intensity values in an image so that the resulting histogram is spread more evenly across the available range. In practice, this increases global contrast, which is especially useful for footage that looks flat, washed out, or underexposed.

This node is part of the ComfyTV/VideoFX category, so it is intended to sit within a ComfyTV video processing graph. It receives a video, applies the equalization effect, and returns the processed video for further stages or output.

Inputs

NameTypeRequiredDescription
videoCOMFYTV_VIDEONoThe source video clip to process. Connect a ComfyTV video here to apply histogram equalization to its frames.

The node has no additional widgets or parameters. The only control is the optional video input; the equalization behavior itself is fixed by the node.

Outputs

NameTypeDescription
videoCOMFYTV_VIDEOThe processed video clip with histogram equalization applied.

The output is a COMFYTV_VIDEO, so it can be connected directly to other ComfyTV video nodes, such as additional video effects, preview nodes, or output stages.

Usage Notes

  • Use this node when a clip has low contrast or a narrow tonal range and you want to stretch that range automatically. It is a straightforward enhancement stage that requires no tuning.
  • Because the effect operates on the intensity distribution of each frame, results can vary with the content of the footage. Scenes with large uniform areas or heavy shadows may see more noticeable changes than already well-balanced scenes.
  • Histogram equalization can amplify noise in dark regions and may produce unnatural contrast in some footage. Review the output before committing it to a final render, particularly for gradients, skies, or low-light shots.
  • The video input is optional. The node can exist in a graph without a connected video, but it will only produce meaningful output once a COMFYTV_VIDEO is supplied.
  • To isolate the effect, compare the processed output against the original clip using a preview or side-by-side workflow before combining it with other color or contrast operations.

Comments

Sign in with GitHub to join the discussion.

Loading comments…