Fixed-length lossless compression for synchronous event frames having ternary symbols

The method addresses the complexity and power constraints of event camera data compression by partitioning and encoding event frames into fixed-length symbols using multi-level lookup tables, achieving efficient compression and reduced memory usage for low-power event signal processing chips.

WO2024193790A1PCT designated stage expired Publication Date: 2024-09-26HUAWEI TECH CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
PCT/EP2023/056844
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-17
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

Current compression solutions for event data from event cameras are computationally expensive and complex, making them unsuitable for integration into low-power event signal processing chips, which require efficient, low-complexity lossless compression frameworks for fixed-length representation.

Method used

A processor-based method that partitions event frames into pixel groups, generates zero-padded vectors, encodes ternary symbols into fixed-length symbols using predefined functions, and remaps these symbols for efficient storage and access, utilizing multi-level lookup tables to achieve a memory-efficient fixed-length representation.

Benefits of technology

This approach enables low-complexity, lossless compression suitable for very-low-power devices, allowing for random access to event frame pixels and reducing memory usage by up to 20%, while maintaining efficient encoding and decoding processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2023056844_26092024_PF_FP
    Figure EP2023056844_26092024_PF_FP
Patent Text Reader

Abstract

In some examples, an imaging apparatus comprises a sensor configured to generate event data representing asynchronous changes in intensity of a scene or object to be imaged, the imaging apparatus comprising a processor configured to generate an event frame using the event data, the event frame defining a two-dimensional representation comprising multiple pixels, each pixel comprising a ternary value representing one or more characteristics of an event related to the scene or object, partition the event frame into multiple pixel groups, each pixel group comprising a set of pixels from a fractional portion of the event frame, generate a first set of data from a set of pixels of a first pixel group from the multiple pixel groups, the first set of data representing a one-dimensional array of the ternary values from each one of the set of pixels of the first pixel group, process the first set of data to generate a zero-padded vector for the first pixel group, the zero-padded vector comprising a set of tuples, wherein each tuple of the set of tuples comprises respective groups of five ternary symbols, encode each group of five ternary symbols according to a predefined function to generate a respective symbol for each group of five ternary symbols, whereby to form a set of symbols for the first pixel group, and remap the zero-padded vector for the first pixel group using the set of symbols for the first pixel group to generate a fixed-length one-dimensional array of symbols for the first pixel group that can be addressed using a pair of index values identifying the first pixel group and an index value relating to the set of symbols for the first pixel group.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] FIXED-LENGTH LOSSLESS COMPRESSION FOR SYNCHRONOUS EVENT FRAMES HAVING TERNARY SYMBOLS

[0002] Technical Field

[0003] The present invention relates generally to event data generated by an event sensor. Aspects relate to low-complexity fixed-length lossless compression frameworks for synchronous event frames.

[0004] Background

[0005] An event camera is a device comprising an event sensor that is capable of generating data in response to relative changes in luminance in a scene or object being imaged. Specifically, an event camera sensor can report changes of incoming light intensity using asynchronous events triggered at the pixel level. Each pixel either reports a change in brightness (increase or decrease, typically in relation to a threshold) or remains silent when the light intensity does not change.

[0006] Event cameras have a high temporal resolution. Individual asynchronous events can be triggered at a timestamp distance of up to one microsecond (ms). As such, event cameras are widely used for Computer Vision tasks where the event-based approach can provide an improved performance compared with the more traditional RGB-based approach. For example, image deblurring, feature detection and tracking, optic flow estimation, 3D estimation, view synthesis, and many other applications can benefit from the use of event data acquired using the event sensor of an event camera. In general, these upper-level applications tend to consume the event data as images, in the form of event frames (EFs), rather than as individual asynchronous event sequences. As such, event sequences are typically accumulated into EFs having a 2 -bit per pixel representation.

[0007] EFs can be captured at a frame rate of up to one million (M) frames per second (fps), and some event cameras are able to provide a maximum bandwidth of up to a few hundred million events per second (Meps). Typically, event camera software encapsulates event information using 8 Bytes (B) per event. As such, very high rates of, e.g., a few GB of event data per second can easily be generated when capturing fast moving scenes.

[0008] Despite its utility, the encoding of asynchronous event sequences comprising such large amounts of data is a relatively nascent field. Accordingly, event data compression remains an understudied problem with relatively few coding solutions having been proposed. In general, current coding solutions are computationally expensive, and too complex for hardware implementation in an event-processing chip with limited memory for example. There are performance-oriented compression solutions, but these can only be integrated in a system-on- a-chip (SoC) where enough computational power is available.

[0009] Summary

[0010] An objective of the present disclosure is to provide a low-complexity-oriented lossless compression framework of EFs suitable for integration into low-power event signal processing (ESP) chips or very-low-power (VLP) event-processing chips, such as inside an event sensor, where the event data is constraint to have fixed-length representation.

[0011] The foregoing and other objectives are achieved by the features of the independent claims.

[0012] Further implementation forms are apparent from the dependent claims, the description and the Figures.

[0013] A first aspect of the present disclosure provides an imaging apparatus comprising a sensor configured to generate event data representing asynchronous changes in intensity of a scene or object to be imaged, the imaging apparatus comprising a processor configured to generate an event frame using the event data, the event frame defining a two-dimensional representation comprising multiple pixels, each pixel comprising a ternary value representing one or more characteristics of an event related to the scene or object, partition the event frame into multiple pixel groups, each pixel group comprising a set of pixels from a fractional portion of the event frame, generate a first set of data from a set of pixels of a first pixel group from the multiple pixel groups, the first set of data representing a one-dimensional array of the ternary values from each one of the set of pixels of the first pixel group, process the first set of data to generate a zero-padded vector for the first pixel group, the zero-padded vector comprising a set of tuples, wherein each tuple of the set of tuples comprises respective groups of five ternary symbols, encode each group of five ternary symbols according to a predefined function to generate a respective symbol for each group of five ternary symbols, whereby to form a set of symbols for the first pixel group, and remap the zero-padded vector for the first pixel group using the set of symbols for the first pixel group to generate a fixed-length one-dimensional array of symbols for the first pixel group that can be addressed using a pair of index values identifying the first pixel group and an index value relating to the set of symbols for the first pixel group.

[0014] Fixed-length lossless compression can therefore be directly implemented into an event sensor. That is, a coding mechanism as described has a low computational complexity resulting in fixed-length representations for event frame data. As such, it can be implemented in very-low power and / or low complexity devices such as event sensors, and enables random access to pixels of an event frame and / or a block of pixels.

[0015] In an implementation of the first aspect, the processor is further configured to generate a second set of data representing multiple groups of symbols for the first pixel group, each one of the groups of the multiple groups comprising a unique arrangement of the set of symbols for the first pixel group. The processor can logically associate the index value relating to the set of symbols for the first pixel group with one of the groups of the multiple groups of symbols for the first pixel group. The processor can enable the index value relating to the set of symbols for the first pixel group to be stored as part of an identity matrix for the event frame. The processor can logically arrange the one-dimensional array of symbols for the first pixel group into a remapped volumetric representation.

[0016] In an example, the processor can assign the pair of index values identifying the first pixel group according to a position of the remapped volumetric representation relative to a set of volumetric representations for other pixels groups from the multiple pixel groups. The processor can use the second set of data to generate a third set of data for which the multiple groups of symbols for the first pixel group are rearranged such that any non-zero symbols are grouped, and wherein unique combinations of non-zero symbols are provided in multiple look-up tables, each one of the multiple look-up tables storing unique combinations of non-zero symbols of different sizes. The processor can generate respective masks for each of the multiple look-up tables, each mask defining the position of zero symbols. A second aspect of the present disclosure provides an event signal processor configured to generate event data representing asynchronous changes in intensity of a scene or object to be imaged, the event signal processor configured to generate an event frame using the event data, the event frame defining a two-dimensional representation comprising multiple pixels, each pixel comprising a ternary value representing one or more characteristics of an event related to the scene or object, partition the event frame into multiple pixel groups, each pixel group comprising a set of pixels from fractional portions of the event frame, generate a first set of data from a set of pixels of a first pixel group from the multiple pixel groups, the first set of data representing a one-dimensional array of the ternary values from each one of the set of pixels of the first pixel group, process the first set of data to generate a zero-padded vector for the first pixel group, the zero-padded vector comprising a set of tuples, wherein each tuple of the set of tuples comprises respective groups of five ternary symbols, encode each group of five ternary symbols according to a predefined function to generate a respective symbol for each group of five ternary symbols, whereby to form a set of symbols for the first pixel group, and remap the zero-padded vector for the first pixel group using the set of symbols for the first pixel group to generate a fixed-length one-dimensional array of symbols for the first pixel group that can be addressed using a pair of index values identifying the first pixel group and an index value relating to the set of symbols for the first pixel group.

[0017] In an implementation of the second aspect, the event signal processor can generate a second set of data representing multiple groups of symbols for the first pixel group, each one of the groups of the multiple groups comprising a unique arrangement of the set of symbols for the first pixel group. The event signal processor can logically associate the index value relating to the set of symbols for the first pixel group with one of the groups of the multiple groups of symbols for the first pixel group. The event signal processor can store the index value relating to the set of symbols for the first pixel group as part of an identity matrix for the event frame. The event signal processor can use the second set of data to generate a third set of data for which the multiple groups of symbols for the first pixel group are rearranged such that any non-zero symbols are grouped, and wherein unique combinations of non-zero symbols are provided in multiple look-up tables, each one of the multiple look-up tables storing unique combinations of non-zero symbols of different sizes. The event signal processor can generate respective masks for each of the multiple look-up tables, each mask defining the position of zero symbols. A third aspect of the present disclosure provides a machine-readable storage medium encoded with instructions for encoding event data representing events generated using an event sensor, the instructions executable by a processor, whereby to cause the processor to generate an event frame using the event data, the event frame defining a two-dimensional representation comprising multiple pixels, each pixel comprising a ternary value representing one or more characteristics of an event related to the scene or object, partition the event frame into multiple pixel groups, each pixel group comprising a set of pixels from fractional portions of the event frame, generate a first set of data from a set of pixels of a first pixel group from the multiple pixel groups, the first set of data representing a one-dimensional array of the ternary values from each one of the set of pixels of the first pixel group, process the first set of data to generate a zero-padded vector for the first pixel group, the zero-padded vector comprising a set of tuples, wherein each tuple of the set of tuples comprises respective groups of five ternary symbols, encode each group of five ternary symbols according to a predefined function to generate a respective symbol for each group of five ternary symbols, whereby to form a set of symbols for the first pixel group, and remap the zero-padded vector for the first pixel group using the set of symbols for the first pixel group to generate a fixed-length one-dimensional array of symbols for the first pixel group that can be addressed using a pair of index values identifying the first pixel group and an index value relating to the set of symbols for the first pixel group.

[0018] Brief description of the figures

[0019] Embodiments will now be described by way of example only with reference to the figures, in which:

[0020] Figure 1 is schematic representation of group partitioning and symbol remapping processes for an event frame captured using an event sensor, according to an example;

[0021] Figure 2 is a schematic representation of a fixed-length single-level LUT (1L-LUT) mechanism according to an example;

[0022] Figure 3 is a schematic representation of a fixed-length double-level LUT (2L-LUT) mechanism according to an example; Figure 4 is a schematic representation of a fixed-length multi-level LUT (ML-LUT) mechanism according to an example; and

[0023] Figure 5 is a schematic representation of a machine according to an example.

[0024] Detailed Description

[0025] Example embodiments are described below in sufficient detail to enable those of ordinary skill in the art to embody and implement the systems and processes herein described. It is important to understand that embodiments can be provided in many alternate forms and should not be construed as limited to the examples set forth herein.

[0026] Accordingly, while embodiments can be modified in various ways and take on various alternative forms, specific embodiments thereof are shown in the drawings and described in detail below as examples. There is no intent to limit to the particular forms disclosed. On the contrary, all modifications, equivalents, and alternatives falling within the scope of the appended claims should be included. Elements of the example embodiments are consistently denoted by the same reference numerals throughout the drawings and detailed description where appropriate.

[0027] The terminology used herein to describe embodiments is not intended to limit the scope. The articles “a,” “an,” and “the” are singular in that they have a single referent, however the use of the singular form in the present document should not preclude the presence of more than one referent. In other words, elements referred to in the singular can number one or more, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises,” “comprising,” “includes,” and / or “including,” when used herein, specify the presence of stated features, items, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, items, steps, operations, elements, components, and / or groups thereof.

[0028] Unless otherwise defined, all terms (including technical and scientific terms) used herein are to be interpreted as is customary in the art. It will be further understood that terms in common usage should also be interpreted as is customary in the relevant art and not in an idealized or overly formal sense unless expressly so defined herein. An imaging apparatus in the form of an event camera can comprise a sensor configured to generate event data representing asynchronous changes in intensity of a scene or object to be imaged. The generated event data can be used by one or more applications, such as those described above for example. According to an example, event data can be accumulated into event frame (EF) sequences. Lossless event coding frameworks and codecs are provided for hardware implementations in the form of, e.g., an event signal processing (ESP) apparatus.

[0029] According to an example, an imaging apparatus comprises a sensor configured to generate event data representing asynchronous changes in intensity of a scene or object to be imaged. The sensor has a pixel resolution W × H.

[0030] In an implementation, an EF can be represented using a ternary alphabet, where, for each pixel position (x, y), one of the following three possible symbols is assigned:

[0031] "0” to signal the position of an event with negative polarity (i.e., to report a light intensity decease);

[0032] "1” to signal the position of a non-even; and

[0033] "2” to signal the position of an event with positive polarity (i.e., report a light intensity increase).

[0034] The representation of the first two symbols can be swapped. can be used to store a representation of an EF on a storage device, such as a storage device of the imaging apparatus for example. However, in some cases a ternary alphabet containing different symbols might be used for improved visual representation. For example, may be preferred for signaling negative and positive event polarities, or may be preferred to enable an 8 —bit intensity-like representation that can guarantee compatibility with traditional image and video codecs. In a dynamic vision sensor (DVS), or event sensor, representation, each event can be stored using a package of 8 Bytes (B). In a raw EF representation, each pixel contains a ternary symbol that is stored using 2 bits, i.e., an EF having an W × H pixel resolution sensor is stored using a total of 2 × H × W bits.

[0035] In general, event data captured by an event sensor can contain different distortions (e.g., noise, latency, etc.) which can be corrected by the event sensor or an event-processing chip, such as a low-power chip with limited memory, before it can be consumed by upper-level applications. However, since raw EF representations reach high bitrate levels a more efficient fixed-length representation is required for low-bandwidth transmission of event data from the event sensor to the event-processing chip.

[0036] In order to enable efficient low-complexity lossless compression frameworks for encoding synchronous EFs, a memory- efficient fixed-length representation, suitable for hardware implementation in, e.g., very-low-power (VLP) event-processing chips is provided. According to an example, an EF representation using pixel-group frame partitioning and symbol remapping is provided. Furthermore, a low-complexity memory-efficient fixed-length representation using multi-level lookup tables (LUTs) is provided.

[0037] Figure 1 is schematic representation of group partitioning and symbol remapping processes for an event frame captured using an event sensor, according to an example. In the example of figure 1, an image, I, 101 comprises an input image of size W × H which stores, using 2 bits, a ternary symbol, s ∈ {0, 1, 2}, at each pixel position According to an example, I can be partitioned into groups of pixels, where each group of size w × h contains N = wh ternary symbols. One group of pixels 103 of size w × h is depicted.

[0038] Each group of pixels is vectorized as follows:

[0039] In the example of figure 1, a vectorised group 105 comprises an array of pixels of length wh.

[0040] According to an example, a vectorised group of pixels, is zero-padded up to a closest multiple-of-five length such that the zero-padded vector 107 can be split into subgroups of five ternary symbols. The zero-padded group vector can be denoted as where: Each subgroup k of five ternary symbols, is then remapped into a symbol t in the alphabet {0, 1, ... , 35— 1} (represented using 8 bits), by employing the following symbol remapping formula: can then be remapped to generate a remapped vector 109 as follows:

[0041] Furthermore, can be further rearranged as a remapped unit volume 111 of size 1 × 1 × Nt.

[0042] Accordingly, all symbols in each group of pixels are collected (eqn. 1). The length of the vector 105 is then zero-padded (eqn. 2) to generate a vector 107 in which the number of symbols is a multiple of 5. That is, if the vector 105 comprises a number of symbols (each symbol representing an individual pixel of the image 101) that is not a multiple of 5, symbols “0” are added up to a multiple of 5. So, for example, consider a group of pixels that comprises a 2 x 2 array of symbols (i.e., h = 2, w = 2). This maps to a vectorised group 105 of length 4 (i.e., 2 x 2). Accordingly, in this example, zero-padding is required in order to generate a vector in which the number of symbols is a multiple of 5, and in this case one zero symbol can be padded to the vectorised group 105 to provide such a zero-padded vector 107 of length (in this specific example) 5.

[0043] The symbols of the zero-padded vector are remapped (eqn. 3). So, in the previous example, there is a zero-padded vector comprising five symbols . These are remapped into one tksymbol: tk= 34s4+ 33s3+ 32s2+ 3s1+ s0. For example, s4= 0 will not change the value generated using the other 4 symbols. Note that “i” is de index of s symbols, and “k” of the t symbols. The generated vector that collects all tksymbols is then provided (eqn. 4).

[0044] Accordingly, a fixed-length representation as described above can store an input image I as a remapped volume The input image I, having a raw image representation of 2WH bits, can be stored in a memory using a remapped volume representation, V, using i.e., the input memory size is reduced by a percentage:

[0045] In an example, a maximum memory reduction of pmr= 20% (or a compression ratio of 1.25) can be obtained when the pixel-group size, N, is selected as a multiple-of-five number.

[0046] According to an example, a fixed-length representation as described above can be used to encode each group using an index value (represented on a specific number of bits) stored in an index matrix M. In an implementation, all unique combinations of Ntsymbols found in any vector can be determined. These can then, e.g., be stored in a memory using a LUT- based structure which continues to provide a fixed-length representation. Therefore, a remapped volume representation, V, can be represented using a fixed number of bits by the index matrix M and the LUT-based structure, where M(ig,jg) contains all the necessary information to extract from such a LUT-based structure. Several fixed-length representation solutions based on different levels of LUT indexing are described in more detail below. A variable-length representation solution for storing the LUT-based structure is also described.

[0047] Figure 2 is a schematic representation of a fixed-length single-level LUT (1L-LUT) mechanism according to an example. Such a fixed-length representation is suitable for integration into VLP chips, which offers the possibility to store an input image more efficiently in memory compared with a raw image representation.

[0048] In the example of figure 2, a fixed-length representation is provided by storing Nucunique combinations of Ntsymbols using a single LUT table structure, which utilizes:

[0049] In such a case, M(ig,jg) stores an index ĸ using bits, where is extracted from a LUT as

[0050] The number of bits 207 to represent I using the 1L-LUT solution is computed as follows: The value ĸ — 1 (instead of ĸ) is written in M(ig,jg) using nĸbits as . E.g., if Nuc= 4, then only two bits are needed to represent the index ĸ = 4 instead of three (4(10)= depends on the group size, as follows:

[0051] (i) if N is too small, then M contains too much information and Nucis too large as too many unique combinations are stored by LUT;

[0052] (ii) if N is too large, then M contains too less information and each line in the LUT contains too much information as Ntis too large.

[0053] An optimal N* provides the smallest memory representation for the 1L-LUT solution, however, its coding performance remains limited.

[0054] With reference to figure 2, a remapped volume representation 201, generated using the process described above with reference to figure 1, is provided. For each unit volume 111 of the representation 201 a LUT 203 is generated. In an example, each row of the LUT comprises a combination of Ntsymbols such that each row of the LUT 203 comprises one of Nucunique combinations of Ntsymbols.

[0055] As noted above, the index matrix 205, M(ig,jg) stores an index ĸ. This index is stored using nKbits in the index matrix 205. The decoding process reads the nKbits from the index matrix 205 to decode ĸ. The remapped group can then be decoded as the ĸ-th line in the LUT 203.

[0056] According to an example, a double-level LUT solution (2L-LUT) introduces a fixed-length representation where the Nucunique combinations of Ntsymbols are further divided into a set of to achieve an improved compression performance and faster search of the unique combinations.

[0057] Figure 3 is a schematic representation of a fixed-length double-level LUT (2L-LUT) mechanism according to an example. In the example of figure 3, a remapped vector 109, which can be provided in a volume representation 111, is first classified into Nuc+ 1 classes by counting the number of non-zero values as 1.

[0058] A 2L-LUT mechanism according to an example creates NtLUTs 301, where the 1 —th LUT, denoted LUTl, 303, stores unique combinations of Ntsymbols found in any vector Note that for 1 = 0 no LUT is needed as a single deterministic case can be found: all values are zero. In such a case, M(ig,jg), 305, stores the LUT index, 1, using bits (eqn. 9 below), and the index in the LUT, ĸl, using bits (eqn. 10 below), i.e., using the maximum number of bits needed to represent the largest number of unique combinations in the set of LUTs. Hence, M(ig,jg), 305, stores 1 using the first nlbits and ĸlusing the following bits.

[0059] In an implementation, is extracted from the 1 —th LUT as Therefore, M is stored by 2L-LUT using bits:

[0060] The set of NtLUTs, {LUTl}l=1.Nt, contains

[0061] A 2L-LUT makes use of the information that LUTl(the 1 —th LUT) contains 1 non-zero symbols by introducing a mask of Ntbinary symbols, bl, where the 1 —th mask symbol is set by checking if the corresponding symbol tlis or not symbol "0" in the alphabet:

[0062] The 1 non-zero symbols are stored using 81 bits 307. Hence, a 2L-LUT stores LUTlin memory using bits and I using bits:

[0063] According to an example, an encoding process can be performed as follows:

[0064] (i) each remapped group is processed to find 1, the number of non-zero symbols;

[0065] (ii) the rearranged vector is searched in LUTlto find ĸl;

[0066] (iii) and are stored in the index matrix using nl and 7 bits, respectively. A decoding process follows these steps in the reverse order (i.e., decode the two indices, read the rearranged vector at kl-th line in LUTl, and generate the remapped group using the mask and 1 non-zero symbols).

[0067] In an example, can be computed once the set of LUTs is populated with unique combinations of Ntsymbols. Therefore, a bit-cleaner procedure, BitCleaner can be used to guarantee a single pass encoding of I as follows:

[0068] BitCleaner procedure:

[0069] (i) Compute i.e., in the extreme case each group contains a unique combination of Ntsymbols.

[0070] (e) Employ 2L-LUT and write each value ĸl— 1 using nwbits instead of bits.

[0071] (b1) Compute using eq. (10) and

[0072] (b2) Remove the unnecessary from the representation of each index value M(ig,jg).

[0073] In the encoding algorithm, step (i) is employed in the initialization stage, step (e) in the encoding stage; and steps (b1) - (b2) in the final processing stage of the final bitstream, generated for encoding the index matrix. A similar procedure can be provided to post-process the bitstream and remove unnecessary bits used in the signaling of 1 for the large group size case, where not all LUTs are used in the proposed LUT -based representation, i.e., only the first few LUTs are used as e.g., LUTNthas the lowest probability to be used included in the LUT set. Therefore, the number of bits needed to represent 1 is the number of bits needed to represent 1*, the index of the last LUT in the set for which As such, a bit-cleaner procedure, can be employed as follows: procedure:

[0074] (i) Compute (e) Employ 2L-LUT and write each value 1 — 1 using n\ bits.

[0075] (bl) Compute

[0076] (b2) Remove the unnecessary bits, from the representation of each M(ig,jg).

[0077] When the selected group size is very large, e.g., for Nt≥ 150, the memory allocated to store the LUT -based structure of 2L-LUT can contains a lot of redundancy. In such cases, the number of unique combinations in the set of LUTs is reduced, and the unique combinations comprise a larger number of "0" symbols, the most frequent symbol in the alphabet. Therefore, according to an example, the 2L-LUT mechanism as described above with reference to figure 3 for example, can be modified for very large block size to provide a multi-level LUT mechanism, ML-LUT.

[0078] In an example, ML-LUT introduces an extra LUT compared with 2L-LUT, called a LUT mask and denoted LUTM, to store a mask associated with each LUT in {LUTl}l=1.Nt, i.e., line 1 in LUTMis associated with LUTl. Therefore, the position k in line 1, LUTM(l, k) , is set by checking if all the unique combinations stored by LUTlcontains a symbol "0" on the k —th position, i.e., (eqn. 15 below).

[0079] If π is used to denote the number of lines in LUTM, and is used to denote the number of bits required to store LUTM, then:

[0080] Figure 4 is a schematic representation of a fixed-length multi-level LUT (ML-LUT) mechanism according to an example. By using LUTM401, only for the positions LUTM(l, k) = 0 eqn. (12) can be used to generate a mask, and can represent the number of positions for which eqn. (12) is employed. Since depends on the structure of a determined unique combination, a variable-length representation would be required to efficiently store in memory the LUT -based structure of ML-LUT. However, according to an example, in order to guarantee a fixed-length representation, each updated mask is stored using a fixed-length representation of ml= bits. Hence, eqn. (13) is updated as eqn. (17), and eqn. (14) as eqn. (18) to provide total memory usage 407 :

[0081] In the example of figure 4, an encoding process employs the following steps: (i) each remapped group is processed to find 1, the number of non-zero symbols, and a rearranged vector is generated (mask of Ntbits and 1 non-zero symbols of 8 bits each); (ii) read from LUTM 401 the 1-th line and filter the rearranged vector to generate a filtered vector 403 (filtered mask of ml bits and 1 non-zero symbols); (iii) the filtered vector is searched in LUTlto find kl, (iv) l and ĸlare stored in the index matrix 405 using and bits, respectively. The decoding process follows these steps in the reverse order: decode the two indices, read the filtered vector at kl—th line in LUTl, generated the rearranged vector using the 1-th line in LUTM, and finally generate the remapped group using the mask and 1 non-zero symbols.

[0082] According to an example, the constraint of fixed-length representation for encoding the LUT- based structure can be relaxed, and a variable-length multi-level LUT mechanism, MLv-LUT, can be provided. MLv-LUT modifies the fixed-length representation mechanism described above, ML-LUT, by introducing two variable-length strategies for storing each LUTlin which a zero-padding procedure is removed from the generation of the filtered mask and the last nonzero symbol

[0083] Firstly, instead of storing each filtered mask using a fixed number of bits, mk, each filtered mask can be stored using the exact number of bits, and avoid the zero-padding process. The cost of storing the filtered mask of LUTlis computed by (19):

[0084] Secondly, the last non-zero symbol can be efficiently represented using less then 8 bits by removing the zero-padding process of • In such a case, the last group of ternary symbols in is and has length of rlsymbols, where rlis computed by eqn. (20). Equation (3) can then be updated as eqn. (21) for remapping {0,1, ... , 3rl— 1} and, instead of 8 bits, only ntbits are needed to store where ntis computed using eqn. (22). can be used to denote the number of unique combinations in LUTlwhich contain a non-zero symbol on the last position. The gain obtained by employing such strategy is computed by eqn. (23). Due to the variable-length representation of the LUT- based structure, an additional cost of bits, computed by eqn. (24), is required to signal which LUTs are included in the LUT set, i.e., for which

[0085] Finally, MLv-LUT stores in memory I using bits, where is computed by eqn. (25) using eqns. (11), (16), (19), (23), and (24):

[0086] According to an example, an encoder implementation for a 2L-LUT / ML-LUT fixed-length representation is presented in table 1 below. The threshold is used to select the appropriate solution based to the group size information. The index matrix is initially encoded as bitstream from lines 5-22. The proposed LUT -based representation is encoded as bitstream from lines 23-39. Bitstream is finally updated from lines 40-41 by removing the unnecessary bits based on the information provided by the proposed LUT -based representation. The output bitstream, concatenates B and in this order. The pseudo-code provided in table 1 can be used to encode an input image and store the data on a memory, while eqns. (14) and (18) can be used to compute the total memory needed to store all the necessary information in memory. Table 1 :

[0087] According to an example, a decoder implementation of a 2L-LUT / ML-LUT fixed-length representation is presented in Table 2 below. Similarly to that presented for Table 1, the threshold is used to select the appropriate solution based to the group size information. The proposed LUT -based representation is first decoded from the first part of from lines 7-24. The index matrix, M, is decoded from the remaining part of ® from lines 26-29, i.e., l and ĸlare decode on lines 28 and 29, respectively. The inverse remap process consists in first representing each symbol tkin in base 3 to generate five ternary symbols and then selecting with the first Ntternary symbols. Finally, I is generated using the proposed LUT -based representation and M from lines 30-36.

[0088] The processes outlined with reference to Tables 1 and 2 can be used to introduced an encoder and decoder of the proposed fixed-length ML-LUT method, respectively. In the case of a variable-length MLv-LUT mechanism, the two processes may be further modified as noted above by altering the processes at lines 33-34 (Table 1) and lines 21-22 (Table 2).

[0089] The size of i.e., the compressed file size, is usually smaller than the total memory usage size computed by or . In an example, are computed to report the total memory usage of each proposed fixed-length method, while is computed to report the optimal storage size of the proposed framework.

[0090] Examples in the present disclosure can be provided as methods, systems or machine-readable instructions, such as any combination of software, hardware, firmware or the like. Such machine-readable instructions may be included on a computer readable storage medium (including but not limited to disc storage, CD-ROM, optical storage, etc.) having computer readable program codes therein or thereon.

[0091] The present disclosure is described with reference to flow charts and / or block diagrams of the method, devices and systems according to examples of the present disclosure. Although the flow diagrams described above show a specific order of execution, the order of execution may differ from that which is depicted. Blocks described in relation to one flow chart may be combined with those of another flow chart. In some examples, some blocks of the flow diagrams may not be necessary and / or additional blocks may be added. It shall be understood that each flow and / or block in the flow charts and / or block diagrams, as well as combinations of the flows and / or diagrams in the flow charts and / or block diagrams can be realized by machine readable instructions.

[0092] The machine-readable instructions may, for example, be executed by a machine such as a general-purpose computer, a platform comprising user equipment such as a smart device, e.g., a smart phone, a special purpose computer, an embedded processor or processors of other programmable data processing devices to realize the functions described in the description and diagrams. For example, machine-readable instructions may, for example, be executed by a machine such as an event signal processor configured to generate event data representing asynchronous changes in intensity of a scene or object to be imaged.

[0093] A processor or processing apparatus may execute the machine-readable instructions. Thus, modules of apparatus (for example, an encoder or decoder as described above) may be implemented by a processor executing machine readable instructions stored in a memory, or a processor operating in accordance with instructions embedded in logic circuitry. The term 'processor' is to be interpreted broadly to include a CPU, processing unit, ASIC, logic unit, programmable gate set, or event signal processor etc. The methods and modules may all be performed by a single processor or divided amongst several processors.

[0094] Such machine-readable instructions may also be stored in a computer readable storage that can guide the computer or other programmable data processing devices to operate in a specific mode. For example, the instructions may be provided on a non-transitory computer readable storage medium encoded with instructions, executable by a processor.

[0095] Figure 5 is a schematic representation of a machine according to an example. The machine 500 can be, e.g., an event signal processor, or an imaging apparatus comprising a sensor. The machine 500 comprises a processor 503, and a memory 505 to store instructions 507, executable by the processor 503. The machine comprises a storage 509 that can be used to store data representing event data, captured image data, encoded data, event frames and so on, as described above. The instructions 507, executable by the processor 503, can cause the machine 500 to encode event data 510 representing events generated using an event sensor 512. According to an example, the instructions 507 are executable by the processor 503, whereby to cause the processor 503 to generate an event frame using the event data, the event frame defining a two-dimensional representation comprising multiple pixels, each pixel comprising a ternary value representing one or more characteristics of an event related to the scene or object, partition the event frame into multiple pixel groups, each pixel group comprising a set of pixels from respective fractional portions of the event frame, generate a first set of data from a set of pixels of a first pixel group from the multiple pixel groups, the first set of data representing a one-dimensional array of the ternary values from each one of the set of pixels of the first pixel group, process the first set of data to generate a zero-padded vector for the first pixel group, the zero-padded vector comprising a set of tuples, wherein each tuple of the set of tuples comprises respective groups of five ternary symbols, encode each group of five ternary symbols according to a predefined function to generate a respective symbol for each group of five ternary symbols, whereby to form a set of symbols for the first pixel group, and remap the zero-padded vector for the first pixel group using the set of symbols for the first pixel group to generate a fixed- length one-dimensional array of symbols for the first pixel group that can be addressed using a pair of index values identifying the first pixel group and an index value relating to the set of symbols for the first pixel group.

[0096] Accordingly, the machine 500 can implement a method for encoding event data representing events generated using an event sensor.

[0097] Such machine-readable instructions may also be loaded onto a computer or other programmable data processing devices, so that the computer or other programmable data processing devices perform a series of operations to produce computer-implemented processing, thus the instructions executed on the computer or other programmable devices provide an operation for realizing functions specified by flow(s) in the flow charts and / or block(s) in the block diagrams.

[0098] Further, the teachings herein may be implemented in the form of a computer or software product, such as a non-transitory machine-readable storage medium, the computer software or product being stored in a storage medium and comprising a plurality of instructions, e.g., machine readable instructions, for making a computer device implement the methods recited in the examples of the present disclosure.

[0099] In some examples, some methods can be performed in a cloud-computing or network-based environment. Cloud-computing environments may provide various services and applications via the Internet. These cloud-based services (e.g., software as a service, platform as a service, infrastructure as a service, etc.) may be accessible through a web browser or other remote interface of the user equipment for example. Various functions described herein may be provided through a remote desktop environment or any other cloud-based computing environment.

[0100] While various embodiments have been described and / or illustrated herein in the context of fully functional computing systems, one or more of these exemplary embodiments may be distributed as a program product in a variety of forms, regardless of the particular type of computer- readable-storage media used to actually carry out the distribution. The embodiments disclosed herein may also be implemented using software modules that perform certain tasks. These software modules may include script, batch, or other executable files that may be stored on a computer-readable storage medium or in a computing system. In some embodiments, these software modules may configure a computing system to perform one or more of the exemplary embodiments disclosed herein. In addition, one or more of the modules described herein may transform data, physical devices, and / or representations of physical devices from one form to another.

[0101] The preceding description has been provided to enable others skilled in the art to best utilize various aspects of the exemplary embodiments disclosed herein. This exemplary description is not intended to be exhaustive or to be limited to any precise form disclosed. Many modifications and variations are possible without departing from the spirit and scope of the instant disclosure. The embodiments disclosed herein should be considered in all respects illustrative and not restrictive. Reference should be made to the appended claims and their equivalents in determining the scope of the instant disclosure.

Claims

Claims1. An imaging apparatus comprising a sensor configured to generate event data representing asynchronous changes in intensity of a scene or object to be imaged, the imaging apparatus comprising a processor configured to: generate an event frame using the event data, the event frame defining a two- dimensional representation comprising multiple pixels, each pixel comprising a ternary value representing one or more characteristics of an event related to the scene or object; partition the event frame into multiple pixel groups, each pixel group comprising a set of pixels from a fractional portion of the event frame; generate a first set of data from a set of pixels of a first pixel group from the multiple pixel groups, the first set of data representing a one-dimensional array of the ternary values from each one of the set of pixels of the first pixel group; process the first set of data to generate a zero-padded vector for the first pixel group, the zero-padded vector comprising a set of tuples, wherein each tuple of the set of tuples comprises respective groups of five ternary symbols; encode each group of five ternary symbols according to a predefined function to generate a respective symbol for each group of five ternary symbols, whereby to form a set of symbols for the first pixel group; and remap the zero-padded vector for the first pixel group using the set of symbols for the first pixel group to generate a fixed-length one-dimensional array of symbols for the first pixel group that can be addressed using a pair of index values identifying the first pixel group and an index value relating to the set of symbols for the first pixel group.

2. The imaging apparatus as claimed in claim 1, wherein the processor is further configured to:generate a second set of data representing multiple groups of symbols for the first pixel group, each one of the groups of the multiple groups comprising a unique arrangement of the set of symbols for the first pixel group.

3. The imaging apparatus as claimed in claim 1 or 2, wherein the processor is further configured to: logically associate the index value relating to the set of symbols for the first pixel group with one of the groups of the multiple groups of symbols for the first pixel group.

4. The imaging apparatus as claimed in any preceding claim, wherein the processor is further configured to: store the index value relating to the set of symbols for the first pixel group as part of an identity matrix for the event frame.

5. The imaging apparatus as claimed in any preceding claim, wherein the processor is further configured to: logically arrange the one-dimensional array of symbols for the first pixel group into a remapped volumetric representation.

6. The imaging apparatus as claimed in claim 5, wherein the processor is further configured to: assign the pair of index values identifying the first pixel group according to a position of the remapped volumetric representation relative to a set of volumetric representations for other pixels groups from the multiple pixel groups.

7. The imaging apparatus as claimed in claim 2, wherein the processor is further configured to: use the second set of data to generate a third set of data for which the multiple groups of symbols for the first pixel group are rearranged such that any non-zero symbols are grouped, and wherein unique combinations of non-zero symbols are provided in multiple look-up tables, each one of the multiple look-up tables storing unique combinations of non-zero symbols of different sizes.

8. The imaging apparatus as claimed in claim 7, wherein the processor is further configured to: generate respective masks for each of the multiple look-up tables, each mask defining the position of zero symbols.

9. An event signal processor configured to generate event data representing asynchronous changes in intensity of a scene or object to be imaged, the event signal processor configured to: generate an event frame using the event data, the event frame defining a two- dimensional representation comprising multiple pixels, each pixel comprising a ternary value representing one or more characteristics of an event related to the scene or object; partition the event frame into multiple pixel groups, each pixel group comprising a set of pixels from fractional portions of the event frame; generate a first set of data from a set of pixels of a first pixel group from the multiple pixel groups, the first set of data representing a one-dimensional array of the ternary values from each one of the set of pixels of the first pixel group; process the first set of data to generate a zero-padded vector for the first pixel group, the zero-padded vector comprising a set of tuples, wherein each tuple of the set of tuples comprises respective groups of five ternary symbols;encode each group of five ternary symbols according to a predefined function to generate a respective symbol for each group of five ternary symbols, whereby to form a set of symbols for the first pixel group; and remap the zero-padded vector for the first pixel group using the set of symbols for the first pixel group to generate a fixed-length one-dimensional array of symbols for the first pixel group that can be addressed using a pair of index values identifying the first pixel group and an index value relating to the set of symbols for the first pixel group.

10. The event signal processor as claimed in claim 9, wherein the event signal processor is further configured to: generate a second set of data representing multiple groups of symbols for the first pixel group, each one of the groups of the multiple groups comprising a unique arrangement of the set of symbols for the first pixel group.

11. The event signal processor as claimed in claim 9 or 10, wherein the event signal processor is further configured to: logically associate the index value relating to the set of symbols for the first pixel group with one of the groups of the multiple groups of symbols for the first pixel group.

12. The event signal processor as claimed in any of claims 9 to 11, wherein the event signal processor is further configured to: store the index value relating to the set of symbols for the first pixel group as part of an identity matrix for the event frame.

13. The event signal processor as claimed in claim 10, wherein the event signal processor is further configured to:use the second set of data to generate a third set of data for which the multiple groups of symbols for the first pixel group are rearranged such that any non-zero symbols are grouped, and wherein unique combinations of non-zero symbols are provided in multiple look-up tables, each one of the multiple look-up tables storing unique combinations of non-zero symbols of different sizes.

14. The event signal processor as claimed in claim 13, wherein the event signal processor is further configured to: generate respective masks for each of the multiple look-up tables, each mask defining the position of zero symbols.

15. A machine-readable storage medium encoded with instructions for encoding event data representing events generated using an event sensor, the instructions executable by a processor, whereby to cause the processor to: generate an event frame using the event data, the event frame defining a two- dimensional representation comprising multiple pixels, each pixel comprising a ternary value representing one or more characteristics of an event related to the scene or object; partition the event frame into multiple pixel groups, each pixel group comprising a set of pixels from fractional portions of the event frame; generate a first set of data from a set of pixels of a first pixel group from the multiple pixel groups, the first set of data representing a one-dimensional array of the ternary values from each one of the set of pixels of the first pixel group; process the first set of data to generate a zero-padded vector for the first pixel group, the zero-padded vector comprising a set of tuples, wherein each tuple of the set of tuples comprises respective groups of five ternary symbols;encode each group of five ternary symbols according to a predefined function to generate a respective symbol for each group of five ternary symbols, whereby to form a set of symbols for the first pixel group; and remap the zero-padded vector for the first pixel group using the set of symbols for the first pixel group to generate a fixed-length one-dimensional array of symbols for the first pixel group that can be addressed using a pair of index values identifying the first pixel group and an index value relating to the set of symbols for the first pixel group.

Citation Information

Patent Citations

  • Method, System and Program Product for Mask-Based Compression of a Sparse Matrix

    US20200228136A1