ComfyUI Node
ChromaPin π
Pins a processed video's colours to a reference image. Measures colour drift at a single anchor frame and propagates the correction across the entire sequence.
ChromaPin π
- video
- reference_image
- corrected_video
- debug_comparison
βreference_frame_index0βΊ
βmethodmklβΊ
βstrength1.00βΊ
βpropagationuniformβΊ
βfalloff_radius30βΊ
βfalloff_gamma1.0βΊ
CategoryFEnodes
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| video | IMAGE | β | |
| reference_image | IMAGE | β | |
| reference_frame_index | INT | 00β9999 | 0-based index of the frame in the video batch that corresponds to the reference_image. |
| method | COMBO | mkl | 9 options: mkl, reinhard_lab, linear_rgb, histogram, reinhard_lab_gpu, hm-mkl-hm, +3 |
| strength | FLOAT | 1.000β1 | Blend between original (0.0) and fully corrected (1.0). |
| propagation | COMBO | uniform | uniform = same correction every frame. falloff = correction tapers with distance from the anchor frame. |
| falloff_radiusopt | INT | 301β9999 | [falloff mode] Frames from the reference frame at which correction strength reaches zero. |
| falloff_gammaopt | FLOAT | 1.00.1β4 | [falloff mode] Curve shape. 1.0 = linear. >1 = fast initial drop. <1 = slow initial drop. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| corrected_video | IMAGE | β |
| debug_comparison | IMAGE | β |