Dual-mode control method of event sensor and related device
Through the dual-mode control method of event sensors and combining time domain and air domain event information, the problem of insufficient information volume of time domain sensors is solved, rich scene information capture is achieved under low power consumption, and information volume at the CMOS sensor level is provided.
Patent Information
- Application Number
- CN202310326089.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2024-09-24
AI Technical Summary
The amount of scene information collected by time-domain event sensors is relatively limited, making it difficult to balance low power consumption and rich scene information.
The dual-mode control method of the event sensor is used to obtain time-domain event information and determine the dynamics of the scene in the time-domain working mode. If it is a dynamic scene, it switches to the air-domain working mode to obtain air-domain event information, combined with each target EVS in the overall pixel array. The photoelectric analog signals of pixels and adjacent EVS pixels generate corresponding event images to capture moving and static object information.
In the airspace working mode, the amount of scene information is greatly increased, providing an amount of information equivalent to that of a CMOS sensor, while significantly reducing power consumption.
Smart Images

Figure CN118695091A
Abstract
Description
Technical Field
[0001] The present application relates to the field of sensor technology, and in particular to a dual-mode control method of an event sensor and a related device. Background Art
[0002] Event-based Vision Sensor (EVS) is a new type of sensor that simulates the human retina and generates event signals in response to pixel pulses of brightness changes caused by motion. Therefore, it can capture brightness changes of scenes at extremely high frame rates, record events at specific time points and specific positions in the image, and form event streams rather than frame streams, thus solving the problems of information redundancy, large-scale data storage and real-time processing of traditional image sensors, and has low working power consumption.
[0003] At present, the event sensors used in related technologies are all time domain event sensors, that is, the photoelectric analog signals collected by each event pixel at the current moment and the previous moment are combined to generate the event signal at the current moment. However, in actual applications, the event signals obtained by the time domain event sensors are only related to moving objects, and the amount of scene information collected is relatively limited.
[0004] Therefore, there is an urgent need for an image sensor that can achieve low power consumption while taking into account the richness of the amount of scene information collected. Summary of the invention
[0005] The present application provides a dual-mode control method for an event sensor and a related device, which can at least solve the problem that the amount of scene information collected by the time domain event sensor provided in the related art is relatively limited.
[0006] In a first aspect, the present application provides a dual-mode control method for an event sensor, comprising: controlling the event sensor to enter a first working mode, and acquiring corresponding time domain event information in combination with the photoelectric analog signals generated by each EVS pixel in the overall pixel array of the event sensor at a first working moment and a previous moment; generating a first event image corresponding to the first working moment based on all the time domain event information, and judging whether the current image acquisition scene is a dynamic scene based on the first event image; if the current image acquisition scene is the dynamic scene, controlling the event sensor to enter a second working mode, and acquiring corresponding spatial event information in combination with the photoelectric analog signals generated by each target EVS pixel and adjacent EVS pixels in the overall pixel array at the second working moment; and generating a second event image corresponding to the second working moment based on all the spatial event information.
[0007] The second aspect of the present application provides an event sensor, comprising: an EVS pixel array, a control and processing circuit, and a digital signal processing circuit respectively configured for each EVS pixel of the EVS pixel array, each of the EVS pixels is provided with an analog signal generating circuit, and the digital signal processing circuit of each EVS pixel is electrically connected to its own first analog signal generating circuit and the second analog signal generating circuit of the adjacent EVS pixel at the same time; the analog signal generating circuit is used to: generate a corresponding photoelectric analog signal according to the intensity of incident light; wherein the photoelectric analog signal includes a photocurrent signal or a voltage signal; the digital signal processing circuit is used to: in a first working mode, in combination with the EVS image to which it belongs The control and processing circuit is used to: generate a first event image corresponding to the first working moment based on all the time domain event information, and determine whether the current image acquisition scene is a dynamic scene based on the first event image. If the current image acquisition scene is the dynamic scene, control the event sensor to enter the second working mode; and generate a second event image corresponding to the second working moment based on all the spatial event information.
[0008] The third aspect of the present application provides an electronic device, comprising: a memory and a processor, wherein the processor is used to execute a computer program stored in the memory, and when the processor executes the computer program, it implements each step of the dual-mode control method of the event sensor provided in the first aspect of the embodiment of the present application.
[0009] The fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, each step of the dual-mode control method of the event sensor provided in the first aspect of the embodiment of the present application is implemented.
[0010] As can be seen from the above, according to the dual-mode control method and related devices of the event sensor provided by the scheme of the present application, the event sensor is controlled to enter the first working mode, and the corresponding time domain event information is obtained by combining the photoelectric analog signals generated by each EVS pixel in the overall pixel array of the event sensor at the first working moment and the previous moment; a first event image corresponding to the first working moment is generated based on all the time domain event information, and whether the current image acquisition scene is a dynamic scene is determined based on the first event image; if the current image acquisition scene is a dynamic scene, the event sensor is controlled to enter the second working mode, and the corresponding spatial event information is obtained by combining the photoelectric analog signals generated by each target EVS pixel and the adjacent EVS pixel in the overall pixel array at the second working moment; a second event image corresponding to the second working moment is generated based on all the spatial event information. Through the implementation of the scheme of the present application, the dual-mode event sensor can simultaneously capture the information of moving objects and static objects in the scene in the spatial working mode, which greatly increases the amount of scene information collected compared to the time domain event sensor, and can provide information equivalent to that of a CMOS sensor, while significantly reducing power consumption compared to a CMOS sensor. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 A basic flow chart of a dual-mode control method for an event sensor provided in an embodiment of the present application;
[0012] Figure 2 A schematic diagram of a second event image provided by an embodiment of the present application;
[0013] Figure 3 A schematic diagram of the structure of an event sensor provided in one embodiment of the present application;
[0014] Figure 4 A schematic diagram of the structure of another airspace event sensor provided in an embodiment of the present application;
[0015] Figure 5 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0016] In order to make the purpose, features, and advantages of the invention of this application more obvious and easy to understand, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0017] It should be understood that in the description of the embodiments of the present application, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0018] A dual-mode control method and related device of an event sensor according to an embodiment of the present application will be described in detail below with reference to the accompanying drawings.
[0019] In order to solve the problem that the amount of scene information collected by the time domain event sensor provided in the related art is relatively limited, an embodiment of the present application provides a dual-mode control method for an event sensor, such as Figure 1 This is a basic flow chart of a dual-mode control method for an event sensor provided in an embodiment of the present application. The dual-mode control method for an event sensor specifically includes the following steps:
[0020] Step 101: Control the event sensor to enter the first working mode, and obtain corresponding time domain event information by combining the photoelectric analog signals generated by each EVS pixel in the overall pixel array of the event sensor at the first working moment and the previous moment.
[0021] In this embodiment, the first working mode of the event sensor is the time domain working mode. All EVS pixels of the overall pixel array are configured as time domain EVS pixels in this time domain working mode. For the time domain EVS pixel, after generating a photoelectric analog signal at the current working moment, the photoelectric analog signal at the current working moment is subtracted from the photoelectric analog signal at the previous moment, and then the signal difference is compared with the preset difference threshold to obtain the event polarity of the time domain EVS pixel. Finally, the time domain event information is generated based on the pixel coordinate position, the timestamp of the current moment and the event polarity. The time domain event information is expressed as e=(t, x, y, p), wherein t represents the current working moment, that is, the aforementioned first working moment, (x, y) represents the pixel coordinate position of the time domain EVS pixel, and p represents the event polarity. When the signal difference is greater than the preset first difference threshold, the event polarity takes a value of 1, indicating that the time domain EVS pixel generates a positive event; when the signal difference is less than the preset second difference threshold, the event polarity takes a value of -1, indicating that the time domain EVS pixel generates a negative event; when the signal difference is greater than or equal to the second difference threshold and less than or equal to the first difference threshold, the event polarity takes a value of 0, indicating that no event occurs in the time domain EVS pixel. Different event polarities are associated with the comparison of signals generated by the same pixel of a dynamic object at different times. It is worth noting that the value of the first difference threshold is positive, and the value of the second difference threshold is negative. The two difference thresholds can preferably be opposite numbers of each other.
[0022] It should be noted that the event sensor of this embodiment is in a time domain working mode in an initial state. In this mode, only information of moving objects is captured, and the amount of information required to be acquired is small. The event sensor works in a low power consumption state.
[0023] Step 102: Generate a first event image corresponding to a first working moment based on all time-domain event information, and determine whether the current image acquisition scene is a dynamic scene based on the first event image.
[0024] Specifically, this embodiment determines whether the current image acquisition scene is a dynamic scene according to the time domain event image generated by the event sensor in the time domain working mode, and the implementation methods include but are not limited to the following two:
[0025] Method 1: extract features and classify the first event image based on a preset target detection network model; determine whether the classification and recognition result includes a target type object to determine whether the current image acquisition scene is a dynamic scene.
[0026] Specifically, this embodiment can use a neural network model to extract features from the time domain event image, and then classify and identify the feature image to determine whether the image contains a specific type of object. It should be noted that the target detection network model of this embodiment can be implemented using neural network models such as Resnet and mobilenet, and the target type object can be set according to the actual needs of the user. For example, in the parking space management scenario, the target type object can be a vehicle, and in the smart door lock unlocking scenario, the target type object can be a person. If the classification and recognition results output by the target detection network model include the target type object, it is determined that the current image acquisition scene is a dynamic scene.
[0027] Method 2: obtaining distribution information of event pixels in the first event image; dividing the region of interest in the first image according to the distribution information, and obtaining the concentration of event pixels in the region of interest; and determining whether the current image acquisition scene is a dynamic scene according to the concentration.
[0028] Specifically, in practical applications, the time-domain EVS pixels respond more sensitively in dynamic scenes, so that the present embodiment can divide the time-domain event image into regions according to the distribution information of the pixels generating events in the time-domain event image, and then determine the region where the event pixels are concentrated as the region of interest, and then count the concentration of the event pixels in the region of interest. If the concentration of the region of interest is greater than or equal to a preset concentration threshold, it is determined that the event sensor has captured a dynamic object in the current scene, and the current image acquisition scene is determined to be a dynamic scene.
[0029] Step 103: If the current image acquisition scene is a dynamic scene, the event sensor is controlled to enter the second working mode, and the corresponding spatial event information is obtained by combining the photoelectric analog signals generated by each target EVS pixel and the adjacent EVS pixel in the overall pixel array at the second working moment.
[0030] Specifically, in the present embodiment, after the event sensor captures dynamic scene information in the time domain working mode, the event sensor switches to the second working mode at the next working moment. The working mode may be a spatial domain working mode or a time domain / spatial domain composite working mode, that is, in this working mode, at least some EVS pixels of the event sensor are configured as spatial domain EVS pixels. For each spatial domain EVS pixel, after it generates a photoelectric analog signal at the current working moment, the spatial domain event information of the spatial domain EVS pixel is determined according to the photoelectric analog signal generated by each spatial domain EVS pixel and its multiple adjacent EVS pixels at the current moment. It should be noted that the number of adjacent EVS pixels selected for each target EVS pixel in the present embodiment can be set according to actual needs, and the adjacent EVS pixels and the target EVS pixels may share a common edge or a common corner point, and the present embodiment does not make a sole limitation on this.
[0031] In some implementations of the present embodiment, the above-mentioned step of obtaining corresponding spatial event information by combining the photoelectric analog signals generated by each target EVS pixel in the overall pixel array and the adjacent EVS pixels at the second working moment includes: respectively subtracting the photoelectric analog signals generated by each target EVS pixel in the overall pixel array and the multiple adjacent EVS pixels at the second working moment to obtain multiple signal difference values; comparing the multiple signal difference values with a preset value range; generating multiple event polarities of the target pixel based on all comparison results; and generating the spatial event information of the target EVS pixel by combining all event polarities.
[0032] Specifically, in this embodiment, the generation of spatial event information by combining the photoelectric analog signals of the target EVS pixel and its eight neighboring EVS pixels is used as an example for exemplary description. For the target EVS pixel, its photoelectric analog signal is expressed as: The photoelectric analog signals of eight adjacent EVS pixels are expressed as i=1,2,3,4,5,6,7,8. It should be noted that u and v are the positions of the EVS pixels along the length and width directions, respectively, where u∈1,2,3…M; v∈1,2,3…N, M and N are the maximum length and width pixel numbers of the image, respectively. (u,v) are global parameters, and the numbering rule does not change with the pixel position. In addition, i represents the number of the adjacent EVS pixel, and the numbering changes locally with the pixel position. The numbering order can be arranged clockwise or counterclockwise, or pseudo-randomly, etc. This embodiment calculates the signal difference between the EVS pixel and the eight adjacent EVS pixels, and the calculation formula is expressed as follows: Eight signal differences can be obtained, and then each signal difference is compared with the preset value range. The comparison is performed, and finally all comparison results are combined to generate the spatial event information of the EVS pixel.
[0033] More specifically, the comparison results of this embodiment include as well as Three types, among which In the case of , the corresponding event polarity is 1, indicating that the spatial EVS pixel generates a positive event. In the case of , the corresponding event polarity is -1, indicating that the spatial EVS pixel generates a negative event. In the case of , the corresponding event polarity is 0, indicating that the spatial EVS pixel does not generate an event. Different event polarities are associated with the comparison of signals generated by adjacent pixels of static objects. Next, according to all event polarities p i (i is the number of the adjacent EVS pixel), the coordinate position (x, y) of the spatial EVS pixel, and the timestamp t at the current moment generate the spatial event information corresponding to the spatial EVS pixel. For example, the spatial event information finally generated in the above implementation manner can be expressed in the form of e = (t, x, y, p1, p2, p3, p4, p5, p6, p7, p8).
[0034] Step 104: Generate a second event image corresponding to the second working moment based on all airspace event information.
[0035] Specifically, this embodiment controls the event sensor to collect time domain event information in the initial state to detect moving objects in a low power consumption state. If a moving object is detected, the event sensor is controlled to switch the working mode to further collect spatial event information. Since the spatial event information can capture the event information of moving objects and static objects at the same time, the amount of effective event information is increased. In actual applications, it can provide an amount of information equivalent to that of a traditional CMOS sensor, but has a low power consumption characteristic compared to a traditional CMOS sensor.
[0036] In some implementations of this embodiment, after the step of generating a second event image corresponding to the second working moment based on all airspace event information, the step further includes: acquiring location information of the target type object based on the second event image.
[0037] It should be noted that in application scenarios such as security and monitoring, if the event sensor can only collect time domain event information, it can only detect moving objects. Since the time domain event image does not include static object information, it cannot provide reference information of moving objects and cannot meet practical application requirements such as position determination of moving objects. Based on this, the dual-mode event sensor provided in this embodiment can collect airspace event information in the second working mode. Since the airspace event information has both moving object information and static object information, the image details provided by the airspace event image are richer, which can effectively realize complex requirements such as position determination of moving objects, and has a high implementation significance in application scenarios such as security and monitoring.
[0038] In some implementations of this embodiment, before the above-mentioned step of combining the photoelectric analog signals generated by each target EVS pixel and the adjacent EVS pixels in the overall pixel array at the second working moment to obtain the corresponding spatial event information, it also includes: determining all EVS pixels in the overall pixel array as target EVS pixels.
[0039] Specifically, in the second working moment, the present embodiment can configure all EVS pixels in the overall pixel array of the event sensor as target EVS pixels, that is, all sensor pixels are used as spatial EVS pixels to collect spatial event information, and finally the second event image generated by combining all the spatial event information includes the information of the moving objects and static objects in the global scene. Figure 2 The figure shows a schematic diagram of a second event image provided by the present embodiment, in which 201 shows a moving object, that is, the aforementioned target type object, and 202 to 205 show static objects.
[0040] In some other implementations of the present embodiment, before the above-mentioned step of obtaining corresponding spatial event information by combining the photoelectric analog signals generated by each target EVS pixel and the adjacent EVS pixels in the overall pixel array at the second working moment, it also includes: mapping the area where the target type object in the first event image is located to the overall pixel array; selecting a region of interest from the overall pixel array with reference to the mapping area; and determining all EVS pixels in the region of interest as target EVS pixels.
[0041] Specifically, in actual application scenarios, what is usually needed to be concerned about is the moving object and the associated information around it, while the moving object information is only sensed by some sensors of the event sensor. If the event sensor is controlled to globally collect spatial event information at the second working moment, information redundancy will be generated, resulting in increased power consumption and data processing. Based on this, the present embodiment can map the image area where the moving object is located in the first event image to the overall pixel array of the event sensor, determine a mapping area on the overall pixel array, and then divide an area of interest in the overall pixel array according to the mapping area. Usually, the area of interest only includes the mapping area and its surrounding area, and then determine the EVS pixels in the area of interest in the overall pixel array as the target EVS pixels participating in the collection of spatial event information, which can ensure that the spatial event information finally collected is valid event information, reduce information redundancy and power consumption, and effectively improve the frame rate.
[0042] In some other implementations of the present embodiment, before the above-mentioned step of obtaining corresponding spatial event information by combining the photoelectric analog signals generated by each target EVS pixel and the adjacent EVS pixels in the overall pixel array at the second working moment, it also includes: mapping the area where the target type object in the first event image is located to the overall pixel array; obtaining other array areas in the overall pixel array except the mapping area, and determining the target EVS pixel from all EVS pixels in other array areas.
[0043] Correspondingly, the above-mentioned step of generating a second event image corresponding to the second working moment based on all airspace event information includes: generating an airspace event image corresponding to the second working moment based on all airspace event information; synthesizing the first event image with the airspace event image to obtain a second event image.
[0044] Specifically, in practical applications, the present embodiment controls the pixels in the overall pixel array that have captured the event information of the target type object to enter a disabled state, and then determines the spatial EVS pixels from other array areas outside this part of the pixels. It should be noted that at this time, the spatial event information collected based on the spatial EVS pixels does not include the event information of the previously detected moving object, so that the present embodiment first generates a spatial event image based on the collected spatial event information, and then synthesizes the spatial event image with the first event image including the moving object information, so that the final second event image includes both the moving object information and the static object information. It is worth noting that, since the event camera has a high frame rate characteristic, the interval between the acquisition moments of the event images of adjacent frames is extremely short, so when the moving object captured at the first working moment is captured again at the second working moment, the position change in the scene can be ignored, and thus, the second event image obtained by synthesizing the first event image and the spatial event image of the adjacent frames in the present embodiment can ensure a high degree of scene information restoration.
[0045] Furthermore, in some implementations of this embodiment, the step of determining the target EVS pixel from all EVS pixels in other array areas includes: selecting an area of interest from other array areas with reference to the mapping area; and determining all EVS pixels in the area of interest as target EVS pixels.
[0046] Specifically, this embodiment can select the area of interest with reference to the mapping area associated with the moving object, and only determine the EVS pixels of the area of interest as the spatial EVS pixels at the second working moment, ensuring that the scene information near the moving object can be effectively acquired while reducing the amount of redundant information and working power consumption.
[0047] Next, an embodiment of the present application further provides an event sensor, such as Figure 3 FIG. 1 is a schematic diagram of the structure of an event sensor provided in this embodiment. Figure 3 Taking the EVS pixel marked with O as an example, an optional circuit connection principle of the digital signal processing circuit configured therein is shown. The event sensor mainly includes: an EVS pixel array, a control and processing circuit, and a digital signal processing circuit 301 configured for each EVS pixel of the EVS pixel array. Each EVS pixel is provided with an analog signal generating circuit 302. The digital signal processing circuit 301 of each EVS pixel is electrically connected to its own first analog signal generating circuit and the second analog signal generating circuit of the adjacent EVS pixel at the same time.
[0048] The analog signal generating circuit is used to generate a corresponding photoelectric analog signal according to the intensity of incident light; wherein the photoelectric analog signal includes a photocurrent signal or a voltage signal.
[0049] The digital signal processing circuit is used to: in the first working mode, obtain corresponding time domain event information by combining the photoelectric analog signals generated by the EVS pixel to which it belongs at the first working moment and the previous moment, and, in the second working mode, obtain corresponding spatial domain event information by combining the photoelectric analog signals generated by the EVS pixel to which it belongs and the adjacent EVS pixel at the second working moment.
[0050] The control and processing circuit is used to: generate a first event image corresponding to a first working moment based on all time domain event information, and determine whether the current image acquisition scene is a dynamic scene based on the first event image. If the current image acquisition scene is a dynamic scene, control the event sensor to enter a second working mode; and generate a second event image corresponding to a second working moment based on all spatial domain event information.
[0051] In the present embodiment, the digital signal processing circuit corresponding to each EVS pixel of the event sensor is simultaneously connected to the analog signal generating circuit of itself and the adjacent EVS pixel, so that the digital signal processing circuit corresponding to the back end of each EVS pixel can simultaneously receive the local photoelectric analog signal (that is, the photoelectric analog signal generated by the EVS pixel to which it belongs) and the branch photoelectric analog signal (that is, the photoelectric analog signal generated by the adjacent EVS pixel). It should be understood that the adjacent EVS pixels of each EVS pixel in the present embodiment are not limited to the EVS pixels directly adjacent to each EVS pixel, but may also include indirectly adjacent EVS pixels that are relatively close to each EVS pixel. In addition, the number of adjacent EVS pixels in the present embodiment can be one or more. In practical applications, in order to improve the accuracy of spatial event information, it is preferred to set multiple adjacent EVS pixels for each EVS pixel.
[0052] Please refer again Figure 3 In an optional embodiment, the digital signal processing circuit of each EVS pixel is electrically connected to its own first analog signal generating circuit and the second analog signal generating circuits of eight adjacent EVS pixels directly adjacent to its four sides and four corners. That is, in practical applications, each EVS pixel can be taken as the center to determine the eight adjacent EVS pixels directly adjacent to it, and then the photoelectric analog signals generated by the analog signal generating circuits of the eight adjacent EVS pixels are shared to the digital signal processing circuit of the central EVS pixel.
[0053] like Figure 4 FIG. 1 is a schematic diagram of the structure of another airspace event sensor provided in this embodiment. Similarly, Figure 4Taking only the EVS pixel marked by O as an example, an optional circuit connection principle of the digital signal processing circuit configured therein is shown. Considering the simplicity of the circuit design, in another optional implementation, the digital signal processing circuit of each EVS pixel is electrically connected to its own first analog signal generating circuit, and the second analog signal generating circuit of three adjacent EVS pixels directly adjacent to its own two sides (preferably two adjacent sides) and a corner point (preferably the corner point at the intersection of two adjacent sides). That is, in practical applications, only the two adjacent sides of each EVS pixel and the corner points at the adjacent sides can be used as references to obtain three directly adjacent adjacent EVS pixels that share the same sides and corner points with the EVS pixel. Compared with the previous implementation, the number of branches of each digital signal processing circuit in this implementation is reduced, that is, from 8 to 3, which can effectively reduce the complexity of the circuit design. Of course, in practical applications, in order to minimize the complexity of the circuit design, the number of branches of a single pixel can also be reduced to at least one.
[0054] In addition, it should be noted that different EVS pixels have different positions in the overall pixel array of the event sensor. The branch forms designed for the digital signal processing circuits of different EVS pixels in this embodiment can have different adaptability. For example, for EVS pixels in the middle area of the overall pixel array, the branch forms can be used. Figure 3 The digital signal processing circuit is designed in the form shown in the figure. For the EVS pixels in the boundary area, the Figure 4 The branch form of its digital signal processing circuit is designed in the form shown.
[0055] It should be noted that the dual-mode control methods of the event sensors in the aforementioned embodiments can be applied to the event sensor implementation provided in this embodiment. Ordinary technicians in the relevant field can clearly understand that for the convenience and conciseness of description, the specific working process of the event sensor described in this embodiment can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0056] Based on the technical solution of the above-mentioned embodiment of the present application, the event sensor is controlled to enter the first working mode, and the corresponding time domain event information is obtained by combining the photoelectric analog signals generated by each EVS pixel in the overall pixel array of the event sensor at the first working moment and the previous moment; a first event image corresponding to the first working moment is generated based on all the time domain event information, and whether the current image acquisition scene is a dynamic scene is determined based on the first event image; if the current image acquisition scene is a dynamic scene, the event sensor is controlled to enter the second working mode, and the corresponding spatial event information is obtained by combining the photoelectric analog signals generated by each target EVS pixel and the adjacent EVS pixel in the overall pixel array at the second working moment; a second event image corresponding to the second working moment is generated based on all the spatial event information. Through the implementation of the solution of the present application, the dual-mode event sensor can simultaneously capture the information of moving objects and static objects in the scene in the spatial working mode, which greatly increases the amount of scene information collected compared to the time domain event sensor, and can provide information equivalent to that of a CMOS sensor, while significantly reducing power consumption compared to a CMOS sensor.
[0057] Figure 5 An electronic device provided in one embodiment of the present application can be used to implement the dual-mode control method of the event sensor in the aforementioned embodiment, mainly comprising:
[0058] The memory 501, the processor 502, and the computer program 503 stored in the memory 501 and executable on the processor 502 are connected to the memory 501 and the processor 502 via communication. When the processor 502 executes the computer program 503, the method in the aforementioned embodiment is implemented. The number of processors may be one or more.
[0059] The memory 501 may be a high-speed random access memory (RAM) memory, or a non-volatile memory, such as a disk memory. The memory 501 is used to store executable program codes, and the processor 502 is coupled to the memory 501 .
[0060] Furthermore, the embodiment of the present application also provides a computer-readable storage medium, which may be provided in the electronic device in the above embodiment. The computer-readable storage medium may be the above Figure 5 Memory in the illustrated embodiment.
[0061] The computer readable storage medium stores a computer program, and when the program is executed by the processor, the dual-mode control method of the event sensor in the aforementioned embodiment is implemented. Furthermore, the computer storable medium can also be a U disk, a mobile hard disk, a read-only memory (ROM), a RAM, a magnetic disk or an optical disk, and other media that can store program codes.
[0062] It should also be noted that the devices and methods disclosed in the several embodiments provided in this application can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0063] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0064] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0065] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a readable storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned readable storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0066] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0067] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0068] The above is a description of the dual-mode control method and related devices of the event sensor provided in the present application. For technicians in this field, according to the ideas of the embodiments of the present application, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present application.
Claims
1. A dual-mode control method for an event sensor, characterized in that: include: Control the event sensor to enter the first working mode, and obtain corresponding time domain event information by combining the photoelectric analog signals generated by each EVS pixel in the overall pixel array of the event sensor at the first working moment and the previous moment; generating a first event image corresponding to the first working moment based on all the time domain event information, and determining whether the current image acquisition scene is a dynamic scene based on the first event image; If the current image acquisition scene is the dynamic scene, the event sensor is controlled to enter the second working mode, and the corresponding spatial event information is obtained by combining the photoelectric analog signals generated by each target EVS pixel and the adjacent EVS pixel in the overall pixel array at the second working moment; A second event image corresponding to the second working moment is generated based on all the spatial event information.
2. The dual-mode control method of the event sensor according to claim 1, characterized in that: The step of judging whether the current image acquisition scene is a dynamic scene based on the first event image comprises: Performing feature extraction and classification recognition on the first event image based on a preset target detection network model; Determine whether the classification and recognition result includes the target type object to determine whether the current image acquisition scene is a dynamic scene; Or, obtaining distribution information of event pixels in the first event image; Dividing a region of interest in the first image according to the distribution information, and obtaining a concentration of pixels of the event in the region of interest; It is determined whether the current image acquisition scene is a dynamic scene according to the concentration.
3. The dual-mode control method of the event sensor according to claim 1, characterized in that: Before the step of combining the photoelectric analog signals generated by each target EVS pixel and the adjacent EVS pixel in the overall pixel array at the second working moment to obtain the corresponding airspace event information, the method further includes: All EVS pixels in the overall pixel array are determined as the target EVS pixels.
4. The dual-mode control method of an event sensor according to claim 1, characterized in that: Before the step of combining the photoelectric analog signals generated by each target EVS pixel and the adjacent EVS pixel in the overall pixel array at the second working moment to obtain the corresponding airspace event information, the method further includes: Mapping the area where the target type object is located in the first event image to the overall pixel array; Acquire other array areas except the mapping area in the overall pixel array, and determine the target EVS pixel from all EVS pixels in the other array areas; The step of generating a second event image corresponding to the second working moment based on all the airspace event information comprises: Generate an airspace event image corresponding to the second working moment according to all the airspace event information; The first event image is synthesized with the spatial event image to obtain a second event image.
5. The dual-mode control method of the event sensor according to claim 4, characterized in that: The step of determining the target EVS pixel from all EVS pixels in the other array areas comprises: selecting a region of interest from the other array regions with reference to the mapping region; All EVS pixels in the region of interest are determined as the target EVS pixels.
6. The dual-mode control method of an event sensor according to any one of claims 1 to 5, characterized in that: The step of combining the photoelectric analog signals generated by each target EVS pixel and the adjacent EVS pixels in the overall pixel array at the second working moment to obtain the corresponding airspace event information comprises: Subtracting the photoelectric analog signals generated by each target EVS pixel in the overall pixel array and a plurality of adjacent EVS pixels at the second working moment, respectively, to obtain a plurality of signal difference values; Comparing the plurality of signal differences with a preset value range; generating a plurality of event polarities of the target pixel according to all comparison results; All of the event polarities are combined to generate spatial event information of the target EVS pixel.
7. An event sensor, characterized in that: include: An EVS pixel array, a control and processing circuit, and a digital signal processing circuit respectively configured for each EVS pixel of the EVS pixel array, each of the EVS pixels is provided with an analog signal generating circuit, and the digital signal processing circuit of each EVS pixel is electrically connected to its own first analog signal generating circuit and a second analog signal generating circuit of an adjacent EVS pixel at the same time; The analog signal generating circuit is used to: generate a corresponding photoelectric analog signal according to the incident light intensity; wherein the photoelectric analog signal includes a photocurrent signal or a voltage signal; The digital signal processing circuit is used to: in a first working mode, combine the photoelectric analog signal generated by the EVS pixel to which it belongs at the first working moment and the previous moment to obtain corresponding time domain event information, and in a second working mode, combine the photoelectric analog signal generated by the EVS pixel to which it belongs and the adjacent EVS pixel at the second working moment to obtain corresponding spatial domain event information; The control and processing circuit is used to: generate a first event image corresponding to the first working moment based on all the time domain event information, and determine whether the current image acquisition scene is a dynamic scene based on the first event image. If the current image acquisition scene is the dynamic scene, control the event sensor to enter the second working mode; and generate a second event image corresponding to the second working moment based on all the spatial domain event information.
8. The event sensor according to claim 7, characterized in that The digital signal processing circuit of the EVS pixel is simultaneously electrically connected to its own first analog signal generating circuit and the second analog signal generating circuits of eight adjacent EVS pixels that are directly adjacent to its own four sides and four corner points respectively; or, the digital signal processing circuit of the EVS pixel is simultaneously electrically connected to its own first analog signal generating circuit and the second analog signal generating circuits of three adjacent EVS pixels that are directly adjacent to its own two sides and one corner point respectively.
9. An electronic device, characterized in that: The device comprises a memory and a processor, wherein: The processor is used to execute the computer program stored in the memory; When the processor executes the computer program, the steps in the dual-mode control method of the event sensor according to any one of claims 1 to 6 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the dual-mode control method of the event sensor according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
In-pixel event data generation method and event vision sensor
CN122227095A
Intra-pixel event data generation method and event visual sensor
CN122227095B
