Batch Brightness Curve (U-Shape) (CRT):
The BatchBrightnessCurve node is designed to adjust the brightness of a batch of images over a sequence, such as a video, by applying a smooth transition curve. This node allows you to define the brightness levels at the start, middle, and end of the sequence, creating a dynamic visual effect that can enhance the storytelling or aesthetic quality of your project. By using a customizable curve, you can control how the brightness changes over time, making it possible to create subtle or dramatic lighting effects. The node is particularly useful for AI artists who want to add depth and variation to their visual outputs without manually adjusting each frame. Its main goal is to provide a flexible and efficient way to manipulate brightness across multiple images, ensuring a cohesive and visually appealing result.
Batch Brightness Curve (U-Shape) (CRT) Input Parameters:
images
This parameter represents the batch of images that you want to process. It is the primary input for the node, and the brightness adjustments will be applied to each image in this batch. The images should be provided in a format that the node can process, typically as a tensor.
start_level
The start_level parameter sets the brightness level at the very first frame of the sequence. It is a floating-point value with a default of 0.0, a minimum of 0.0, and a maximum of 5.0. This parameter allows you to define how bright or dark the initial frame should be, providing a starting point for the brightness curve.
mid_level
The mid_level parameter determines the brightness at the exact center of the sequence. It is also a floating-point value, with a default of 1.0, a minimum of 0.0, and a maximum of 5.0. This parameter is crucial for setting the peak brightness level, which the curve will approach as it progresses towards the middle of the sequence.
end_level
The end_level parameter specifies the brightness level at the very last frame of the sequence. Like the other levels, it is a floating-point value with a default of 0.0, a minimum of 0.0, and a maximum of 5.0. This parameter defines how the brightness should taper off towards the end of the sequence, completing the curve.
q_factor
The q_factor parameter controls the shape of the brightness curve. It is a floating-point value with a default of 2.0, a minimum of 0.1, and a maximum of 10.0. A q_factor of 1.0 results in a linear transition, while higher values create a parabolic curve that stays closer to the mid-level for longer. This parameter allows you to fine-tune the smoothness and progression of the brightness changes.
Batch Brightness Curve (U-Shape) (CRT) Output Parameters:
images
The output parameter images is the batch of images with the applied brightness adjustments. Each image in the batch will have its brightness modified according to the specified curve, resulting in a sequence that transitions smoothly from the start level to the end level, with the mid-level as the peak. This output is crucial for achieving the desired visual effect across the entire sequence.
Batch Brightness Curve (U-Shape) (CRT) Usage Tips:
- Experiment with different
q_factorvalues to achieve the desired smoothness in brightness transitions. A higherq_factorwill create a more gradual change, which can be useful for subtle effects. - Use the
start_level,mid_level, andend_levelparameters to create dynamic lighting effects that enhance the mood or narrative of your sequence. Adjust these levels to match the visual style you are aiming for.
Batch Brightness Curve (U-Shape) (CRT) Common Errors and Solutions:
"Batch size is zero"
- Explanation: This error occurs when the input batch of images is empty, meaning there are no images to process.
- Solution: Ensure that the input batch contains at least one image before passing it to the node. Check the source of your images to confirm they are being loaded correctly.
"Invalid parameter value"
- Explanation: This error arises when one or more input parameters are set outside their allowed range.
- Solution: Verify that all parameters (
start_level,mid_level,end_level,q_factor) are within their specified ranges. Adjust any values that exceed the minimum or maximum limits.
