Nodes/LF Nodes/Region color stats
ComfyUI Node

Region color stats

A ComfyUI node in ✨ LF Nodes/Analytics with 5 inputs and 3 outputs.

By lucafoscili·Created 2 years ago·Updated 3 days ago· 36
Region color stats
  • image_a
  • image_b
  • masks
  • metadata
  • ui_widget
  • stats
  • overlay
  • overlay_list
Category✨ LF Nodes/Analytics

Inputs (5)

NameTypeDefaultDescription
image_aIMAGEExactly one RGB/RGBA reference sRGB image.
image_bIMAGEExactly one registered RGB/RGBA sRGB image, same H,W as A.
masksMASKOne shared region-mask set or two image-major A/B sets.
metadataJSONMatching lf.text-region-masks.v1 metadata; region IDs and order must agree.
ui_widgetoptLF_COMPARE[object Object]—

Outputs (3)

NameTypeDescription
statsJSONlf.region-color-stats.v1: full-region Lab mean/median/std, B-A deltas, matched CIEDE2000, banding and row-profile heuristics.
overlayIMAGEA and B with exact region outlines, side by side at their original shared resolution.
overlay_listIMAGESingle-item list containing the side-by-side diagnostic image.