Save the date! Google I/O returns May 18-20 Register now

Module: tfg.io.exr

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

Classes

class range: range(stop) -> range object

class zip: zip(*iterables) --> zip object

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.