Visit ComfyUI Online for ready-to-use ComfyUI environment
Apply Reinhard tonemapping algorithm to HDR images for display on standard monitors, preserving natural appearance and enhancing visual quality.
The CV2TonemapReinhard node is designed to apply the Reinhard tonemapping algorithm to high dynamic range (HDR) images, converting them into a format suitable for display on standard monitors. This method is particularly effective in preserving the natural appearance of images by balancing the luminance and color adaptation, making it a popular choice for AI artists looking to enhance the visual quality of their HDR images. The Reinhard tonemapping technique is known for its ability to maintain detail in both the highlights and shadows, providing a more realistic and visually appealing result.
This parameter expects an HDR image that you want to tonemap. The image should be in a format that supports high dynamic range data.
This parameter controls the gamma correction applied to the image. Gamma correction adjusts the brightness of the image, with a default value of 1.0. The value can range from 0.0 to 8.0, allowing you to fine-tune the brightness to your preference.
This parameter adjusts the overall intensity of the tonemapped image. It has a default value of 0.0 and can range from -8.0 to 8.0. Increasing the intensity can make the image appear more vivid, while decreasing it can create a more subdued effect.
This parameter controls the light adaptation level, which affects how the tonemapping algorithm adapts to different lighting conditions in the image. The default value is 1.0, with a range from 0.0 to 1.6. Lower values can make the image appear darker, while higher values can enhance the brightness.
This parameter adjusts the color adaptation level, influencing how colors are balanced in the tonemapped image. The default value is 1.0, with a range from 0.0 to 1.6. Lower values can desaturate the colors, while higher values can make them more vibrant.
This parameter is a multiplier that scales the final tonemapped image. The default value is 1.0, with a range from 0.0 to 8.0. Adjusting this value can help you achieve the desired brightness and contrast in the final image.
The output is the tonemapped image, which has been processed using the Reinhard tonemapping algorithm. This image is now suitable for display on standard monitors, with balanced luminance and color adaptation, preserving details in both highlights and shadows.
gamma
parameter to adjust the overall brightness of your image. A higher gamma value can make the image appear brighter, while a lower value can darken it.intensity
parameter to enhance or reduce the vividness of your image. This can be particularly useful for creating different moods or artistic effects.light_adapt
and color_adapt
parameters to fine-tune how the tonemapping algorithm handles different lighting conditions and color balances in your image.mult
parameter can be used to scale the final image, helping you achieve the desired brightness and contrast.tonemap_op
attribute is not properly initialized, possibly due to an unsupported OpenCV version.createTonemapReinhard
function. Update OpenCV if necessary.gamma
parameter is not provided as a float value.gamma
parameter is specified as a float. For example, use 1.0
instead of 1
.© Copyright 2024 RunComfy. All Rights Reserved.