Image Batch Extend With Overlap (UTK):
The ImageBatchExtendWithOverlap_UTK node is designed to facilitate the seamless extension of video or image sequences by blending overlapping frames. This node is particularly useful for artists and creators who work with sequences of images or video frames and need to extend these sequences smoothly. By using various blending techniques, such as linear blending, ease-in-out, filmic crossfade, and perceptual crossfade, the node ensures that the transition between the original and extended sequences is visually appealing and coherent. The node outputs the original source images, the starting frames for the extension, and the extended sequence itself, providing a comprehensive solution for sequence extension tasks.
Image Batch Extend With Overlap (UTK) Input Parameters:
source_images
This parameter represents the original batch of images that you want to extend. It serves as the base sequence from which the extension will begin. The quality and characteristics of these images will directly influence the final extended sequence.
overlap
The overlap parameter determines the number of frames that will be blended between the original and new sequences. A higher overlap value results in a smoother transition but requires more computational resources. The minimum value is 0, and there is no strict maximum, but it should be set according to the length of the sequences and desired blending effect.
overlap_side
This parameter specifies which side of the sequence the overlap should occur on. It can be set to either "new_images" or "source_images," indicating whether the overlap should be applied to the new images being added or the original source images.
overlap_mode
The overlap_mode parameter defines the blending technique used for the overlapping frames. Options include "cut," "linear_blend," "ease_in_out," "filmic_crossfade," and "perceptual_crossfade." Each mode offers a different visual effect, with "linear_blend" providing a straightforward transition and "perceptual_crossfade" offering a more sophisticated blend using color space transformations.
new_images
This optional parameter is the batch of new images that you want to append to the original sequence. If provided, these images will be blended with the source images according to the specified overlap and overlap_mode.
Image Batch Extend With Overlap (UTK) Output Parameters:
source_images
This output returns the original batch of images that were input into the node. It allows you to verify the starting point of the sequence extension process.
start_images
The start_images output provides the frames from the end of the source images that are used as the starting point for the extension. These frames are crucial for ensuring a smooth transition into the new sequence.
extended_images
This output contains the final extended sequence of images, which includes both the original and new images blended together according to the specified overlap and overlap_mode. This sequence is ready for further processing or rendering.
Image Batch Extend With Overlap (UTK) Usage Tips:
- Experiment with different overlap_mode settings to achieve the desired visual effect for your sequence extension. Each mode offers unique blending characteristics that can enhance the final output.
- Adjust the overlap parameter based on the complexity and length of your sequences. A larger overlap can create smoother transitions but may require more processing time.
- Ensure that the new_images parameter is provided if you want to extend the sequence with additional frames. Without it, the node will only process the source images.
Image Batch Extend With Overlap (UTK) Common Errors and Solutions:
ImportError: No module named 'kornia'
- Explanation: This error occurs when the
perceptual_crossfademode is selected, but thekornialibrary is not installed. - Solution: Install the
kornialibrary using pip by runningpip install korniain your terminal or command prompt.
ValueError: Overlap value is too high
- Explanation: This error may occur if the overlap value exceeds the length of the source or new images, leading to an invalid blending operation.
- Solution: Ensure that the overlap value is set to a reasonable number that does not exceed the length of the sequences being processed. Adjust the overlap to fit within the bounds of your image batches.
