◎ Radiance Image to Float32:
The ImageToFloat32 node is designed to convert images into a 32-bit floating-point format, which is particularly beneficial for High Dynamic Range (HDR) processing. This conversion ensures that the full dynamic range of the image is preserved without any clamping, allowing for more detailed and accurate image manipulation. By maintaining the integrity of the image data, this node is essential for tasks that require precise color grading and exposure adjustments. The node also includes improvements in its version 2.1, such as per-frame normalization and the application of source gamma correction, enhancing its functionality and reliability in processing images with varying dynamic ranges.
◎ Radiance Image to Float32 Input Parameters:
image
This parameter represents the image that you want to convert to a 32-bit floating-point format. It is a required input and should be provided in a compatible image format. The conversion process will maintain the image's dynamic range, making it suitable for HDR processing.
normalize
The normalize parameter is an optional boolean setting that, when enabled, normalizes each frame of the image independently to a [0,1] range. This can be particularly useful when dealing with images that have varying exposure levels, as it ensures consistent processing across frames. The default value is False, meaning normalization is not applied unless explicitly specified.
source_gamma
The source_gamma parameter is an optional floating-point value that specifies the gamma correction to be applied to the source image. This correction adjusts the luminance of the image to match the intended display characteristics. The default value is 1.0, with a minimum allowable value of 0.1. Adjusting this parameter can help in achieving the desired visual output, especially when working with images from different sources or with varying gamma settings.
◎ Radiance Image to Float32 Output Parameters:
converted_image
The primary output of the ImageToFloat32 node is the converted_image, which is the input image transformed into a 32-bit floating-point format. This output retains the full dynamic range of the original image, making it ideal for further HDR processing and manipulation. The converted image can be used in subsequent nodes or processes that require high precision and dynamic range.
◎ Radiance Image to Float32 Usage Tips:
- Enable the
normalizeoption when working with a sequence of images that have inconsistent exposure levels to ensure uniform processing across all frames. - Adjust the
source_gammaparameter to match the gamma settings of your source images, especially if they originate from different cameras or have been processed with varying gamma corrections. - Use this node as a preliminary step in your HDR workflow to ensure that all subsequent image manipulations are performed on data with the highest possible precision.
◎ Radiance Image to Float32 Common Errors and Solutions:
"Invalid image format"
- Explanation: This error occurs when the input image is not in a compatible format for conversion.
- Solution: Ensure that the input image is in a supported format, such as JPEG, PNG, or TIFF, before using the node.
"Normalization failed"
- Explanation: This error might arise if the normalization process encounters unexpected data, such as NaNs or Infs.
- Solution: Check the input image for any anomalies or preprocess the image to handle NaNs and Infs before conversion.
"Gamma correction out of range"
- Explanation: This error indicates that the
source_gammavalue is outside the acceptable range. - Solution: Ensure that the
source_gammavalue is set between 0.1 and a reasonable upper limit, typically around 3.0, to avoid this error.
