Module: tfg.io.exr

Utility functions for reading and writing EXR image files as numpy arrays.

Functions

channels_to_ndarray(...): Copies channels from an OpenEXR.InputFile into a numpy array.

read_exr(...): Opens an EXR file and copies the requested channels into an ndarray.

write_exr(...): Writes the values in a multi-channel ndarray into an EXR file.