Simplify OpenColorIO Usage for Tone-Mapping
AgX | Filmic | Khronos PBR Neutral | Standard |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
All examples generated from the same HDR input image using different OCIO view transforms. See example.py for the code.
pip install simple-ocio
tone_mapper = simple_ocio.ToneMapper()
ldr_img = tone_mapper.hdr_to_ldr(hdr_img)
# If you want to specify a tonemapper
tone_mapper.view = "AgX"
# Check the full list of available tonemappers
print(tone_mapper.available_views)
# Available ones: 'Standard', 'Khronos PBR Neutral', 'AgX', 'Filmic', 'Filmic Log', 'False Color', 'Raw'
This package redistributes the complete Blender Color Management directory, including Filmic, AgX, and supporting LUTs. Each configuration keeps its original license. No functional changes have been made except relocating the files into the simple_ocio/ocio_data
package directory. The full license text is available at simple_ocio/ocio_data/ocio-license.txt
and the headers of each file.