Fast Transient Imaging
A Python framework revolving around reconstruction of impulse responses from AMCW lidar measurements.
InputOutput.py File Reference

Provides various functions for convenient reading and writing of image data. More...

Namespaces

 InputOutput
 

Functions

def ArrayToFloatBuffer (Array)
 This function converts a NumPy array to a binary buffer of single precision values, which can be processed by OpenEXR. More...
 
def FloatBufferToArray (Data, Shape)
 This function converts a binary buffer of single precision values as expected by OpenEXR to a NumPy array of given Shape. More...
 
def StoreImage (Image, FilePath)
 Stores an image to a file. More...
 
def LoadImage (FilePath)
 This function is the counterpart of StoreImage(). More...
 
def StoreScalarImage (ComplexOrRealImage, FilePath)
 This function creates a new image file containing the scalar values in the given array. More...
 
def LoadScalarImage (FilePath)
 This function loads an image file containing the scalar values of a two- dimensional array as produced by StoreScalarImage(). More...
 
def Unpack (Stream, StructFormat)
 Reads data from a stream using struct.unpack() and returns the resulting tuple. More...
 

Detailed Description

Provides various functions for convenient reading and writing of image data.