Skip to main content
. 2024 Feb 21;24(5):1382. doi: 10.3390/s24051382
Algorithm 1 TALEN-PCC
  • Input: Spike event data stream with Nevents  

  • Input: Aggregation time interval Δt [ms]  

  • Input: DVS spike sequence duration Tseq [ms]  

  • Input: kmax=TseqΔt  

  • for k=1 to kmax do

  •    while tkΔt do  

  •      Accumulate flag 0 events. Write event count in an M×N matrix for flag 0  

  •      Accumulate flag 1 events. Write event count in an M×N matrix for flag 1  

  •    end while 

  •    Apply raster scan to flag 0 matrix. Extract spatial coordinates (x, y), and event count from the raster scan of flag 0 matrix. Multivariate stream of x, y, Event-count, kΔt for flag 0 is input to a file.  

  •    Apply raster scan to flag 1 matrix. Extract spatial coordinates (x, y), and event count from the raster scan of flag 1 matrix. Multivariate stream of x, y, Event-count, kΔt for flag 1 is input to a file.  

  • end for 

  • Multivariate streams extracted from the raster scans of both the matrices are fed to GPCC encoder.  

  • Spatial coordinates (x, y), and kΔt are fed to the positions input of the GPCC encoder.  

  • Event count is fed to the Attributes input of the GPCC encoder.  

  • Output: Polarity 1 compressed bitstream, with size γ1 (bits)  

  • Output: Polarity 0 compressed bitstream, with size γ0 (bits)  

  • Output: Total size (bits) of the output stream, γ=γ0+γ1