ComfyUI > Nodes > ComfyUI-SuperBeasts > Deflicker (SuperBeasts.AI)

ComfyUI Node: Deflicker (SuperBeasts.AI)

Class Name

Deflicker (SuperBeasts.AI)

Category
SuperBeastsAI/Animation
Author
SuperBeastsAI (Account age: 87days)
Extension
ComfyUI-SuperBeasts
Latest Updated
2024-06-01
Github Stars
0.1K

How to Install ComfyUI-SuperBeasts

Install this extension via the ComfyUI Manager by searching for ComfyUI-SuperBeasts
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-SuperBeasts in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Deflicker (SuperBeasts.AI) Description

Deflicker node for image and video sequences, reduces flickering by adjusting brightness, noise, and gradients for stable visuals.

Deflicker (SuperBeasts.AI):

The Deflicker node from SuperBeasts.AI is designed to address the common issue of flickering in sequences of images or video frames. Flickering can occur due to variations in brightness, noise, or other inconsistencies between frames, which can be distracting and reduce the overall quality of the visual content. This node aims to smooth out these inconsistencies by analyzing the brightness levels of each frame and applying a series of adjustments, including brightness correction, noise reduction, and gradient smoothing. The result is a more stable and visually appealing sequence of images, making it particularly useful for AI artists working with animations or time-lapse photography.

Deflicker (SuperBeasts.AI) Input Parameters:

images

This parameter takes a sequence of images that you want to process for deflickering. The images should be provided as a list or batch of image tensors. The node will analyze and adjust these images to reduce flickering.

context_length

This parameter defines the number of surrounding frames to consider when calculating the average brightness for a given frame. A larger context length can provide a more accurate brightness adjustment but may also increase processing time. The default value is 5.

brightness_threshold

This parameter sets the threshold for detecting significant brightness differences between the current frame and the average brightness of the context frames. If the difference exceeds this threshold, the node will adjust the brightness of the current frame. The default value is 0.05.

blending_strength

This parameter controls the strength of blending between the original and adjusted frames. A higher blending strength results in more influence from the adjusted frames, while a lower strength retains more of the original frame characteristics. The default value is 0.5.

noise_reduction_strength

This parameter determines the strength of noise reduction applied to the adjusted frames. Higher values result in stronger noise reduction, which can help in creating smoother transitions between frames. The default value is 1.0.

gradient_smoothing_strength

This parameter sets the strength of gradient smoothing applied to the frames. Gradient smoothing helps in reducing abrupt changes in brightness and color gradients, contributing to a more stable visual output. The default value is 1.

batch_size

This parameter specifies the number of frames to process in each batch. Processing in batches can improve performance, especially when working with large sequences of images. The default value is 10.

Deflicker (SuperBeasts.AI) Output Parameters:

blended_tensor

This output parameter provides the sequence of deflickered images as a tensor. The tensor contains the processed frames with reduced flickering, ready for further use or export.

Deflicker (SuperBeasts.AI) Usage Tips:

  • For best results, experiment with the context_length parameter to find the optimal balance between processing time and brightness accuracy.
  • Adjust the brightness_threshold to fine-tune the sensitivity of brightness adjustments. Lower values can help in detecting subtle flickering, while higher values focus on more significant changes.
  • Use the blending_strength parameter to control the influence of the adjustments. Higher values can result in smoother transitions but may also alter the original frame characteristics.
  • If your images have a lot of noise, increase the noise_reduction_strength to achieve cleaner and more stable frames.
  • For sequences with abrupt changes in brightness or color, increase the gradient_smoothing_strength to ensure smoother transitions.

Deflicker (SuperBeasts.AI) Common Errors and Solutions:

"Invalid image format"

  • Explanation: This error occurs when the input images are not in the expected format or type.
  • Solution: Ensure that the input images are provided as a list or batch of image tensors.

"Brightness calculation error"

  • Explanation: This error can happen if there is an issue with calculating the average brightness of the frames.
  • Solution: Check the input images for any anomalies or corrupt frames that might be causing the calculation to fail.

"Batch processing error"

  • Explanation: This error occurs when there is an issue with processing the images in batches.
  • Solution: Verify that the batch_size parameter is set correctly and that the input images are divisible by the batch size.

"Memory overflow"

  • Explanation: This error can occur if the node runs out of memory while processing large sequences of images.
  • Solution: Reduce the batch_size or process the images in smaller chunks to manage memory usage more effectively.

Deflicker (SuperBeasts.AI) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-SuperBeasts
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.