Auto Color Drift Correction V4.3 (两遍校正):
AutoColorDriftCorrection is a sophisticated node designed to address the issue of color drift in video frames, ensuring consistent color quality across sequences. This node employs a two-pass correction strategy to effectively manage color drift. The first pass involves a global offset correction, which detects and corrects any abrupt changes in color across multiple frames, thereby eliminating the primary source of drift. The second pass focuses on residual adjustments, incrementally fine-tuning any remaining color discrepancies with a controlled approach to prevent noise. This dual-phase method ensures precise color alignment without the need for additional smoothing techniques, making it an efficient solution for maintaining color consistency in video production.
Auto Color Drift Correction V4.3 (两遍校正) Input Parameters:
images
This parameter represents the entire sequence of frames generated in the current segment, formatted as a tensor with dimensions (B, H, W, C). It is crucial for the node to analyze and correct color drift across these frames.
mode
This parameter determines the operational mode of the node, with options including standard, auto, and off. The standard mode allows for manual parameter control, auto mode automatically detects and corrects drift, and off mode bypasses all processing. The default setting is standard.
overlap_count
This integer parameter specifies the number of overlapping frames between segments, with a default value of 5. It helps in determining the extent of frame overlap for accurate color drift correction.
seam_strength
This parameter, a float, controls the strength of seam correction, with a default value of 0.0. It influences how strongly the node attempts to correct seams between frames, ensuring smooth transitions.
max_offset
A float parameter that sets the maximum allowable offset for global color correction, with a default value of 0.02. It defines the upper limit for color adjustments during the first pass of correction.
residual_strength
This float parameter dictates the strength of residual adjustments during the second pass, expressed as a proportion of max_offset. It ranges from 0.0 to 1.0, with a default of 0.2, and can be set to 0 to disable the second pass.
Auto Color Drift Correction V4.3 (两遍校正) Output Parameters:
corrected_images
This output provides the sequence of frames after color drift correction, ensuring that the colors are consistent and aligned across the entire video segment.
drift_info
This output is a string containing detailed information about the correction process, including the mode used, the number of frames corrected, and statistical data on the offsets applied. It serves as a comprehensive report of the node's operation.
Auto Color Drift Correction V4.3 (两遍校正) Usage Tips:
- Use the
automode for a hands-off approach that automatically detects and corrects color drift, ideal for quick adjustments without manual intervention. - Adjust the
residual_strengthparameter to fine-tune the second pass of correction, especially if subtle color discrepancies remain after the global offset correction. - Set
max_offsetcarefully to balance between effective correction and avoiding over-adjustment, which could introduce artifacts.
Auto Color Drift Correction V4.3 (两遍校正) Common Errors and Solutions:
Mode: off, skipping all processing
- Explanation: This message indicates that the node is set to
offmode, which bypasses all color drift correction processes. - Solution: Change the mode to
standardorautoto enable color drift correction.
Jump detection: no jump
- Explanation: This message suggests that the node did not detect any significant color drift that requires correction.
- Solution: If you believe there is a color drift, consider adjusting the
jump_thresholdparameter to make the detection more sensitive.
