Image processing system and image processing method
By adopting the data transmission method of block processing in the image processing system, and using the preset receptive fields and convolution kernels to block the image signal, the problem of low frame rate of the image sensor is solved, and more efficient image processing and more efficient processing are achieved. Low latency.
Patent Information
- Application Number
- CN202410659049.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-09-10
AI Technical Summary
The existing technology is difficult to increase the frame rate of the image sensor due to area and cost constraints, and there is room for improvement in delay and power consumption.
The image processing system is adopted, including the sensor layer, analog-to-digital conversion layer and processor layer. Through the data transmission method of block processing, the optical signal is processed in blocks using preset receptive fields and convolution kernels to reduce the number of calls to register resources. Reduce convolution processing latency.
It improves the limit frame rate of the image processing system, significantly reduces the delay in performing convolution processing, and enhances the efficiency and direction sensitivity of image processing.
Smart Images

Figure CN118628331A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of semiconductor devices and integrated circuits, and more particularly, to an image processing system and an image processing method. Background Art
[0002] With the development of computer technology, vision computing applications have been widely applied to fields such as face recognition, autonomous driving, and medical image processing. These applications fundamentally rely on image sensors.
[0003] In the related art, an image sensor can be responsible for collecting image data, transmitting the image data to a processor, and performing image data inference and judgment through a neural network. For example, a Convolutional Neural Networks (CNN) can be used to complete image processing tasks through large-scale convolutional operations.
[0004] In the process of implementing the concept of the present disclosure, the inventors found that there are at least the following problems in the related art: it is difficult to further improve the frame rate of the image sensor under the limitation of area and cost consideration. Summary of the Invention
[0005] In view of this, the present disclosure provides an image processing system and an image processing method.
[0006] According to one aspect of the present disclosure, there is provided an image processing system, including: a sensor layer for performing block processing on the received optical signal according to a preset receptive field and a preset convolution kernel to obtain T intermediate image signals, where T is a positive integer; an analog-to-digital conversion layer connected to the sensor layer for respectively processing the T intermediate image signals from the sensor layer to obtain T image data; and a processor layer connected to the analog-to-digital conversion layer for respectively performing convolution processing on the T image data from the analog-to-digital conversion layer according to a preset weight to obtain an image processing result.
[0007] According to an embodiment of the present disclosure, the sensor layer is deployed with a pixel array for performing global exposure to obtain the optical signal. The pixel array includes M*N pixel units, and the dimension of the preset receptive field is P*Q, where both P and Q are positive integers, and P, Q<M and P, Q<N; the sensor layer is configured to: group the M*N pixel units according to the preset receptive field to obtain T pixel unit sets, where each pixel unit set includes P*Q pixel units; and for each pixel unit set, perform convolution processing in a preset direction on the signals of each of the P*Q pixel units according to the preset convolution kernel to obtain the intermediate image signal.
[0008] According to an embodiment of the present disclosure, the dimension of the preset convolution kernel is S*S, where S is a positive integer and S<P, Q; performing convolution processing on the signals of each of the P*Q pixel units in a preset direction according to the preset convolution kernel to obtain the intermediate image signal includes: determining, according to the dimension of the preset convolution kernel, P first sub-pixel unit sets located in the first S rows among the P*Q pixel units, where each of the first sub-pixel unit sets includes S pixel units; based on a first preset direction, respectively performing convolution processing on the signals of the S pixel units included in each of the P first sub-pixel unit sets to obtain a regional image signal; determining, according to the dimension of the preset receptive field and the dimension of the preset convolution kernel, (Q-S) second sub-pixel unit sets located in the last (Q-S) rows among the P*Q pixel units, where each of the second sub-pixel unit sets includes P pixel units; and, based on a second preset direction, respectively performing convolution processing on the signals of the P pixel units included in each of the (Q-S) second sub-pixel unit sets and the regional image signal to obtain the intermediate image signal, where the second preset direction is perpendicular to the first preset direction.
[0009] According to an embodiment of the present disclosure, i is a positive integer greater than 1 and less than or equal to P; the performing convolution processing on the signals of the S pixel units included in each of the P first sub-pixel unit sets based on the first preset direction to obtain a regional image signal includes repeatedly performing the following operations until the Pth first sub-intermediate processing signal is obtained: for the ith first sub-pixel unit set, obtaining the (i-1)th first sub-intermediate processing signal, where the (i-1)th first sub-intermediate processing signal is obtained by performing convolution processing on the (i-1)th first sub-pixel unit set; and, based on the (i-1)th first sub-intermediate processing signal, performing convolution processing in the ith first sub-pixel unit set in the order from the first pixel unit to the Sth pixel unit to obtain the ith first sub-intermediate processing signal.
[0010] According to an embodiment of the present disclosure, j is a positive integer greater than 1 and less than or equal to (QS); based on the second preset direction, the above-mentioned (QS) second sub-pixel unit sets and the above-mentioned regional image signal are respectively convolved to obtain the above-mentioned intermediate image signal, including repeatedly performing the following operations until the (QS)th second sub-intermediate processing signal is obtained: for the jth above-mentioned second sub-pixel unit set, the j-1th second sub-intermediate processing signal is obtained, wherein the above-mentioned j-1th second sub-intermediate processing signal is obtained by convolving the above-mentioned j-1th above-mentioned second sub-pixel unit set; and, based on the above-mentioned j-1th second sub-intermediate processing signal, convolution processing is performed within the jth above-mentioned second sub-pixel unit set in an order from the 1st pixel unit to the Pth pixel unit to obtain the jth second sub-intermediate processing signal.
[0011] According to an embodiment of the present disclosure, the above-mentioned analog-to-digital conversion layer includes an analog buffer and an analog-to-digital converter; the above-mentioned analog buffer is used to receive and store the above-mentioned T intermediate image signals from the above-mentioned sensor layer, and according to the data processing status of the above-mentioned analog-to-digital converter, send t intermediate image signals among the above-mentioned T intermediate image signals to the above-mentioned analog-to-digital converter, where t is a positive integer less than or equal to T; and the above-mentioned analog-to-digital converter is used to perform analog-to-digital conversion processing on the above-mentioned t intermediate image signals respectively to obtain the above-mentioned t image data.
[0012] According to an embodiment of the present disclosure, the above-mentioned processor layer includes a convolution operation array and a register array, the above-mentioned convolution operation array includes T convolution operation unit sets, each of the above-mentioned convolution operation units in the same above-mentioned convolution operation unit set stores the same preset sub-weight, and the above-mentioned register array includes (V-1) register groups, V is a positive integer greater than 1; the above-mentioned processor layer is used to repeatedly perform the following operations until the Tth image processing sub-result is obtained: for the tth above-mentioned convolution operation unit set, obtain the tth above-mentioned image data from the above-mentioned analog-to-digital conversion layer; and, according to the above-mentioned preset sub-weight, perform convolution processing on the above-mentioned tth image data in a preset direction inside the above-mentioned tth convolution operation unit set to obtain the tth image processing sub-result.
[0013] According to an embodiment of the present disclosure, v is a positive integer greater than 1 and less than or equal to V, each of the above-mentioned convolution operation unit sets includes V sub-convolution operation unit sets, each of the above-mentioned sub-convolution operation unit sets includes U convolution operation units, and u is a positive integer less than or equal to U.
[0014] According to an embodiment of the present disclosure, the above-mentioned convolution processing of the t-th image data in a preset direction is performed within the t-th convolution operation unit set according to the above-mentioned preset sub-weights to obtain the t-th image processing sub-result, including repeatedly performing the following operations until the V-th regional image data is obtained: for the v-th sub-convolution operation unit set, obtaining the v-1-th regional image data from the v-1-th register group, and obtaining the v-1-th convolution image data from the u-th convolution operation unit in the v-1-th sub-convolution operation unit set, wherein the above-mentioned v-1-th regional image data The above image data is processed by the v-1th sub-convolution operation unit set, and the above v-1th convolution image data is processed by the above uth convolution operation unit. Within the above vth sub-convolution operation unit set, the above v-1th region image data and the above v-1th convolution image data are convolved in a preset direction in an order from the uth convolution operation unit to the 1st convolution operation unit to obtain the vth region image data; and the above vth region image data is stored in the vth register group.
[0015] According to an embodiment of the present disclosure, the above-mentioned convolution processing in a preset direction is performed on the above-mentioned v-1th regional image data and the above-mentioned v-1th convolution image data to obtain the vth regional image data, including: for the uth convolution operation unit, part of the v-1th regional image data and the above-mentioned v-1th convolution image data are subjected to the above-mentioned convolution processing in the preset direction to obtain part of the intermediate convolution data, wherein the above-mentioned part of the v-1th regional image data includes the v-1th regional image data from the 1st column to the 3rd column; and, for other convolution operation units, the above-mentioned part of the intermediate convolution data and the above-mentioned v-1th convolution image data are subjected to the above-mentioned convolution processing in the preset direction to obtain the above-mentioned vth regional image data.
[0016] According to another aspect of the present disclosure, an image processing method is provided, including: utilizing a sensor layer to perform block processing on a received light signal according to a preset receptive field and a preset convolution kernel to obtain T intermediate image signals, wherein T is a positive integer; utilizing an analog-to-digital conversion layer to respectively process the T intermediate image signals from the sensor layer to obtain T image data; and utilizing a processor layer to respectively perform convolution processing on the T image data from the analog-to-digital conversion layer according to preset weights to obtain image processing results.
[0017] According to another aspect of the present disclosure, an electronic device is provided, comprising: one or more processors; and a memory for storing one or more instructions, wherein when the one or more instructions are executed by the one or more processors, the one or more processors implement the method described in the present disclosure.
[0018] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which executable instructions are stored. When the executable instructions are executed by a processor, the processor implements the method described in the present disclosure.
[0019] According to another aspect of the present disclosure, a computer program product is provided. The computer program product includes computer executable instructions. When the computer executable instructions are executed, they are used to implement the method described in the present disclosure.
[0020] According to the embodiments of the present disclosure, by adopting a block-processing data transmission method between the sensor layer, analog-to-digital conversion layer and processor layer included in the image processing system, the mapping problem of the vertical data stream is solved, and the technical problem of the difficulty in improving the limited frame rate under the constraints of limited area and cost in the related art is at least partially overcome, the number of calls to register resources is reduced, the delay in performing convolution processing is reduced, and the maximum frame rate of the image processing system is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0022] Figure 1 The schematic diagram of the architecture of the image processing system according to the embodiment of the present disclosure is schematically shown;
[0023] Figure 2A Schematically illustrates an example schematic diagram of a sensor layer according to an embodiment of the present disclosure;
[0024] Figure 2B An exemplary schematic diagram of an analog-to-digital conversion layer according to an embodiment of the present disclosure is schematically shown;
[0025] Figure 2C An example schematic diagram of a processor layer according to an embodiment of the present disclosure is schematically shown;
[0026] Figure 3 An example schematic diagram schematically shows an image processing process according to an embodiment of the present disclosure;
[0027] Figure 4 An example schematic diagram schematically illustrates an image processing process according to another embodiment of the present disclosure; and
[0028] Figure 5 The flowchart of the image processing method according to the embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0029] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0030] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0031] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0032] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0033] In the technical solution of the present invention, the user information (including but not limited to user personal information, user image information, user device information, such as location information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0034] With the introduction of 3D stacking technology, traditional CMOS image sensors are expected to integrate more data processing elements in addition to photosensitive pixel elements, thereby realizing certain data processing (for example, convolution operations) on the sensor to build a sensing and computing integrated architecture, thereby reducing latency and energy consumption.
[0035] In one example, a column readout architecture can be adopted to design an image sensor. However, this type of architecture does not fully utilize the vertical data flow advantage brought by 3D stacking, and there is still room for improvement in latency and power consumption. Therefore, how to further improve the frame rate under area limitations and cost considerations is an urgent problem to be solved.
[0036] In order to at least partially solve the technical problems existing in the related art, the present disclosure provides an image processing system and an image processing method, which can be applied to the field of semiconductor devices and integrated circuit technology. The image processing system includes: a sensor layer, which is used to process the received light signal in blocks according to a preset receptive field and a preset convolution kernel to obtain T intermediate image signals, where T is a positive integer; an analog-to-digital conversion layer, which is connected to the sensor layer, and is used to process the T intermediate image signals from the sensor layer respectively to obtain T image data; and a processor layer, which is connected to the analog-to-digital conversion layer, and is used to perform convolution processing on the T image data from the analog-to-digital conversion layer according to preset weights to obtain image processing results.
[0037] Figure 1 The schematic diagram of the architecture of the image processing system according to the embodiment of the present disclosure is shown schematically. It should be noted that: Figure 1 What is shown is merely an example of a system architecture to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.
[0038] like Figure 1 As shown, the image processing system 100 may include a sensor layer 110 , an analog-to-digital conversion layer 120 , and a processor layer 130 .
[0039] The sensor layer 110 is used to process the received light signal in blocks according to a preset receptive field and a preset convolution kernel to obtain T intermediate image signals, where T is a positive integer.
[0040] The analog-to-digital conversion layer 120 is connected to the sensor layer 110 and is used to process T intermediate image signals from the sensor layer 110 respectively to obtain T image data.
[0041] The processor layer 130 is connected to the analog-to-digital conversion layer and is used to perform convolution processing on T image data from the analog-to-digital conversion layer 120 according to preset weights to obtain image processing results.
[0042] According to an embodiment of the present disclosure, the image processing system 100 can use a mapping method based on the receptive field block for data transmission. Block processing can refer to dividing the pixels in a square area into a group under a block readout-based architecture, that is, the receptive field corresponding to an analog-to-digital converter, and the data of each group is transmitted in parallel through the vertical through hole 140. For example, the corresponding square area between the sensor layer 110 and the analog-to-digital conversion layer 120 is transmitted in parallel through the vertical through hole 140, and the corresponding square area between the analog-to-digital conversion layer 120 and the processor layer 130 is transmitted in parallel through the vertical through hole 140. The image data in each receptive field can be scanned in a specific readout order and matched with the output order in the convolution calculation kernel, thereby minimizing the processor layer's dependence on the cache and giving full play to the advantages of vertical data flow under the three-dimensional stacking process.
[0043] According to an embodiment of the present disclosure, the preset receptive field may refer to the size of the area where the pixels on the feature map (i.e., feature map) output by each layer of the convolutional neural network are mapped on the original input image. The preset receptive field may be used to define the degree of understanding of the input image by the convolutional neural network, i.e., a larger receptive field may allow the convolutional neural network to capture feature information within a larger range, while a smaller receptive field may allow the convolutional neural network to pay more attention to detail features.
[0044] According to an embodiment of the present disclosure, the preset convolution kernel may refer to a small matrix, each element of which is a weight parameter and will be optimized during the neural network training process. The function of the convolution kernel is to slide on the input image and extract specific features of the image by multiplying and summing the corresponding positions. The convolution process is that the convolution kernel slides on the image at a certain step size, and each slide multiplies and sums the corresponding positions to obtain an output value. This process is repeated on the entire image, and finally a feature map is generated, which reflects the response of the input image under a certain specific feature.
[0045] According to the embodiments of the present disclosure, by adopting a block-processing data transmission method between the sensor layer, analog-to-digital conversion layer and processor layer included in the image processing system, the mapping problem of the vertical data stream is solved, and the technical problem of the difficulty in improving the limited frame rate under the constraints of limited area and cost in the related art is at least partially overcome, the number of calls to register resources is reduced, the delay in performing convolution processing is reduced, and the maximum frame rate of the image processing system is improved.
[0046] It should be understood that Figure 1 The number of sensor layers, analog-to-digital conversion layers, and processor layers in the embodiment is only illustrative. Any number of sensor layers, analog-to-digital conversion layers, and processor layers may be provided according to implementation requirements.
[0047] It should be noted that the sequence numbers of the operations in the following method are only used as representations of the operations for the purpose of description, and should not be regarded as representing the execution order of the operations. Unless explicitly stated, the method does not need to be executed completely in the order shown.
[0048] Reference below Figure 2A , Figure 2B , Figure 2C , Figure 3 and Figure 4 , the image processing system 100 according to the embodiment of the present invention is further described.
[0049] Figure 2A An example schematic diagram of a sensor layer according to an embodiment of the present disclosure is schematically shown.
[0050] like Figure 2A As shown, in 200A, the processing process of the sensor layer is explained by taking an example in which a pixel array includes 25*25 pixel units, a preset receptive field is 5*5, and a preset convolution kernel is 3*3.
[0051] In an example, 25*25 pixel units may be grouped according to a preset receptive field of 5*5 to obtain four pixel unit sets, for example, pixel unit set 210 , pixel unit set 220 , pixel unit set 230 , and pixel unit set 240 .
[0052] For the pixel unit set 210, convolution processing in a preset direction can be performed on 5*5 pixel units according to a preset convolution kernel 3*3 to obtain an intermediate image signal.
[0053] According to the dimension 3 of the preset convolution kernel, 5 first sub-pixel unit sets located in the first 3 rows are determined in the 5*5 pixel units. Each first sub-pixel unit set includes 3 pixel units. On this basis, the 5 first sub-pixel unit sets can be convolved based on the first preset direction to obtain the regional image signal.
[0054] In a specific example, taking the third first sub-pixel unit set 201 of the five first sub-pixel unit sets as an example, the second first sub-intermediate processing signal can be obtained for the third first sub-pixel unit set 201. Based on the second first sub-intermediate processing signal, the third first sub-pixel unit set 201 is convolved in the order from the first pixel unit to the third pixel unit within the third first sub-pixel unit set 201 to obtain the third first sub-intermediate processing signal.
[0055] According to the dimension 5 of the preset receptive field and the dimension 3 of the preset convolution kernel, two second sub-pixel unit sets located in the last 2 rows are determined among P*Q pixel units. Each second sub-pixel unit set includes 5 pixel units. On this basis, convolution processing can be performed on the two second sub-pixel unit sets and the regional image signal respectively based on the second preset direction to obtain an intermediate image signal.
[0056] In a specific example, taking the second second sub-pixel unit set 202 in the two second sub-pixel unit sets as an example, for the second second sub-pixel unit set 202, the first second sub-intermediate processing signal can be obtained. Based on the first second sub-intermediate processing signal, within the second second sub-pixel unit set 202, convolution processing is performed on the second second sub-pixel unit set and the regional image signal in the order from the first pixel unit to the fifth pixel unit to obtain the second second sub-intermediate processing signal.
[0057] According to an embodiment of the present disclosure, the sensor layer can be used to perform the following operations.
[0058] According to the preset receptive field, M*N pixel units are grouped to obtain T pixel unit sets, where each pixel unit set includes P*Q pixel units. For each pixel unit set, according to the preset convolution kernel, convolution processing in a preset direction is performed on the signals of each of the P*Q pixel units to obtain an intermediate image signal.
[0059] According to an embodiment of the present disclosure, the sensor layer can be deployed with a pixel array for performing global exposure to obtain an optical signal. The pixel array can be used to perform global exposure to capture the optical signal and process the optical signal to obtain image data of one frame. The pixel array includes M*N pixel units. The dimension of the preset receptive field is P*Q. Both P and Q are positive integers, and P, Q < M and P, Q < N.
[0060] According to an embodiment of the present disclosure, a pixel unit can refer to the smallest photosensitive unit in a sensor, and can also be referred to as a "pixel", which is the basic unit constituting a digital image. The pixel unit can be used to receive an optical signal and convert it into an electrical signal. After the sensor layer receives the optical signal, M*N pixel units can be grouped according to the preset receptive field to obtain T pixel unit sets.
[0061] According to an embodiment of the present disclosure, after obtaining T pixel unit sets, for each pixel unit set, convolution processing in a preset direction can be performed on each of the P*Q pixel units according to the preset convolution kernel to obtain an intermediate image signal. The preset direction can be configured according to actual service requirements and is not limited herein. For example, the preset direction can include at least one of the following: a first preset direction and a second preset direction.
[0062] According to an embodiment of the present disclosure, after optimizing the vertical data flow, a connection method of each pixel unit readout chain can also be designed, which is suitable for receptive fields of any size, especially square receptive fields, that is, when P and Q are equal.
[0063] According to the embodiments of the present disclosure, since the pixel unit set is obtained by grouping the M*N pixel units according to the preset receptive field, this grouping processing method allows parallel computing, thereby significantly improving the efficiency of image processing and accelerating the processing speed. On this basis, since the intermediate image signal is obtained by performing convolution processing on the respective light signals of the P*Q pixel units in preset directions according to the preset convolution kernel, the features of the image in different directions can be captured more accurately. In addition, by adjusting the preset receptive field, the preset convolution kernel and the preset direction, different image processing requirements can be flexibly adapted.
[0064] According to an embodiment of the present disclosure, the dimension of the preset convolution kernel is S*S, where S is a positive integer, and S <P、Q。
[0065] According to an embodiment of the present disclosure, according to a preset convolution kernel, performing convolution processing in a preset direction on the signals of each of the P*Q pixel units to obtain an intermediate image signal may include the following operations.
[0066] According to the dimension of the preset convolution kernel, P first sub-pixel unit sets located in the first S rows are determined among the P*Q pixel units, wherein each first sub-pixel unit set includes S pixel units. Based on the first preset direction, the signals of the S pixel units included in the P first sub-pixel unit sets are respectively convolved to obtain a regional image signal. According to the dimension of the preset receptive field and the dimension of the preset convolution kernel, (QS) second sub-pixel unit sets located in the rear (QS) rows are determined among the P*Q pixel units, wherein each second sub-pixel unit set includes P pixel units. Based on the second preset direction, the signals of the P pixel units included in the (QS) second sub-pixel unit sets and the regional image signal are respectively convolved to obtain an intermediate image signal, wherein the second preset direction is perpendicular to the first preset direction.
[0067] According to an embodiment of the present disclosure, the pixel unit readout chain can refer to each block, and among the P*Q pixel units included in the block, a plurality of first sub-pixel unit sets to be processed according to the first preset direction and a plurality of second sub-pixel unit sets to be processed according to the second preset direction are determined. On this basis, the plurality of first sub-pixel unit sets are processed based on the first preset direction, and the plurality of second sub-pixel units are processed based on the second preset direction. The first preset direction and the second preset direction can be configured according to actual business needs and are not limited here.
[0068] For example, the first preset direction can be set to a vertical longitudinal direction. The plurality of first sub-pixel unit sets can be determined in the following manner: according to the dimension of the preset convolution kernel, a plurality of first candidate pixel units located in the row of the previous preset convolution kernel are determined in the block. On this basis, according to the number of columns of pixel units included in the block (i.e., P), the first sub-pixel unit sets corresponding to each column are determined in the plurality of first candidate pixel units, and P first sub-pixel unit sets are obtained.
[0069] Alternatively, the second preset direction can be set to a horizontal direction. The plurality of second sub-pixel units can be determined in the following manner: according to the dimension of the preset convolution kernel, a plurality of second candidate pixel units located in the rear (the number of rows of pixel units included in the block Q-the dimension of the preset convolution kernel) row are determined in the block. On this basis, according to the number of rows of pixel units included in the block (i.e., Q) and the dimension of the preset convolution kernel (i.e., S), a set of second sub-pixel units corresponding to each row is determined in the plurality of second candidate pixel units, and (QS) sets of second sub-pixel units are obtained.
[0070] According to an embodiment of the present disclosure, after obtaining P first sub-pixel unit sets and (QS) second sub-pixel unit sets, vertical longitudinal connections can be performed on the P first sub-pixel unit sets, and horizontal transverse connections can be performed on the (QS) second sub-pixel unit sets, thereby making full use of data reuse between each convolution operation, thereby reducing dependence on register resources in the sensor layer.
[0071] According to the embodiments of the present disclosure, by accurately determining the first S rows of P first sub-pixel unit sets in P*Q pixel units according to the dimension of the preset convolution kernel, each set contains S pixel units, thereby realizing the fine processing of the local part of the image. This processing method can more accurately capture the detailed features of the image and provide a higher quality data basis for subsequent image processing. By performing convolution processing on the P first sub-pixel unit sets based on the first preset direction, a regional image signal is obtained. This directional convolution helps to extract the features of the image in a specific direction, thereby enhancing the directional sensitivity and feature extraction capability of image processing.
[0072] On this basis, in the determined (QS) second sub-pixel unit sets of the next (QS) rows, each set contains P pixel units, and then convolution processing is performed based on a second preset direction perpendicular to the first preset direction. This multi-level and multi-angle convolution processing can more comprehensively capture the characteristics of the image and improve the accuracy and integrity of image processing. By first convolving some pixel units to obtain regional image signals, and then convolving them with the remaining pixel unit sets, this staged processing method helps to improve the efficiency of image processing, especially when processing large-scale images, it can significantly reduce the amount of calculation.
[0073] In a specific example, i is a positive integer greater than 1 and less than or equal to P. Based on the first preset direction, performing convolution processing on the signals of the S pixel units included in the P first sub-pixel unit sets to obtain the regional image signal may include repeatedly performing the following operations until the Pth first sub-intermediate processed signal is obtained.
[0074] For the i-th first sub-pixel unit set, the i-1th first sub-intermediate processed signal is obtained. Based on the i-1th first sub-intermediate processed signal, convolution processing is performed in the i-th first sub-pixel unit set in the order from the 1st pixel unit to the Sth pixel unit to obtain the i-th first sub-intermediate processed signal.
[0075] According to an embodiment of the present disclosure, for the i-th first sub-pixel unit set, the i-1th first sub-intermediate processed signal obtained by convolution processing of the i-1th first sub-pixel unit set can be obtained. The i-th first sub-pixel unit set can include the 1st pixel unit to the Sth pixel unit.
[0076] For example, the 1st pixel unit may be used to process the i-1th first sub-intermediate processing signal to obtain the 1st i-th first sub-intermediate processing information. The 2nd pixel unit may be used to process the 1st i-th first sub-intermediate processing information to obtain the 2nd i-th first sub-intermediate processing information. Similarly, the S-1th i-th first sub-intermediate processing information may be used to process the i-th first sub-intermediate processing signal. On this basis, in the case where i=P, the i-th first sub-intermediate processing signal may be determined as the P-th first sub-intermediate processing signal.
[0077] In another specific example, j is a positive integer greater than 1 and less than or equal to (QS). Based on the second preset direction, performing convolution processing on the signals of the P pixel units included in the (QS) second sub-pixel unit sets and the regional image signal to obtain the intermediate image signal includes repeatedly performing the following operations until the (QS)th second sub-intermediate processed signal is obtained.
[0078] For the j-th second sub-pixel unit set, the j-1-th second sub-intermediate processed signal is obtained. Based on the j-1-th second sub-intermediate processed signal, convolution processing is performed inside the j-th second sub-pixel unit set in the order from the 1st pixel unit to the P-th pixel unit to obtain the j-th second sub-intermediate processed signal.
[0079] According to an embodiment of the present disclosure, for the jth second sub-pixel unit set, a j-1th second sub-intermediate processed signal obtained by convolution processing of the j-1th second sub-pixel unit set can be obtained. The jth second sub-pixel unit set can include the 1st pixel unit to the Pth pixel unit.
[0080] For example, the j-1th second sub-intermediate processed signal may be processed by the 1st pixel unit to obtain the 1st jth second sub-intermediate processed information. The 1st jth second sub-intermediate processed information may be processed by the 2nd pixel unit to obtain the 2nd jth second sub-intermediate processed information. Similarly, the P-1th jth second sub-intermediate processed information may be processed by the P-th pixel unit to obtain the jth second sub-intermediate processed signal. On this basis, when j=(QS), the jth second sub-intermediate processed signal may be determined as the (QS)th second sub-intermediate processed signal.
[0081] Figure 2B An example schematic diagram of an analog-to-digital conversion layer according to an embodiment of the present disclosure is schematically shown.
[0082] like Figure 2B As shown, in 200B, the processing process of the analog-to-digital conversion layer is described by taking the pixel array including 25*25 pixel units, the preset receptive field is 5*5, and the preset convolution kernel is 3*3 as an example.
[0083] The analog-to-digital conversion layer may include analog-to-digital conversion parts corresponding to each of the four pixel unit sets, and each analog-to-digital conversion part may include an analog buffer 203 and an analog-to-digital converter 204 .
[0084] In an example, the analog buffer 203 is used to receive and store T intermediate image signals from the sensor layer, and send t intermediate image signals among the T intermediate image signals to the analog-to-digital converter according to data processing conditions of the analog-to-digital converter.
[0085] In another example, the analog-to-digital converter 204 is used to perform analog-to-digital conversion processing on t intermediate image signals respectively to obtain t image data.
[0086] According to an embodiment of the present disclosure, the analog-to-digital conversion layer includes an analog buffer and an analog-to-digital converter. The analog buffer is used to receive and store T intermediate image signals from the sensor layer, and according to the data processing of the analog-to-digital converter, send t intermediate image signals among the T intermediate image signals to the analog-to-digital converter, where t is a positive integer less than or equal to T. The analog-to-digital converter is used to perform analog-to-digital conversion processing on the t intermediate image signals respectively to obtain t image data.
[0087] According to an embodiment of the present disclosure, the image data of the sensor layer is transmitted to the analog-to-digital conversion layer via a vertical through hole. The analog-to-digital conversion layer deploys an analog buffer and an analog-to-digital converter. The analog-to-digital converter is used to convert the analog signal into a digital signal. At the same time, the original analog signal will be stored in the analog buffer for multiple quantization and analog-to-digital conversion. Specifically, the analog buffer can be used to provide a buffer for signal transmission for the input of the analog-to-digital converter, and can be used to provide space for temporary storage of pixel signals to store data that may need to be quantized multiple times.
[0088] According to the embodiments of the present disclosure, the use of the analog buffer realizes the effective buffering and storage of the intermediate image signal, ensures the stability and continuity of the signal, helps to solve the data rate mismatch problem that may exist between the sensor layer and the analog-to-digital converter, and makes the transmission of the image signal more stable and reliable. According to the data processing of the analog-to-digital converter, the analog buffer can intelligently control the number of intermediate image signals sent to the analog-to-digital converter. This flow control mechanism helps to avoid data congestion and loss, optimizes the data processing process, and improves conversion efficiency. On this basis, through the coordinated work of the analog buffer and the analog-to-digital converter, that is, the signal stabilization effect of the analog buffer and the precise conversion capability of the analog-to-digital converter jointly ensure the integrity and accuracy of the image data, which can significantly improve the overall performance of the image processing system.
[0089] Figure 2C An example schematic diagram of a processor layer according to an embodiment of the present disclosure is schematically shown.
[0090] like Figure 2C As shown, in 200C, the processing process of the processor layer is explained by taking the pixel array including 25*25 pixel units, the preset receptive field is 5*5, and the preset convolution kernel is 3*3 as an example.
[0091] The processor layer may include processing parts corresponding to the four pixel unit sets, each of which may include a convolution operation unit set 205 and a register group 206. The processing process of the convolution operation unit set 205 and the register group 206 will be described below with reference to specific examples.
[0092] According to an embodiment of the present disclosure, the processor layer is used to repeatedly perform the following operations until the Tth image processing sub-result is obtained.
[0093] For the t-th convolution operation unit set, the t-th image data from the analog-to-digital conversion layer is obtained. According to the preset sub-weight, the t-th image data is convolved in a preset direction inside the t-th convolution operation unit set to obtain the t-th image processing sub-result.
[0094] According to an embodiment of the present disclosure, the processor layer may include a convolution operation array and a register array. The convolution operation array may include T convolution operation unit sets. Each convolution operation unit in the same convolution operation unit set stores the same preset sub-weight. The register array may include (V-1) register groups. V is a positive integer greater than 1.
[0095] According to an embodiment of the present disclosure, the digital signal of the analog-to-digital converter layer is transmitted to the processor layer via a vertical through hole, and a convolution operation is performed in the processor layer with the preset sub-weight of the current channel updated in the convolution operation unit. The result obtained by the processor layer operation can be output externally, that is, the result of the convolution operation under the current channel is obtained. When the current channel has not been calculated, the logic control unit in the processor layer can also be used to write the preset sub-weight of the next channel into the convolution operation unit of the processor layer to update the weight.
[0096] According to an embodiment of the present disclosure, for each channel, the following process is repeated: the image data output by the sensor layer is transmitted to the analog-to-digital conversion layer via a vertical through hole -> the analog-to-digital converter layer processes the image data to obtain a digital signal -> the digital signal output by the analog-to-digital conversion layer is transmitted to the sensor layer via a vertical through hole, and the sensor layer processes the digital signal and a preset sub-weight to obtain an image processing sub-result of the current channel, until the image signals corresponding to all channels are processed, thereby completing the processing of the image data of this frame, and then processing of the next frame of image data can be performed.
[0097] Figure 3 An example schematic diagram of a processor layer according to an embodiment of the present disclosure is schematically shown.
[0098] like Figure 3 As shown, in 300, the processing process of the processor layer is explained by taking an example in which a convolution operation unit set includes three sub-convolution operation unit sets, each sub-convolution operation unit set includes three convolution operation units, and each register group includes two registers.
[0099] For the first sub-convolution operation unit set 310, the input regional image data can be obtained. Inside the first sub-convolution operation unit set 310, in the order from the third convolution operation unit to the first convolution operation unit, the input regional image data is convolved in a preset direction to obtain the first regional image data. The first regional image data is stored in the first register group 340.
[0100] For the second sub-convolution operation unit set 320, the first regional image data can be obtained from the first register group, and the first convolution image data can be obtained from the third convolution operation unit in the first sub-convolution operation unit set 310. Inside the second sub-convolution operation unit set 320, the first regional image data and the first convolution image data are convolved in a preset direction in the order from the third convolution operation unit to the first convolution operation unit to obtain the second regional image data. The second regional image data is stored in the second register group 350.
[0101] For the third sub-convolution operation unit set 330, the second regional image data can be obtained from the second register group, and the second convolution image data can be obtained from the third convolution operation unit in the second sub-convolution operation unit set 320. Inside the third sub-convolution operation unit set 330, the second regional image data and the second convolution image data are convolved in a preset direction in the order from the third convolution operation unit to the first convolution operation unit to obtain the third regional image data. The third regional image data is used as the output regional image data.
[0102] According to an embodiment of the present disclosure, based on preset sub-weights, convolution processing in a preset direction is performed on the tth image data within the tth convolution operation unit set to obtain the tth image processing sub-result, including repeatedly performing the following operations until the Vth region image data is obtained.
[0103] For the vth sub-convolution operation unit set, obtain the v-1th regional image data from the v-1th register group, and obtain the v-1th convolution image data from the uth convolution operation unit in the v-1th sub-convolution operation unit set, wherein the v-1th regional image data is obtained by processing the image data by the v-1th sub-convolution operation unit set, and the v-1th convolution image data is obtained by processing the image data by the uth convolution operation unit. Within the vth sub-convolution operation unit set, in the order from the uth convolution operation unit to the 1st convolution operation unit, perform convolution processing on the v-1th regional image data and the v-1th convolution image data in a preset direction to obtain the vth regional image data. Store the vth regional image data in the vth register group.
[0104] According to an embodiment of the present disclosure, v is a positive integer greater than 1 and less than or equal to V. Each convolution operation unit set may include V sub-convolution operation unit sets. Each sub-convolution operation unit set may include U convolution operation units. u is a positive integer less than or equal to U.
[0105] According to the embodiments of the present disclosure, the processor layer provided by the present disclosure adopts a register connection method based on a row cache, which can successively move the image data of the third row to the second row and the first row for data reuse. When the initial data is input, the input data can be loaded to the corresponding weight position more quickly by transmitting in different directions of the W33 position. Through such a hardware structure design, the input order of the data can be matched and the convolution operation can be completed in a faster time.
[0106] According to the embodiments of the present disclosure, the efficiency of image processing can be improved by working in parallel with multiple convolution operation unit sets. Specifically, each sub-convolution operation unit set obtains data from the previous register group and convolution operation unit, and stores the result in the next register group after processing. This hierarchical processing method is conducive to the sequential transmission and efficient use of data. On this basis, by sharing data between different convolution operation units, the repeated calculation and storage requirements of data are reduced, and resource utilization is optimized. In addition, the design of the register group also realizes fast access to data, further improving the processing speed.
[0107] According to an embodiment of the present disclosure, performing convolution processing in a preset direction on the v-1th regional image data and the v-1th convolution image data to obtain the vth regional image data may include the following operations.
[0108] For the u-th convolution operation unit, a part of the v-1-th regional image data and the v-1-th convolution image data are convolved in a preset direction to obtain a part of the intermediate convolution data, wherein the part of the v-1-th regional image data includes the v-1-th regional image data from the 1st column to the 3rd column. For other convolution operation units, a part of the intermediate convolution data and the v-1-th convolution image data are convolved in a preset direction to obtain the v-th regional image data.
[0109] Figure 4 An example schematic diagram of an image processing process according to another embodiment of the present disclosure is schematically shown.
[0110] like Figure 4 As shown, in 400, performing convolution processing in a preset direction on part of the v-1th regional image data and the v-1th convolution image data to obtain part of the intermediate convolution data may include the following operations S410 to S430.
[0111] In operation S410, the control logic in the processor layer may write the weight value of the next channel into the convolution operation array to update the input of the weight data.
[0112] In operation S420, the analog-to-digital conversion layer may first transmit the image data of the first two columns (first three rows) to the processor layer, and write them into the convolution operation unit for temporary storage.
[0113] In operation S430, the analog-to-digital converter layer can transfer the image data of the next column (the first 3 rows) to the processor layer and write it into the convolution operation unit. At this time, the data required by the convolution operation array is complete, and a convolution operation can be performed to output a convolution result. Repeat this step n-2 times until each column of the first 3 rows has been input.
[0114] In another example, performing convolution processing in a preset direction on part of the intermediate convolution data and the v-1th convolution image data to obtain the vth regional image data may include the following operation S440.
[0115] In operation S440, the analog-to-digital converter layer can transfer a row (n columns) of data to the processor layer, write it into the convolution operation unit in sequence and complete n-2 convolution operations, and output a total of n-2 convolution results for this row. Repeat this step n-3 times until all data of this receptive field are input. In a specific example, the operation S440 can include the following sub-steps 1 and 2.
[0116] Sub-step 1: The analog-to-digital converter layer transfers the first two data of this row to the processor layer and writes them into the convolution operation unit for temporary storage.
[0117] Sub-step 2: The analog-to-digital converter layer transfers the next data of this row to the processor layer and writes it into the convolution operation unit. At this time, the data required by the convolution operation array is complete, and a convolution operation can be performed to output a convolution result. Repeat this step n-2 times until all the data of this row has been input.
[0118] According to an embodiment of the present disclosure, by repeatedly executing the above steps, compared with the traditional column-parallel readout scheme, the data required for the first convolution operation can be obtained earlier, thereby starting the convolution operation earlier, which results in reducing the delay in executing the convolution operation and the demand for cache.
[0119] In the image processing system provided by the embodiment of the present disclosure, a cross-level hardware collaborative optimization solution based on a block readout three-dimensional stacking architecture is used, that is, the design and deployment of specific hardware resources and process nodes between each layer are optimized, the bottleneck layer that restricts the frame rate of the core architecture is optimized, and other layers are relaxed to reduce the corresponding manufacturing costs. Under the vertical layering and vertical 3D stacking architecture, different layers can be designed and manufactured with completely different process nodes and process methods, so that suitable basic components can be selected in the design library and the size of the receptive field can be adjusted to realize the design of the overall image processing system.
[0120] The block readout architecture and cross-level hardware collaborative optimization solution proposed in the present disclosure are experimentally compared with image sensors in related technologies, and the maximum frame rates that can be achieved under the image sensor (column readout) architecture in the related technology and the image processing system (block readout) architecture proposed in the present application are compared, as shown in Tables 1 and 2 below.
[0121] Since different hardware cases correspond to different hardware bottlenecks and parameters, the specific performance improvement effects of the image processing system provided by the present invention are also different. When the same area restrictions are met, the frame rate characteristics of the three tasks are improved by 3.46 times, 1.44 times, and 29.8 times, respectively, proving the advantages and potential of the image processing system provided by the present invention.
[0122]
[0123] Table 1
[0124]
[0125] Table 2
[0126] The above are only exemplary embodiments, but are not limited thereto, and may also include other image processing systems known in the art, as long as the limit frame rate of the image processing system can be improved.
[0127] Figure 5 The flowchart of the image processing method according to the embodiment of the present disclosure is schematically shown.
[0128] like Figure 5 As shown, the image processing method 500 may include operations S510 to S530.
[0129] In operation S510, the received light signal is processed in blocks using the sensor layer according to a preset receptive field and a preset convolution kernel to obtain T intermediate image signals, where T is a positive integer.
[0130] In operation S520, the analog-to-digital conversion layer is used to process T intermediate image signals from the sensor layer to obtain T image data.
[0131] In operation S530, the processor layer is used to perform convolution processing on the T image data from the analog-to-digital conversion layer according to preset weights to obtain image processing results.
[0132] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. It can be understood by those skilled in the art that the features recorded in the various embodiments and / or claims of the present disclosure can be combined and / or combined in a variety of ways, even if such a combination or combination is not explicitly recorded in the present disclosure. In particular, without departing from the spirit and teaching of the present disclosure, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0133] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. An image processing system, comprising: A sensor layer for performing block processing on the received optical signal according to a preset receptive field and a preset convolution kernel to obtain T intermediate image signals, where T is a positive integer; An analog-to-digital conversion layer connected to the sensor layer for respectively processing the T intermediate image signals from the sensor layer to obtain T image data; and A processor layer connected to the analog-to-digital conversion layer for respectively performing convolution processing on the T image data from the analog-to-digital conversion layer according to preset weights to obtain an image processing result.
2. The system according to claim 1, wherein: The sensor layer is deployed with a pixel array for performing global exposure to obtain the optical signal. The pixel array includes M*N pixel units. The dimension of the preset receptive field is P*Q, and both P and Q are positive integers, and P, Q < M and P, Q < N; The sensor layer is used for: Grouping the M*N pixel units according to the preset receptive field to obtain T pixel unit sets, where each pixel unit set includes P*Q pixel units; and For each pixel unit set, performing convolution processing in a preset direction on the signals of the P*Q pixel units respectively to obtain the intermediate image signal.
3. The system according to claim 2, wherein: The dimension of the preset convolution kernel is S*S, and S is a positive integer, and S < P, Q; The performing convolution processing in a preset direction on the signals of the P*Q pixel units respectively according to the preset convolution kernel to obtain the intermediate image signal includes: Determining, according to the dimension of the preset convolution kernel, P first sub-pixel unit sets located in the first S rows among the P*Q pixel units, where each first sub-pixel unit set includes S pixel units; Based on a first preset direction, respectively performing convolution processing on the signals of the S pixel units included in the P first sub-pixel unit sets to obtain a regional image signal; According to the dimension of the preset receptive field and the dimension of the preset convolution kernel, determining (Q - S) second sub-pixel unit sets located in the last (Q - S) rows among the P*Q pixel units, where each second sub-pixel unit set includes P pixel units; and Based on a second preset direction, respectively performing convolution processing on the signals of the P pixel units included in the (Q - S) second sub-pixel unit sets and the regional image signal to obtain the intermediate image signal, where the second preset direction is perpendicular to the first preset direction.
4. The system according to claim 3, wherein: i is a positive integer greater than 1 and less than or equal to P; The performing convolution processing in a preset direction on the signals of the S pixel units included in the P first sub-pixel unit sets respectively to obtain a regional image signal includes repeatedly performing the following operations until the Pth first sub-intermediate processing signal is obtained: For the ith first sub-pixel unit set, Acquire an i-1th first sub-intermediate processed signal, wherein the i-1th first sub-intermediate processed signal is obtained by performing convolution processing on the i-1th first sub-pixel unit set; and Based on the i-1th first sub-intermediate processed signal, convolution processing is performed within the i-th first sub-pixel unit set in the order from the 1st pixel unit to the Sth pixel unit to obtain the i-th first sub-intermediate processed signal.
5. The system according to claim 3, wherein: j is a positive integer greater than 1 and less than or equal to (QS); The performing convolution processing on the signals of the P pixel units included in the (QS) second sub-pixel unit sets and the regional image signal based on the second preset direction to obtain the intermediate image signal comprises repeatedly performing the following operations until the (QS)th second sub-intermediate processed signal is obtained: For the j-th set of the second sub-pixel units, Acquire a j-1th second sub-intermediate processed signal, wherein the j-1th second sub-intermediate processed signal is obtained by performing convolution processing on the j-1th second sub-pixel unit set; and Based on the j-1th second sub-intermediate processed signal, convolution processing is performed inside the jth second sub-pixel unit set in the order from the 1st pixel unit to the Pth pixel unit to obtain the jth second sub-intermediate processed signal.
6. The system according to any one of claims 1 to 5, wherein: The analog-to-digital conversion layer includes an analog buffer and an analog-to-digital converter; The analog buffer is used to receive and store the T intermediate image signals from the sensor layer, and send t intermediate image signals among the T intermediate image signals to the analog-to-digital converter according to the data processing status of the analog-to-digital converter, where t is a positive integer less than or equal to T; as well as The analog-to-digital converter is used to perform analog-to-digital conversion processing on the t intermediate image signals respectively to obtain the t image data.
7. The system according to any one of claims 1 to 5, wherein: The processor layer includes a convolution operation array and a register array, the convolution operation array includes T convolution operation unit sets, each of the convolution operation units in the same convolution operation unit set stores the same preset sub-weight, and the register array includes (V-1) register groups, where V is a positive integer greater than 1; The processor layer is used to repeatedly perform the following operations until the Tth image processing sub-result is obtained: For the t-th set of convolution operation units, Acquire the tth image data from the analog-to-digital conversion layer; and According to the preset sub-weights, convolution processing in a preset direction is performed on the t-th image data within the t-th convolution operation unit set to obtain a t-th image processing sub-result.
8. The system according to claim 7, wherein: v is a positive integer greater than 1 and less than or equal to V, each of the convolution operation unit sets includes V sub-convolution operation unit sets, each of the sub-convolution operation unit sets includes U convolution operation units, and u is a positive integer less than or equal to U; The step of performing convolution processing in a preset direction on the t-th image data within the t-th convolution operation unit set according to the preset sub-weight to obtain the t-th image processing sub-result comprises repeatedly performing the following operations until the V-th region image data is obtained: For the vth sub-convolution operation unit set, Acquire the v-1th region image data from the v-1th register group, and acquire the v-1th convolution image data from the uth convolution operation unit in the v-1th sub-convolution operation unit set, wherein the v-1th region image data is obtained by the v-1th sub-convolution operation unit set processing the image data, and the v-1th convolution image data is obtained by the uth convolution operation unit processing the image data; Within the vth sub-convolution operation unit set, in order from the uth convolution operation unit to the 1st convolution operation unit, convolution processing in a preset direction is performed on the v-1th regional image data and the v-1th convolution image data to obtain the vth regional image data; and The v-th region image data is stored in the v-th register group.
9. The system according to claim 8, wherein: The performing convolution processing on the v-1th regional image data and the v-1th convolution image data in a preset direction to obtain the vth regional image data comprises: For the uth convolution operation unit, performing convolution processing in the preset direction on part of the v-1th regional image data and the v-1th convolution image data to obtain part of the intermediate convolution data, wherein the part of the v-1th regional image data includes the v-1th regional image data from the 1st column to the 3rd column; and For other convolution operation units, convolution processing in the preset direction is performed on the part of the intermediate convolution data and the v-1th convolution image data to obtain the vth regional image data.
10. An image processing method, comprising: Using the sensor layer, according to the preset receptive field and the preset convolution kernel, the received light signal is processed in blocks to obtain T intermediate image signals, where T is a positive integer; Using an analog-to-digital conversion layer, the T intermediate image signals from the sensor layer are processed respectively to obtain T image data; and The processor layer is used to perform convolution processing on the T image data from the analog-to-digital conversion layer according to preset weights to obtain image processing results.
