ToImage#

class tonic.transforms.ToImage(sensor_size: Tuple[int, int, int])[source]#

Counts up all events to a single image of size sensor_size.

ToImage will typically be used in combination with SlicedDataset to cut a recording into smaller chunks that are then individually binned to frames.

Parameters:

sensor_size (Tuple[int, int, int]) –