Visual information resolving neural network, device and method
Replacing traditional computational vision methods with a neural network structure solves the problems of high specificity and high hardware overhead of image signal processors, realizes hardware reuse and high-quality image output of image signal processors, and is suitable for machine vision equipment.
Patent Information
- Application Number
- CN202411027822.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-10-08
AI Technical Summary
In the existing technology, signal enhancement and information resolution are based on computational vision methods, which results in the image signal processor being highly specific and difficult to reuse. It also has high computational complexity, high hardware overhead, and difficulty in being compatible with different sensor types and modulation schemes.
The neural network structure is used to replace the information processing of traditional computational vision methods, and multi-layer neural network modules are used for cascade processing to form a visual information processing neural network, which is used to solve the original data of the image sensor and output high-quality restoration. Image and visual feature data.
It realizes the hardware reuse of image signal processors, reduces hardware overhead, and provides a compact, high-reuse visual information solution. It is suitable for cameras or machine vision equipment and outputs high-quality images that are appreciable to the human eye.
Smart Images

Figure CN118747836A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of digital signal processing, and more specifically, to a neural network, device and method for solving visual information. Background Art
[0002] As the complexity of visual tasks increases, machine vision applications need to obtain richer high-quality visual information. Passive imaging technology uses image sensors to image incident natural light, and the image quality is affected by the noise of the image sensor; active imaging technology uses modulated light sources to illuminate the imaging scene, and uses image sensors synchronized with the light source modulation method to sample and obtain visual information of the target in its field of view, such as distance, motion status, etc., or may have special imaging capabilities, such as strobed imaging, etc. The raw data generated by passive imaging has a low signal-to-noise ratio. For example, in low light conditions, signal enhancement processing is required; the raw data generated by active modulation imaging needs to be solved using different solution methods based on the light source modulation method to obtain the final visualized image. Therefore, image sensors usually need to be equipped with a dedicated image signal processor to solve information and generate a restored image.
[0003] In the process of realizing the concept of the present disclosure, the inventors found that there are at least the following defects in the related technology: At present, signal enhancement and information solution are based on computational vision methods. Different sensor types and different modulation schemes have different solution processes, and the differences are obvious, which leads to the strong specialization of image signal processors and difficulties in reuse; and the computational complexity of the solution process is high and the hardware overhead is large. At present, intelligent computing of neural networks has gradually become an important high-level visual information processing method in machine vision applications. As primary information processing, information solution based on computational vision has more complex computing requirements and different data flows than neural network structures, which makes it difficult for computing hardware to be compatible with the two. Summary of the invention
[0004] In view of this, the present disclosure provides a visual information solving neural network, device and method, which replaces the information solving of traditional computational vision methods by adopting a processing method of a neural network structure, so as to solve the problems of image signal processors being highly specialized, difficult to reuse and having high hardware overhead caused by existing computational vision information solving methods.
[0005] A first aspect of the present disclosure provides a visual information processing neural network, the structure of which includes: a plurality of basic modules with feature and information extraction functions, for processing raw imaging data from an image sensor to obtain processed feature data, each basic module including a plurality of neural network computing layers for visual information processing, wherein the neural network is configured to be able to be cascaded with other neural networks for visual information processing.
[0006] According to an embodiment of the present disclosure, the neural network is configured to be able to be cascaded with the image restoration neural network to form a first cascade neural network, which is used for image signal task processing and outputs a solved restored image.
[0007] According to an embodiment of the present disclosure, the neural network is configured to be able to be cascaded with the visual task backbone network to form a second cascade neural network, and the second cascade neural network is used for visual task processing and outputs cognitive results.
[0008] According to an embodiment of the present disclosure, the visual task includes at least one of target classification, target detection, target tracking and target segmentation.
[0009] The second aspect of the present disclosure provides a visual information solving device, including: an image sensor access unit, used to receive and cache the original imaging signal of the image sensor, and convert the original imaging signal into original imaging data in a specified data format; a neural network image processing unit, used to solve the original imaging data to obtain a processing result, wherein the neural network image processing unit is internally configured with the above-mentioned visual information solving neural network; an output unit, used to cache the processing result and output it in a specified data format.
[0010] According to an embodiment of the present disclosure, the device also includes: a control circuit for scheduling tasks corresponding to the image sensor access unit, the neural network image processing unit and the output unit, controlling data and information paths, and providing information interaction capabilities between the device and peripherals.
[0011] According to an embodiment of the present disclosure, the device further includes: a clock / power supply / drive circuit, which is used to provide clock and power supply to each unit in the device when external clock and power supply are met.
[0012] The third aspect of the present disclosure provides a visual information solution method, including: using an image sensor access unit to receive and cache the original imaging signal of the image sensor, and converting the original imaging signal into original imaging data in a specified data format; using a neural network image processing unit to solve the original imaging data to obtain a processing result, wherein the neural network image processing unit is internally configured with the above-mentioned visual information solution neural network; using an output unit to cache the processing result and output it in a specified data format.
[0013] According to an embodiment of the present disclosure, a neural network is configured to be able to be cascaded with an image restoration neural network to form a first cascade neural network, and the first cascade neural network is used for image signal task processing to output a solved restored image, wherein a training method for the first cascade neural network includes: collecting solved restored images obtained using traditional computational vision methods to obtain a first training label; inputting the first training label into the first cascade neural network for training, and obtaining the output of the first cascade neural network; when a first error between the output of the first cascade neural network and the true solved restored image is greater than a first specified threshold, back-propagating the first error along the training path and updating the weight of the first cascade neural network until the first error between the output of the first cascade neural network and the true solved restored image is less than or equal to the first specified threshold.
[0014] According to an embodiment of the present disclosure, a neural network is configured to be able to be cascaded with a visual task backbone network to form a second cascade neural network, and the second cascade neural network is used for visual task processing and outputs cognitive results, wherein a training method for the second cascade neural network includes: collecting visual features or cognitive processing results of the restored image after solution obtained using traditional computational vision methods to obtain a second training label; inputting the second training label into the second cascade neural network for training, and obtaining the output of the second cascade neural network; when a second error between the output of the second cascade neural network and the actual visual features or cognitive processing results is greater than a second specified threshold, back-propagating the second error along the training path and updating the weights of the second cascade neural network until the second error between the output of the second cascade neural network and the actual visual features or cognitive processing results is less than or equal to the second specified threshold.
[0015] Compared with the prior art, the neural network, the visual information solving device and method based on the neural network provided by the present disclosure have at least the following beneficial effects:
[0016] (1) The visual information solution neural network, device and method provided by the present invention utilizes the calculation method of the neural network structure to replace the traditional computer vision solution method, and can achieve the same solution effect, so as to reuse the hardware resources supporting neural network calculation in the visual system and avoid the use of a dedicated image signal processor. It has the advantages of compact area and high hardware reuse rate.
[0017] (2) The visual information solving neural network, device and method provided by the present invention are applicable to cameras or machine vision equipment, and can output high-quality images visible to the human eye or generate visual feature data, replacing the existing customized and highly specialized image signal processors. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] 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:
[0019] Figure 1 The structure block diagram of the visual information solution neural network according to the embodiment of the present disclosure is schematically shown;
[0020] Figure 2 The structure block diagram of the visual information solving device according to the embodiment of the present disclosure is schematically shown;
[0021] Figure 3 A flowchart of training a first cascade neural network using a first training label according to an embodiment of the present disclosure is schematically shown;
[0022] Figure 4 The flowchart of training the second cascade neural network using the second training label according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0023] 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.
[0024] 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.
[0025] 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.
[0026] 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.).
[0027] As the complexity of visual tasks increases, machine vision applications need to obtain richer high-quality visual information. Passive imaging technology uses image sensors to image incident natural light, and the image quality is affected by the noise of the image sensor; active imaging technology uses modulated light sources to illuminate the imaging scene, and uses image sensors synchronized with the light source modulation method to sample and obtain visual information of the target in its field of view, such as distance, motion status, etc., or may have special imaging capabilities, such as strobed imaging, etc. The raw data generated by passive imaging has a low signal-to-noise ratio. For example, in low light conditions, signal enhancement processing is required; the raw data generated by active modulation imaging needs to be solved using different solution methods based on the light source modulation method to obtain the final visualized image. Therefore, image sensors usually need to be equipped with a dedicated image signal processor to solve information and generate a restored image.
[0028] In the process of implementing the concept of the present disclosure, the inventors found that there are at least the following defects in the related art:
[0029] At present, signal enhancement and information solution are based on computational vision methods. Different sensor types and modulation schemes have different solution processes, and the differences are obvious, which leads to the strong specialization of image signal processors and difficulty in reuse. In addition, the computational complexity of the solution process is high and the hardware overhead is large. At present, intelligent computing of neural networks has gradually become an important high-level visual information processing method in machine vision applications. As primary information processing, information solution based on computational vision has more complex computing requirements and different data flows than neural network structures, making it difficult for computing hardware to be compatible with the two.
[0030] Based on this, the embodiments of the present disclosure provide a visual information solving neural network, device and method, which adopt the processing mode of neural network to replace the information solving of traditional computational vision methods, so as to solve the problems of image signal processors being highly specialized, difficult to reuse and having high hardware overhead caused by existing computational vision information solving methods.
[0031] Figure 1 The structural block diagram of the visual information solving neural network according to the embodiment of the present disclosure is schematically shown.
[0032] like Figure 1 As shown, the visual information solution neural network structure of the embodiment of the present disclosure includes: multiple basic modules with feature and information extraction functions, which are used to solve the original imaging data from the image sensor to obtain the solved feature data. Each basic module includes multiple neural network calculation layers for visual information processing, such as convolutional layers, pooling layers, and fully connected layers, wherein the neural network is configured to be able to be cascaded with other neural networks for visual information solution.
[0033] In this embodiment, the structures of the basic modules in the neural network may be the same or different.
[0034] As a preferred embodiment, the neural network is configured to be able to be cascaded with the image restoration neural network or the visual task backbone network, that is, the feature data output by the neural network can be input into the image restoration neural network or the visual task backbone network, specifically:
[0035] The neural network is cascaded with the image restoration neural network to form a first cascade neural network, which is used for image signal task processing and outputs the restored image after solution. After the feature data is input into the image restoration neural network, it can be processed to obtain a restored image that is visible to the human eye after solution.
[0036] The neural network is cascaded with the visual task backbone network to form a second cascade neural network, which is used for visual task processing, such as target classification, target detection, target tracking or target segmentation. After the feature data is input into the visual task backbone network, cognitive results such as the category, location, behavior, etc. of the target can be obtained after processing.
[0037] In this embodiment, the input layers of the image restoration neural network and the visual task backbone network need to match the dimensions of the resolved visual feature data.
[0038] The visual information solving neural network of the disclosed embodiment has a similar structure and the same basic computing operations as other neural networks used for visual tasks, and can replace the traditional computer vision solving method and achieve the same solving effect.
[0039] Figure 2 The structural block diagram of the visual information solving device according to the embodiment of the present disclosure is schematically shown.
[0040] like Figure 2 As shown, the structure of the visual information solving device of the embodiment of the present disclosure includes: an image sensor access unit, a neural network image processing unit and an output unit.
[0041] The image sensor access unit is used to receive and cache the original imaging signal of the image sensor, and convert the original imaging signal into original imaging data in a specified data format.
[0042] The neural network image processing unit is used to process the original imaging data to obtain a processing result, wherein the neural network image processing unit is internally configured with the visual information processing neural network provided in the above embodiment.
[0043] In this embodiment, the neural network image processing unit may have a learning capability to implement on-chip training of the neural network, making the entire device environmentally adaptable.
[0044] The output unit is used to cache the processing results and output them in a specified data format.
[0045] Based on the above embodiment, the device further includes: a control circuit and a clock / power supply / drive circuit.
[0046] Among them, the control circuit is used to schedule the corresponding tasks of the image sensor access unit, the neural network image processing unit and the output unit, control the data and information path, and provide the ability to interact with information between the device and peripherals.
[0047] The clock / power supply / drive circuit is used to provide clock and power supply to each unit in the device when the external clock and power supply are met.
[0048] The visual information solving device of the disclosed embodiment utilizes the calculation method of a neural network structure to replace the traditional computer vision solving method, and can achieve the same solving effect, so as to reuse the hardware resources supporting neural network calculation in the visual system and avoid the use of a dedicated image signal processor. It has the advantages of compact area and high hardware reuse rate.
[0049] In this embodiment, the visual information solving neural network can be run in the neural network image processing unit and can also be run in the output unit. During the operation, the computing requirements of the image restoration neural network and the visual task backbone network of the neural network cascade are consistent. This consistency of computing requirements can reduce additional hardware overhead in the visual information solving device based on the neural network during the solving process.
[0050] The visual information solution neural network, device and method provided by the present invention are suitable for cameras or machine vision equipment, and can output high-quality images visible to the human eye or generate visual feature data, replacing the existing customized and highly specialized image signal processors.
[0051] The present disclosure also provides a visual information solution method, comprising:
[0052] S1. Using an image sensor access unit to receive and cache raw imaging signals from an image sensor, and converting the raw imaging signals into raw imaging data in a specified data format.
[0053] S2. Use a neural network image processing unit to process the original imaging data to obtain a processing result, wherein the neural network image processing unit is internally configured with the visual information processing neural network provided in the above embodiment.
[0054] S3. Use the output unit to cache the processing results and output them in a specified data format.
[0055] According to an embodiment of the present disclosure, the visual information solving neural network is configured to be able to be cascaded with the image restoration neural network to form a first cascade neural network, which is used for image signal task processing and outputs a solved restored image.
[0056] In this embodiment, when the visual information solving neural network is used to generate a restored image, the overall network structure (i.e., the first cascade neural network) is a cascade of the neural network and an image restoration network, which are used to solve the visual feature data and restore the visual image data structure respectively to generate a visual image visible to the human eye. At this time, the first training label of the first cascade neural network is the solved and restored image obtained by traditional computational vision methods.
[0057] Figure 3 The flowchart of training a first cascade neural network using a first training label according to an embodiment of the present disclosure is schematically shown.
[0058] like Figure 3 As shown, the training method of the embodiment of the present disclosure for training the first cascade neural network using the first training label includes:
[0059] The solved and restored images obtained by using traditional computer vision methods are collected to obtain a first training label; the first training label is input into a first cascade neural network for training, and the output of the first cascade neural network is obtained; when a first error between the output of the first cascade neural network and the true solved and restored image is greater than a first specified threshold, the first error is back-propagated along the training path and the weight of the first cascade neural network is updated until the first error between the output of the first cascade neural network and the true solved and restored image is less than or equal to the first specified threshold.
[0060] In this embodiment, the training path can be a simple visual information solving neural network, or a whole network composed of a visual information solving neural network and an image restoration neural network, or a partial network structure in the visual information solving neural network and the image restoration neural network. The whole network composed of the cascade of the visual information solving neural network and the image restoration neural network can obtain information solving capabilities and effects consistent with the computational vision solving method after training.
[0061] According to an embodiment of the present disclosure, the visual information solving neural network is configured to be able to be cascaded with the visual task backbone network to form a second cascade neural network, and the second cascade neural network is used for visual task processing and outputs cognitive results.
[0062] In this embodiment, when the visual information solving neural network is used for visual tasks, the overall network structure (i.e., the second cascade neural network) is a cascade of the neural network and a visual task backbone network, which are used to solve visual feature data and cognitive processing to produce cognitive results. At this time, the second training label of the second cascade neural network is the visual features of the restored image after solving or the final cognitive processing result obtained by traditional computational vision methods.
[0063] Figure 4 The flowchart of training the second cascade neural network using the second training label according to an embodiment of the present disclosure is schematically shown.
[0064] like Figure 4 As shown, the training method of the embodiment of the present disclosure for training the second cascade neural network using the second training label includes:
[0065] The visual features or cognitive processing results of the solved and restored image obtained by using traditional computational vision methods are collected to obtain a second training label; the second training label is input into a second cascade neural network for training, and the output of the second cascade neural network is obtained; when a second error between the output of the second cascade neural network and the actual visual features or cognitive processing results is greater than a second specified threshold, the second error is back-propagated along the training path and the weight of the second cascade neural network is updated until the second error between the output of the second cascade neural network and the actual visual features or cognitive processing results is less than or equal to the second specified threshold.
[0066] In this embodiment, the training path can be divided into training path 1 and training path 2, and correspondingly, the second training label can be divided into training label A and training label B. Specifically:
[0067] Training path 1 is the overall structure A composed of the visual information solution neural network and the visual task backbone network. The training label A of training path 1 is the correct cognitive result of the restored image based on computational vision in the visual task, which can be generated manually or calculated by other label generation algorithms. The training label A and the cognitive result output by the overall structure A are calculated, and the error is back-propagated to the overall structure A, or the substructure of the visual information solution neural network contained in the overall structure A.
[0068] Training path 2 is the overall structure B composed of several submodules in the visual information solution neural network and the visual task backbone network. The training label B of training path 2 is the visual feature data of the restored image based on computational vision after being processed by several submodules in the visual task backbone network. The training label B is used to calculate the error between the training label B and the solved visual feature data output by the overall structure B, and the error is back-propagated to the overall structure B in training path 2 to update the weights in the visual settlement neural network. The overall network composed of the cascade of the visual information solution neural network and the visual task backbone network can be trained to obtain the same image as the image restored based on computational vision solution. Figure 1 The visual cognitive effect.
[0069] It should be noted that the visual information solving method part in the embodiment of the present disclosure corresponds to the visual information solving device part in the embodiment of the present disclosure. The description of the visual information solving method part specifically refers to the visual information solving device part, which will not be repeated here.
[0070] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation 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 a 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 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 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.
[0071] 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, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. 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. A visual information solving neural network, characterized in that: The structure of the neural network includes: A plurality of basic modules with feature and information extraction functions are used to process the raw imaging data from the image sensor to obtain feature data after processing, each basic module includes a plurality of neural network computing layers for visual information processing, wherein the neural network is configured to be able to be cascaded with other neural networks for visual information processing.
2. The neural network according to claim 1, characterized in that The neural network is configured to be able to be cascaded with the image restoration neural network to form a first cascade neural network, which is used for image signal task processing and outputs a solved restored image.
3. The neural network according to claim 1, characterized in that The neural network is configured to be able to be cascaded with a visual task backbone network to form a second cascade neural network, and the second cascade neural network is used for visual task processing and outputs cognitive results.
4. The neural network according to claim 3, characterized in that The visual task includes at least one of target classification, target detection, target tracking and target segmentation.
5. A visual information solving device, characterized in that: include: An image sensor access unit, used to receive and buffer raw imaging signals from the image sensor, and convert the raw imaging signals into raw imaging data in a specified data format; A neural network image processing unit, used for performing a calculation on the raw imaging data to obtain a processing result, wherein the neural network image processing unit is internally configured with a visual information calculation neural network as described in any one of claims 1 to 4; The output unit is used to cache the processing result and output it in a specified data format.
6. The device according to claim 5, characterized in that The device also includes: The control circuit is used to schedule the tasks corresponding to the image sensor access unit, the neural network image processing unit and the output unit, control the data and information paths, and provide the information interaction capability between the device and the peripherals.
7. The device according to claim 5, characterized in that The device also includes: The clock / power supply / driving circuit is used to provide clock and power supply to each unit in the device when the external clock and power supply are met.
8. A visual information solution method, characterized in that: include: Using the image sensor access unit to receive and cache the original imaging signal of the image sensor, and converting the original imaging signal into original imaging data in a specified data format; The raw imaging data is processed by using a neural network image processing unit to obtain a processing result, wherein the neural network image processing unit is internally configured with a visual information processing neural network as described in any one of claims 1 to 4; The processing result is buffered by the output unit and outputted in a specified data format.
9. The method according to claim 8, characterized in that The neural network is configured to be cascaded with the image restoration neural network to form a first cascade neural network, the first cascade neural network is used for image signal task processing, and outputs a solved restored image, wherein the training method of the first cascade neural network includes: Collecting the solved and restored images obtained by traditional computer vision methods to obtain the first training labels; Inputting the first training label into the first cascade neural network for training, and obtaining an output of the first cascade neural network; When a first error between the output of the first cascade neural network and the true restored image after solution is greater than a first specified threshold, the first error is back-propagated along the training path and the weights of the first cascade neural network are updated until the first error between the output of the first cascade neural network and the true restored image after solution is less than or equal to the first specified threshold.
10. The method according to claim 8, characterized in that The neural network is configured to be cascaded with the visual task backbone network to form a second cascade neural network, the second cascade neural network is used for visual task processing and outputs cognitive results, wherein the training method of the second cascade neural network includes: Collect visual features or cognitive processing results of the solved and restored image obtained by traditional computer vision methods to obtain a second training label; Inputting the second training label into the second cascade neural network for training, and obtaining an output of the second cascade neural network; When a second error between the output of the second cascade neural network and the actual visual feature or cognitive processing result is greater than a second specified threshold, the second error is back-propagated along the training path and the weights of the second cascade neural network are updated until the second error between the output of the second cascade neural network and the actual visual feature or cognitive processing result is less than or equal to a second specified threshold.
Citation Information
Patent Citations
Method and apparatus of neural network based image signal processor
CN106934426A
Invisible light aiming method
CN113554700A
Method and system for joint optimization of ISP and vision tasks, medium and electronic device
CN113628124A
Method, apparatus, electronic device, storage medium and system for vision task execution
CN113705553A
Visual reconstruction method and device based on spiking neural network, storage medium and terminal
CN115222794A
