Visit ComfyUI Online for ready-to-use ComfyUI environment
Reverse tonemapping process to restore images to original linear color space for accurate and consistent results.
The UnTonemap node is designed to reverse the tonemapping process applied to images, effectively restoring them to their original linear color space. This is particularly useful when you need to perform further image processing or analysis on images that have been tonemapped for display purposes. By converting the images back to their linear form, you can ensure that any subsequent operations are based on the true color values, leading to more accurate and consistent results. The node supports both sRGB and linear input modes and can output the images in either sRGB or linear format, providing flexibility depending on your workflow requirements.
This parameter accepts the input images that you want to untonemap. The images should be in a format that the node can process, typically a tensor of image data.
This parameter specifies the color space of the input images. It can be set to either sRGB
or linear
. If the images are in sRGB format, they will be converted to linear color space before the untonemapping process. This ensures that the untonemapping is applied correctly based on the true color values of the images.
This parameter determines the color space of the output images. It can be set to either linear
or sRGB
. After the untonemapping process, the images can be converted back to sRGB if needed for display purposes, or kept in linear format for further processing.
This parameter controls the scale used during the untonemapping process. It is a floating-point value with a default of 1, a minimum of 0.1, and a maximum of 10, with a step size of 0.01. Adjusting this scale can help fine-tune the untonemapping to match the original tonemapping scale applied to the images.
The output of the UnTonemap node is the processed image tensor. This tensor contains the images that have been converted back to their linear color space, with the option to be in either sRGB or linear format based on the output_mode
parameter. These images are now ready for further processing or analysis with accurate color values.
tonemap_scale
parameter to match the scale used during the original tonemapping process for more accurate results.input_mode
and output_mode
parameters to ensure the images are in the correct color space for your specific workflow needs.Input images must be in a valid format
Invalid input_mode or output_mode value
input_mode
or output_mode
parameters are set to values other than sRGB
or linear
.input_mode
and output_mode
parameters are set to either sRGB
or linear
.Tonemap scale out of range
tonemap_scale
parameter is set to a value outside the allowed range of 0.1 to 10.tonemap_scale
parameter to a value within the range of 0.1 to 10.© Copyright 2024 RunComfy. All Rights Reserved.