Image processing apparatus

By combining the CNN and Transformer models in the image processing device, and selecting the appropriate processing unit according to environmental factors, the problem of reduced accuracy of the neural network under rain or light changes is solved, and high-precision image processing under different conditions is achieved.

CN118741043APending Publication Date: 2024-10-01DENSO CORP +2
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410340484.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-28
Filing Date
2024-03-25
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

When using neural networks for image processing, rain or changes in luminosity will lead to a reduction in processing accuracy. Existing technology is difficult to effectively deal with this interference, resulting in a decrease in the accuracy of image processing.

Method used

An image processing device is designed, equipped with two neural network models (CNN and Transformer) and corresponding detection parts, and selects the appropriate neural network for image processing based on the intensity value of environmental elements (such as brightness or rainfall) to achieve high accuracy image processing.

Benefits of technology

By dynamically selecting the image processing unit, the accuracy of image processing can be improved under different light and rain conditions, suppressing the decrease in accuracy caused by changes in brightness or rain, and ensuring the detection accuracy of the vehicle's surrounding environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118741043A_ABST
    Figure CN118741043A_ABST
Patent Text Reader

Abstract

This image processing device is provided with: an imaging unit (10) that generates an image including an object; one or more element acquisition units (20) that acquire values indicating the intensity of each of one or more elements indicating the environment around the vehicle; a first image processing unit; a second image processing unit (40); and a process selection unit (50) that selects, from among the first image processing unit and the second image processing unit, an image processing unit that performs arithmetic processing on the image. For a part of the elements, the precision of the first image processing unit is higher than that of the second image processing unit in a first range of intensity, and the precision of the second image processing unit is higher than that of the first image processing unit in a second range lower than the first range. The process selection unit selects an image processing unit that executes arithmetic processing on the basis of the values indicating the intensity of the elements acquired by the one or more element acquisition units.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to an image processing device. Background Art

[0002] Japanese Patent Gazette No. 2021-052350 discloses an image recording device that automatically switches the captured image to a frame rate higher than the frame rate set when it is not stormy weather for recording in stormy weather. The image recording device is a driving recorder that is mounted on a vehicle. With respect to the image recording device, a stormy weather determination processing unit determines whether it is stormy weather based on the captured image captured by the shooting unit. Specifically, a rectangular area surrounding the wiper is extracted from the captured image by a wiper detection unit. The extraction of the rectangular area is achieved using an object detection algorithm such as SSD or YOLO.

[0003] The wiper operation cycle estimation unit estimates the wiper operation cycle by referring to the wiper area data supplied from the wiper detection unit and the data of multiple wiper areas in the past. Furthermore, the stormy weather determination unit determines that it is stormy weather when the wiper operation cycle is lower than a threshold value. Then, the frame rate switching unit changes the frame rate. Thus, the recording capacity of the image recording device can be suppressed to a minimum, and insufficient information of dangerous scenes can be prevented. Summary of the invention

[0004] However, in general, a technology that uses a neural network to detect objects around a vehicle is sometimes used for advanced driver assistance systems. However, it is known that in image processing using a neural network, processing accuracy may be reduced due to interference such as rain or changes in brightness. In order to achieve high-precision image processing, it is necessary to accumulate image data when interference occurs and use time for machine learning, which is a heavy burden for people who perform this operation. Here, it is known that the accuracy of a neural network decreases differently when it is subjected to various interferences depending on its type. Therefore, the inventors of the present application considered achieving high-precision image processing by selecting a neural network that corresponds to the type of interference generated in the image.

[0005] According to one embodiment of the present disclosure, there is provided an image processing device mounted on a vehicle. The image processing device comprises: a photographing unit that photographs an object and generates an image including the object; one or more element acquisition units that acquire numerical values ​​of the intensity of each of one or more elements representing the environment around the vehicle; a first image processing unit that can perform computational processing on the image using a first neural network model; a second image processing unit that can perform computational processing on the image using a second neural network model; and a processing selection unit that selects an image processing unit that performs computational processing on the image from the first image processing unit and the second image processing unit; with respect to a part of the elements, within a first range of intensity, the accuracy of the first image processing unit is higher than that of the second image processing unit, and within a second range lower than the first range, the accuracy of the second image processing unit is higher than that of the first image processing unit, and the processing selection unit selects the image processing unit that performs computational processing based on the numerical values ​​representing the intensity of the elements acquired by the one or more element acquisition units.

[0006] According to the image processing device of this aspect, the process selection unit causes either the first image processing unit or the second image processing unit to execute arithmetic processing based on the numerical value of the element acquired by the element acquisition unit. This makes it possible to implement high-precision image processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 The diagrams are for explaining the structure of the vehicle according to the first embodiment.

[0008] Figure 2 It is a block diagram showing the configuration of a first image processing unit, a second image processing unit, a processing selection unit, and a vehicle control unit.

[0009] Figure 3 It is a diagram showing the detection accuracy of brightness of each of the first image processing unit and the second image processing unit.

[0010] Figure 4 This is a process diagram showing an example of selection of an image processing unit performed by the image processing device.

[0011] Figure 5 It is a diagram showing a vehicle according to a second embodiment.

[0012] Figure 6 This is a diagram showing the accuracy of the image processing unit for rainfall.

[0013] Figure 7 This is a process diagram showing an example of selection of an image processing unit performed by the image processing apparatus according to the second embodiment.

[0014] Figure 8This is a process diagram showing an example of selection of an image processing unit performed by the image processing apparatus according to the third embodiment. DETAILED DESCRIPTION

[0015] A. First Implementation Method:

[0016] A1. Structure of the first embodiment:

[0017] Figure 1 2 is a diagram for explaining the structure of a vehicle VW according to the present embodiment. The vehicle VW can be driven using an ADAS (Advanced Driving Assistant System). Figure 1 As shown, the vehicle VW is equipped with an image processing device 1. The image processing device 1 detects objects around the vehicle VW and controls the vehicle VW based on the detection results. In this embodiment, the image processing device 1 includes a shooting unit 10, a first element acquisition unit 20, a first image processing unit 30, a second image processing unit 40, a processing selection unit 50, and a vehicle control unit 60.

[0018] The photographing unit 10 photographs objects around the vehicle VW and generates an image including the objects. The objects refer to other vehicles, people, animals, traffic lights, buildings, etc. The photographing unit 10 is electrically connected to the first image processing unit 30 and the second image processing unit 40, and sends the data of the generated image to the first image processing unit 30 and the second image processing unit 40. In the present embodiment, the photographing unit 10 is a camera. In addition, as the photographing unit 10, any structure other than a camera can be used as long as it is a structure that photographs objects around the vehicle VW and generates an image.

[0019] The first element acquisition unit 20 acquires a numerical value representing the intensity of an element of the environment surrounding the vehicle VW. In the present embodiment, the element of the environment surrounding the vehicle VW is brightness, and the first element acquisition unit 20 is an illuminance sensor. The illuminance sensor is arranged on the vehicle VW to receive external light from the front of the vehicle VW. The illuminance sensor acquires a numerical value representing the intensity of the received light. In the present embodiment, the unit of the numerical value is lux (lx). In addition, the numerical value acquired by the element acquisition unit in this specification includes the degree to which the element acquisition unit detects the intensity of the element and outputs a value corresponding to the degree. The first element acquisition unit 20 sends a signal representing the acquired numerical value to the processing selection unit 50.

[0020] Figure 2It is a block diagram showing the structure of the first image processing unit 30, the second image processing unit 40, the processing selection unit 50 and the vehicle control unit 60. The first image processing unit 30 is capable of performing computational processing on the image generated by the shooting unit 10 using the first neural network model. The first image processing unit 30 sends the data obtained through computational processing to the processing selection unit 50. In the present embodiment, the first neural network model is a CNN (Convolutional neural network). The first image processing unit 30 includes an NPU (Neural Processing Unit) 31, a processor 32 and a memory 33. NPU 31 performs computational processing using CNN. The processor 32 performs overall control of NPU 31. The memory 33 stores the results obtained through computational processing.

[0021] The second image processing unit 40 can use the second neural network model to perform computational processing on the image generated by the shooting unit 10. The second image processing unit 40 sends the data obtained through computational processing to the processing selection unit 50. In this embodiment, the second neural network model is a Transformer (transformer model). The second image processing unit 40 includes an NPU 41, a processor 42, and a memory 43. The NPU 41 performs computational processing using the Transformer. The processor 42 performs overall control of the NPU 41. The memory 43 stores the results obtained through computational processing.

[0022] The processing selection unit 50 selects an image processing unit that performs arithmetic processing on an image from among the two image processing units, the first image processing unit 30 and the second image processing unit 40. Specifically, the processing selection unit 50 selects an image processing unit that performs arithmetic processing on an image based on a numerical value representing the intensity of an element acquired by the first element acquisition unit 20. In addition, the processing selection unit 50 sends data on the result of the arithmetic processing of the selected image processing unit to the vehicle control unit 60. In the present embodiment, the processing selection unit 50 selects an image processing unit based on a numerical value representing the intensity of light received by the illuminance sensor. In the present embodiment, the processing selection unit 50 includes a processor 51 and a memory 52. ​​The processor 51 selects an image processing unit. The memory 52 stores the image processing unit selected by the processing selection unit 50 and data on the result of the arithmetic processing performed by the selected image processing unit in a time series.

[0023] The vehicle control unit 60 controls the vehicle VW based on the data obtained by the calculation processing of the image processing unit selected by the processing selection unit 50. For example, when the data indicates that another vehicle is included in the image, the vehicle control unit 60 can operate the brake of the vehicle VW (not shown) to stop the vehicle VW. The vehicle control unit 60 can send and receive signals to and from the processing selection unit 50. The vehicle control unit 60 includes a processor 61, a ROM 62, and a RAM 63. The processor 61 executes various programs by expanding various programs stored in the ROM 62 on the RAM 63.

[0024] In the present embodiment, the vehicle control unit 60 has a first mode MD1 and a second mode MD2. The first mode MD1 is a mode in which control is performed based on the image processing unit selected by the processing selection unit 50. The second mode MD2 is a mode in which the vehicle VW is controlled based on the data processed by the operation output by the first image processing unit 30 instead of the image processing unit selected by the processing selection unit 50. The vehicle control unit 60 controls the vehicle VW in the second mode MD2 during the period in which the processing selection unit 50 does not select the image processing unit.

[0025] In addition, in the present embodiment, while the second mode MD2 is executed by the vehicle control unit 60, the calculation processing is performed by both the first image processing unit 30 and the second image processing unit 40. Furthermore, in the first mode MD1, the vehicle control unit 60 controls the vehicle VW based on the data of the calculation processing result output by the image processing unit selected by the processing selection unit 50 among the first image processing unit 30 and the second image processing unit 40.

[0026] A2. Features of the first image processing unit 30 and the second image processing unit 40:

[0027] Figure 3 : is a graph showing the detection accuracy of brightness by the first image processing unit 30 and the second image processing unit 40. Figure 3 In the figure, the intensity of brightness is indicated on the horizontal axis, and the detection accuracy of the image processing unit is indicated on the vertical axis. The detection accuracy in this specification refers to the proportion of correct answers when the image processing unit performs calculations on pre-prepared images. The detection accuracy is pre-tested by the operator according to the factors. In this embodiment, the detection accuracy is shown when the image processing unit performs calculations on multiple images of different brightness. Hereinafter, the detection accuracy of the image processing unit is recorded as "accuracy".

[0028] like Figure 3As shown, within the first range FR1, the accuracy of the first image processing unit 30 using CNN is higher than the accuracy of the second image processing unit 40 using Transformer. In addition, within the second range SR1 of intensity, the accuracy of the second image processing unit 40 is higher than the accuracy of the first image processing unit 30. Figure 3 In FIG. 1 , a line indicating the accuracy of the first image processing unit 30 is shown by a solid line, and a line indicating the accuracy of the second image processing unit 40 is shown by a dashed line. Figure 6 The same is true in the embodiment. In the present embodiment, the minimum value of the first range FR1 is greater than the first threshold value T1. In addition, the maximum value of the second range SR1 is less than the first threshold value T1.

[0029] The first threshold value T1 in the present embodiment is the intensity of brightness of image data at which the accuracy of the first image processing unit 30 and the accuracy of the second image processing unit 40 are equal when the first image processing unit 30 and the second image processing unit 40 respectively perform calculation processing on a plurality of images having different brightnesses prepared by the operator.

[0030] In addition, the first threshold value T1 can be determined by a method other than the above method. For example, the maximum intensity among the intensity of the brightness of the entrances of any multiple tunnels measured by the operator can be set as the first threshold value T1. The brightness of the entrances of any multiple tunnels is measured by the operator at a distance of 1 meter from the entrance of each tunnel on the inner side of the tunnel. In addition, the brightness can be measured at multiple locations of any multiple tunnels, and the maximum intensity among them can be set as the first threshold value T1.

[0031] In general, it is known that CNN has the following properties: in the daytime on a sunny day, the accuracy change of the brightness change corresponding to the passage of time is smaller than that of Transformer. Figure 3 On the other hand, it is known that CNN has lower accuracy than Transformer in conditions where the intensity of the external brightness of the vehicle VW is smaller than that of a sunny day, such as in a tunnel or on a rainy day. Brightness with an intensity smaller than that of a sunny day belongs to Figure 3 The second range SR1.

[0032] A3. Selection of the first image processing unit 30 or the second image processing unit 40 by the processing selection unit 50:

[0033] Figure 4 FIG. 1 is a process diagram showing an example of selection of an image processing unit performed by the image processing device 1. Figure 4In step S10, after the user turns on the power of the vehicle VW, the vehicle control unit 60 starts to control the vehicle VW in the second mode MD2. After the second mode MD2 starts, after a preset time has passed, the process enters step S20. The preset time can be arbitrarily set to 5 seconds, 10 seconds, or 1 minute.

[0034] In step S20, the data of the image generated by the camera 10 is sent to the first image processing unit 30 and the second image processing unit 40. In step S30, the first image processing unit 30 and the second image processing unit 40 perform arithmetic processing on the image data. Then, the first image processing unit 30 and the second image processing unit 40 send the data of the result of the arithmetic processing to the processing selection unit 50. The processing selection unit 50 sends the data of the result of the arithmetic processing performed by the first image processing unit 30 to the vehicle control unit 60. Then, the vehicle VW is controlled by the vehicle control unit 60 based on the result of the arithmetic processing output by the first image processing unit 30. In addition, thereafter, until the processing is completed, the generation of the image by the camera 10 and the output of the arithmetic processing and results by the first image processing unit 30 and the second image processing unit 40 are performed every 1 second.

[0035] In step S40, the illuminance sensor acquires a numerical value corresponding to the intensity of the received light, and sends the numerical value data to the processing selection unit 50. In addition, the processing of step S40 can also be performed before the processing of step S20. In step S50, the processing selection unit 50 selects an image processing unit based on the numerical value representing the intensity of the light received by the illuminance sensor. Specifically, when the numerical value is greater than the first threshold value T1, the processing selection unit 50 selects the first image processing unit 30. When the numerical value is less than the first threshold value T1, the processing selection unit 50 selects the second image processing unit 40. In the present embodiment, the processing selection unit 50 selects the first image processing unit 30, and sends the data of the result of the calculation processing received from the first image processing unit 30 in step S30 to the vehicle control unit 60.

[0036] In step S60, the vehicle control unit 60 controls the vehicle VW in the first mode MD1. In the present embodiment, the vehicle control unit 60 controls the vehicle VW based on the data of the calculation processing performed by the first image processing unit 30. In step S70, the vehicle control unit 60 determines whether to end the processing. In the case where the user stops the vehicle VW and cuts off the power of the vehicle VW within a predetermined time from the execution of the processing of step S60, the processing ends. When the predetermined time has passed since the execution of the processing of step S60, in the case where the user continues to drive the vehicle VW, the vehicle control unit 60 determines that the processing is not to be ended, and the processing enters step S40 again in the state of executing the first mode MD1.

[0037] In the present embodiment, the process selection unit 50 causes either the first image processing unit 30 or the second image processing unit 40 to perform arithmetic processing based on the numerical value of the element acquired by the first element acquisition unit 20. This enables high-precision image processing.

[0038] In this embodiment, the image processing unit is selected based on the numerical value indicating the intensity of light received by the illuminance sensor by the processing selection unit 50. By selecting the image processing unit based on the brightness that is considered to have a high frequency of affecting the accuracy of the calculation processing performed by the image processing unit, high-precision image processing can be achieved.

[0039] It is generally believed that the vehicle VW is most likely to travel during the daytime on sunny days. Figure 3 As shown, within the first range FR1 of the intensity of brightness, the accuracy of the first image processing unit 30 using CNN is higher than the accuracy of the second image processing unit 40 using Transformer. Furthermore, during the period when the second mode MD2 is executed without selecting the image processing unit by the processing selection unit 50, the vehicle VW is controlled based on the data obtained by the calculation processing of the first image processing unit 30. Thus, during the daytime when it is sunny and the probability of being a driving environment is high, the decrease in the accuracy of the calculation processing corresponding to the intensity of brightness can be suppressed during the period when the image processing unit is not selected by the processing selection unit 50.

[0040] Furthermore, in the second mode MD2, since the calculation processing is performed by both the first image processing unit 30 and the second image processing unit 40, the calculation processing result data is already prepared when the control is switched from the second mode MD2 to the first mode MD1. Therefore, the vehicle control unit 60 can quickly control the vehicle VW based on the data.

[0041] In addition, it is generally known that if the noise increases when the input analog signal is digitized during A / D conversion, the CNN is affected by the noise and the accuracy is reduced. When the surroundings of the vehicle VW become dark, such as when the vehicle VW enters a tunnel or a building, the possibility of increasing the noise during A / D conversion is high. Therefore, when the value acquired by the first element acquisition unit 20 belongs to the second range SR1 less than the first threshold value T1, the second image processing unit 40 using the Transformer is selected by the processing selection unit 50 to perform high-precision calculation processing.

[0042] B. Second Implementation Method:

[0043] The image processing device 1B of the second embodiment is different from the first embodiment in that: the first image processing unit 30B is an image processing unit using Transformer, and the second image processing unit 40B is an image processing unit using CNN; the processing selection unit 50 selects the image processing unit based on the intensity of rain instead of brightness; the element acquisition unit; Figure 4 The other structures are the same as those of the first embodiment, so the same reference numerals are used and detailed description is omitted.

[0044] Figure 5 : is a diagram showing a vehicle VW according to the second embodiment. First, in the second embodiment, as described above, the first image processing unit 30B using the Transformer and the second image processing unit 40B using the CNN perform computational processing on the image.

[0045] The second element acquisition unit 20B of the second embodiment acquires a numerical value representing the intensity of rain in the environment surrounding the vehicle VW. The second element acquisition unit 20B includes a network information unit 210B and a rainfall detection unit 220B. The network information unit 210B uses a signal from a GPS satellite to acquire the current location. Then, the precipitation at the current location is acquired through the network. Specifically, the network information unit 210B acquires the precipitation on the horizontal plane of the ground surface that reaches the current moment within a certain time. The network information unit 210B converts the acquired precipitation into the amount of rain that falls on 1 square meter in 1 second, and acquires the rainfall as a numerical value representing the intensity of rain. The numerical value acquired by the network information unit 210B is recorded as a first numerical value FN. The first numerical value FN is output to the processing selection unit 50.

[0046] The rain detection unit 220B directly detects rain around the vehicle VW. The rain detection unit 220B is provided on the windshield FR of the vehicle VW. In the present embodiment, the rain detection unit 220B includes a rain sensor. The rain sensor detects rain contacting the windshield FR by a combination of an infrared LED and a Si photodiode. Specifically, infrared light is irradiated toward the windshield FR from the infrared LED. When there are no water droplets attached to the windshield FR, the infrared LED is reflected by the windshield FR and incident on the Si photodiode. On the other hand, when there are water droplets attached to the windshield FR, the infrared LED is not reflected at the windshield FR but passes through the water droplets. The amount of rain is measured using the amount of reflected light incident on the Si photodiode. The rain detection unit 220B converts the amount of rain measured by the rain sensor into the amount of rain falling on 1 square meter in 1 second, and outputs it as a numerical value indicating the intensity of the rain. The numerical value obtained by the rain detection unit 220B is recorded as a second numerical value SN. The second numerical value SN is output to the processing selection unit 50.

[0047] The processing selection unit 50 selects an image processing unit by using the larger value of the first numerical value FN and the second numerical value SN as the numerical value indicating the intensity of rain acquired by the second element acquisition unit 20B.

[0048] Figure 6 This is a graph showing the accuracy of the image processing unit for rainfall. The horizontal axis is the amount of rainfall that falls on 1 square meter in 1 second, and the vertical axis is the accuracy of the image processing unit. In general, it is known that the accuracy of CNN's calculation processing is reduced due to rain, snow, dust, etc. that are transferred into the image data. Figure 6 As shown, within the first range FR2, the accuracy of the first image processing unit 30B using the Transformer is higher than the accuracy of the second image processing unit 40B using the CNN. In addition, within the second range SR2, the accuracy of the second image processing unit 40B using the CNN is higher than the accuracy of the first image processing unit 30B using the Transformer. In the second embodiment, the minimum value of the first range FR2 is greater than the second threshold value T2. In addition, the maximum value of the second range SR2 is less than the second threshold value T2.

[0049] In the second embodiment, the second threshold value T2 is the rainfall amount obtained by using images of multiple rainy days with different rainfall amounts falling on 1 square meter in 1 second, and the first image processing unit 30B and the second image processing unit 40B have the same accuracy. The image is an arbitrary image prepared by the operator. In addition, the second threshold value T2 may also be an arbitrary value determined by the operator. For example, the rainfall amount in which the area occupied by raindrops in the image of 1 square meter is greater than a preset area may be determined as the second threshold value T2.

[0050] Figure 7 FIG. 1 is a flowchart showing an example of selecting an image processing unit by the image processing device 1B according to the second embodiment. The processing of step S10 and step S20 is different from that of step S11. Figure 4 The same, so the details are omitted. Figure 7 In step S30B, the vehicle control unit 60 controls the vehicle VW based on the data of the result of the calculation processing performed by the second image processing unit 40. That is, the vehicle VW is controlled based on the data of the result of the calculation processing using the CNN.

[0051] In step S40B, the rain sensor outputs the first numerical value FN, and the rain detection unit 220B outputs the second numerical value SN. In step S50B, the processing selection unit 50 uses the larger numerical value of the first numerical value FN and the second numerical value SN to select the image processing unit. Specifically, when the numerical value used is greater than the second threshold value T2, the processing selection unit 50 selects the first image processing unit 30B. On the other hand, when the numerical value used is less than the second threshold value T2, the second image processing unit 40B is selected. The processing after step S60 is the same as Figure 4 same.

[0052] In the second embodiment, the processing selection unit 50 selects the image processing unit using the larger value of the first value FN and the second value SN. This allows high-precision calculation processing to be performed according to the intensity of rain.

[0053] C. Third Implementation Method:

[0054] The image processing device of the third embodiment is different from the above-mentioned embodiment in that the image processing device includes a first element acquisition unit 20 and a second element acquisition unit 20B, and the image processing unit is selected by a processing selection unit 50. The other structures are the same as those of the first embodiment, so the same reference numerals are attached and detailed description is omitted.

[0055] In the third embodiment, the image processing device includes a first element acquisition unit 20 and a second element acquisition unit 20B. The first element acquisition unit 20 acquires a numerical value representing the intensity of the brightness of the environment around the vehicle VW. The second element acquisition unit 20B acquires a numerical value representing the intensity of rain. The first element acquisition unit 20 is an illumination sensor and has the same structure as the first embodiment. The second element acquisition unit 20B includes a network information unit 210B and a rainfall detection unit 220B. The network information unit 210B and the rainfall detection unit 220B have the same structure as the second embodiment.

[0056] In the third embodiment, the first image processing unit 30 is an image processing unit using CNN, and the second image processing unit 40 is an image processing unit using Transformer. Figure 3 In the first range FR1 of the intensity of the brightness shown in FIG. , the accuracy of the first image processing unit 30 is higher than the accuracy of the second image processing unit 40. In addition, in the second range SR1, the accuracy of the second image processing unit 40 is higher than the accuracy of the first image processing unit 30. On the other hand, in Figure 6 In the first range FR2 of rain intensity shown, the accuracy of the second image processing unit 40 is higher than the accuracy of the first image processing unit 30. In addition, in the second range SR2, the accuracy of the first image processing unit 30 is higher than the accuracy of the second image processing unit 40.

[0057] Figure 8 is a flowchart showing an example of selecting an image processing unit by the image processing device of the third embodiment. The processing of steps S10 to S30 is related to Figure 3In step S40C, the first element acquisition unit 20 and the second element acquisition unit 20B respectively output numerical values ​​representing the strength of the element. In addition, in the third embodiment, the network information unit 210B and the rainfall detection unit 220B are electrically connected, and the larger numerical value of the first numerical value FN and the second numerical value SN is output from the second element acquisition unit 20B.

[0058] In step S50C, the processing selection unit 50 selects an image processing unit based on the numerical values ​​indicating the strength of the elements acquired by the first element acquisition unit 20 and the second element acquisition unit 20B. Figure 4 The same process is performed to select the image processing unit based on the value acquired by the first element acquisition unit 20. Figure 7 The selection of the image processing unit based on the numerical value acquired by the second element acquisition unit 20B is performed in the same manner.

[0059] In step 60C, it is determined whether the second image processing unit 40 has been selected by the processing selection unit 50 more than a preset number of times. In step S50C, when the second image processing unit 40 is selected based on the numerical value acquired by the first element acquisition unit 20, it is marked that the second image processing unit 40 has been selected once. In step S50C, when the second image processing unit 40 is selected based on the numerical value acquired by the second element acquisition unit 20B, it is marked that the second image processing unit 40 has been selected once. In the third embodiment, the preset number of times is once. When the second image processing unit 40 is selected more than once by the processing selection unit 50, the process proceeds to step S70C. When the second image processing unit 40 has not been selected by the processing selection unit 50 once, and only the first image processing unit 30 has been selected by the processing selection unit 50, the process proceeds to step S80C. In addition, the preset number of times is determined by the operator and input into the processing selection unit 50 in advance.

[0060] In step S70C, the vehicle control unit 60 executes the first mode MD1. In step S70C, the second image processing unit 40 executes the calculation processing. In step S80C, the vehicle control unit 60 executes the first mode MD1. In step 80C, the first image processing unit 30 executes the calculation processing. Then, the process proceeds to step S90C. The process of step S90C is the same as that of step S90C. Figure 4 The processing of step S70 is the same as that of step S70.

[0061] In the third embodiment, the image processing device can select an image processing unit based on a numerical value indicating the strength of one or more elements.

[0062] D. Fourth Implementation Method:

[0063] The fourth embodiment is different from the first embodiment in that the image processing device includes a third element acquisition unit (not shown) and the third element acquisition unit acquires a numerical value representing the intensity of an element of the environment around the vehicle VW based on the image acquired by the imaging unit 10, and does not include an illuminance sensor. For other structures, since they are the same as those of the first embodiment, the same reference numerals are marked and detailed descriptions are omitted.

[0064] In the fourth embodiment, the imaging unit 10 sends the data of the generated image to the third element acquisition unit. The third element acquisition unit detects the brightness of each unit pixel of the image data. Then, the average brightness of the image is calculated, a numerical value representing the intensity is obtained, and the numerical value is output to the processing selection unit 50. The processing selection unit 50 selects the image processing unit based on the numerical value obtained by the third element acquisition unit by the same method as the first embodiment.

[0065] In the fourth embodiment, it is possible to acquire numerical values ​​indicating the intensity of elements of the environment around the vehicle VW from the image acquired by the imaging unit 10 without using a device that acquires numerical values ​​indicating the intensity of elements.

[0066] E. Other implementation methods:

[0067] E1: Other implementation methods 1:

[0068] (1) In the first embodiment, the first element acquisition unit 20 acquires a numerical value indicating the intensity of brightness. In the second embodiment, the second element acquisition unit 20B acquires a numerical value indicating the intensity of rain. In addition, for example, the element acquisition unit may acquire a numerical value indicating the degree of dust or snow attached to the windshield.

[0069] (2) In the above embodiment, the minimum value of the first range FR1 is greater than the first threshold value T1. In addition, the maximum value of the second range SR1 is less than the first threshold value T1. In addition, the minimum value of the first range FR2 is greater than the second threshold value T2. In addition, according to the method for determining the first threshold value, the first threshold value may also belong to any range of the first range and the second range. For example, in the case where the maximum intensity of the brightness intensity of any plurality of tunnels measured by the operator is set as the first threshold value, the first threshold value may also belong to any range of the first range and the second range. Similarly, according to the method for determining the second threshold value, the second threshold value may also belong to any range of the first range and the second range.

[0070] (3) In the above-mentioned embodiment, the processing selection unit 50 selects the image processing unit based on whether the value acquired by the element acquisition unit is above the first threshold value T1 or the second threshold value. In addition, the processing selection unit may select the image processing unit without being based on the threshold value, for example, in a manner in which the threshold value belongs to any one of the first range and the second range. In this manner, the processing selection unit may select the first image processing unit when the value acquired by the element acquisition unit belongs to the first range, select the second image processing unit when the value belongs to the second range, and select the first image processing unit or the second image processing unit, whichever is pre-set by the operator, when the value does not belong to any one of the first range and the second range.

[0071] (4) In the first embodiment described above, Figure 4 In the process of step S10, after the user turns on the power of the vehicle VW, the vehicle control unit 60 controls the vehicle VW in the second mode MD2. In addition, the second mode may be executed at a time other than the timing of turning on the power of the vehicle. For example, the vehicle control unit may control the vehicle in the second mode after the start of automatic driving, or the vehicle control unit may control the vehicle in the second mode after a predetermined time has passed since the vehicle started to travel.

[0072] (5) For example, the image processing device may also include a control unit that functions as a first image processing unit, a second image processing unit, and a processing selection unit. In this embodiment, the control unit includes an NPU, a processor, and a memory, the NPU performs arithmetic processing using CNN and Transformer, and the processing selection unit causes either the first image processing unit or the second image processing unit to perform arithmetic processing. The processor performs overall control of the NPU. According to the image processing device of this embodiment, the first image processing unit, the second image processing unit, and the processing selection unit are controlled by the same control unit, so the processing selection unit can quickly switch to the first image processing unit or the second image processing unit.

[0073] (6) In the above embodiment, when the numerical value indicating the intensity of light received by the illuminance sensor is greater than or equal to the first threshold, the processing selection unit 50 selects the first image processing unit 30. Alternatively, the processing selection unit may select the first image processing unit when the numerical value is greater than the first threshold, and select the second image processing unit when the numerical value is less than the first threshold.

[0074] (7) In the above embodiment, the vehicle VW can be driven by using an ADAS (Advanced Driving Assistant System). Alternatively, for example, the vehicle may be driven by using an AD (Autonomous Driving).

[0075] (8) In the first embodiment, when the vehicle control unit 60 determines that the process is not to be terminated, the process enters the Figure 4 Step S40. In addition, the process may also be terminated when the vehicle control unit determines that the automatic driving is terminated. In addition, the process may also be terminated at Figure 4 After the processing of step S60, the process proceeds to step S40. In this embodiment, when the user ends the driving, the process ends even if the processing of any step is executed.

[0076] (9) In the first embodiment, the process proceeds to step S20 after a predetermined time has passed since the second mode MD2 started. Alternatively, the process may proceed to step S20 immediately after the second mode starts, and then proceed to step S60 after a predetermined time has passed.

[0077] E2: Other implementation methods 2:

[0078] (1) In the third embodiment described above, the image processing device 1B includes a first element acquisition unit 20 and a second element acquisition unit 20B as two element acquisition units. In addition, for example, the image processing device may also include a plurality of element acquisition units other than two, such as three or five. In this method, the element acquisition units respectively acquire a numerical value representing the intensity of one of more than one elements such as rain, brightness, dust, etc. Then, the processing selection unit selects an image processing unit based on the numerical values ​​of the elements acquired by the plurality of element acquisition units.

[0079] (2) In the third embodiment described above, the preset number of times is once. In addition, the operator can determine the preset number of times according to the driving environment of the vehicle, or the type and number of elements. For example, in a mode in which the image processing device has two element acquisition units, it is possible to set the mode in which the second image processing unit performs the calculation processing in the first mode only when the second image processing unit is selected twice by the processing selection unit. In addition, in a mode in which the image processing device has five element acquisition units, it is possible to set the mode in which the second image processing unit performs the calculation processing in the first mode when the second image processing unit is selected more than once by the processing selection unit, and it is also possible to set the mode in which the second image processing unit performs the calculation processing in the first mode when the second image processing unit is selected five times.

[0080] E3: Other implementation methods 3:

[0081] In the third embodiment, when the second image processing unit 40 is selected more than a preset number of times, the second image processing unit 40 is selected by the processing selection unit 50. In addition, for example, in a mode in which the image processing device includes a plurality of element acquisition units, one of which is an illuminance sensor, the processing selection unit may select the image processing unit based only on the numerical value acquired by the illuminance sensor.

[0082] E4: Other implementation methods 4:

[0083] (1) In the above-described embodiment, the image processing device 1 includes the vehicle control unit 60. In addition, for example, in a mode in which the process selection unit controls the vehicle, the image processing device may not include the vehicle control unit.

[0084] (2) In the above embodiment, the vehicle control unit 60 has the first mode MD1 and the second mode MD2. In addition, for example, in a method in which the vehicle is driven by the user until the value is acquired by the element acquisition unit, the vehicle control unit may not have the second mode, but only have the first mode, and the vehicle control unit may not be used to control during the period in which the image processing unit is not selected by the processing selection unit. In addition, in a method in which the image processing unit is selected by the processing selection unit immediately after the vehicle is powered on, the second mode may not be executed.

[0085] E5: Other implementation methods 5:

[0086] (1) In the above-mentioned embodiment, during the execution of the second mode MD2, the first image processing unit 30 and the second image processing unit 40 perform calculation processing, and in the first mode MD1, the vehicle VW is controlled based on the calculation processing data output by one of the first image processing unit 30 and the second image processing unit 40. In addition, for example, in a mode in which the vehicle control unit does not have the second mode, during the period in which the image processing unit is not selected by the processing selection unit, for example, only the first image processing unit may perform calculation processing, or calculation processing may not be performed by both the first image processing unit and the second image processing unit. In addition, for example, in a mode in which the vehicle control unit does not have the second mode, the image processing unit may be selected by the processing selection unit that receives a signal indicating the numerical value obtained by the element acquisition unit, and then the selected image processing unit receives the image data from the imaging unit and performs calculation processing.

[0087] E6: Other implementation methods 6:

[0088] (1) In the fourth embodiment described above, the third element acquisition unit acquires a numerical value representing the intensity of the element based on the image generated by the shooting unit 10. In addition, for example, the element acquisition unit may also include an illuminance sensor and an illuminance processing unit that acquires a numerical value representing the intensity of the element based on the image generated by the shooting unit, and the illuminance processing unit and the illuminance sensor are used together to acquire a numerical value representing the intensity of the element. In this method, the image processing unit may be selected by the processing selection unit based on the smaller numerical value of the numerical values ​​respectively acquired by the illuminance processing unit and the illuminance sensor. In addition, in this method, when an abnormality occurs in the illuminance sensor, the processing selection unit may select the image processing unit using the numerical value acquired by the illuminance processing unit as a substitute for the illuminance sensor.

[0089] (2) The element acquisition unit may use the network information unit, the rainfall detection unit, and the imaging unit together to acquire a numerical value indicating the intensity of rain.

[0090] E7: Other implementation methods 7:

[0091] (1) In the second embodiment, the second element acquisition unit 20B includes the network information unit 210B and the rainfall detection unit 220B. Alternatively, for example, the element acquisition unit may include only one of the network information unit and the rainfall detection unit.

[0092] (2) In the second embodiment, the network information unit 210B and the rainfall detection unit 220B output the rainfall amount falling on 1 square meter in 1 second. Alternatively, for example, the network information unit and the rainfall detection unit may output the rainfall amount falling on 1 square meter in 1 minute.

[0093] (3) In the second embodiment, the processing selection unit 50 uses the larger value of the first value FN and the second value SN as the value indicating the intensity of rain acquired by the second element acquisition unit 20B to select the image processing unit. In addition, for example, the second element acquisition unit may send a signal indicating the larger value of the first value and the second value to the processing selection unit.

[0094] In addition, for example, when the network information unit and the rain detection unit respectively obtain a numerical value above a preset threshold value, they send a signal indicating that rain is detected and a signal indicating the numerical value to the processing selection unit, and the processing selection unit selects the image processing unit based on the received numerical value. In this method, when either the network information unit or the rain detection unit detects rain, the processing selection unit can be used to select the image processing unit. When it rains in an environment where the vehicle is traveling, the image processing unit is selected quickly, so that high-precision calculation processing can be performed.

[0095] E8: Other implementation methods 8:

[0096] In the first embodiment described above, the first threshold value T1 is the intensity of the brightness of the image data when the accuracy of the first image processing unit 30 is equal to the accuracy of the second image processing unit 40 when the first image processing unit 30 and the second image processing unit 40 respectively perform calculation processing on a plurality of images of different brightness prepared by the operator, and the first range FR1 is a range of values ​​greater than the first threshold value T1. For example, the first range of brightness may also refer to a range greater than the intensity of the brightness inside the tunnel. The intensity of the brightness inside the tunnel in this specification is any of the ranges greater than the average road surface brightness of the basic lighting of the tunnel determined under the road lighting facility setting standards of the national transportation department or the road surface brightness of each part of the entrance lighting determined under the road lighting facility setting standards of the national transportation department.

[0097] The present disclosure is not limited to the above-mentioned embodiments or variations, and can be implemented in various structures within the scope of the main purpose. For example, the technical features in the embodiments and variations corresponding to the technical features in each mode recorded in the invention content column can be appropriately replaced or combined in order to solve part or all of the above-mentioned technical problems or to achieve part or all of the above-mentioned effects. In addition, if it is not stated in this specification that a technical feature is necessary, the technical feature can be appropriately deleted.

Claims

1. An image processing device mounted on a vehicle, characterized in that: have: an imaging unit that captures an object and generates an image including the object; one or more element acquisition units that acquire numerical values ​​representing the intensity of each of one or more elements of the environment around the vehicle; A first image processing unit, which can use a first neural network model to perform computational processing on the image; A second image processing unit, which can use a second neural network model to perform computational processing on the image; as well as a processing selection unit that selects an image processing unit that performs arithmetic processing on the image between the first image processing unit and the second image processing unit; Regarding a part of the elements, within a first range of intensities, the accuracy of the first image processing unit is higher than the accuracy of the second image processing unit, and within a second range lower than the first range, the accuracy of the second image processing unit is higher than the accuracy of the first image processing unit, The process selection unit selects an image processing unit that performs a calculation process based on the numerical value indicating the intensity of the element acquired by the one or more element acquisition units.

2. The image processing device according to claim 1, characterized in that Regarding the other elements, within a first range of intensity, the accuracy of the second image processing unit is higher than that of the first image processing unit, and within a second range lower than the first range, the accuracy of the first image processing unit is higher than that of the second image processing unit.

3. The image processing device according to claim 1, characterized in that Regarding the brightness of the one or more elements, within the first range, the accuracy of the calculation processing by the first image processing unit is higher than the accuracy of the calculation processing by the second image processing unit, and within the second range, the accuracy of the calculation processing by the second image processing unit is higher than the accuracy of the calculation processing by the first image processing unit.

4. The image processing device according to any one of claims 1 to 3, characterized in that: The image processing device further includes a vehicle control unit for controlling the vehicle based on data obtained through the calculation process. The vehicle control unit comprises: A first mode is to control based on the image processing unit selected by the processing selection unit; as well as a second mode in which the vehicle is controlled based on the data processed by the operation output by the first image processing unit instead of the image processing unit selected by the processing selection unit; The vehicle is controlled in the second mode while the image processing unit is not selected by the processing selection unit.

5. The image processing device according to claim 4, characterized in that: While the vehicle control unit is executing the second mode, the first image processing unit and the second image processing unit perform arithmetic processing. In the first mode, the vehicle control unit controls the vehicle based on data processed by calculation output by the image processing unit selected by the processing selection unit, of the first image processing unit and the second image processing unit.

6. The image processing device according to claim 1, characterized in that: The element acquisition unit acquires a numerical value indicating the intensity of an element of the environment around the vehicle based on the image generated by the imaging unit.

7. The image processing device according to claim 1, characterized in that: One of the one or more element acquisition units includes: a network information unit that acquires a first value as a value indicating the intensity of rain through a network; and a detection unit that acquires a second value that is a value indicating the intensity of the rain by directly detecting rain around the vehicle; The element acquisition unit outputs the first value and the second value, The processing selection unit selects the image processing unit using the larger value of the first numerical value and the second numerical value as the numerical value indicating the intensity of the rain acquired by the element acquisition unit.

8. The image processing device according to claim 1, characterized in that: The first range of brightness in the one or more elements is a range larger than a numerical value indicating the intensity of brightness inside the tunnel.

Citation Information

Patent Citations

  • Image recording device, image recording method, and image recording program

    JP2021052350A