Event camera data compression method
Through the cascaded timestamp-free compression method, background noise is filtered out through a fixed number of events and spatial correlation, which solves the problem of low data transmission efficiency caused by the high event rate of event cameras, achieving efficient image compression and quality improvement, and is suitable for Low power consumption and real-time recognition of scenes.
Patent Information
- Application Number
- CN202410976661.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-21
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The high event rate caused by the high temporal resolution of event cameras poses challenges to real-time image processing in low-power scenarios. Traditional timestamp-related compression methods still have the problem of large data transmission.
The cascaded timestamp-free compression method is used to filter out background noise through fixed event number compression and spatial correlation to generate high-quality compressed images, eliminating the need for timestamp transmission and improving data transmission efficiency.
It effectively improves data transmission efficiency and image quality, and is suitable for low power consumption and real-time image recognition scenarios.
Smart Images

Figure CN118764648A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of image processing, and in particular relates to a timestamp-independent event camera data compression method. Background Art
[0002] Inspired by the way the human brain transmits information, event cameras have attracted much attention due to their fully asynchronous working mode and low power consumption. It is well known that traditional frame-based cameras sample the scene at a fixed time rate, which will output a lot of data and pose a huge challenge to subsequent processing. To make matters worse, frame-based cameras have difficulty capturing fast-moving objects or obtaining sufficient details in extreme environments. Unlike frame-based cameras, event cameras react independently to dynamic changes in the brightness of individual pixels. When the change reaches a preset threshold, the pixel will output the event coordinates in the form of an address event representation (AER), which is characterized by a timestamp t, its position (x, y), and a polarity p. The timestamp indicates the time when the event occurred, and the polarity indicates how the brightness changed. p is ON or OFF when the brightness increases or decreases, respectively. Due to its working mechanism, event cameras can detect fast-moving objects in extreme environments and obtain sufficient details, thus having the advantages of high temporal resolution, low latency, and high dynamic range.
[0003] However, high temporal resolution leads to high event rates of event cameras, which poses a challenge to real-time image processing in low-power scenarios, especially in embedded hardware systems. To overcome this challenge, many event camera image compression methods have been proposed. For example, the Spiking Code method explores temporal and spatial features to compress event camera images. Some people also use a video coding scheme with a fixed time window to compress continuous events within a fixed time window (T) into one frame. The high recognition accuracy of the Spiking Neural Network (SNN) based on DVS gestures proves the effectiveness of the fixed time window scheme. However, these methods all use timestamps to encode images. Therefore, the dilemma of transmitting large amounts of data still exists. Summary of the invention
[0004] In order to effectively solve this problem, the present invention proposes a novel cascaded timestamp-free compression method, which first adopts a fixed event number compression scheme that eliminates timestamps, and then implements spatial correlation compression by filtering information-irrelevant background noise to obtain a high-quality compressed image.
[0005] The technical solution provided by the present invention is as follows:
[0006] A method for compressing event camera data, the specific steps are as follows:
[0007] 1) Collect event camera data, set a constant N for the fixed number of events, obtain an image set of the event, and count the number of times the event appears in the image set according to the coordinate information of each event and generate corresponding images E-frames, in which the pixel values of the pixels in the image E-frames correspond to the above number of times;
[0008] 2) Filter out the background noise of the image E-frames to obtain the final image S-frames, which specifically includes:
[0009] 2-1) Set a threshold S and find all pixels whose values are less than S;
[0010] 2-2) Set a threshold M. For the pixel point in step 2-1), if the pixel values of its surrounding pixels are all less than M, the event on the pixel point is considered to be background noise and is filtered out.
[0011] Furthermore, in step 1), a positive polarity event image set and a negative polarity event image set are formed respectively according to the polarity information of each event.
[0012] Furthermore, in step 2), the threshold S is smaller than N.
[0013] The present invention uses a timestamp-independent cascade compression method to compress event camera data, which can directly save the transmission of timestamps in the data transmission stage, effectively increasing the data transmission efficiency; at the same time, the method filters out background noise information through spatial correlation, further compresses the image size, and improves the image quality. Therefore, the present invention has the potential to be applied in low-power consumption and real-time image recognition scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 is a flow chart of the event camera compression method of the present invention.
[0015] Figure 2 is an example of an image generated during the fixed event number compression phase of the present invention.
[0016] Figure 3 It is a schematic diagram of filtering out background noise in the present invention.
[0017] Figure 4 Schematic diagram of image E-frames and image S-frames generated by the present invention. DETAILED DESCRIPTION
[0018] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0019] It should be noted that the purpose of publishing the embodiments is to help further understand the present invention, but those skilled in the art can understand that various substitutions and modifications are possible without departing from the spirit and scope of the present invention and the appended claims. Therefore, the present invention should not be limited to the contents disclosed in the embodiments, and the scope of protection claimed by the present invention shall be subject to the scope defined in the claims.
[0020] The process of the cascade event camera data compression method proposed by the present invention is as follows: Figure 1 As shown, the event camera senses changes in external information through components such as lenses and sensors, and generates event data (t, x, y, p), removes the timestamp information in the event, and forms preliminary images E-frames, and then removes background noise information from E-frames to obtain final images S-frames with a small number of events and high quality. Transmitted to terminals such as computers for further classification and recognition of images.
[0021] The following uses the classic data set DVS Gesture of event camera data to specifically illustrate the implementation effect of the present invention.
[0022] 1. Fixed event number compression stage:
[0023] 1) Set the fixed event number N to 500, and select 500 event points for compression each time;
[0024] 2) Divide the positive (negative) polarity event set according to the polarity information of the event. For each event information of the selected 500 event points, when p = 1 (ON), the event is divided into the positive polarity event set; when p = -1 (OFF), the event is divided into the negative polarity event set;
[0025] 3) For the data in the divided positive (negative) polarity event set, the number of times the event occurs at the specific pixel position of each image is counted according to the coordinate information of each event. The number of occurrences is the pixel value of the corresponding pixel point of the image after compression.
[0026] After compression at this stage, the data of the positive polarity event set is converted into the generated image E-frame, such as Figure 2 shown.
[0027] 2. Space-related compression stage:
[0028] The flow chart of the space compression phase is as follows: Figure 3 As shown, the specific process is:
[0029] 1) For the image E-frame compressed by the fixed event number compression scheme, set the threshold S=1 and find all the pixels whose pixel value is only 1;
[0030] 2) Set the threshold M=0. For each pixel with a pixel value of 1, if the pixel values of the eight surrounding pixels are all 0 (such as the lower right corner of the E-frame image), the event at the pixel is considered to be background noise and is filtered out;
[0031] 3) After background filtering, the final image S-frame is compressed using a cascaded timestamp-free compression method.
[0032] The comparison results of the image after compression in this stage and the image generated in the fixed event number compression stage are as follows: Figure 4 As shown, it can be seen that after spatial correlation compression, the image quality is significantly enhanced.
[0033] Although the present invention has been disclosed as a preferred embodiment as above, it is not intended to limit the present invention. Any technician familiar with the art can use the above disclosed methods and technical contents to make many possible changes and modifications to the technical solution of the present invention without departing from the scope of the technical solution of the present invention, or modify it into an equivalent embodiment of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still falls within the scope of protection of the technical solution of the present invention.
Claims
1. A method for compressing event camera data, the specific steps are as follows: 1) Collect event camera data, set a constant N with a fixed number of events, form an image set with N events, count the number of times the event appears in the image set according to the coordinate information of each event, and generate corresponding images E-frames, where the pixel values of the pixels in the image E-frames correspond to the number of times the event appears; 2) Filter out the background noise of the image E-frames, and finally obtain the compressed image S-frames, which specifically includes: 2-1) Set a threshold S and find all pixels whose values are less than S; 2-2) Set a threshold M. For each pixel point in step 2-1), determine whether the pixel values of the surrounding pixels are less than M. If so, the event at the pixel point is considered to be background noise.
2. The event camera data compression method according to claim 1, characterized in that: In step 1), a positive polarity event image set and a negative polarity event image set are formed according to the polarity information of each event.
3. The event camera data compression method according to claim 1, characterized in that: In step 2), the threshold S is adjustable, and S is smaller than N.
4. The event camera data compression method according to claim 3, characterized in that: The threshold M is adjustable, and M is smaller than S.
Citation Information
Patent Citations
Adaptive threshold event camera denoising method based on spatio-temporal content correlation
CN117115451A
Event camera denoising method based on polarity consistency
CN118279172A
