Visit ComfyUI Online for ready-to-use ComfyUI environment
Apply tone mapping to HDR images for display on standard monitors using OpenCV algorithms, with adjustable parameters for customization.
The CV2Tonemap
node is designed to apply tone mapping to high dynamic range (HDR) images, converting them into a format suitable for display on standard monitors. Tone mapping is a crucial process in image processing that helps in compressing the range of luminance values in an HDR image to a more manageable range, preserving details in both the shadows and highlights. This node leverages OpenCV's tone mapping algorithms to achieve this, making it easier for you to work with HDR images and produce visually appealing results. By adjusting parameters such as gamma and multiplier, you can fine-tune the tone mapping process to suit your artistic needs, ensuring that your images retain their intended look and feel.
This parameter expects an image input in the form of a tensor. The image should be in a high dynamic range format, which means it contains a wide range of luminance values. The tone mapping process will be applied to this image to compress its dynamic range.
The gamma
parameter controls the gamma correction applied during the tone mapping process. Gamma correction adjusts the brightness of the image, with higher values making the image brighter and lower values making it darker. The default value is 1.0, with a minimum of 0.0 and a maximum of 8.0, adjustable in steps of 0.01.
The mult
parameter is a multiplier that scales the final output image after tone mapping. This allows you to adjust the overall intensity of the image. The default value is 1.0, with a minimum of 0.0 and a maximum of 8.0, adjustable in steps of 0.01.
The output is an image tensor that has undergone tone mapping. This image will have a compressed dynamic range, making it suitable for display on standard monitors while preserving details in both the shadows and highlights. The output image is ready for further processing or direct use in your projects.
gamma
parameter to find the right balance of brightness and contrast for your image. A higher gamma value can help bring out details in darker areas, while a lower value can enhance highlights.mult
parameter to fine-tune the overall intensity of the image after tone mapping. This can help in achieving the desired visual effect without losing important details.CV2Tonemap
node with other color correction nodes to further enhance the visual quality of your images.<src>
2<dst>
'<src>
2<dst>
'© Copyright 2024 RunComfy. All Rights Reserved.