A method for separating target and background for vehicle-mounted autonomous driving system
By constructing an infrared image generation system and using a neural network model, the problem of the inability of infrared imaging sensors to generate high-grayscale scenes in the existing technology is solved, and efficient target and background separation effects are achieved in the vehicle-mounted automatic driving system.
Patent Information
- Application Number
- CN202211429583.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-15
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-11-15
AI Technical Summary
Existing infrared imaging sensors cannot generate high-grayscale infrared scenes within the frame rate range in vehicle-mounted autonomous driving systems, resulting in insufficient foreground segmentation accuracy and inability to meet the needs of actual driving systems.
By constructing an infrared image generation system, using a graphics workstation, graphics processing module, infrared DMD dynamic image converter and infrared beam splitter group, we can realize step-by-step pixel processing and superposition of low-grayscale images to generate high-grayscale infrared scenes, and Combined with the pre-trained neural network model, the target and background can be extracted efficiently and accurately.
Generating high-grayscale infrared scenes within the frame rate range improves the accuracy of target and background separation and meets the application needs of vehicle-mounted automatic driving systems.
Smart Images

Figure CN115914495B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer vision technology, and in particular to a method for separating a target from a background for an on-board autonomous driving system. Background Art
[0002] Infrared imaging sensors are widely used in astronomy, space science, night observation, infrared imaging guidance, search, tracking, warning and scientific experiments. In order to test the performance of infrared imaging sensors used in satellites, infrared imaging seekers, infrared search and tracking systems, and infrared warning systems, it is necessary to provide them with certain infrared scenes that match the use conditions as input images in the laboratory, so that the infrared imaging sensors can produce certain outputs and conduct semi-physical simulation tests. Digital Micromirror Devices (DMD) can produce wide-band infrared optical scenes. DMD usually uses pulse width modulation to control the grayscale of the image.
[0003] The current DMD-based infrared scene simulator is mainly composed of a graphics workstation, an infrared DMD dynamic image converter and an infrared imaging optical system. Within one frame time, the DMD realizes digital control of pixel grayscale by controlling the time it takes for the DMD micromirror to reflect the light shining on it into the imaging optical system according to the pulse width signal input by the driver.
[0004] With the development of infrared imaging sensors, the integration time of infrared imaging sensors is getting shorter and shorter. This means that within one frame time, only the time of controlling the DMD micromirror to reflect the light irradiated thereon and enter the imaging optical system within the integration time of the infrared imaging sensor is effective. For example, for an infrared imaging sensor with an integration time of only 500μs, it is necessary to complete the digital control of the pixel grayscale through pulse width modulation within 500μs. However, the shortest time for the existing DMD and its driver to control a micromirror to be in the on state (a state in which the light irradiated thereon can be reflected and enter the imaging optical system) is usually 7.5μs. Therefore, the shortest time for the DMD micromirror to reflect the light entering the imaging optical system is usually 7.5μs, plus the imaging loading time of 30.72μs and the reset time of 12.5μs for each bit. According to the above parameters, it can be calculated that only 32 levels of grayscale can be achieved through pulse width modulation within the integration time of 500μs. The image loading time and reset time occupy at least 17.288% of the entire effective image display time, resulting in a significant reduction in the effective display time. Since the existing infrared scene generation method cannot generate high-grayscale infrared scenes within the frame rate range, the accuracy of foreground segmentation based on infrared scenes cannot meet the application requirements of actual driving systems. Summary of the invention
[0005] In view of the shortcomings of the prior art, the present invention provides a method for separating target and background for a vehicle-mounted automatic driving system, which can generate high-grayscale infrared scenes through a pulse width debugging method within the frame rate range, and realize efficient and accurate extraction of target foreground based on a pre-trained neural network model.
[0006] The technical means adopted by the present invention are as follows:
[0007] A method for separating a target from a background for an on-vehicle autonomous driving system, comprising:
[0008] Constructing an infrared image generation system, wherein the infrared image generation system is used to extract pixels of an input image step by step, and superimpose infrared radiation images extracted at each level on an object surface;
[0009] Acquiring infrared scene generation data to be processed based on the infrared image generation system;
[0010] Inputting the infrared scene generation data into the trained semantic segmentation model to extract semantic features, thereby obtaining semantic segmentation features of the infrared scene generation data;
[0011] The semantic segmentation features are input into the trained foreground-background judgment model scene foreground extraction, thereby obtaining a foreground mask corresponding to the infrared scene generation data, and realizing the separation of the target and the background.
[0012] Furthermore, the infrared image generation system includes a graphics workstation, a graphics processing module, an infrared DMD dynamic image converter, an infrared beam splitter group and an infrared imaging optical system;
[0013] The graphic workstation is used to obtain a low-grayscale infrared image and send the low-grayscale infrared image to a graphic processing module;
[0014] The image processing module is used to perform pixel processing on the grayscale infrared image step by step, and superimpose the generated images at each level onto the object plane of the infrared imaging optical system through an infrared beam splitter group, including:
[0015] The received low-grayscale infrared image is combined according to 2 by 2 pixels and then averaged, and the average value is used to take the quotient of 3125 to obtain a first quotient value and a first remainder, and the first quotient value is sent to the first infrared DMD dynamic image converter to flip the corresponding 2 by 2 matrix lens;
[0016] The first remainder is quotiented with respect to 625 to obtain a second quotient value and a second remainder, and the second quotient value is sent to a second infrared DMD dynamic image converter to correspond to a 2 by 2 matrix lens flip;
[0017] The second remainder is divided by 125 to obtain a third quotient value and a third remainder, and the third quotient value is sent to a third infrared DMD dynamic image converter to perform a corresponding 2 by 2 matrix lens flip;
[0018] The third remainder is divided by 25 to obtain a fourth quotient value and a fourth remainder, and the fourth quotient value is sent to a fourth infrared DMD dynamic image converter to correspond to a 2 by 2 matrix lens flip;
[0019] The fourth remainder is divided by 5 to obtain a fifth quotient value and a fifth remainder, and the fifth quotient value is sent to a fifth infrared DMD dynamic image converter to correspond to a 2 by 2 matrix lens flip;
[0020] The fifth remainder is divided by 1 to obtain a sixth quotient value and a sixth remainder, and the sixth quotient value is sent to a sixth infrared DMD dynamic image converter to perform a corresponding 2 by 2 matrix lens flip.
[0021] Furthermore, the images generated at each level are superimposed on the object plane of the infrared imaging optical system through an infrared beam splitter group, including superimposing pixels corresponding to the images generated at each level and projecting them onto the object plane of the infrared imaging optical system.
[0022] Further, the infrared beam splitter group includes a first infrared beam splitter, a second infrared beam splitter, a third infrared beam splitter, a fourth infrared beam splitter and a fifth infrared beam splitter, and the arrangement is as follows:
[0023] superimposing the output of the first infrared DMD dynamic image converter and the output of the second infrared DMD dynamic image converter through a second infrared beam splitter;
[0024] superimposing the output of the third infrared DMD dynamic image converter and the output of the fourth infrared DMD dynamic image converter through a third infrared beam splitter;
[0025] superimposing the output of the fifth infrared DMD dynamic image converter and the output of the sixth infrared DMD dynamic image converter through a fourth infrared beam splitter;
[0026] superimposing the output of the second infrared beam splitter and the output of the third infrared beam splitter through the first infrared beam splitter;
[0027] The output of the first infrared beam splitter is superimposed with the output of the fourth infrared beam splitter by the fifth infrared beam splitter.
[0028] Furthermore, each infrared DMD dynamic image converter has the same structure, and includes an infrared light source, an infrared light source optical system, a DMD, and a driver of the infrared DMD dynamic image converter.
[0029] Furthermore, the settings of the reflectivity and transmittance of each infrared beam splitter, and the light source intensity of each infrared DMD dynamic image converter, satisfy the following constraints:
[0030] E1 / E2=5
[0031] E2 / E3=5
[0032] E3 / E4=5
[0033] E4 / E5=5
[0034] E5 / E6=5
[0035] Among them, E1 is the light intensity of a pixel on the reference surface after being superimposed by the infrared beam splitter when the DMD of the first infrared DMD dynamic image converter is in the on state, E2 is the light intensity of a pixel on the reference surface after being superimposed by the infrared beam splitter when the DMD of the second infrared DMD dynamic image converter is in the on state, E3 is the light intensity of a pixel on the reference surface after being superimposed by the infrared beam splitter when the DMD of the third infrared DMD dynamic image converter is in the on state, E4 is the light intensity of a pixel on the reference surface after being superimposed by the infrared beam splitter when the DMD of the fourth infrared DMD dynamic image converter is in the on state, E5 is the light intensity of a pixel on the reference surface after being superimposed by the infrared beam splitter when the DMD of the fifth infrared DMD dynamic image converter is in the on state, and E6 is the light intensity of a pixel on the reference surface after being superimposed by the infrared beam splitter when the DMD of the first infrared DMD dynamic image converter is in the on state, and the reference surface is any surface perpendicular to the optical axis and located between the fifth infrared beam splitter and the infrared imaging optical system.
[0036] The present invention also discloses a target and background separation device for a vehicle-mounted automatic driving system, comprising:
[0037] A data generation unit, used for acquiring infrared scene generation data to be processed based on the infrared image generation system;
[0038] A feature extraction unit, used for inputting the infrared scene generation data into the trained semantic segmentation model to extract semantic features, thereby obtaining semantic segmentation features of the infrared scene generation data;
[0039] The foreground extraction unit is used to input the semantic segmentation features into the trained foreground background judgment model scene foreground extraction, so as to obtain a foreground mask corresponding to the infrared scene generation data.
[0040] Compared with the prior art, the present invention has the following advantages:
[0041] The present invention improves the existing single DMD dynamic image converter, adds an image processing unit output interface and a set of infrared DMD dynamic image converter group and infrared beam splitter group, optimizes the spatial position relationship and light intensity relationship, and can generate high-grayscale infrared scenes. And based on the pre-trained neural network model, the target foreground is extracted efficiently and accurately. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0043] Figure 1 This is a flow chart of a method for separating a target and background for an on-vehicle automatic driving system according to the present invention.
[0044] Figure 2 It is a schematic diagram of the arrangement of the infrared DMD dynamic image converter group and the infrared beam splitter group of the present invention.
[0045] In the figure: 1. image workstation; 2. image processing unit; 3-1. first infrared DMD dynamic image converter; 3-2. second infrared DMD dynamic image converter; 3-3. third infrared DMD dynamic image converter; 3-4. fourth infrared DMD dynamic image converter; 3-5. fifth infrared DMD dynamic image converter; 3-6. sixth infrared DMD dynamic image converter; 4. infrared imaging optical system; 5-1. first infrared beam splitter; 5-2. second infrared beam splitter; 5-3. third infrared beam splitter; 5-4. fourth infrared beam splitter; 5-5. fifth infrared beam splitter; 6. infrared light source; 7. infrared light source optical system; 8. DMD; 9. driver of infrared DMD dynamic image converter; 10. reference surface; 11. imaging object surface. DETAILED DESCRIPTION
[0046] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0047] The present invention provides a method for separating a target and a background for an on-board automatic driving system, such as Figure 1 As shown, it mainly includes:
[0048] S1. Construct an infrared image generation system, wherein the infrared image generation system is used to extract pixels of an input image step by step, and superimpose infrared radiation images extracted at each level on an object surface.
[0049] The present invention designs an infrared scene generation scheme based on superposition of six sets of DMD display images on the object surface, and realizes superposition of servo infrared radiation images on the object surface based on the infrared mirror generation system. Figure 2 As shown, the infrared image generation system includes a graphics workstation, a graphics processing module, an infrared DMD dynamic image converter, an infrared beam splitter group, and an infrared imaging optical system. The graphics workstation is used to obtain a low-grayscale infrared image and send the low-grayscale infrared image to the graphics processing module. The image processing module is used to perform pixel processing on the grayscale infrared image step by step, and superimpose the generated images at each level on the object surface of the infrared imaging optical system through the infrared beam splitter group. Specifically: the received low-grayscale infrared image is merged according to 2 by 2 pixels and then averaged, and the average value is used to take the quotient of 3125 to obtain the first quotient value and the first remainder, and the first quotient value is sent to the first infrared DMD dynamic image converter to correspond to the 2 by 2 matrix lens flip. The first remainder takes the quotient of 625 to obtain the second quotient value and the second remainder, and the second quotient value is sent to the second infrared DMD dynamic image converter to correspond to the 2 by 2 matrix lens flip. The second remainder takes the quotient of 125 to obtain the third quotient value and the third remainder, and the third quotient value is sent to the third infrared DMD dynamic image converter to correspond to the 2 by 2 matrix lens flip. The third remainder is divided into 25 to obtain a fourth quotient and a fourth remainder, and the fourth quotient is sent to the fourth infrared DMD dynamic image converter to flip the corresponding 2x2 matrix lens. The fourth remainder is divided into 5 to obtain a fifth quotient and a fifth remainder, and the fifth quotient is sent to the fifth infrared DMD dynamic image converter to flip the corresponding 2x2 matrix lens. The fifth remainder is divided into 1 to obtain a sixth quotient and a sixth remainder, and the sixth quotient is sent to the sixth infrared DMD dynamic image converter to flip the corresponding 2x2 matrix lens. Then, the pixels corresponding to the images generated at each level are superimposed and projected onto the object plane of the infrared imaging optical system.
[0050] In order to realize the superposition of images on the object surface, a matching infrared beam splitter group is also designed. Specifically, the infrared beam splitter group includes a first infrared beam splitter, a second infrared beam splitter, a third infrared beam splitter, a fourth infrared beam splitter and a fifth infrared beam splitter, and the arrangement is as follows: the output of the first infrared DMD dynamic image converter is superimposed with the output of the second infrared DMD dynamic image converter through the second infrared beam splitter; the output of the third infrared DMD dynamic image converter is superimposed with the output of the fourth infrared DMD dynamic image converter through the third infrared beam splitter; the output of the fifth infrared DMD dynamic image converter is superimposed with the output of the sixth infrared DMD dynamic image converter through the fourth infrared beam splitter; the output of the second infrared beam splitter is superimposed with the output of the third infrared beam splitter through the first infrared beam splitter; the output of the first infrared beam splitter is superimposed with the output of the fourth infrared beam splitter through the fifth infrared beam splitter. Further, each infrared DMD dynamic image converter has the same structure, and includes an infrared light source, an infrared light source optical system, a DMD and a driver of an infrared DMD dynamic image converter.
[0051] Furthermore, the settings of the reflectivity and transmittance of each infrared beam splitter, and the light source intensity of each infrared DMD dynamic image converter, satisfy the following constraints:
[0052] E1 / E2=5
[0053] E2 / E3=5
[0054] E3 / E4=5
[0055] E4 / E5=5
[0056] E5 / E6=5
[0057] Among them, E1 is the light intensity of a pixel on the reference surface after being superimposed by the infrared beam splitter when the DMD of the first infrared DMD dynamic image converter is in the on state, E2 is the light intensity of a pixel on the reference surface after being superimposed by the infrared beam splitter when the DMD of the second infrared DMD dynamic image converter is in the on state, E3 is the light intensity of a pixel on the reference surface after being superimposed by the infrared beam splitter when the DMD of the third infrared DMD dynamic image converter is in the on state, E4 is the light intensity of a pixel on the reference surface after being superimposed by the infrared beam splitter when the DMD of the fourth infrared DMD dynamic image converter is in the on state, E5 is the light intensity of a pixel on the reference surface after being superimposed by the infrared beam splitter when the DMD of the fifth infrared DMD dynamic image converter is in the on state, and E6 is the light intensity of a pixel on the reference surface after being superimposed by the infrared beam splitter when the DMD of the first infrared DMD dynamic image converter is in the on state, and the reference surface is any surface perpendicular to the optical axis and located between the fifth infrared beam splitter and the infrared imaging optical system.
[0058] In this embodiment, the image processing module 2 combines the received 16383-level grayscale image according to 2 times 2 pixels and then calculates the average, takes the quotient of the average value with 3125, and sends the quotient to the first infrared DMD dynamic image converter 3-1 for corresponding 2 times 2 matrix lens flipping (when the quotient is greater than 4, it is equal to 4); takes the quotient of the remainder with 625, and sends the quotient value to the second infrared DMD dynamic image converter 3-2 for corresponding 2 times 2 matrix lens flipping; takes the quotient of the remainder with 125, and sends the quotient value to the third infrared DMD dynamic image converter 3-3 for corresponding 2 times 2 matrix lens flipping; takes the quotient of the remainder with 25, and sends the quotient value to the fourth infrared DMD dynamic image converter 3-4 for corresponding 2 times 2 matrix lens flipping; takes the quotient of the remainder with 5, and sends the quotient value to the fifth infrared DMD dynamic image converter 3-5 for corresponding 2 times 2 matrix lens flipping; takes the quotient of the remainder with 1, and sends the quotient value to the sixth infrared DMD dynamic image converter 3-6 for corresponding 2 times 2 matrix lens flipping. Six sets of infrared DMD dynamic image converters (3-1, 3-2, 3-3, 3-4, 3-5, 3-6) convert six digital grayscale images into an infrared radiation image with a grayscale of 15624 levels. The six infrared radiation images are superimposed on the object surface, and the corresponding pixels overlap; the six infrared radiation images are combined through the infrared beam splitters (5-1, 5-2, 5-3, 5-4, 5-5) behind them, and then imaged on the imaging surface 11 through the infrared imaging optical system 4. The reflectivity and transmittance of the infrared beam splitters (5-1, 5-2, 5-3, 5-4, 5-5) and the light source intensity of the infrared DMD dynamic image converter are selected so that the light intensity on any surface 10 perpendicular to the optical axis between the infrared beam splitter 5-5 and the infrared imaging optical system 5 satisfies the relationship E1 / E2=5, E2 / E3=5, E3 / E4=5, E4 / E5=5, E5 / E6=5. E1 is the light intensity of a pixel of the DMD8 in the first set of infrared DMD dynamic converters 3-1 in the on state after being reflected or transmitted by the infrared beam splitter (5-1, 5-2) on the surface 10, and E2, E3, E4, E5, E6 and so on. Thus, a 15624-level grayscale dynamic infrared image with high grayscale is realized on the object surface. A high grayscale dynamic infrared image is generated. The image workstation 1 is connected to the image processing unit 2, and the image processing unit 2 is connected to the six sets of infrared DMD dynamic image converters. The infrared beam splitters (5-1, 5-2, 5-3, 5-4, 5-5) are located between the six sets of infrared DMD dynamic image converters (3-1, 3-2, 3-3, 3-4, 3-5, 3-6) and the infrared imaging optical system 4. In this embodiment, only one image processing unit output interface and one set of infrared DMD dynamic image converters and infrared beam splitters are added, and they are made to meet the same spatial position relationship and light intensity relationship, so that the grayscale of the generated infrared scene can be increased to twice the original.
[0059] S2. Acquire infrared scene generation data to be processed based on the infrared image generation system. The infrared scene generation data to be processed is generation data obtained by superimposing pixels corresponding to each level of generation images acquired on the object surface.
[0060] S3. Inputting the infrared scene generation data into the trained semantic segmentation model to extract semantic features, thereby obtaining semantic segmentation features of the infrared scene generation data.
[0061] In the present invention, the training of the semantic segmentation model mainly includes:
[0062] Based on the infrared scene generation data, the infrared scene generation scheme in which six sets of DMD display images are superimposed on the object surface is used to obtain the infrared scene generation data, and the low-quality infrared scenes are manually eliminated through visual analysis.
[0063] The target and background semantic segmentation model of the vehicle-mounted autonomous driving system is trained in combination with an open source database, 20 common categories of Pascal-VOC plus common traffic vehicle model data are used for transfer learning, the infrared scene generation data is aligned and matched with the open source database, and the U-Net model is preferably used for data training to ensure that all vehicles, pedestrians, animals and other objects that may cause danger on the road surface can be identified.
[0064] S4, inputting the semantic segmentation features into the trained foreground-background judgment model scene foreground extraction, thereby obtaining a foreground mask corresponding to the infrared scene generation data, and realizing separation of the target and the background.
[0065] In the present invention, the training of the foreground-background judgment model mainly includes:
[0066] Combined with the mapping features extracted by the semantic segmentation model, the encoding part of the U-Net model is also used to extract mapping features from the input data. The feature detection properties of the autoencoder are used to determine whether the corresponding feature is the background, and the background screening model is trained. The autoencoder is introduced to train the mapping features separately, and the Ground truth automatic judgment and manual annotation are used to determine whether the mapping features represent the background part of the image, eliminate the wrong results, and refine and train the background screening model after eliminating the wrong results.
[0067] Monitor the convergence of the model and make the loss function tend to be stable. Then, obtain the trained target and background segmentation model of the vehicle-mounted autonomous driving system. After introducing the autoencoder into the foreground and background judgment model, select Focal loss as the model loss function, select batch size of 32 and epoch of 100, and train the model until the loss function gradually converges and tends to be stable, then stop training.
[0068] In the present invention, the image captured by the on-board automatic driving system is input into the semantic segmentation model, and the output of the semantic segmentation model is used as the input of the foreground and background judgment model to obtain the target and background separation image corresponding to the input image. After the model stops training, the on-board automatic driving system image to be separated is input into the improved U-Net model according to actual needs, the segmentation model is run, and the target and background separation result automatically inferred by the computer system is obtained.
[0069] The present invention also discloses a target and background separation device for a vehicle-mounted automatic driving system, comprising:
[0070] A data generation unit, used for acquiring infrared scene generation data to be processed based on the infrared image generation system;
[0071] A feature extraction unit, used for inputting the infrared scene generation data into the trained semantic segmentation model to extract semantic features, thereby obtaining semantic segmentation features of the infrared scene generation data;
[0072] The foreground extraction unit is used to input the semantic segmentation features into the trained foreground background judgment model scene foreground extraction, so as to obtain a foreground mask corresponding to the infrared scene generation data.
[0073] As for the embodiments of the present invention, since they correspond to the embodiments above, the description is relatively simple. For the relevant similarities, please refer to the description of the above embodiments, which will not be described in detail here.
[0074] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for separating a target from a background for an on-board automatic driving system, characterized in that: include: Constructing an infrared image generation system, wherein the infrared image generation system is used to extract pixels of an input image step by step, and superimpose infrared radiation images extracted at each level on an object surface; Acquiring infrared scene generation data to be processed based on the infrared image generation system; The infrared scene generation data is input into the trained semantic segmentation model for semantic feature extraction, thereby obtaining the semantic segmentation features of the infrared scene generation data; when training the semantic segmentation model, 20 common categories of Pascal-VOC plus common traffic vehicle model data are taken for transfer learning, the infrared scene generation data is aligned and matched with the open source database, and the U-Net model is used for data training; The semantic segmentation features are input into the trained foreground background judgment model for foreground extraction, so as to obtain a foreground mask corresponding to the infrared scene generation data, and realize the separation of the target and the background; when the foreground background judgment model is trained, the encoding part in the U-Net model is used to extract the mapping features of the semantic segmentation features, and the feature detection property of the autoencoder is used to determine whether the mapping features are the background, and the background screening model is trained, and the autoencoder is introduced to train the mapping features separately, and through the method of Ground truth automatic judgment and manual labeling, it is determined whether the mapping features represent the background part of the image, and the erroneous results are eliminated. The foreground background judgment model after eliminating the erroneous results is trained, and the model convergence is monitored to make the loss function stable, so as to obtain a trained vehicle-mounted automatic driving system target and background segmentation model.
2. The method for separating a target from a background for an on-board automatic driving system according to claim 1, characterized in that: The infrared image generation system includes a graphics workstation, a graphics processing module, an infrared DMD dynamic image converter, an infrared beam splitter group and an infrared imaging optical system; The graphic workstation is used to obtain a low-grayscale infrared image and send the low-grayscale infrared image to a graphic processing module; The image processing module is used to perform pixel processing on the grayscale infrared image step by step, and superimpose the generated images at each level onto the object plane of the infrared imaging optical system through an infrared beam splitter group, including: The received low-grayscale infrared image is combined according to 2 by 2 pixels and then averaged, and the average value is used to take the quotient of 3125 to obtain a first quotient value and a first remainder, and the first quotient value is sent to the first infrared DMD dynamic image converter to flip the corresponding 2 by 2 matrix lens; The first remainder is quotiented with respect to 625 to obtain a second quotient value and a second remainder, and the second quotient value is sent to a second infrared DMD dynamic image converter to correspond to a 2 by 2 matrix lens flip; The second remainder is divided by 125 to obtain a third quotient value and a third remainder, and the third quotient value is sent to a third infrared DMD dynamic image converter to perform a corresponding 2 by 2 matrix lens flip; The third remainder is divided by 25 to obtain a fourth quotient value and a fourth remainder, and the fourth quotient value is sent to a fourth infrared DMD dynamic image converter to correspond to a 2 by 2 matrix lens flip; The fourth remainder is divided by 5 to obtain a fifth quotient value and a fifth remainder, and the fifth quotient value is sent to a fifth infrared DMD dynamic image converter to correspond to a 2 by 2 matrix lens flip; The fifth remainder is divided by 1 to obtain a sixth quotient value and a sixth remainder, and the sixth quotient value is sent to a sixth infrared DMD dynamic image converter to perform a corresponding 2 by 2 matrix lens flip.
3. The method for separating a target from a background for an on-board automatic driving system according to claim 2, characterized in that: The images generated at each level are superimposed on the object plane of the infrared imaging optical system through an infrared beam splitter group, including superimposing pixels corresponding to the images generated at each level and projecting them onto the object plane of the infrared imaging optical system.
4. The method for separating a target from a background for an on-board automatic driving system according to claim 2, characterized in that: The infrared beam splitter group includes a first infrared beam splitter, a second infrared beam splitter, a third infrared beam splitter, a fourth infrared beam splitter and a fifth infrared beam splitter, and the arrangement is as follows: superimposing the output of the first infrared DMD dynamic image converter and the output of the second infrared DMD dynamic image converter through a second infrared beam splitter; superimposing the output of the third infrared DMD dynamic image converter and the output of the fourth infrared DMD dynamic image converter through a third infrared beam splitter; superimposing the output of the fifth infrared DMD dynamic image converter and the output of the sixth infrared DMD dynamic image converter through a fourth infrared beam splitter; superimposing the output of the second infrared beam splitter and the output of the third infrared beam splitter through the first infrared beam splitter; The output of the first infrared beam splitter is superimposed with the output of the fourth infrared beam splitter by the fifth infrared beam splitter.
5. The method for separating a target from a background for an on-board automatic driving system according to claim 4, characterized in that: Each infrared DMD dynamic image converter has the same structure, and includes an infrared light source, an infrared light source optical system, a DMD and a driver of the infrared DMD dynamic image converter.
6. The method for separating a target from a background for an on-board automatic driving system according to claim 5, characterized in that: The settings of the reflectivity and transmittance of each infrared beam splitter, as well as the light source intensity of each infrared DMD dynamic image converter, meet the following constraints: E1 / E2=5 E2 / E3=5 E3 / E4=5 E4 / E5=5 E5 / E6=5 Among them, E1 is the light intensity of a pixel on the reference surface after being superimposed by the infrared beam splitter when the DMD of the first infrared DMD dynamic image converter is in the on state, E2 is the light intensity of a pixel on the reference surface after being superimposed by the infrared beam splitter when the DMD of the second infrared DMD dynamic image converter is in the on state, E3 is the light intensity of a pixel on the reference surface after being superimposed by the infrared beam splitter when the DMD of the third infrared DMD dynamic image converter is in the on state, E4 is the light intensity of a pixel on the reference surface after being superimposed by the infrared beam splitter when the DMD of the fourth infrared DMD dynamic image converter is in the on state, E5 is the light intensity of a pixel on the reference surface after being superimposed by the infrared beam splitter when the DMD of the fifth infrared DMD dynamic image converter is in the on state, and E6 is the light intensity of a pixel on the reference surface after being superimposed by the infrared beam splitter when the DMD of the first infrared DMD dynamic image converter is in the on state, and the reference surface is any surface perpendicular to the optical axis and located between the fifth infrared beam splitter and the infrared imaging optical system.
