WO2022236492A1 - Image processing method and apparatus - Google Patents
Image processing method and apparatus Download PDFInfo
- Publication number
- WO2022236492A1 WO2022236492A1 PCT/CN2021/092444 CN2021092444W WO2022236492A1 WO 2022236492 A1 WO2022236492 A1 WO 2022236492A1 CN 2021092444 W CN2021092444 W CN 2021092444W WO 2022236492 A1 WO2022236492 A1 WO 2022236492A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- polarization
- image
- lighting
- polarized light
- acquisition
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 59
- 230000010287 polarization Effects 0.000 claims abstract description 836
- 238000012545 processing Methods 0.000 claims abstract description 365
- 238000005286 illumination Methods 0.000 claims abstract description 188
- 238000000034 method Methods 0.000 claims abstract description 167
- 230000001360 synchronised effect Effects 0.000 claims description 91
- 238000004891 communication Methods 0.000 claims description 50
- 230000008569 process Effects 0.000 claims description 39
- 239000011159 matrix material Substances 0.000 claims description 33
- 238000004590 computer program Methods 0.000 claims description 12
- 238000004364 calculation method Methods 0.000 abstract description 25
- 238000010586 diagram Methods 0.000 description 30
- 230000015654 memory Effects 0.000 description 27
- 230000009471 action Effects 0.000 description 26
- 230000006870 function Effects 0.000 description 24
- 230000000875 corresponding effect Effects 0.000 description 21
- 238000013500 data storage Methods 0.000 description 11
- 238000003384 imaging method Methods 0.000 description 11
- 238000001514 detection method Methods 0.000 description 10
- 239000000463 material Substances 0.000 description 10
- 230000000694 effects Effects 0.000 description 9
- 230000002093 peripheral effect Effects 0.000 description 7
- 230000009286 beneficial effect Effects 0.000 description 6
- 230000004438 eyesight Effects 0.000 description 6
- 230000004313 glare Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 238000000576 coating method Methods 0.000 description 5
- 230000001133 acceleration Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 4
- 239000011248 coating agent Substances 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 238000005259 measurement Methods 0.000 description 4
- 238000001228 spectrum Methods 0.000 description 4
- 241000156302 Porcine hemagglutinating encephalomyelitis virus Species 0.000 description 3
- 230000010267 cellular communication Effects 0.000 description 3
- 230000007613 environmental effect Effects 0.000 description 3
- 239000000446 fuel Substances 0.000 description 3
- 239000004065 semiconductor Substances 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- LFQSCWFLJHTTHZ-UHFFFAOYSA-N Ethanol Chemical compound CCO LFQSCWFLJHTTHZ-UHFFFAOYSA-N 0.000 description 2
- ATUOYWHBWRKTHZ-UHFFFAOYSA-N Propane Chemical compound CCC ATUOYWHBWRKTHZ-UHFFFAOYSA-N 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 238000002485 combustion reaction Methods 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000001276 controlling effect Effects 0.000 description 2
- 238000005265 energy consumption Methods 0.000 description 2
- 230000001815 facial effect Effects 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000003595 spectral effect Effects 0.000 description 2
- 102100034112 Alkyldihydroxyacetonephosphate synthase, peroxisomal Human genes 0.000 description 1
- 101000799143 Homo sapiens Alkyldihydroxyacetonephosphate synthase, peroxisomal Proteins 0.000 description 1
- HBBGRARXTFLTSG-UHFFFAOYSA-N Lithium ion Chemical compound [Li+] HBBGRARXTFLTSG-UHFFFAOYSA-N 0.000 description 1
- 239000002253 acid Substances 0.000 description 1
- 238000000848 angular dependent Auger electron spectroscopy Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 239000010426 asphalt Substances 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 229910001416 lithium ion Inorganic materials 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 229910052751 metal Inorganic materials 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 238000003062 neural network model Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000007500 overflow downdraw method Methods 0.000 description 1
- 239000003208 petroleum Substances 0.000 description 1
- 239000001294 propane Substances 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 238000002310 reflectometry Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 230000003746 surface roughness Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/71—Circuitry for evaluating the brightness variation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/74—Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
Definitions
- the present application relates to the technical field of image processing, and in particular to an image processing method and device.
- a terminal device can use a polarization camera to detect surrounding environment information, and determine information such as shapes and colors of objects (eg, vehicles, obstacles, roads, etc.) existing around the terminal device.
- objects eg, vehicles, obstacles, roads, etc.
- the polarization image acquired by the terminal device has polarization information in multiple dimensions.
- the current common polarization information includes at least: polarization-modulated polarization image, Stokes vector, degree of polarization, polarization angle, and Mueller matrix.
- the terminal device needs to adopt different processing methods.
- the terminal device When the current terminal device obtains the polarization information, the terminal device will uniformly output all the polarization information of the target that can be obtained (the polarization information generally includes the above-mentioned polarization-modulated polarization image, Stokes vector, degree of polarization, polarization angle, and Muller matrix) , which will lead to a large amount of calculation when the terminal device processes the polarization image, which will affect the calculation performance of the terminal device.
- the polarization information generally includes the above-mentioned polarization-modulated polarization image, Stokes vector, degree of polarization, polarization angle, and Muller matrix
- the present application provides an image processing method and device, which solves the problem in the prior art that a terminal device has a large amount of calculation when processing a polarization image, which affects the calculation performance of the terminal device.
- an image processing method including: acquiring first feature information; the first feature information is used to characterize scene features and obtain polarization information indicating at least one target, the first feature information corresponds to the first lighting mode, The first acquisition mode and the first image processing mode.
- the polarized light illumination is controlled according to the first illumination mode, and, according to the first acquisition mode, the first polarized image of at least one target under the first illumination mode is controlled to be collected.
- the first polarization image is processed to acquire polarization information of at least one target.
- the image processing device can select the corresponding image processing method according to the acquisition of the polarization information of the target to obtain the polarization information of the target, avoiding the acquisition of all possible polarization information of the target
- the resulting image processing device has a large amount of calculation.
- the image processing device can determine the Mueller matrix of the target according to the polarized light provided for the target and the collected polarized light reflected by the target, and then determine the quantitative polarization information of the target.
- the image processing device can also provide illumination for the target, which improves the imaging clarity of the target in dark and light scenes.
- the method further includes: determining a first illumination manner, a first collection manner, and a first image processing manner according to the first characteristic information.
- the image processing device can determine the station name method, image acquisition method, and image processing method for the target when different polarization information is obtained in each scene. In this way, the requirements for collecting different polarization information in different scenarios can be better met.
- the scene feature includes light intensity information of the environment.
- the image acquisition device can provide lighting for the scene when the ambient light intensity is low, so as to increase the ambient light intensity of the scene.
- the polarization information includes at least one of the following: a second polarization image, qualitative polarization information, or quantitative polarization information.
- the image acquisition device can acquire the second polarization image of the target, qualitative polarization information, and one or more types of polarization information in the quantitative polarization information according to requirements.
- the first lighting method belongs to a set of polarized light lighting methods, and the set of polarized light lighting methods includes at least one of the following: synchronous lighting with multiple polarized light sources, asynchronous lighting with multiple polarized light sources, Or no lighting.
- the synchronous illumination of multi-polarized light sources is: providing polarized illumination simultaneously through multiple polarized light sources of different polarization states;
- the asynchronous illumination of multi-polarized light sources is: providing polarized illumination sequentially through multiple polarized light sources of different polarization states; Provide lighting.
- the first acquisition mode belongs to a polarization acquisition mode set
- the polarization acquisition mode set includes: a synchronous acquisition operation of a single-frame polarization image, and an asynchronous acquisition operation of a multi-frame polarization image.
- the synchronous acquisition operation of a single-frame polarization image includes: acquiring multiple polarization images of different polarization states from a single image by acquiring a single image of at least one target; the asynchronous acquisition operation of a multi-frame polarization image includes: acquiring at least one target A plurality of images, each image in the plurality of images includes a plurality of polarization images of different polarization states.
- the illumination method and the image acquisition method cooperate with each other.
- the illumination method provides polarized light illumination with different polarization states
- the image acquisition device collects polarization images under different polarization states of polarized light illumination conditions, which can determine the Mueller matrix of the target, and then determine the target Quantitative polarization information of .
- the first image processing method belongs to a set of polarization image processing methods, and the set of polarization image processing methods includes: polarization image acquisition operation, qualitative polarization information acquisition operation, and quantitative polarization information acquisition operation .
- the polarization image acquisition operation is used to acquire a second polarization image, and the second polarization image belongs to the polarization images of the first polarization image in different polarization states;
- the qualitative polarization information acquisition operation is used to acquire at least one of the following polarization information of at least one target : Stokes vector, degree of polarization, or angle of polarization;
- the quantitative polarization information acquisition operation is used to acquire the Mueller matrix of at least one target.
- the first feature information indicates that the ambient light intensity is less than a preset value and indicates to obtain the second polarization image
- the first lighting operation includes: synchronous lighting of multiple polarization light sources, polarization image acquisition
- the method includes: a single-frame polarization image synchronous acquisition operation, and the polarization image processing operation includes: a polarization image acquisition operation.
- the lighting device when the image processing device is in a scene where the ambient light of the scene is weak and polarized images need to be acquired, the lighting device provides synchronous illumination of multi-polarized light sources for the scene, which can improve the ambient light intensity of the scene; the image acquisition device collects a single image of the target, which can Reducing the number of images to be processed; the image processing device processes the acquired second polarization image of the target in a single image, which can reduce the calculation amount of the image processing device.
- the first feature information indicates that the ambient light intensity is less than a preset value and indicates the acquisition of qualitative polarization information.
- the polarized light illumination operation includes: synchronous illumination of multiple polarized light sources, polarization image acquisition method Including: single-frame polarization image synchronous acquisition operation, polarization image processing operation includes: qualitative polarization information acquisition operation.
- the lighting device provides synchronous illumination of multi-polarized light sources for the scene, which can improve the ambient light intensity of the scene;
- the image acquisition device collects a single image of the target, The number of processed images can be reduced;
- the image processing device processes the acquired single image to acquire the qualitative polarization information of the target, which can reduce the calculation amount of the image processing device.
- the first characteristic information indicates that the ambient light intensity is less than a preset value and indicates the acquisition of qualitative polarization information
- the polarized light illumination operation includes: asynchronous illumination of multiple polarized light sources, polarization image acquisition
- the method includes: multi-frame polarization image asynchronous acquisition operation, and the polarization image processing operation includes: quantitative polarization information acquisition operation.
- the image processing device provides asynchronous illumination of multi-polarized light sources for the scene where the ambient light of the scene is weak and qualitative polarization information needs to be obtained.
- the lighting device can improve the ambient light intensity of the scene and provide polarized light with different polarization states for the target.
- the image acquisition device collects multiple images of the target under different polarized lights, and the image processing device combines the polarized light provided by the polarized light source and the multiple images collected under the multiple polarized lights to determine the Mueller matrix of the target , so as to determine the quantitative polarization information of the target.
- the first feature information indicates that the ambient light intensity is greater than or equal to a preset value and indicates to obtain the second polarized image
- the polarized light illumination operation includes: no illumination
- polarized image acquisition mode Including: single-frame polarization image synchronous acquisition operation
- polarization image processing operation includes: polarization image acquisition operation.
- the image processing device does not need to provide multi-polarized light source synchronous lighting for the scene in the scene where the ambient light of the scene is strong and polarized images need to be obtained by the lighting device, which can reduce the energy consumption of the lighting device; the image acquisition device collects a single image of the target, The number of images to be processed can be reduced; the image processing device processes the acquired second polarization image of a single image acquisition target, which can reduce the calculation amount of the image processing device.
- the first feature information indicates that the ambient light intensity is greater than or equal to a preset value and indicates the acquisition of qualitative polarization information.
- the polarized light illumination operation includes: no illumination
- the polarized image acquisition method includes : Synchronous acquisition operation of single frame polarization image
- polarization image processing operation includes: qualitative polarization information acquisition operation.
- the image processing device does not need to provide multi-polarized light source synchronous lighting for the scene where the image processing device needs to obtain qualitative polarization information under the scene environment light intensity, which can reduce the energy consumption of the lighting device; the image acquisition device collects a single image of the target , the number of processed images can be reduced; the image processing device can process the acquired qualitative polarization information of a single image to obtain the target, which can reduce the calculation amount of the image processing device.
- the first feature information indicates that the ambient light intensity is greater than or equal to a preset value and indicates the acquisition of quantitative polarization information.
- the polarized light illumination operation includes: asynchronous illumination of multiple polarized light sources, polarization
- the image acquisition method includes: multi-frame polarization image asynchronous acquisition operation, and the polarization image processing operation includes: quantitative polarization information acquisition operation.
- the lighting device provides asynchronous illumination of multi-polarized light sources for the scene, and can provide polarized light with different polarization states for the target;
- the image acquisition device collects the target's
- the image processing device can determine the Mueller matrix of the target by combining the polarized light provided by the polarized light source and the collected multiple images under the multiple polarized lights, thereby determining the quantitative polarization of the target information.
- an image processing device including: a processing unit and an acquisition unit.
- An acquisition unit configured to acquire first feature information; the first feature information is used to characterize scene features and to indicate the acquisition of polarization information of at least one target, and the first feature information corresponds to the first lighting mode, the first acquisition mode, and the first image processing method.
- the processing unit is configured to control polarized light illumination according to the first illumination mode, and, according to the first acquisition mode, control to collect a first polarized image of at least one target under the first illumination mode.
- the processing unit is further configured to process the first polarization image according to the first image processing manner to acquire polarization information of at least one target.
- the processing unit is further configured to: determine a first lighting manner, a first acquisition manner, and a first image processing manner according to the first characteristic information.
- the processing unit is specifically configured to: generate a first instruction and a second instruction; the first instruction is used to indicate the first lighting mode; the second instruction is used to indicate the first Acquisition mode: instruct the acquisition unit to send the first instruction to the lighting device, and send the second instruction to the image acquisition device.
- the processing unit is further configured to: instruct the acquisition unit to receive the first polarization image from the image acquisition device.
- the scene feature includes light intensity information of the environment.
- the polarization information includes at least one of the following: a second polarization image, qualitative polarization information, or quantitative polarization information.
- the first lighting method belongs to a set of polarized light lighting methods, and the set of polarized light lighting methods includes at least one of the following: synchronous lighting with multiple polarized light sources, asynchronous lighting with multiple polarized light sources, Or no lighting; wherein, multi-polarized light source synchronous lighting is: providing polarized lighting through multiple polarized light sources with different polarization states at the same time; multi-polarized light source asynchronous lighting is: using multiple polarized light sources with different polarization states to provide polarized lighting sequentially; Lighting is: No lighting provided.
- the first collection method belongs to a collection of polarization collection methods
- the collection of polarization collection methods includes: a synchronous collection operation of a single-frame polarization image, an asynchronous collection operation of a multi-frame polarization image
- the synchronous acquisition operation of polarization images includes: acquiring multiple polarization images of different polarization states from a single image by acquiring a single image of at least one target
- the asynchronous acquisition operation of multi-frame polarization images includes: acquiring multiple polarization images of at least one target images, each of the plurality of images includes a plurality of polarization images of different polarization states.
- the first image processing method belongs to a set of polarization image processing methods, and the set of polarization image processing methods includes: polarization image acquisition operations, qualitative polarization information acquisition operations, and quantitative polarization information acquisition operations ;
- the polarization image acquisition operation is used to acquire a second polarization image, and the second polarization image belongs to the polarization images of the first polarization image in different polarization states;
- the qualitative polarization information acquisition operation is used to acquire at least one of the following polarizations of at least one target Information: Stokes vector, degree of polarization, or angle of polarization;
- the quantitative polarization information acquisition operation is used to acquire the Mueller matrix of at least one target.
- the first feature information indicates that the ambient light intensity is less than a preset value and indicates to obtain the second polarization image
- the first lighting operation includes: synchronous lighting of multiple polarization light sources, polarization image acquisition
- the method includes: a single-frame polarization image synchronous acquisition operation, and the polarization image processing operation includes: a polarization image acquisition operation.
- the first feature information indicates that the ambient light intensity is less than a preset value and indicates the acquisition of qualitative polarization information.
- the polarized light illumination operation includes: synchronous illumination of multiple polarized light sources, polarization image acquisition method Including: single-frame polarization image synchronous acquisition operation, polarization image processing operation includes: qualitative polarization information acquisition operation.
- the first feature information indicates that the ambient light intensity is less than a preset value and indicates the acquisition of qualitative polarization information.
- the polarized light illumination operation includes: asynchronous illumination of multiple polarized light sources, polarization image acquisition
- the method includes: multi-frame polarization image asynchronous acquisition operation, and the polarization image processing operation includes: quantitative polarization information acquisition operation.
- the first characteristic information indicates that the ambient light intensity is greater than or equal to a preset value and indicates to obtain the second polarized image
- the polarized light illumination operation includes: no illumination
- polarized image acquisition mode Including: single-frame polarization image synchronous acquisition operation
- polarization image processing operation includes: polarization image acquisition operation.
- the first characteristic information indicates that the ambient light intensity is greater than or equal to a preset value and indicates the acquisition of qualitative polarization information.
- the polarized light illumination operation includes: no illumination
- the polarized image acquisition method includes : Synchronous acquisition operation of single frame polarization image
- polarization image processing operation includes: qualitative polarization information acquisition operation.
- the first feature information indicates that the ambient light intensity is greater than or equal to a preset value and indicates that quantitative polarization information is obtained
- the polarized light illumination operation includes: asynchronous illumination of multiple polarized light sources
- the image acquisition method includes: multi-frame polarization image asynchronous acquisition operation
- the polarization image processing operation includes: quantitative polarization information acquisition operation.
- an illuminating device including: a plurality of polarized light sources with different polarization states, at least one processor, and a communication interface.
- the communication interface is used to receive a first instruction from the image processing device, and the first instruction is used to indicate a first lighting mode; the first lighting mode is used to represent a way of providing illumination by using a plurality of polarized light sources with different polarization states.
- the processor is configured to control a plurality of polarized light sources with different polarization states to provide illumination according to the first instruction.
- the first lighting method belongs to a set of polarized light lighting methods, and the set of polarized light lighting methods includes at least one of the following: synchronous lighting with multiple polarized light sources, asynchronous lighting with multiple polarized light sources, Or no lighting; wherein, multi-polarized light source synchronous lighting is: providing polarized lighting through multiple polarized light sources with different polarization states at the same time; multi-polarized light source asynchronous lighting is: using multiple polarized light sources with different polarization states to provide polarized lighting sequentially; Lighting is: No lighting provided.
- the first lighting method includes: synchronous lighting of multiple polarized light sources;
- the light source provides polarized illumination.
- the first lighting method includes: multi-polarization light source asynchronous lighting; the processor is specifically used to: control each polarized light source among multiple polarized light sources with different polarization states to sequentially provide polarized lighting.
- the first illumination manner includes: no illumination; and the processor is specifically configured to: control multiple polarized light sources with different polarization states to provide no illumination.
- the image The processing devices may share at least one processor, and the at least one processor executes the processing operations in the lighting device, the image acquisition device, and the image processing device.
- an image acquisition device including: a polarized image acquisition device, at least one processor and a communication interface; the communication interface is used to receive a second instruction from the image processing device, and the second instruction is used to instruct the first acquisition mode; the first acquisition mode is used to characterize the way of collecting polarization images.
- the processor is configured to control the polarization image collector to collect polarization images according to the second instruction.
- the first collection method belongs to a collection of polarization collection methods
- the collection of polarization collection methods includes: a synchronous collection operation of a single-frame polarization image, an asynchronous collection operation of a multi-frame polarization image
- the synchronous acquisition operation of polarization images includes: acquiring multiple polarization images of different polarization states from a single image by acquiring a single image of at least one target
- the asynchronous acquisition operation of multi-frame polarization images includes: acquiring multiple polarization images of at least one target images, each of the plurality of images includes a plurality of polarization images of different polarization states.
- the first collection method includes: a single-frame polarization image synchronous collection operation; the processor is specifically configured to control the polarization image collector to collect at least one target according to the second instruction.
- the first collection method includes: an asynchronous collection operation of multi-frame polarization images; the processor is specifically configured to control the polarization image collector to collect at least a plurality of times according to the second instruction An image of an object, multiple images of at least one object are determined, and multiple polarization images of different polarization states are respectively obtained from each of the multiple images.
- the image processing device may share at least one processor, and the at least one processor executes the processing operations in the lighting device, the image acquisition device, and the image processing device.
- an image processing device including: at least one processor and a communication interface.
- a communication interface used to acquire first feature information; the first feature information is used to characterize the scene feature and to indicate the acquisition of polarization information of at least one target, the first feature information corresponds to the first lighting mode, the first collection mode and the first image processing method.
- the processor is configured to control polarized light illumination according to the first illumination mode, and, according to the first collection mode, control to collect a first polarized image of at least one target under the first illumination mode.
- the processor is further configured to process the first polarization image according to the first image processing manner to acquire polarization information of at least one target.
- the processor is further configured to: determine a first lighting manner, a first acquisition manner, and a first image processing manner according to the first feature information.
- the processor is specifically configured to: generate a first instruction and a second instruction; the first instruction is used to indicate the first lighting mode; the second instruction is used to indicate the first Collection mode: instruct the communication interface to send the first instruction to the lighting device, and send the second instruction to the image collection device.
- the processor is further specifically configured to: instruct the communication interface to receive the first polarization image from the image acquisition device.
- the scene feature includes light intensity information of the environment.
- the polarization information includes at least one of the following: a second polarization image, qualitative polarization information, or quantitative polarization information.
- the first lighting method belongs to a set of polarized light lighting methods, and the set of polarized light lighting methods includes at least one of the following: synchronous lighting with multiple polarized light sources, asynchronous lighting with multiple polarized light sources, Or no lighting; wherein, multi-polarized light source synchronous lighting is: providing polarized lighting through multiple polarized light sources with different polarization states at the same time; multi-polarized light source asynchronous lighting is: using multiple polarized light sources with different polarization states to provide polarized lighting sequentially; Lighting is: No lighting provided.
- the first collection method belongs to a collection of polarization collection methods, and the collection of polarization collection methods includes: a synchronous collection operation of a single-frame polarization image, an asynchronous collection operation of a multi-frame polarization image;
- the synchronous acquisition operation of polarization images includes: acquiring multiple polarization images of different polarization states from a single image by acquiring a single image of at least one target;
- the asynchronous acquisition operation of multi-frame polarization images includes: acquiring multiple polarization images of at least one target images, each of the plurality of images includes a plurality of polarization images of different polarization states.
- the first image processing method belongs to a set of polarization image processing methods, and the set of polarization image processing methods includes: polarization image acquisition operation, qualitative polarization information acquisition operation, and quantitative polarization information acquisition operation ;
- the polarization image acquisition operation is used to acquire a second polarization image, and the second polarization image belongs to the polarization images of the first polarization image in different polarization states;
- the qualitative polarization information acquisition operation is used to acquire at least one of the following polarizations of at least one target Information: Stokes vector, degree of polarization, or angle of polarization;
- the quantitative polarization information acquisition operation is used to acquire the Mueller matrix of at least one target.
- the first feature information indicates that the ambient light intensity is less than a preset value and indicates to obtain the second polarization image
- the first lighting operation includes: synchronous lighting of multiple polarization light sources, polarization image acquisition
- the method includes: a single-frame polarization image synchronous acquisition operation, and the polarization image processing operation includes: a polarization image acquisition operation.
- the first feature information indicates that the ambient light intensity is less than a preset value and indicates the acquisition of qualitative polarization information.
- the polarized light illumination operation includes: synchronous illumination of multiple polarized light sources, polarization image acquisition method Including: single-frame polarization image synchronous acquisition operation, polarization image processing operation includes: qualitative polarization information acquisition operation.
- the first characteristic information indicates that the ambient light intensity is less than a preset value and indicates the acquisition of qualitative polarization information
- the polarized light illumination operation includes: asynchronous illumination of multiple polarized light sources, polarization image acquisition
- the method includes: multi-frame polarization image asynchronous acquisition operation, and the polarization image processing operation includes: quantitative polarization information acquisition operation.
- the first feature information indicates that the ambient light intensity is greater than or equal to a preset value and indicates to obtain the second polarized image
- the polarized light illumination operation includes: no illumination
- polarized image acquisition mode Including: single-frame polarization image synchronous acquisition operation
- polarization image processing operation includes: polarization image acquisition operation.
- the first feature information indicates that the ambient light intensity is greater than or equal to a preset value and indicates the acquisition of qualitative polarization information.
- the polarized light illumination operation includes: no illumination
- the polarized image acquisition method includes : Synchronous acquisition operation of single frame polarization image
- polarization image processing operation includes: qualitative polarization information acquisition operation.
- the first characteristic information indicates that the ambient light intensity is greater than or equal to a preset value and indicates to obtain quantitative polarization information
- the polarized light illumination operation includes: asynchronous illumination of multiple polarized light sources
- the image acquisition method includes: multi-frame polarization image asynchronous acquisition operation
- the polarization image processing operation includes: quantitative polarization information acquisition operation.
- the image processing devices may share at least one processor, and the at least one processor executes the processing operations in the lighting device, the image acquisition device, and the image processing device.
- the present application provides a computer-readable storage medium, the computer-readable storage medium includes a computer program or an instruction, and when the computer program or instruction is run on a computer, the computer executes the computer according to the first aspect and the first aspect.
- the present application provides a computer program product containing instructions.
- the computer program product When the computer program product is run on a computer, the computer executes the method described in the first aspect and any possible implementation of the first aspect. method.
- FIG. 1 is a functional block diagram of a vehicle provided in an embodiment of the present application
- FIG. 2 is a system architecture diagram of an image processing system provided by an embodiment of the present application.
- Fig. 3 is a schematic diagram of a lighting device provided by an embodiment of the present application.
- FIG. 4 is a schematic flow diagram of an image processing method provided in an embodiment of the present application.
- Fig. 5 is a schematic flow chart of another image processing method provided by the embodiment of the present application.
- Figures 6a-6d are schematic diagrams of a comparison of polarization images with different polarization directions provided by the embodiment of the present application.
- Figure 7a and Figure 7b are schematic diagrams comparing a visible light image and a polarization degree image provided by the embodiment of the present application;
- Figure 8a and Figure 8b are schematic diagrams comparing a visible light image and a polarization angle image provided by the embodiment of the present application;
- FIG. 9 is a schematic structural diagram of a processing device provided in an embodiment of the present application.
- FIG. 10 is a schematic diagram of a hardware structure of a processing device provided in an embodiment of the present application.
- FIG. 11 is a schematic diagram of a hardware structure of another processing device provided by an embodiment of the present application.
- Polarization refers to the vibration phenomenon that the transverse wave vibrates during its propagation and the vibration direction is perpendicular to the wave propagation direction. Polarization is a property of transverse waves, longitudinal waves are not polarized.
- the polarization state can be polarization characteristics such as degree of polarization, polarization angle, etc., and in this application, the polarization state is taken as the degree of polarization as an example for illustration). And the polarization state of the reflected light after the same material is illuminated by light with different polarization states may also be different.
- objects of different materials can be distinguished by detecting the polarization state of reflected light from objects. It can solve the problem that similar objects are difficult to identify caused by different objects with the same spectrum under visible light (a certain spectral range, different types of objects present the same spectral characteristics).
- Quantitative polarization information refers to the polarization information of the object itself, which is a fixed polarization information that does not change with the change of the environment where the object is located.
- the parameter commonly used to characterize the quantitative polarization information of an object is the Mueller matrix. After the Mueller matrix of the object is determined, the material of the object can be determined by the look-up table method.
- the look-up table method refers to pre-configuring objects of different materials and their corresponding Mueller matrices. In this way, after the Mueller matrix of the object is determined, the material of the object corresponding to the Mueller matrix can be queried according to the Mueller matrix.
- Qualitative polarization information refers to the polarization information exhibited by an object in its current environment. Qualitative polarization information may change with changes in the environment of the object (light intensity, light irradiation direction, polarization information of the irradiated light, etc.).
- Qualitative polarization information usually includes at least one of the following: Stokes vector (stokes vector), degree of polarization, or angle of polarization.
- the polarization states between every four (the number is not limited, and can be multiple) adjacent pixels are different.
- the polarization degrees of the four adjacent pixels are: 0°, 45°, 90°, 135°.
- Embodiments of the present application provide an image processing method and device, which are applied to a terminal device and used to determine polarization information of at least one target device.
- a terminal device may also be referred to as user equipment (UE), terminal, access terminal, subscriber unit, subscriber station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless communication device, user agent, or user device.
- the terminal device can be a vehicle to everything (V2X) device, for example, a smart car (smart car or intelligent car), a digital car (digital car), an unmanned car (unmanned car or driverless car or pilotless car or automobile), Automatic car (self-driving car or autonomous car), pure electric vehicle (pure EV or Battery EV), hybrid electric vehicle (hybrid electric vehicle, HEV), range extended electric vehicle (range extended EV, REEV), plug-in hybrid Power vehicle (plug-in HEV, PHEV), new energy vehicle (new energy vehicle), etc.
- V2X vehicle to everything
- the terminal device may also be a device to device (device to device, D2D) device.
- the terminal device can also be a mobile station (mobile station, MS), a subscriber unit (subscriber unit), a drone, an Internet of things (internet of things, IoT) device, a station (station, ST) in a WLAN, a cellular phone (cellular phone), smart phone (smart phone), cordless phone, wireless data card, tablet computer, session initiation protocol (session initiation protocol, SIP) phone, wireless local loop (wireless local loop, WLL) station, personal digital processing ( Personal digital assistant (PDA) equipment, laptop computer (laptop computer), machine type communication (machine type communication, MTC) terminal, handheld device with wireless communication function, computing device or other processing equipment connected to a wireless modem, vehicle devices, wearable devices (also known as wearable smart devices).
- IoT Internet of things
- IoT Internet of things
- station station (station, ST) in a WLAN
- a cellular phone cellular phone
- the description is made by taking the terminal device as a vehicle as an example.
- FIG. 1 is a functional block diagram of a vehicle 100 provided by an embodiment of the present application, and the vehicle 100 may be a smart vehicle.
- the vehicle 100 determines a first lighting mode and a first acquisition mode according to the first feature information, provides illumination according to the first lighting mode, and collects a first polarized image of at least one target according to the first acquisition mode,
- the vehicle 100 processes the first polarization image according to the first image processing manner, and determines the polarization information of at least one target.
- the vehicle 100 determines the surrounding environment of the vehicle according to the polarization information of at least one target, so as to provide a basis for the automatic driving of the vehicle.
- Vehicle 100 may include various subsystems such as travel system 110 , sensor system 120 , control system 130 , one or more peripheral devices 140 as well as power supply 150 , computer system 160 and user interface 170 .
- vehicle 100 may include more or fewer subsystems, and each subsystem may include multiple elements.
- each subsystem and element of the vehicle 100 may be interconnected by wire or wirelessly.
- Propulsion system 110 may include components that provide powered motion for vehicle 100 .
- propulsion system 110 may include an engine 111 , a transmission 112 , an energy source 113 and wheels 114 .
- the engine 111 may be an internal combustion engine, an electric motor, an air compression engine or other types of engine combinations, such as a hybrid engine composed of a gasoline engine and an electric motor, or a hybrid engine composed of an internal combustion engine and an air compression engine.
- the engine 111 converts the energy source 113 into mechanical energy.
- Examples of energy source 113 include gasoline, diesel, other petroleum-based fuels, propane, other compressed gas-based fuels, ethanol, solar panels, batteries, and other sources of electrical power. Energy source 113 may also provide energy to other systems of vehicle 100.
- Transmission 112 may transmit mechanical power from engine 111 to wheels 114 .
- Transmission 112 may include a gearbox, a differential, and a drive shaft.
- the transmission 112 may also include other devices, such as clutches.
- drive shafts may include one or more axles that may be coupled to one or more wheels 114 .
- the sensor system 120 may include several sensors that sense information about the environment around the vehicle 100 .
- the sensor system 120 may include a positioning system 121 (the positioning system may be a global positioning system (global positioning system, GPS), or a Beidou system or other positioning systems), an inertial measurement unit (inertial measurement unit, IMU) 122, a radar 123 , a laser radar 124 and a camera 125 .
- the sensor system 120 may also include sensors that monitor the interior systems of the vehicle 100 (eg, an interior air quality monitor, fuel gauge, oil temperature gauge, etc.). Sensor data from one or more of these sensors can be used to detect objects and their corresponding properties (position, shape, orientation, velocity, etc.). Such detection and identification is a critical function for the safe operation of autonomous driving of the vehicle 100 .
- the positioning system 121 may be used to estimate the geographic location of the vehicle 100 .
- the IMU 122 is used to sense changes in position and orientation of the vehicle 100 based on inertial acceleration.
- IMU 122 may be a combination accelerometer and gyroscope.
- the radar 123 may utilize radio signals to sense objects within the surrounding environment of the vehicle 100 . In some embodiments, in addition to sensing objects, radar 123 may be used to sense the velocity and/or heading of an object.
- Lidar 124 may utilize laser light to sense objects in the environment in which vehicle 100 is located.
- lidar 124 may include one or more laser sources, a laser scanner, and one or more detectors, among other system components.
- Camera 125 may be used to capture multiple images of the surrounding environment of vehicle 100 , as well as multiple images within the vehicle cabin.
- Camera 125 may be a still camera or a video camera.
- the camera 123 may be a polarization camera, which can acquire a polarization image of the target.
- the control system 130 may control the operation of the vehicle 100 and its components.
- Control system 130 may include various elements including steering system 131 , accelerator 132 , braking unit 133 , computer vision system 134 , route control system 135 , and obstacle avoidance system 136 .
- the steering system 131 is operable to adjust the heading of the vehicle 100 .
- it could be a steering wheel system.
- the throttle 132 is used to control the operating speed of the engine 111 and thus the speed of the vehicle 100 .
- the braking unit 133 is used to control the deceleration of the vehicle 100 .
- the braking unit 133 may use friction to slow the wheels 114 .
- the brake unit 133 can convert the kinetic energy of the wheel 114 into electric current.
- the braking unit 133 may also take other forms to slow down the wheels 114 to control the speed of the vehicle 100 .
- Computer vision system 134 is operable to process and analyze images captured by camera 125 to identify objects and/or features in the environment surrounding vehicle 100 as well as physical and facial features of a driver within the vehicle cabin.
- Objects and/or features may include traffic signals, road conditions, and obstacles, and driver's physical features and facial features include driver's behavior, gaze, expression, etc.
- the computer vision system 134 may use object recognition algorithms, structure from motion (SFM) algorithms, video tracking, and other computer vision techniques.
- the computer vision system 134 may be used to map the environment, track objects, estimate the speed of objects, determine driver behavior, face recognition, and the like.
- the route control system 135 is used to determine the travel route of the vehicle 100 .
- route control system 135 may combine data from sensors, positioning system 121 , and one or more predetermined maps to determine a travel route for vehicle 100 .
- the obstacle avoidance system 136 is used to identify, evaluate and avoid or otherwise overcome potential obstacles in the environment of the vehicle 100 .
- control system 130 may add some components not shown above; or use other components to replace some of the components shown above; or may also reduce some of the components shown above.
- Peripherals 140 may include wireless communication system 141 , on-board computer 142 , microphone 143 and/or speaker 144 .
- peripheral device 140 provides a means for a user of vehicle 100 to interact with user interface 170 .
- on-board computer 142 may provide information to a user of vehicle 100 .
- the user interface 170 may also operate the on-board computer 142 to receive user input.
- the on-board computer 142 can be operated through a touch screen.
- peripheral device 140 may provide a means for vehicle 100 to communicate with other devices located within the vehicle.
- microphone 143 may receive audio (eg, voice commands or other audio input) from a user of vehicle 100 .
- speaker 144 may output audio to a user of vehicle 100 .
- the wireless communication system 141 may communicate wirelessly with one or more devices, either directly or via a communication network.
- the wireless communication system 141 may use 3G cellular communications, such as CDMA, EVDO, GSM/GPRS, or 4G cellular communications, such as LTE, or 5G cellular communications.
- the wireless communication system 141 can use WiFi to communicate with a wireless local area network (wireless local area network, WLAN).
- the wireless communication system 141 may communicate directly with the device using an infrared link, Bluetooth, or ZigBee.
- Wireless communication system 141 may also utilize other wireless protocols to communicate with devices.
- the wireless communication system 141 may include one or more dedicated short range communications (DSRC) devices.
- DSRC dedicated short range communications
- the power supply 150 may provide power to various components of the vehicle 100 .
- the power source 150 may be a rechargeable lithium ion or lead acid battery.
- One or more packs of such batteries may be configured as a power source to provide power to various components of the vehicle 100 .
- the power source 150 and the energy source 113 can be implemented together, such as a pure electric vehicle or a gasoline-electric hybrid vehicle among new energy vehicles.
- Computer system 160 may include at least one processor 161 executing instructions 1621 stored in a non-transitory computer-readable medium such as data storage device 162 .
- Computer system 160 may also be a plurality of computing devices that control individual components or subsystems of vehicle 100 in a distributed manner.
- Processor 161 may be any conventional processor, such as a commercially available central processing unit (central processing unit, CPU). Alternatively, the processor may be a dedicated device such as an application specific integrated circuit (ASIC) or other hardware-based processor.
- FIG. 1 functionally illustrates a processor, memory, and other elements in the same physical enclosure, those of ordinary skill in the art will appreciate that the processor, computer system, or memory may actually include Multiple processors, computer systems, or memories within a physical enclosure, or including multiple processors, computer systems, or memories that may not be stored within the same physical enclosure.
- memory may be a hard drive, or other storage medium located in a different physical enclosure.
- a reference to a processor or a computer system will be understood to include references to a collection of processors or computer systems or memories that may operate in parallel, or a collection of processors or computer systems or memory that may not operate in parallel.
- some components such as the steering and deceleration components, may each have their own processor that only performs calculations related to component-specific functions.
- the processor may be located in a device remote from the vehicle and in wireless communication with the vehicle. In other aspects, some of the processes described herein are executed on a processor disposed within the vehicle while others are executed by a remote processor, including taking the necessary steps to perform a single maneuver.
- the data storage device 162 may contain instructions 1621 (eg, program logic) executable by the processor 161 to perform various functions of the vehicle 100 , including all or part of the functions described above.
- Data storage 162 may also contain additional instructions, including sending data to, receiving data from, interacting with, and/or performing operations on, one or more of travel system 110 , sensor system 120 , control system 130 , and peripherals 140 . control instructions.
- data storage device 162 may also store data such as road maps, route information, the vehicle's position, direction, speed, and other such vehicle data, among other information. Such information may be used by the vehicle 100 and the computer system 160 during operation of the vehicle 100 in autonomous, semi-autonomous, and/or manual modes.
- the data storage device 162 can acquire obstacle information in the surrounding environment obtained by the vehicle based on the sensors in the sensor system 120, such as other vehicles, road edges, and obstacles such as green belts. Information such as the position, the distance between the obstacle and the vehicle, and the distance between obstacles.
- the data storage device 162 can also obtain environmental information from the sensor system 120 or other components of the vehicle 100.
- the environmental information can be, for example, whether there are green belts, lanes, pedestrians, etc. near the environment where the vehicle is currently located, or the vehicle calculates the current location through a machine learning algorithm. Whether there are green belts, pedestrians, etc. near the environment.
- the data storage device 162 can also store the state information of the vehicle itself and the state information of other vehicles interacting with the vehicle, wherein the state information of the vehicle includes but not limited to the position, speed, acceleration, heading angle etc.
- the processor 161 can obtain these information from the data storage device 162, and determine the passable area of the vehicle based on the environmental information of the environment where the vehicle is located, the state information of the vehicle itself, the state information of other vehicles, etc., and based on the passable area
- a final driving strategy is determined to control the automatic driving of the vehicle 100 .
- a user interface 170 for providing information to or receiving information from a user of the vehicle 100 .
- user interface 170 may interact with one or more input/output devices within set of peripheral devices 140 , such as one or more of wireless communication system 141 , onboard computer 142 , microphone 143 , and speaker 144 .
- Computer system 160 may control vehicle 100 based on information obtained from various subsystems (eg, travel system 110 , sensor system 120 , and control system 130 ) and information received from user interface 170 . For example, computer system 160 may, based on information from control system 130 , control steering system 131 to change the vehicle's heading to avoid obstacles detected by sensor system 120 and obstacle avoidance system 136 . In some embodiments, computer system 160 may control many aspects of vehicle 100 and its subsystems.
- various subsystems eg, travel system 110 , sensor system 120 , and control system 130
- computer system 160 may, based on information from control system 130 , control steering system 131 to change the vehicle's heading to avoid obstacles detected by sensor system 120 and obstacle avoidance system 136 .
- computer system 160 may control many aspects of vehicle 100 and its subsystems.
- one or more of these components described above may be installed separately from or associated with the vehicle 100 .
- data storage device 162 may exist partially or completely separate from vehicle 100 .
- the above components may be coupled together in a wired and/or wireless manner for communication.
- FIG. 1 should not be construed as limiting the embodiment of the present application.
- An autonomous vehicle traveling on a road can determine an adjustment instruction for the current speed according to other vehicles in its surrounding environment.
- the objects in the surrounding environment of the vehicle 100 may be other types of objects such as traffic control equipment or green belts.
- each object within the surrounding environment may be considered independently and the speed adjustment command for vehicle 100 may be determined based on the object's respective characteristics, such as its current speed, acceleration, distance to the vehicle, and the like.
- the vehicle 100 as an autonomous vehicle or its associated computer equipment (such as the computer system 160, computer vision system 134, and data storage device 162 of FIG. 1 ) can obtain the state of the surrounding environment based on the identified measurement data (for example, traffic, rain, ice on the road, etc.), and determine the relative position of the obstacle and the vehicle in the surrounding environment at the current moment.
- the boundary of the passable area formed by each obstacle depends on each other. Therefore, all the acquired measurement data can also be used to determine the boundary of the passable area of the vehicle together, and the actual impassable area in the passable area is removed. passable area.
- the vehicle 100 is able to adjust its driving strategy based on the detected traversable area of the vehicle.
- the self-driving car can determine what steady state the vehicle needs to adjust to (eg, accelerate, decelerate, turn, or stop, etc.) based on the detected traversable area of the vehicle.
- other factors may also be considered to determine the speed adjustment command of the vehicle 100 , such as the lateral position of the vehicle 100 on the driving road, the curvature of the road, the proximity of static and dynamic objects, and so on.
- the computing device may also provide instructions to modify the steering angle of the vehicle 100 such that the self-driving car follows a given trajectory and/or maintains a distance between the self-driving car and nearby objects (e.g. Cars in adjacent lanes) safe lateral and longitudinal distances.
- objects e.g. Cars in adjacent lanes
- the above-mentioned vehicles 100 may be cars, trucks, motorcycles, buses, boats, airplanes, helicopters, lawn mowers, recreational vehicles, playground vehicles, construction equipment, trams, golf carts, trains, and trolleys, etc.
- the application examples are not particularly limited.
- the self-driving vehicle may also include a hardware structure and/or a software module, and realize the above-mentioned functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether one of the above-mentioned functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.
- the image processing method provided in the embodiment of the present application can be applied to the image processing system 100 shown in FIG. 2.
- the image processing system 100 It includes: an image processing device 10 , an illumination device 20 , and an image acquisition device 30 .
- the image processing device 10 is configured to control and manage the image processing method provided in the embodiment of the present application, and process the acquired polarization image to obtain polarization information of the polarization image.
- the illuminating device 20 is used for providing polarized light illumination for the environment.
- the illuminating device 20 includes one or more polarized light sources, and different polarized light sources provide polarized light with the same or different polarization states.
- the illuminating device 20 includes at least two polarized light sources, and the at least two polarized light sources can provide polarized light of more than two polarization states, so as to meet the requirement of the image processing device to acquire quantitative polarization information of the target.
- the illuminating device 20 includes four polarized light sources, and the four polarized light sources respectively provide polarized light of four different polarization states.
- the light source of the lighting device may be a light emitting diode (light emitting diode, LED), or a laser.
- the method for providing polarized light by the lighting device includes: using a polarized light source to directly emit polarized light, using a polarizer to filter a non-polarized light source to obtain polarized light, using a wave plate to filter a non-polarized light source to obtain polarized light, using a polarizer and a wave The plates jointly filter the unpolarized light source to obtain polarized light.
- the above four polarized light sources are: 0° polarized light source 201 , 45° polarized light source 202 , 90° polarized light source 203 , and 135° polarized light source 204 .
- the lighting device 20 may include any number of polarized light sources, and each polarized light source may provide polarized light of any polarized state. This application does not limit this.
- the four polarized light sources in the illuminating device 20 may also be: 0° polarized light, 45° polarized light, 90° polarized light, and left-handed polarized light (or right-handed polarized light).
- the image acquisition device 30 is configured to acquire polarization images.
- the image acquisition device 30 may be an image acquisition device including the above-mentioned pixel-level coated polarization sensor.
- the image acquisition device 30 can acquire polarization images of more than three polarization states of the target.
- the image acquisition device 30 acquires polarization images of four polarization states of the target.
- the image processing device 10 , the image acquisition device 20 , and the lighting device 30 can be integrated into the same device, for example, integrated into mobile phones, vehicles and other devices. If integrated, the three may share at least one processor to perform corresponding processing operations, or may also set respective processors to perform corresponding processing operations.
- the image acquisition device 30 may include the camera 125 described in the above-mentioned vehicle 100 .
- the lighting device 20 may include a lighting device added to the vehicle 100 .
- the image processing device 10 is the computer system 160 described in the above-mentioned vehicle 100 ; or, more specifically, the image processing device 10 may be the processor 161 described in the above-mentioned vehicle 100 .
- the image processing device 10, the image acquisition device 20, and the lighting device 30 may be separately arranged in different devices.
- the image acquisition device 30 is the camera 125 described in the above-mentioned vehicle 100 .
- the lighting device 20 is a new lighting device in the vehicle 100 .
- the image processing device 10 is a remote processing device, for example, a road side unit (RSU) set on the roadside; another example is a mobile edge computing (MEC) device set at the far end .
- RSU road side unit
- MEC mobile edge computing
- respective processors may be provided among the three devices to perform corresponding processing operations.
- the image acquisition device 20 may be a smart camera, or a similar image acquisition device with a processing function.
- the lighting device 30 may be an intelligent lighting device, or a similar lighting device with a processing function.
- the image processing device 10 is an MEC disposed at a remote end, and the lighting device and the image acquisition device are disposed in a vehicle as an example for illustration.
- the vehicle needs to use the visible light camera to detect the light intensity, shape, color and other information of each target in the surrounding environment of the vehicle.
- objects refer to various objects that exist around the vehicle. For example, other vehicles, obstacles, lane markings, road signs, signal lights and other objects that require vehicle recognition to assist in automatic driving.
- the reflected light intensity of the target and surrounding objects is weak (dark light), which may also cause the target to be difficult to distinguish from other surrounding objects.
- the target and its surrounding objects may also have the problem of different objects having the same spectrum. Even if the ambient light intensity is normal, the reflective characteristics of the target and its surrounding objects are similar, making it difficult to distinguish the target from other surrounding objects.
- a polarized light camera In order to solve the problems of glare, dark light, and foreign matter in the same spectrum that exist in visible light cameras.
- a polarized light camera is proposed.
- the polarized light camera can not only obtain the grayscale information and color information of the image collected by the visible light camera, but also collect the polarization information of the target. Because different objects usually have different polarization information. Therefore, the polarized light camera can well solve the problem that the target is difficult to distinguish from other surrounding objects in the scene of glare, dark light and foreign objects with the same spectrum.
- the target can be identified under strong light and low light conditions.
- the polarized light that characterizes the material of the object can be used to distinguish the target with similar color and different material.
- the method of using polarization cameras to determine objects around the vehicle is mainly the method of passive polarization imaging. That is to say, the polarization camera collects images of the surrounding environment under the current ambient light and performs polarization processing on these images to generate a polarization image, and the polarization camera sends the polarization image to the image processing device. After receiving the image, the image processing device processes the polarization image to extract polarization information of the polarization image. Generally speaking, the image processing device can use a trained neural network model to process the polarization image to obtain the polarization information of the polarization image; or, it can also use an image fusion method to determine the polarization information of the polarization image.
- the polarization image has a variety of polarization information, such as polarization modulated polarization image, Stokes vector, polarization angle, polarization degree, Mueller matrix. Different polarization information can represent different characteristics of the target, and the processing methods of different polarization information obtained from polarization images are different. When currently determining the polarization information of the polarization image, the image processing device directly obtains all the polarization information that can be obtained from the polarization image, which will increase the calculation amount of the image processing device.
- polarization information such as polarization modulated polarization image, Stokes vector, polarization angle, polarization degree, Mueller matrix.
- the polarization camera can only collect the polarization image of the target under ambient light. Based on this, the image processing device can only determine the qualitative polarization information of the target according to the polarization image. Qualitative polarization information can only be used to distinguish an object from other objects in the scene it belongs to, not to determine the object's material.
- the polarization image collected by the polarization camera has energy loss after being filtered by the polarizer, and the imaging effect is poor in dark light scenes.
- an embodiment of the present application provides an image processing method.
- the image processing device determines the first feature information that can characterize the scene characteristics and obtain the polarization information indicating the target.
- the image processing device determines the target according to the first feature information.
- the scene in which it is located provides polarized illumination, acquires the polarization image of the target, and processes the polarization image of the target to determine the polarization information of the target.
- the image processing device can select a corresponding image processing method according to the acquisition of the polarization information of the target, and obtain the polarization information of the target, avoiding the problem of large calculation amount of the image processing device caused by obtaining the full amount of polarization information of the target.
- the image processing device can determine the Mueller matrix of the target according to the polarized light provided for the target and the collected polarized light reflected by the target, and then determine the quantitative polarization information of the target.
- the image processing device can also provide illumination for the target, which improves the imaging clarity of the target in dark and light scenes.
- the image processing method provided by the embodiment of the present application can be applied not only to the automatic driving scene, but also to other scenes that need to obtain the polarization image of the target, such as various scenes applied to image recognition (such as human Face recognition, telemedicine, etc.), this application does not limit this.
- the image processing method provided in the embodiment of the present application may be applied in scenarios such as an automatic driving scene, an intelligent driving scene, or an advanced driving assistance system (advanced driving assistance system, ADAS), which is not limited in this application.
- ADAS advanced driving assistance system
- the image processing method provided by the embodiment of the present application includes the following S400-S403.
- the following is a specific description of performing S400-S403:
- the image processing apparatus acquires first feature information.
- the first feature information is used to characterize scene features and to indicate acquisition of polarization information of at least one target.
- the first characteristic information corresponds to the first illumination mode, the first collection mode and the first image processing mode.
- the scene feature is a scene feature of an environment where at least one target is located.
- the scene feature may be the ambient light intensity of the scene where the at least one target is located.
- Acquisition of the polarization information of at least one target refers to which polarization information of the plurality of polarization information of the target is the polarization information of the at least one target to be acquired.
- the first characteristic information may be the characteristic information generated after the image processing device acquires the scene characteristics and the polarization information of at least one target; it may also be the first characteristic information generated by other devices and sent to the image processing device feature information, which is not limited in this application.
- the image processing device determines a first illumination mode, a first collection mode, and a first image processing mode according to the first feature information.
- the first illumination mode is used to characterize: an illumination mode that provides polarized light illumination for at least one target.
- the first acquisition mode is used to characterize: the acquisition mode of collecting the polarization image of at least one target illuminated according to the first illumination mode.
- the first image processing manner is used to characterize: an image processing manner for processing the polarization image of at least one target collected according to the first acquisition manner.
- the image processing device is pre-configured with correspondences between the first feature information and the first illumination manner, the first collection manner, and the first image processing manner. After the image processing device acquires the first feature information, the image processing device determines the corresponding first lighting mode, first collection mode, and first image processing mode according to the corresponding relationship.
- the image processing device controls polarized illumination according to the first illumination mode, and, according to the first collection mode, controls to collect a first polarization image of at least one target under the first illumination mode.
- the image processing device controlling the polarized illumination may be that the image processing device controls itself to perform illumination, or that the image processing device controls the illumination device to perform illumination, which is not limited in this application.
- the image processing device controlling the acquisition of the first polarization image may be that the image acquisition control itself acquires the first polarization image of at least one target under the first illumination mode, or the image processing device controls the image acquisition device to acquire at least one target in the first illumination mode.
- a first polarized image under an illumination mode does not limit this.
- the image processing device processes the first polarization image according to the first image processing manner, and acquires polarization information of at least one target.
- the image processing device can determine the corresponding image processing method according to the acquisition of the polarization information of the target, and acquire the polarization information of the target, avoiding the problem caused by the acquisition of the full amount of polarization information of the target.
- the image processing device has a large amount of calculation.
- the image processing device can determine the Mueller matrix of the target according to the polarized light provided for the target and the collected polarized light reflected by the target, and then determine the quantitative polarization information of the target.
- the image processing device can also provide illumination for the target, which improves the imaging clarity of the target in dark and light scenes.
- the first characteristic information, the first illumination mode, the first acquisition mode, and the first image processing mode involved in the embodiment of the present application are exemplarily described:
- the scene features in the first feature information include light intensity information of the environment.
- the polarization information in the first feature information includes at least one of the following: a second polarization image, qualitative polarization information, or quantitative polarization information.
- the first lighting mode belongs to a set of polarized lighting modes, and the set of polarized lighting modes includes at least one of the following: synchronous lighting with multiple polarized light sources, asynchronous lighting with multiple polarized light sources, or no lighting.
- the multi-polarization light source synchronous illumination is: providing polarized illumination through multiple polarized light sources with different polarization states simultaneously.
- the asynchronous illumination of multi-polarized light sources is: sequentially provide polarized illumination through multiple polarized light sources with different polarization states. No lighting is: No lighting is provided.
- synchronous illumination of multiple polarized light sources may specifically be implemented as: all of the multiple polarized light sources provide illumination at the same time, or some of the multiple polarized light sources provide illumination at the same time. This application does not limit this.
- the first collection method belongs to a collection of polarization collection methods, and the collection of polarization collection methods includes: a synchronous collection operation of a single-frame polarization image, and an asynchronous collection operation of a multi-frame polarization image.
- the synchronous acquisition operation of a single-frame polarization image includes: acquiring a plurality of polarization images of different polarization states from a single image by acquiring a single image of at least one target.
- the asynchronous acquisition operation of multiple frames of polarization images includes: acquiring multiple images of at least one target, each of the multiple images including multiple polarization images of different polarization states.
- the first image processing method belongs to a polarization image processing method set, and the polarization image processing method set includes: a polarization image acquisition operation, a qualitative polarization information acquisition operation, and a quantitative polarization information acquisition operation.
- the polarization image acquiring operation is used to acquire a second polarization image
- the second polarization image is a polarization image of the first polarization image in a different polarization state.
- the operation of acquiring qualitative polarization information is used to acquire at least one item of the following polarization information of at least one target: Stokes vector, degree of polarization, or angle of polarization.
- the quantitative polarization information acquisition operation is used to acquire the Mueller matrix of at least one target.
- the image processing device can determine to provide a corresponding illumination mode for the target, and collect a polarization image of the target under the corresponding illumination mode.
- the image processing device can obtain the polarization information required by the target by processing the polarization images of the target collected under different illumination modes.
- the foregoing S400 may specifically be implemented through the following S400a to S400c.
- the image processing device determines the ambient light intensity.
- the ambient light intensity of the environment is detected by the ambient light detection module.
- the image processing device needs to determine the first feature information, the image processing device sends an ambient light intensity detection instruction to the ambient light detection module.
- the ambient light detection module detects the current ambient light intensity of the environment where at least one target is located according to the indication.
- the ambient light detection module sends the ambient light intensity to the image processing device after determining the ambient light intensity of the environment where the at least one target is currently located.
- the image processing device receives the ambient light intensity from the ambient light detection module.
- the image information of the environment where at least one target is located is collected by a visible light image collection device.
- the image processing device needs to determine the first feature information
- the image processing device sends a visible light image collection instruction to the visible light image collection device.
- the visible light image acquisition device acquires a visible light image of the environment where at least one target is currently located according to the visible light image acquisition instruction.
- the visible light image acquisition device sends the visible light image of the current environment where at least one target is located to the image processing device.
- the image processing device receives the visible light image from the visible light image acquisition device.
- the image acquisition device processes the visible light image to determine the ambient light intensity.
- the image processing device determines the ambient light intensity.
- the image processing device may also obtain the ambient light intensity through other methods, which is not limited in this application.
- the image processing device determines the polarization information of the target to be acquired.
- the image processing device is preset with the polarization information to be acquired corresponding to the target in each scene. After the image processing device determines the scene for acquiring the polarization information, the image processing device may determine the polarization information to be acquired according to the scene.
- the image processing device determines to obtain polarization information in an automatic driving scene as an example (the following scenes may also be intelligent driving scenes, which are not specifically limited in this application, and are only illustrated here):
- the image processing device determines that the polarization information to be acquired of the target is the second polarization image.
- the image processing device determines that the polarization information to be acquired of the target is qualitative polarization information.
- the image processing device determines that the polarization information to be acquired of the target is quantitative polarization information.
- the present application does not limit the sequence of S400a and S400b.
- the image processing apparatus may first execute S400a and then execute S400b; or, the image processing apparatus may first execute S400b and then execute S400a; or, the image processing apparatus may execute S400a and S400b simultaneously. This application does not limit this.
- the image processing device generates first feature information according to the ambient light intensity and the polarization information of the target to be acquired.
- the image processing device can generate corresponding first feature information according to the acquired ambient light intensity and current scene information.
- S402a-S402g may be specifically implemented through the following S402a-S402g.
- S402a-S402g describe S402a-S402g in detail:
- the image processing apparatus generates a first instruction according to the first lighting mode.
- the first instruction is used to indicate the first lighting mode. Specifically, the first instruction is used to indicate which lighting method in the polarized light lighting method set the first lighting method is.
- the first instruction is used to indicate that the first lighting mode is multi-polarized light source synchronous lighting; or, the first instruction is used to indicate that the first lighting mode is multi-polarized light source asynchronous lighting; or, the first instruction is used to indicate the first The lighting mode is no lighting.
- the image processing device sends a first instruction to the lighting device.
- the lighting device receives the first instruction from the image processing device.
- the lighting device controls a plurality of polarized light sources with different polarization states to provide lighting according to the first instruction.
- the lighting device has at least three lighting modes, which are:
- Lighting mode 1 the lighting device controls all or part of the light sources in multiple polarized light sources to be turned on at the same time; lighting mode 2, the lighting device controls each polarized light source in the multiple polarized light sources to turn on in turn; lighting mode 3, the lighting device controls multiple polarized light sources All polarized light sources in the system are all turned off.
- the lighting device adopts lighting mode 1 to provide lighting for the target.
- the lighting device uses lighting mode 2 to provide lighting for the target.
- the lighting device uses lighting mode 3 to provide lighting for the target.
- the lighting device controls all or some of the multiple polarized light sources to be turned on simultaneously, and all of the multiple polarized light sources Or part of the light source provides illumination for the target at the same time.
- the lighting device controls each of the multiple polarized light sources to turn on sequentially, and the multiple polarized light sources sequentially provide illumination for the target.
- the lighting device controls each of the multiple polarized light sources to be turned off, and none of the multiple polarized light sources provides illumination for the target.
- the lighting device in lighting mode 1, can control four polarized light sources with different polarization states to illuminate simultaneously; or, the lighting device can control two polarized light sources whose polarization degrees differ by 90° to illuminate simultaneously; for example, Control the 0° polarized light source and the 90° polarized light source to illuminate at the same time, or control the 45° polarized light source and the 135° polarized light source to illuminate at the same time.
- the lighting device controls the 0° polarized light source to illuminate in the first time period, controls the 45° polarized light source to illuminate in the second time period, and controls the 90° polarized light source to illuminate in the third time period, Control the 135° polarized light source to illuminate in the fourth time period.
- the second time period is a time period after the first time period
- the third time period is a time period after the second time period
- the fourth time period is a time period after the third time period.
- the image processing apparatus generates a second instruction according to the first collection manner.
- the second instruction is used to indicate the first collection mode. Specifically, the second instruction is used to indicate which image acquisition mode in the polarization acquisition mode set the first acquisition mode is.
- the second instruction is used to indicate that the first acquisition mode is a synchronous acquisition operation of a single-frame polarization image; or, the second instruction is used to indicate that the first acquisition mode is an asynchronous acquisition operation of multiple-frame polarization images.
- the image processing apparatus executes S402d while executing any one of steps S402a-S402c.
- the image processing apparatus may execute S402d before or after executing any one of steps S402a-S402c, which is not limited in this application.
- the image processing apparatus may first execute S400a and then execute S400d; or, the image processing apparatus may first execute S400d and then execute S400a; or, the image processing apparatus may execute S400a and S400d simultaneously. This application does not limit this.
- S402d and S402a and S402b reference may be made to the relationship between S400d and S400a, which will not be repeated in this application.
- the image processing device sends a second instruction to the image acquisition device.
- the image acquisition device receives the second instruction from the image processing device.
- S402e is a step performed after S402d, and the relationship between S402e and S402a-S402c can refer to the above-mentioned relationship between S402d and S402a-S402c, which will not be repeated here.
- the image acquisition device acquires the first polarization image according to the second instruction.
- the image acquisition device has at least two image acquisition modes, which are:
- Image collection method 1 The image collection device collects a single image of at least one target, and obtains multiple polarization images of different polarization states from the single image.
- Image collection mode 2 The image collection device collects multiple images of at least one target, and each of the multiple images includes multiple polarization images of different polarization states.
- the image acquisition device adopts image acquisition mode 1 to acquire the polarization image of at least one target.
- the image acquisition device adopts image acquisition mode 2 to acquire the polarization image of at least one target.
- the image acquisition device acquires a single image of at least one target; the image acquisition device acquires from the single image Multiple polarization images of different polarization states.
- each of the multiple images includes multiple polarizations of different polarization states image.
- the image acquisition device acquires a polarization image of at least one target when it is determined that the illumination device provides illumination.
- the illumination device provides illumination
- the illumination effect lasts for a period of time
- the image acquisition device acquires a polarized image of at least one target during the illumination duration.
- the lighting device when the lighting device provides lighting for at least one target using lighting mode 1, the lighting device sends trigger information to the image acquisition device, where the trigger information is used to trigger the image acquisition device to acquire images. In response to the trigger information, the image acquisition device acquires a polarization image of at least one target.
- the lighting device When the lighting device provides illumination for at least one target in the lighting mode 2, and the image acquisition device uses the image acquisition mode 2 to capture the polarization image of the at least one target.
- the lighting device sends trigger information to the image acquisition device to trigger the image acquisition device to collect a polarized image of at least one target under the illumination of the light source. In this way, the polarization image of the target under the illumination of each light source can be sequentially collected by the image acquisition device.
- the image acquisition device sends the first polarization image to the image processing device.
- the image processing device receives the first polarization image from the image acquisition device.
- the image processing device can acquire the first polarization image of at least one target according to the first illumination mode and the first acquisition mode.
- S403 in the case that the first image processing manner includes: a polarization image acquisition operation, S403 may be implemented in the manner described in the following manner 1.
- S403 may be implemented in the manner described in the following manner 2.
- S403 may be implemented in the manner described in the following manner 3.
- mode 1, mode 2 and mode 3 are described in detail respectively:
- the image processing device determines the second polarization image from multiple first polarization images of the target.
- the image processing device determines multiple first polarization images of the target, and the polarization states of the multiple first polarization images are different.
- the image processing device determines that a polarization image whose imaging effect satisfies a preset condition among the plurality of first polarization images is the second polarization image.
- the imaging effect meeting the preset condition may be represented by at least one of the following: the sharpness of the object in the image meets the preset condition, and the contrast between the object in the image and other objects meets the preset condition.
- the imaging effect meeting the preset condition may also be expressed in other ways, which is not limited in this application.
- the vehicle needs to determine the traffic marking lines on the road ahead.
- FIG. 6 a it is the first polarization image of the 0° polarization direction collected by the image acquisition device.
- FIG. 6 b it is the first polarization image with a polarization direction of 45° collected by the image collection device.
- FIG. 6 c it is the first polarization image of the 90° polarization direction collected by the image acquisition device.
- FIG. 6d it is the first polarization image with a polarization direction of 135° collected by the image collection device.
- the polarized image collected by the image collection device may not accurately display the traffic marking lines on the road.
- the vehicle needs to recognize the traffic marking line of the road ahead, but affected by glare, the left-turn sign located in the frame line as shown in Fig. 6a, Fig. 6b, and Fig. 6d may not be recognized. correctly identified.
- the image processing device After the image processing device receives the first polarization images shown in Figures 6a-6d, after image processing, it determines that the first polarization image with the highest contrast among the four first polarization images is the first polarization image shown in Figure 6c. polarized image. At this time, the image processing device determines that the first polarization image shown in FIG. 6c is the target second polarization image, and the image processing device outputs the second polarization image.
- the image processing device determines the qualitative polarization information of the target according to the multiple first polarization images of the target.
- the qualitative polarization information of the target at least includes: the Stokes vector of the target, the degree of polarization of the target, and the polarization angle of the target.
- the image processing device acquires the first polarization image of the 0° polarization direction of at least one target, the first polarization image of the 45° polarization direction, the first polarization image of the 90° polarization direction, and the first polarization image of the 135° polarization direction. image.
- the Stokes vector of the target determined by the image acquisition device satisfies the following formula 1:
- S is the Stokes vector of the target
- S 0 , S 1 , S 2 , S 3 are all values in the Stokes vector S.
- I 0 represents the light intensity of polarized light reflected by the target under the condition of 0° polarized light source illumination
- I 45 represents the light intensity of polarized light reflected by the target under the condition of 45° polarized light source illumination
- I 90 represents the light intensity of polarized light reflected by the target under the condition of 90° polarized light source
- I 135 means the light intensity of polarized light reflected by the target under the lighting condition of 135° polarized light source
- Ir means the light intensity of polarized light reflected by the target under the lighting condition of right-handed light
- I l represents the light intensity of the polarized light reflected by the target under left-handed light illumination conditions.
- the image acquisition device After determining the Stokes vector of the target, the image acquisition device determines that the degree of polarization of the target satisfies the following formula 2.1:
- DoLP is the degree of polarization of the target
- S 0 , S 1 , S 2 , and S 3 are the values in the Stokes vector determined in Formula 1 above.
- the image acquisition device determines that the degree of polarization of the target satisfies the following formula 2.2:
- Degree-of-polarization images are often used to increase the contrast between targets of different reflectivities and the background.
- the target is a vehicle in the image.
- the visible light image of the target acquired by the image processing device is shown in Figure 7a
- the polarization degree image of the target acquired by the image processing device is shown in Figure 7b.
- the polarization degree image of the target output by the image processing device can greatly improve the contrast between the target and the background, which is more conducive to the image processing device to detect the target in the image.
- the polarization angle of the target determined by the image acquisition device satisfies the following formula 3:
- AoLP is the polarization angle of the target
- S 1 and S 2 are the values in the Stokes vector determined in the above formula 1.
- Polarization images are often used to increase the contrast between targets with different surface orientations and different surface roughness.
- the visible light image of the target acquired by the image processing device is shown in Figure 8a
- the polarization degree image of the target acquired by the image processing device is shown in Figure 8b.
- the image processing device determines the quantitative polarization information of the target according to the multiple first polarization images of the target.
- the quantitative polarization information of the target at least includes the Mueller matrix of the target.
- the Mueller matrix of the target determined by the image processing device satisfies the following formula 4
- S' is the input Stokes vector
- S is the output Stokes vector
- M is the Muller matrix
- S is the Stokes vector of the target determined by the image processing device, that is, the Stokes vector determined according to Formula 1 above.
- S' is determined according to the degree of polarization of the polarized light sequentially provided by the lighting device in lighting mode 2.
- Equation 4 Equation 4 can be expressed by the following Equation 5:
- S 0 ′, S 1 ′, S 2 ′, and S 3 ′ are all values in the Stokes vector S′.
- I 0 ' represents the light intensity of polarized light provided by the 0° polarized light source of the lighting device
- I 45 ' represents the light intensity of the polarized light provided by the 45° polarized light source of the lighting device
- I 90 ' represents the 90° polarized light source provided by the lighting device
- I 135 ′ represents the light intensity of the polarized light provided by the 135° polarized light source of the lighting device.
- the image processing device determines S 0 , S 1 , S 2 , S 3 and S 0 ', S 1 ', S 2 ', S 3 ' satisfy the following formula 8:
- the image processing device can process the first polarization image of the target by using different processing methods in different situations, and determine the corresponding polarization parameters of the target. Meet the requirements of polarization parameters that the vehicle needs to obtain in different driving scenarios.
- the first feature information includes the following scenarios 1-6.
- the above scenarios 1-6 are described in detail respectively:
- the first feature information indicates that the ambient light intensity is less than a preset value and indicates to obtain a second polarization image.
- the first characteristic information is used to indicate: in a scene where the ambient light of the target is weak, acquire the second polarization image of at least one target.
- the second polarization image refers to a polarization image whose imaging effect (for example, sharpness, contrast) satisfies a preset condition among multiple polarization images of the target.
- a scene with weak ambient light may also be called a dark light scene.
- the second polarization image may be a polarization image with the highest contrast among multiple polarization images of the target.
- the image processing device includes: synchronous lighting of multiple polarized light sources.
- the first collection method includes: a synchronous collection operation of a single-frame polarization image.
- the first image processing method includes: a second polarization image acquisition operation.
- the image acquisition device determines to use multiple polarized light sources to provide illumination for the scene to which the target belongs at the same time, and the image acquisition device , collecting a single image of the scene to which the target belongs, and determining a plurality of first polarization images of the scene to which the target belongs with different polarization states from the single image.
- the image acquisition device determines a second polarization image from the multiple first polarization images of different polarization states, and outputs the second polarization image.
- the first instruction generated by the image processing device is used to indicate that the first polarization illumination mode is synchronous illumination of multiple polarization light sources.
- the lighting device uses lighting mode 1 to provide lighting for the target.
- the second instruction generated by the image processing device is used to indicate that the first acquisition mode is a synchronous acquisition operation of a single-frame polarization image.
- the image acquisition device adopts the image acquisition mode 1 to acquire the polarization image of at least one target.
- the image processing device processes the acquired first polarization image by using a polarization image acquisition operation to determine a second polarization image.
- the image processing device outputs the second polarization image.
- the lighting device provides synchronous illumination of multi-polarized light sources for at least one target, which can increase the light intensity of the scene to which at least one target belongs, The problem of poor imaging effect of the polarization image collected by at least one target in a dark light scene is avoided.
- the image acquisition device only acquires a single image of at least one target, which can reduce the number of images that the image acquisition device needs to acquire, thereby reducing the calculation amount of the image acquisition device.
- the image processing device determines the second polarization image according to the multiple first polarization images of the single image. Likewise, the number of images to be processed by the image processing device can be reduced, thereby reducing the calculation amount of the image processing device.
- the first feature information indicates that the ambient light intensity is less than a preset value and indicates to acquire qualitative polarization information.
- the first feature information is used to indicate: in a scene where the target is in a weak ambient light, acquire qualitative polarization information of at least one target.
- the first illumination operation determined by the image processing device includes: synchronous illumination of multiple polarization light sources
- the first collection method includes: synchronous collection operation of a single-frame polarization image
- the first image processing method includes: qualitative polarization information acquisition operation.
- the image acquisition device determines to use multiple polarized light sources to provide illumination for the scene to which the target belongs at the same time, and the image acquisition device determines After illumination, a single image of the scene to which the target belongs is collected, and multiple first polarization images of different polarization states of the scene to which the target belongs are determined from the single image.
- the image acquisition device performs a qualitative polarization information acquisition operation according to the plurality of first polarization images of different polarization states, and determines the qualitative polarization information of at least one target.
- the first instruction generated by the image processing device is used to indicate that the first polarization illumination mode is synchronous illumination of multiple polarization light sources.
- the lighting device uses lighting mode 1 to provide lighting for the target.
- the second instruction generated by the image processing device is used to indicate that the first acquisition mode is a synchronous acquisition operation of a single-frame polarization image.
- the image acquisition device adopts the image acquisition mode 1 to acquire the polarization image of at least one target.
- the image processing device processes the acquired first polarization image by using a qualitative polarization information acquisition operation to determine the qualitative polarization information of at least one target.
- the image processing device outputs qualitative polarization information of at least one object.
- the lighting device provides synchronous illumination of multi-polarized light sources for at least one target, which can increase the light intensity of the scene to which at least one target belongs, The problem of poor imaging effect of the polarization image collected by at least one target in a dark light scene is avoided.
- the image acquisition device only acquires a single image of at least one target, which can reduce the number of images that the image acquisition device needs to acquire, thereby reducing the calculation amount of the image acquisition device.
- the image processing device determines qualitative polarization information of at least one target according to the plurality of first polarization images of the single image. Likewise, the number of images to be processed by the image processing device can be reduced, thereby reducing the calculation amount of the image processing device.
- the first feature information indicates that the ambient light intensity is less than a preset value and indicates to obtain quantitative polarization information.
- the first feature information is used to indicate: in a scene where the target is in a weak ambient light, obtain quantitative polarization information of at least one target.
- the first lighting operation determined by the image processing device includes: multi-polarized light source asynchronous lighting
- the first acquisition method includes: multi-frame polarization image asynchronous acquisition operation
- the first image processing method includes: quantitative polarization Information acquisition operation.
- the image acquisition device determines to use multiple polarized light sources to sequentially provide illumination for the scene to which the target belongs, and the image acquisition device determines that after the illumination , collecting multiple images of the scene to which the target belongs, and determining multiple first polarization images of the scene to which the target belongs with different polarization states from each of the multiple images.
- the image acquisition device determines the Mueller matrix of at least one target from the plurality of first polarization images of different polarization states, the image acquisition device determines the quantitative polarization information of at least one target according to the Mueller matrix of at least one target, and the image processing device Quantitative polarization information for at least one target is output.
- the first instruction generated by the image processing device is used to indicate that the first polarization illumination mode is asynchronous illumination with multiple polarization light sources.
- the lighting device uses lighting mode 2 to provide lighting for the target.
- the second instruction generated by the image processing device is used to indicate that the first acquisition mode is an asynchronous acquisition operation of multi-frame polarization images.
- the image acquisition device adopts the image acquisition mode 2 to acquire the polarization image of at least one target.
- the image processing device processes the acquired first polarization image by using a quantitative polarization information acquisition operation to determine quantitative polarization information of at least one target.
- the image processing device outputs quantitative polarization information for at least one object.
- the lighting device provides asynchronous illumination of multi-polarized light sources for at least one target, so that the image acquisition device can capture at least one target
- the polarized image formed by reflection under different polarized light sources based on the polarized image formed by the reflection of at least one target under different polarized light sources, and the polarized light information provided by different polarized light sources
- the image processing device can determine the Mueller matrix of at least one target, and then The image processing device may determine quantitative polarization information of at least one object based on the Mueller matrix of at least one object.
- the first characteristic information indicates that the ambient light intensity is greater than or equal to a preset value and indicates to acquire a second polarization image.
- the first feature information is used to indicate that: in a scene where the target is in a strong ambient light, acquire a second polarization image of at least one target.
- the first illumination operation determined by the image processing device includes: no illumination
- the first acquisition method includes: synchronous acquisition operation of a single-frame polarization image
- the first image processing method includes: second polarization image acquisition operation.
- the image acquisition device determines that there is no need to use a light source to provide illumination for the scene to which the target belongs, and the image acquisition device directly collects the image of the scene to which the target belongs. a single image, and determine multiple first polarization images of different polarization states of the scene to which the target belongs from the single image. The image acquisition device determines a second polarization image from the multiple first polarization images of different polarization states, and outputs the second polarization image.
- the first instruction generated by the image processing device is used to indicate that the first polarization illumination mode is no illumination.
- the lighting device uses lighting mode 3 to provide lighting for the target.
- the second instruction generated by the image processing device is used to indicate that the first acquisition mode is a synchronous acquisition operation of a single-frame polarization image.
- the image acquisition device adopts the image acquisition mode 1 to acquire the polarization image of at least one target.
- the image processing device processes the acquired first polarization image by using a polarization image acquisition operation to determine a second polarization image.
- the image processing device outputs the second polarization image.
- the lighting device when the second polarization image of at least one target needs to be acquired in a scene with strong ambient light, the lighting device does not need to provide illumination for at least one target. Therefore, the power consumption of the lighting device is reduced.
- the image acquisition device only acquires a single image of at least one target, which can reduce the number of images that the image acquisition device needs to acquire, thereby reducing the calculation amount of the image acquisition device.
- the image processing device determines the second polarization image according to the multiple first polarization images of the single image. Likewise, the number of images to be processed by the image processing device can be reduced, thereby reducing the calculation amount of the image processing device.
- the first feature information indicates that the ambient light intensity is greater than or equal to a preset value and indicates to acquire qualitative polarization information.
- the first characteristic information is used to indicate: in a scene where the target is in a strong ambient light, to acquire qualitative polarization information of at least one target.
- the first illumination operation determined by the image processing device includes: no illumination
- the first collection method includes: synchronous acquisition operation of a single-frame polarization image
- the first image processing method includes: qualitative polarization information acquisition operation.
- the image acquisition device determines that there is no need to use a light source to provide illumination for the scene to which the target belongs, and the image acquisition device directly collects the unit of the scene to which the target belongs. From this single image, multiple first polarization images of different polarization states of the scene to which the target belongs are determined. The image acquisition device determines a second polarization image from the multiple first polarization images of different polarization states, and outputs the second polarization image.
- the first instruction generated by the image processing device is used to indicate that the first polarization illumination mode is no illumination.
- the lighting device uses lighting mode 3 to provide lighting for the target.
- the second instruction generated by the image processing device is used to indicate that the first acquisition mode is a synchronous acquisition operation of a single-frame polarization image.
- the image acquisition device adopts the image acquisition mode 1 to acquire the polarization image of at least one target.
- the image processing device processes the acquired first polarization image by using a qualitative polarization information acquisition operation to determine the qualitative polarization information of at least one target.
- the image processing device outputs qualitative polarization information of at least one object.
- the lighting device when the second polarization image of at least one target needs to be acquired in a scene with strong ambient light, the lighting device does not need to provide illumination for at least one target. Therefore, the power consumption of the lighting device is reduced.
- the image acquisition device only acquires a single image of at least one target, which can reduce the number of images that the image acquisition device needs to acquire, thereby reducing the calculation amount of the image acquisition device.
- the image processing device determines qualitative polarization information of at least one target according to the plurality of first polarization images of the single image. Likewise, the number of images to be processed by the image processing device can be reduced, thereby reducing the calculation amount of the image processing device.
- the first characteristic information indicates that the ambient light intensity is greater than or equal to a preset value and indicates to obtain quantitative polarization information.
- the first feature information is used to indicate: in a scene where the target is in a strong ambient light, to acquire quantitative polarization information of at least one target.
- the first lighting operation determined by the image processing device includes: multi-polarized light source asynchronous lighting
- the first acquisition method includes: multi-frame polarization image asynchronous acquisition operation
- the first image processing method includes: quantitative polarization Information acquisition operation.
- the image acquisition device determines to use multiple polarized light sources to sequentially provide illumination for the scene to which the target belongs, and the image acquisition device determines that after the illumination , collecting multiple images of the scene to which the target belongs, and determining multiple first polarization images of the scene to which the target belongs with different polarization states from each of the multiple images.
- the image acquisition device determines the Mueller matrix of at least one target from the plurality of first polarization images of different polarization states, the image acquisition device determines the quantitative polarization information of at least one target according to the Mueller matrix of at least one target, and the image processing device Quantitative polarization information for at least one target is output.
- the first instruction generated by the image processing device is used to indicate that the first polarization illumination mode is asynchronous illumination with multiple polarization light sources.
- the lighting device uses lighting mode 2 to provide lighting for the target.
- the second instruction generated by the image processing device is used to indicate that the first acquisition mode is an asynchronous acquisition operation of multi-frame polarization images.
- the image acquisition device adopts the image acquisition mode 2 to acquire the polarization image of at least one target.
- the image processing device processes the acquired first polarization image by using a quantitative polarization information acquisition operation to determine quantitative polarization information of at least one target.
- the image processing device outputs quantitative polarization information for at least one object.
- the lighting device provides asynchronous illumination of multi-polarized light sources for at least one target, so that the image acquisition device can capture at least one target
- the polarized image formed by reflection under different polarized light sources based on the polarized image formed by the reflection of at least one target under different polarized light sources, and the polarized light information provided by different polarized light sources
- the image processing device can determine the Mueller matrix of at least one target, and then The image processing device may determine quantitative polarization information of at least one object based on the Mueller matrix of at least one object.
- the embodiment of the present application does not limit the wavelength band of the polarized light source provided by the lighting device and the wavelength band of the target polarized image collected by the image acquisition device.
- the lighting device can provide various polarized light sources under the current visible light conditions; or, the lighting device can provide polarized light sources in the infrared (infrared radiation, IR) band; or, the lighting device can also provide polarized light sources in other wave bands. This application does not limit this.
- the image acquisition device when it acquires the polarization image of the target, it can acquire the visible light polarization image of the target. Alternatively, the image acquisition device may also acquire polarization images of the target in the IR band; or, the image acquisition device may also acquire polarization images of the target in other bands. This application does not limit this.
- the image acquisition device collects polarization images of different bands, it can be realized by adding channel coatings of corresponding bands to the image acquisition device.
- the polarization image of the target in the IR band can be acquired by adding an IR channel coating to the image acquisition device.
- the image processing method is mainly applied to vehicles.
- the image processing method can also be applied to other devices with lighting, image acquisition, and image processing capabilities. , such as mobile phones, tablet computers, cameras with image processing capabilities, etc. This application does not limit this.
- the image processing device, the lighting device, and the image acquisition device are separately provided as an example for illustration.
- the image processing device, the lighting device, and the image acquisition device can also be integrated into the same device.
- the implementation of the image processing method in the embodiment of the present application is similar to the implementation described in the foregoing embodiments, which will not be described in detail in the present application.
- each device for example, an image processing device, an image acquisition device, and an illumination device includes at least one of corresponding hardware structures and software modules for performing each function in order to realize the above-mentioned functions.
- the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
- the functional units of the image processing device, the image acquisition device and the lighting device can be divided according to the above method examples.
- each functional unit can be divided corresponding to each function, or two or more functions can be integrated into one in a processing unit.
- the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation.
- FIG. 9 shows a possible structural diagram of a processing device (referred to as a processing device 90) involved in the above-mentioned embodiment, and the processing device 90 includes a processing unit 901 and a communication unit 902. , may also include a storage unit 903 .
- the structural diagram shown in FIG. 9 can be used to illustrate the structures of the image processing device, the image acquisition device and the lighting device involved in the above embodiments.
- the processing unit 901 is used to control and manage the actions of the image processing device, for example, to control the image processing device to execute the S400 to S403, S400a to S400c, S401, S402a, S402b, S402d, S402e, S402g, S403 in FIG. 5, and/or actions performed by the image processing apparatus in other processes described in the embodiments of this application.
- the processing unit 901 can communicate with other device entities through the communication unit 902 , for example, communicate with the image acquisition device and the lighting device shown in FIG. 2 .
- the storage unit 903 is used to store program codes and data of the image processing device.
- the processing device 90 may be an image processing device or a chip in the image processing device.
- the processing unit 901 is used to control and manage the actions of the image acquisition device, for example, to control the image acquisition device to execute the S402e to S402g, and/or actions performed by the image acquisition device in other processes described in the embodiments of this application.
- the processing unit 901 can communicate with other device entities through the communication unit 902 , for example, communicate with the image processing device and the lighting device shown in FIG. 2 .
- the storage unit 903 is used for storing program codes and data of the image acquisition device.
- the processing device 90 may be an image acquisition device, or a chip in the image acquisition device.
- the processing unit 901 is used to control and manage the actions of the lighting device, for example, to control the lighting device to execute S402b and S402c, and/or actions performed by the lighting device in other processes described in the embodiments of this application.
- the processing unit 901 can communicate with other device entities through the communication unit 902 , for example, communicate with the image processing device and the image acquisition device shown in FIG. 2 .
- the storage unit 903 is used for storing program codes and data of the lighting device.
- the processing device 90 may be a lighting device, or a chip in the lighting device.
- the processing unit 901 when the processing device 90 is an image processing device, an image acquisition device or a lighting device, the processing unit 901 may be a processor or a controller, and the communication unit 902 may be a communication interface, a transceiver, a transceiver, a transceiver circuit, a transceiver device, etc. .
- the communication interface is a general term, and may include one or more interfaces.
- the storage unit 903 may be a memory.
- the processing unit 901 When the processing device 90 is a chip in an image processing device, an image acquisition device or a lighting device, the processing unit 901 may be a processor or a controller, and the communication unit 902 may be an input interface and/or output interface, a pin or a circuit, etc.
- the storage unit 903 may be a storage unit (for example, a register, a cache, etc.) in the chip, or a storage unit outside the chip (for example, a read-only memory (read-only memory) -only memory, referred to as ROM), random access memory (random access memory, referred to as RAM), etc.).
- ROM read-only memory
- RAM random access memory
- the communication unit may also be referred to as a transceiver unit.
- the antenna and control circuit with transceiver function in the processing device 90 can be regarded as the communication unit 902 of the processing device 90
- the processor with processing function can be regarded as the processing unit 901 of the processing device 90 .
- the device in the communication unit 902 for implementing the receiving function may be regarded as a receiving unit, and the receiving unit is used to perform the receiving step in the embodiment of the present application, and the receiving unit may be a receiver, a receiver, a receiving circuit, and the like.
- the integrated units in FIG. 9 are realized in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium.
- the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage
- several instructions are included to make a computer device (which may be a personal computer, server, or network device, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
- Storage media for storing computer software products include: U disk, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk, and other media that can store program codes.
- Units in FIG. 9 may also be referred to as modules, for example, a processing unit may be referred to as a processing module.
- the embodiment of the present application also provides a schematic diagram of the hardware structure of a processing device (referred to as the processing device 100), referring to Figure 10 or Figure 11, the processing device 100 includes a processor 1001, and optionally, also includes memory 1002.
- the processor 1001 includes at least one processor.
- the processing device 100 further includes a communication interface 1003 .
- the processor 1001, the memory 1002 and the communication interface 1003 are connected through a bus.
- the communication interface 1003 is used for communicating with other devices or communication networks.
- the communication interface 1003 may include a transmitter and a receiver.
- the device in the communication interface 1003 for implementing the receiving function may be regarded as a receiver, and the receiver is configured to perform the receiving step in the embodiment of the present application.
- the device in the communication interface 1003 for implementing the sending function may be regarded as a transmitter, and the transmitter is used to perform the sending step in the embodiment of the present application.
- the schematic structural diagram shown in FIG. 10 may be used to illustrate the structure of the image processing device, the image acquisition device or the lighting device involved in the above embodiments.
- the processor 1001 is used to control and manage the actions of the image processing device, for example, the processor 1001 is used to support image processing
- the device executes S400 to S403 in FIG. 4, S400a to S400c, S401, S402a, S402b, S402d, S402e, S402g, S403 in FIG. 5, and/or an image processing device in other processes described in the embodiments of this application
- the processor 1001 can communicate with other device entities through the communication interface 1003 , for example, communicate with the image acquisition device and the lighting device shown in FIG. 2 .
- the memory 1002 is used to store program codes and data of the image processing device.
- the processor 1001 is used to control and manage the actions of the image acquisition device, for example, the processor 1001 is used to support image acquisition
- the device executes S402e to S402g in FIG. 5 , and/or actions performed by the image acquisition device in other processes described in the embodiments of this application.
- the processor 1001 can communicate with other device entities through the communication interface 1003 , for example, communicate with the image processing device and the lighting device shown in FIG. 2 .
- the memory 1002 is used to store program codes and data of the image acquisition device. It should be noted that when the processing device 100 is used to illustrate the structure of the image acquisition device involved in the above embodiments, the processing device 100 also includes a polarization image collector for collecting a polarization image of the target.
- the processor 1001 is used to control and manage the actions of the lighting device, for example, the processor 1001 is used to support the lighting device to execute the diagram S402b and S402c in 5, and/or actions performed by the lighting device in other processes described in the embodiments of this application.
- the processor 1001 can communicate with other device entities through the communication interface 1003 , for example, communicate with the image processing device and the image acquisition device shown in FIG. 2 .
- the memory 1002 is used to store program codes and data of the lighting device.
- the processing device 100 when used to illustrate the structure of the illumination device involved in the above-mentioned embodiments, the processing device 100 also includes a plurality of light sources in polarization states, which are used to provide polarized illumination for the target.
- the processor 1001 includes a logic circuit and at least one of an input interface and an output interface. Wherein, the output interface is used to perform the sending action in the corresponding method, and the input interface is used to perform the receiving action in the corresponding method.
- FIG. 11 the schematic structural diagram shown in FIG. 11 may be used to illustrate the structure of the image processing device, image acquisition device or lighting device involved in the above embodiments.
- the processor 1001 is used to control and manage the actions of the image processing device, for example, the processor 1001 is used to support image processing
- the device executes S400 to S403 in FIG. 4, S400a to S400c, S401, S402a, S402b, S402d, S402e, S402g, S403 in FIG. 5, and/or an image processing device in other processes described in the embodiments of this application
- the processor 1001 may communicate with other device entities through at least one of an input interface and an output interface, for example, communicate with an image acquisition device and a lighting device shown in FIG. 2 .
- the memory 1002 is used to store program codes and data of the image processing device.
- the processor 1001 is used to control and manage the actions of the image acquisition device, for example, the processor 1001 is used to support image acquisition
- the device executes S402e to S402g in FIG. 5 , and/or actions performed by the image acquisition device in other processes described in the embodiments of this application.
- the processor 1001 may communicate with other device entities through at least one of an input interface and an output interface, for example, communicate with an image processing device and a lighting device shown in FIG. 2 .
- the memory 1002 is used to store program codes and data of the image acquisition device.
- the processor 1001 is used to control and manage the actions of the lighting device, for example, the processor 1001 is used to support the lighting device to execute the diagram S402b and S402c in 5, and/or actions performed by the lighting device in other processes described in the embodiments of this application.
- the processor 1001 may communicate with other device entities through at least one of an input interface and an output interface, for example, communicate with an image processing device and an image acquisition device shown in FIG. 2 .
- the memory 1002 is used to store program codes and data of the lighting device.
- FIG. 10 and FIG. 11 may also schematically illustrate the system chip in the image processing device.
- the actions performed by the above-mentioned image processing device may be implemented by the system chip, and the specific actions performed may refer to the above, and will not be repeated here.
- Fig. 10 and Fig. 11 may also schematically illustrate the system chip in the image acquisition device.
- the above-mentioned actions performed by the image acquisition device may be implemented by the system chip, and the specific actions performed may refer to the above, and will not be repeated here.
- Fig. 10 and Fig. 11 may also illustrate a system-on-a-chip in a lighting device.
- the actions performed by the above lighting device may be implemented by the system chip, and the specific actions performed may refer to the above, and will not be repeated here.
- each step in the method provided by this embodiment may be implemented by an integrated logic circuit of hardware in a processor or an instruction in the form of software.
- the steps of the methods disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
- the processor in the present application may include but not limited to at least one of the following: a central processing unit (central processing unit, CPU), a microprocessor, a digital signal processor (DSP), a microcontroller (microcontroller unit, MCU), or Various types of computing devices that run software, such as artificial intelligence processors, each of which may include one or more cores for executing software instructions for calculation or processing.
- the processor can be a separate semiconductor chip, or can be integrated with other circuits into a semiconductor chip, for example, can form a SoC (on-chip chip) with other circuits (such as codec circuits, hardware acceleration circuits, or various bus and interface circuits).
- the processor can further include necessary hardware accelerators, such as field programmable gate array (field programmable gate array, FPGA), PLD (programmable logic device) , or a logic circuit that implements a dedicated logic operation.
- necessary hardware accelerators such as field programmable gate array (field programmable gate array, FPGA), PLD (programmable logic device) , or a logic circuit that implements a dedicated logic operation.
- the memory in the embodiment of the present application may include at least one of the following types: read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, random access memory (random access memory) , RAM) or other types of dynamic storage devices that can store information and instructions, or electrically erasable programmable read-only memory (Electrically erasable programmable read-only memory, EEPROM).
- read-only memory read-only memory
- RAM random access memory
- EEPROM electrically erasable programmable read-only memory
- the memory can also be a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.) , disk storage medium or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto.
- CD-ROM compact disc read-only memory
- optical disc storage including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.
- disk storage medium or other magnetic storage devices or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto.
- An embodiment of the present application also provides a computer-readable storage medium, including instructions, which, when run on a computer, cause the computer to execute any one of the above methods.
- the embodiment of the present application also provides a computer program product containing instructions, which, when run on a computer, causes the computer to execute any one of the above methods.
- An embodiment of the present application also provides an image processing system, including: the above-mentioned image processing device, an image acquisition device, and a lighting device.
- the embodiment of the present application also provides a chip, the chip includes a processor and an interface circuit, the interface circuit is coupled to the processor, the processor is used to run computer programs or instructions to implement the above method, and the interface circuit is used to communicate with other modules outside the chip to communicate.
- a computer can be a general purpose computer, special purpose computer, computer network, or other programmable device.
- Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g.
- the computer-readable storage medium may be any available medium that can be accessed by a computer, or may contain one or more data storage devices such as servers and data centers that can be integrated with the medium.
- the available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a solid state disk (solid state disk, SSD for short)) and the like.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Image Input (AREA)
Abstract
Provided in the present application are an image processing method and apparatus, which relate to the field of image processing, can be applied to autonomous driving or intelligent driving scenarios, and are used for reducing the amount of calculation during the determination of polarization information. The method comprises: an image processing apparatus acquiring first feature information, wherein the first feature information is used for representing a scenario feature and indicating the acquisition of polarization information of at least one target, and the first feature information corresponds to a first illumination mode, a first collection mode and a first image processing mode; controlling illumination of polarized light according to the first illumination mode, and controlling, according to the first collection mode, the collection of a first polarization image of the at least one target in the first illumination mode; and processing the first polarization image according to the first image processing mode to acquire the polarization information of the at least one target. In this way, the image processing apparatus outputs the polarization information according to requirements, such that the amount of calculation of the image processing apparatus can be reduced.
Description
本申请涉及图像处理技术领域,尤其涉及一种图像处理方法及装置。The present application relates to the technical field of image processing, and in particular to an image processing method and device.
当前,终端设备可以使用偏振相机探测周围的环境信息,确定终端设备周围存在的目标(例如,车辆,障碍物,道路等)的形状,颜色等信息。Currently, a terminal device can use a polarization camera to detect surrounding environment information, and determine information such as shapes and colors of objects (eg, vehicles, obstacles, roads, etc.) existing around the terminal device.
但是终端设备获取到的偏振图像具有多个维度的偏振信息,例如,当前常见的偏振信息至少包括:偏振调制后的偏振图像,斯托克斯矢量,偏振度,偏振角,穆勒矩阵。在需要获取目标的不同偏振信息时,终端设备需要采用不同的处理方式。当前终端设备获取偏振信息时终端设备会统一输出目标的能获取的、所有偏振信息(偏振信息一般包括上述偏振调制后的偏振图像、斯托克斯矢量、偏振度、偏振角、穆勒矩阵),这将导致终端设备处理偏振图像时的计算量较大,影响终端设备的计算性能。However, the polarization image acquired by the terminal device has polarization information in multiple dimensions. For example, the current common polarization information includes at least: polarization-modulated polarization image, Stokes vector, degree of polarization, polarization angle, and Mueller matrix. When it is necessary to obtain different polarization information of the target, the terminal device needs to adopt different processing methods. When the current terminal device obtains the polarization information, the terminal device will uniformly output all the polarization information of the target that can be obtained (the polarization information generally includes the above-mentioned polarization-modulated polarization image, Stokes vector, degree of polarization, polarization angle, and Muller matrix) , which will lead to a large amount of calculation when the terminal device processes the polarization image, which will affect the calculation performance of the terminal device.
发明内容Contents of the invention
本申请提供一种图像处理方法及装置,解决现有技术中终端设备处理偏振图像时计算量大,影响终端设备的计算性能的问题。The present application provides an image processing method and device, which solves the problem in the prior art that a terminal device has a large amount of calculation when processing a polarization image, which affects the calculation performance of the terminal device.
为解决上述技术问题,本申请采用如下技术方案:In order to solve the above technical problems, the application adopts the following technical solutions:
第一方面,提供一种图像处理方法,包括:获取第一特征信息;第一特征信息用于表征场景特征以及指示至少一个目标的偏振信息的获取,第一特征信息对应于第一照明方式、第一采集方式以及第一图像处理方式。根据第一照明方式控制偏振光照明,以及,根据第一采集方式,控制采集至少一个目标在第一照明方式下的第一偏振图像。根据第一图像处理方式,对第一偏振图像处理,获取至少一个目标的偏振信息。In a first aspect, an image processing method is provided, including: acquiring first feature information; the first feature information is used to characterize scene features and obtain polarization information indicating at least one target, the first feature information corresponds to the first lighting mode, The first acquisition mode and the first image processing mode. The polarized light illumination is controlled according to the first illumination mode, and, according to the first acquisition mode, the first polarized image of at least one target under the first illumination mode is controlled to be collected. According to the first image processing manner, the first polarization image is processed to acquire polarization information of at least one target.
基于上述技术方案,本申请实施例提供的图像处理方法中,图像处理装置可以根据目标的偏振信息的获取选择相应的图像处理方式,获取目标的偏振信息,避免了获取目标的所有可能的偏振信息导致的图像处理装置计算量大的问题。Based on the above technical solution, in the image processing method provided by the embodiment of the present application, the image processing device can select the corresponding image processing method according to the acquisition of the polarization information of the target to obtain the polarization information of the target, avoiding the acquisition of all possible polarization information of the target The resulting image processing device has a large amount of calculation.
此外,图像处理装置能够根据为目标提供的偏振光,以及采集到的目标反射的偏振光,确定目标的穆勒矩阵,进而确定目标的定量偏振信息。图像处理装置还能够为目标提供照明,提高了目标在暗光场景下成像的清晰度。In addition, the image processing device can determine the Mueller matrix of the target according to the polarized light provided for the target and the collected polarized light reflected by the target, and then determine the quantitative polarization information of the target. The image processing device can also provide illumination for the target, which improves the imaging clarity of the target in dark and light scenes.
结合上述第一方面,在一种可能的实现方式中,该方法还包括:根据第一特征信息,确定第一照明方式、第一采集方式以及第一图像处理方式。With reference to the first aspect above, in a possible implementation manner, the method further includes: determining a first illumination manner, a first collection manner, and a first image processing manner according to the first characteristic information.
基于此,图像处理装置可以确定在各个场景下获取不同偏振信息时,为目标提供的站名方式,图像采集方式,以及图像处理方式。从而更好的满足不同场景下采集不同偏振信息的需求。Based on this, the image processing device can determine the station name method, image acquisition method, and image processing method for the target when different polarization information is obtained in each scene. In this way, the requirements for collecting different polarization information in different scenarios can be better met.
结合上述第一方面,在一种可能的实现方式中,场景特征包括环境的光强度信息。With reference to the first aspect above, in a possible implementation manner, the scene feature includes light intensity information of the environment.
基于此,图像采集装置可以在环境光强度小的情况下为场景提供照明,以提高场景的环境光强度。Based on this, the image acquisition device can provide lighting for the scene when the ambient light intensity is low, so as to increase the ambient light intensity of the scene.
结合上述第一方面,在一种可能的实现方式中,偏振信息包括以下至少一项:第二偏振图像,定性偏振信息,或者定量偏振信息。With reference to the foregoing first aspect, in a possible implementation manner, the polarization information includes at least one of the following: a second polarization image, qualitative polarization information, or quantitative polarization information.
基于此,图像采集装置可以根据需求获取目标的第二偏振图像,定性偏振信息,定量偏振信息中的一种或多种偏振信息。Based on this, the image acquisition device can acquire the second polarization image of the target, qualitative polarization information, and one or more types of polarization information in the quantitative polarization information according to requirements.
结合上述第一方面,在一种可能的实现方式中,第一照明方式属于偏振光照明方式集合,偏振光照明方式集合包括以下至少一项:多偏振光源同步照明,多偏振光源非同步照明,或者无照明。In combination with the first aspect above, in a possible implementation manner, the first lighting method belongs to a set of polarized light lighting methods, and the set of polarized light lighting methods includes at least one of the following: synchronous lighting with multiple polarized light sources, asynchronous lighting with multiple polarized light sources, Or no lighting.
其中,多偏振光源同步照明为:通过多个不同偏振态的偏振光源同时提供偏振照明;多偏振光源非同步照明为:通过多个不同偏振态的偏振光源依次提供偏振照明;无照明为:不提供照明。Among them, the synchronous illumination of multi-polarized light sources is: providing polarized illumination simultaneously through multiple polarized light sources of different polarization states; the asynchronous illumination of multi-polarized light sources is: providing polarized illumination sequentially through multiple polarized light sources of different polarization states; Provide lighting.
基于此,不同的照明方式可以适用于不同的场景和偏振信息获取需求,图像处理装置确定在不同的场景和偏振信息获取需求下提供不同的照明方式,可以提高本申请提供的图像处理方法的适用性。Based on this, different lighting methods can be applied to different scenes and polarization information acquisition requirements, and the image processing device determines to provide different lighting methods under different scenes and polarization information acquisition requirements, which can improve the application of the image processing method provided by this application. sex.
结合上述第一方面,在一种可能的实现方式中,第一采集方式属于偏振采集方式集合,偏振采集方式集合包括:单帧偏振图像同步采集操作,多帧偏振图像非同步采集操作。In combination with the first aspect above, in a possible implementation manner, the first acquisition mode belongs to a polarization acquisition mode set, and the polarization acquisition mode set includes: a synchronous acquisition operation of a single-frame polarization image, and an asynchronous acquisition operation of a multi-frame polarization image.
单帧偏振图像同步采集操作包含:通过采集至少一个目标的单张图像,从单张图像中获取多张不同偏振态的偏振图像;多帧偏振图像非同步采集操作包含:通过采集至少一个目标的多张图像,多张图像中的每张图像包括多张不同偏振态的偏振图像。The synchronous acquisition operation of a single-frame polarization image includes: acquiring multiple polarization images of different polarization states from a single image by acquiring a single image of at least one target; the asynchronous acquisition operation of a multi-frame polarization image includes: acquiring at least one target A plurality of images, each image in the plurality of images includes a plurality of polarization images of different polarization states.
基于此,不同的图像采集方式可以适用于不同的场景和偏振信息获取需求,图像处理装置确定在不同的场景和偏振信息获取需求下提供不同的图像方式,可以提高本申请提供的图像处理方法的适用性。此外,照明方式和图像采集方式互相配合,照明方式提供不同偏振态的偏振光照明,图像采集装置采集不同偏振态的偏振光照明条件下的偏振图像,可以确定目标的穆勒矩阵,进而确定目标的定量偏振信息。Based on this, different image acquisition methods can be applied to different scenarios and polarization information acquisition requirements, and the image processing device determines to provide different image methods under different scenarios and polarization information acquisition requirements, which can improve the image processing method provided by this application. applicability. In addition, the illumination method and the image acquisition method cooperate with each other. The illumination method provides polarized light illumination with different polarization states, and the image acquisition device collects polarization images under different polarization states of polarized light illumination conditions, which can determine the Mueller matrix of the target, and then determine the target Quantitative polarization information of .
结合上述第一方面,在一种可能的实现方式中,第一图像处理方式属于偏振图像处理方式集合,偏振图像处理方式集合包括:偏振图像获取操作,定性偏振信息获取操作,定量偏振信息获取操作。In combination with the first aspect above, in a possible implementation manner, the first image processing method belongs to a set of polarization image processing methods, and the set of polarization image processing methods includes: polarization image acquisition operation, qualitative polarization information acquisition operation, and quantitative polarization information acquisition operation .
其中,偏振图像获取操作用于获取第二偏振图像,第二偏振图像属于第一偏振图像在不同偏振态下的偏振图像;定性偏振信息获取操作用于获取至少一个目标的以下至少一项偏振信息:斯托克斯矢量,偏振度,或者偏振角;定量偏振信息获取操作用于获取至少一个目标的穆勒矩阵。Wherein, the polarization image acquisition operation is used to acquire a second polarization image, and the second polarization image belongs to the polarization images of the first polarization image in different polarization states; the qualitative polarization information acquisition operation is used to acquire at least one of the following polarization information of at least one target : Stokes vector, degree of polarization, or angle of polarization; the quantitative polarization information acquisition operation is used to acquire the Mueller matrix of at least one target.
基于此,不同的图像处理方式可以适用于不同偏振信息获取需求,图像处理装置确定在不同的偏振信息获取需求下采用不同的图像处理方式,可以提高本申请提供的图像处理方法的适用性。Based on this, different image processing methods can be applied to different polarization information acquisition requirements, and the image processing device determines to adopt different image processing methods under different polarization information acquisition requirements, which can improve the applicability of the image processing method provided in this application.
结合上述第一方面,在一种可能的实现方式中,第一特征信息表征环境光强度小于预设值以及指示获取第二偏振图像,第一照明操作包含:多偏振光源同步照明,偏振图像采集方式包含:单帧偏振图像同步采集操作,偏振图像处理操作包含:偏振图像获取操作。In combination with the first aspect above, in a possible implementation manner, the first feature information indicates that the ambient light intensity is less than a preset value and indicates to obtain the second polarization image, and the first lighting operation includes: synchronous lighting of multiple polarization light sources, polarization image acquisition The method includes: a single-frame polarization image synchronous acquisition operation, and the polarization image processing operation includes: a polarization image acquisition operation.
基于此,图像处理装置在场景环境光弱,需要获取偏振图像的场景下,照明装置 为场景提供多偏振光源同步照明,可以提高场景的环境光强度;图像采集装置采集目标的单张图像,可以降低处理的图像数量;图像处理装置处理获取到的单张图像获取目标的第二偏振图像,可以降低图像处理装置的计算量。Based on this, when the image processing device is in a scene where the ambient light of the scene is weak and polarized images need to be acquired, the lighting device provides synchronous illumination of multi-polarized light sources for the scene, which can improve the ambient light intensity of the scene; the image acquisition device collects a single image of the target, which can Reducing the number of images to be processed; the image processing device processes the acquired second polarization image of the target in a single image, which can reduce the calculation amount of the image processing device.
结合上述第一方面,在一种可能的实现方式中,第一特征信息表征环境光强度小于预设值以及指示获取定性偏振信息,偏振光照明操作包含:多偏振光源同步照明,偏振图像采集方式包含:单帧偏振图像同步采集操作,偏振图像处理操作包含:定性偏振信息获取操作。In combination with the first aspect above, in a possible implementation, the first feature information indicates that the ambient light intensity is less than a preset value and indicates the acquisition of qualitative polarization information. The polarized light illumination operation includes: synchronous illumination of multiple polarized light sources, polarization image acquisition method Including: single-frame polarization image synchronous acquisition operation, polarization image processing operation includes: qualitative polarization information acquisition operation.
基于此,图像处理装置在场景环境光弱,需要获取定性偏振信息的场景下,照明装置为场景提供多偏振光源同步照明,可以提高场景的环境光强度;图像采集装置采集目标的单张图像,可以降低处理的图像数量;图像处理装置处理获取到的单张图像获取目标的定性偏振信息,可以降低图像处理装置的计算量。Based on this, when the image processing device is in a scene where the ambient light of the scene is weak and qualitative polarization information needs to be obtained, the lighting device provides synchronous illumination of multi-polarized light sources for the scene, which can improve the ambient light intensity of the scene; the image acquisition device collects a single image of the target, The number of processed images can be reduced; the image processing device processes the acquired single image to acquire the qualitative polarization information of the target, which can reduce the calculation amount of the image processing device.
结合上述第一方面,在一种可能的实现方式中,第一特征信息表征环境光强度小于预设值以及指示获取定性偏振信息,偏振光照明操作包含:多偏振光源非同步照明,偏振图像采集方式包含:多帧偏振图像非同步采集操作,偏振图像处理操作包含:定量偏振信息获取操作。In combination with the first aspect above, in a possible implementation manner, the first characteristic information indicates that the ambient light intensity is less than a preset value and indicates the acquisition of qualitative polarization information, and the polarized light illumination operation includes: asynchronous illumination of multiple polarized light sources, polarization image acquisition The method includes: multi-frame polarization image asynchronous acquisition operation, and the polarization image processing operation includes: quantitative polarization information acquisition operation.
基于此,图像处理装置在场景环境光弱,需要获取定性偏振信息的场景下,照明装置为场景提供多偏振光源非同步照明,可以提高场景的环境光强度以及为目标提供不同偏振态的偏振光;图像采集装置采集目标的在不同偏振光下的多张图像,图像处理装置结合偏振光源提供的偏振光,以及采集到的该多个偏振光下的多张图像,可以确定目标的穆勒矩阵,从而确定目标的定量偏振信息。Based on this, the image processing device provides asynchronous illumination of multi-polarized light sources for the scene where the ambient light of the scene is weak and qualitative polarization information needs to be obtained. The lighting device can improve the ambient light intensity of the scene and provide polarized light with different polarization states for the target. The image acquisition device collects multiple images of the target under different polarized lights, and the image processing device combines the polarized light provided by the polarized light source and the multiple images collected under the multiple polarized lights to determine the Mueller matrix of the target , so as to determine the quantitative polarization information of the target.
结合上述第一方面,在一种可能的实现方式中,第一特征信息表征环境光强度大于或等于预设值以及指示获取第二偏振图像,偏振光照明操作包含:无照明,偏振图像采集方式包含:单帧偏振图像同步采集操作,偏振图像处理操作包含:偏振图像获取操作。In combination with the first aspect above, in a possible implementation manner, the first feature information indicates that the ambient light intensity is greater than or equal to a preset value and indicates to obtain the second polarized image, and the polarized light illumination operation includes: no illumination, polarized image acquisition mode Including: single-frame polarization image synchronous acquisition operation, polarization image processing operation includes: polarization image acquisition operation.
基于此,图像处理装置在场景环境光强,需要获取偏振图像的场景下,照明装置无需为场景提供多偏振光源同步照明,可以降低照明装置的能耗;图像采集装置采集目标的单张图像,可以降低处理的图像数量;图像处理装置处理获取到的单张图像获取目标的第二偏振图像,可以降低图像处理装置的计算量。Based on this, the image processing device does not need to provide multi-polarized light source synchronous lighting for the scene in the scene where the ambient light of the scene is strong and polarized images need to be obtained by the lighting device, which can reduce the energy consumption of the lighting device; the image acquisition device collects a single image of the target, The number of images to be processed can be reduced; the image processing device processes the acquired second polarization image of a single image acquisition target, which can reduce the calculation amount of the image processing device.
结合上述第一方面,在一种可能的实现方式中,第一特征信息表征环境光强度大于或等于预设值以及指示获取定性偏振信息,偏振光照明操作包含:无照明,偏振图像采集方式包含:单帧偏振图像同步采集操作,偏振图像处理操作包含:定性偏振信息获取操作。In combination with the first aspect above, in a possible implementation manner, the first feature information indicates that the ambient light intensity is greater than or equal to a preset value and indicates the acquisition of qualitative polarization information. The polarized light illumination operation includes: no illumination, and the polarized image acquisition method includes : Synchronous acquisition operation of single frame polarization image, polarization image processing operation includes: qualitative polarization information acquisition operation.
基于此,图像处理装置在场景环境光强,需要获取定性偏振信息的场景下,照明装置无需为场景提供多偏振光源同步照明,可以降低照明装置的能耗;图像采集装置采集目标的单张图像,可以降低处理的图像数量;图像处理装置处理获取到的单张图像获取目标的定性偏振信息,可以降低图像处理装置的计算量。Based on this, the image processing device does not need to provide multi-polarized light source synchronous lighting for the scene where the image processing device needs to obtain qualitative polarization information under the scene environment light intensity, which can reduce the energy consumption of the lighting device; the image acquisition device collects a single image of the target , the number of processed images can be reduced; the image processing device can process the acquired qualitative polarization information of a single image to obtain the target, which can reduce the calculation amount of the image processing device.
结合上述第一方面,在一种可能的实现方式中,第一特征信息表征环境光强度大于或等于预设值以及指示获取定量偏振信息,偏振光照明操作包含:多偏振光源非同步照明,偏振图像采集方式包含:多帧偏振图像非同步采集操作,偏振图像处理操作 包含:定量偏振信息获取操作。In combination with the first aspect above, in a possible implementation manner, the first feature information indicates that the ambient light intensity is greater than or equal to a preset value and indicates the acquisition of quantitative polarization information. The polarized light illumination operation includes: asynchronous illumination of multiple polarized light sources, polarization The image acquisition method includes: multi-frame polarization image asynchronous acquisition operation, and the polarization image processing operation includes: quantitative polarization information acquisition operation.
基于此,图像处理装置在场景环境光强,需要获取定性偏振信息的场景下,照明装置为场景提供多偏振光源非同步照明,可以为目标提供不同偏振态的偏振光;图像采集装置采集目标的在不同偏振光下的多张图像,图像处理装置结合偏振光源提供的偏振光,以及采集到的该多个偏振光下的多张图像,可以确定目标的穆勒矩阵,从而确定目标的定量偏振信息。Based on this, in the scene where the image processing device needs to obtain qualitative polarization information due to the ambient light intensity of the scene, the lighting device provides asynchronous illumination of multi-polarized light sources for the scene, and can provide polarized light with different polarization states for the target; the image acquisition device collects the target's For multiple images under different polarized lights, the image processing device can determine the Mueller matrix of the target by combining the polarized light provided by the polarized light source and the collected multiple images under the multiple polarized lights, thereby determining the quantitative polarization of the target information.
第二方面,提供一种图像处理装置,包括:处理单元和获取单元。获取单元,用于获取第一特征信息;第一特征信息用于表征场景特征以及指示至少一个目标的偏振信息的获取,第一特征信息对应于第一照明方式、第一采集方式以及第一图像处理方式。处理单元,用于根据第一照明方式控制偏振光照明,以及,根据第一采集方式,控制采集至少一个目标在第一照明方式下的第一偏振图像。处理单元,还用于根据第一图像处理方式,对第一偏振图像处理,获取至少一个目标的偏振信息。In a second aspect, an image processing device is provided, including: a processing unit and an acquisition unit. An acquisition unit, configured to acquire first feature information; the first feature information is used to characterize scene features and to indicate the acquisition of polarization information of at least one target, and the first feature information corresponds to the first lighting mode, the first acquisition mode, and the first image processing method. The processing unit is configured to control polarized light illumination according to the first illumination mode, and, according to the first acquisition mode, control to collect a first polarized image of at least one target under the first illumination mode. The processing unit is further configured to process the first polarization image according to the first image processing manner to acquire polarization information of at least one target.
结合上述第二方面,在一种可能的实现方式中,处理单元,还用于:根据第一特征信息,确定第一照明方式、第一采集方式以及第一图像处理方式。With reference to the second aspect above, in a possible implementation manner, the processing unit is further configured to: determine a first lighting manner, a first acquisition manner, and a first image processing manner according to the first characteristic information.
结合上述第二方面,在一种可能的实现方式中,处理单元,具体用于:生成第一指令和第二指令;第一指令用于指示第一照明方式;第二指令用于指示第一采集方式;指示获取单元向照明装置发送第一指令,以及向图像采集装置发送第二指令。With reference to the second aspect above, in a possible implementation manner, the processing unit is specifically configured to: generate a first instruction and a second instruction; the first instruction is used to indicate the first lighting mode; the second instruction is used to indicate the first Acquisition mode: instruct the acquisition unit to send the first instruction to the lighting device, and send the second instruction to the image acquisition device.
结合上述第二方面,在一种可能的实现方式中,处理单元,具体还用于:指示获取单元接收来自图像采集装置的第一偏振图像。With reference to the second aspect above, in a possible implementation manner, the processing unit is further configured to: instruct the acquisition unit to receive the first polarization image from the image acquisition device.
结合上述第二方面,在一种可能的实现方式中,场景特征包括环境的光强度信息。With reference to the second aspect above, in a possible implementation manner, the scene feature includes light intensity information of the environment.
结合上述第二方面,在一种可能的实现方式中,偏振信息包括以下至少一项:第二偏振图像,定性偏振信息,或者定量偏振信息。With reference to the second aspect above, in a possible implementation manner, the polarization information includes at least one of the following: a second polarization image, qualitative polarization information, or quantitative polarization information.
结合上述第二方面,在一种可能的实现方式中,第一照明方式属于偏振光照明方式集合,偏振光照明方式集合包括以下至少一项:多偏振光源同步照明,多偏振光源非同步照明,或者无照明;其中,多偏振光源同步照明为:通过多个不同偏振态的偏振光源同时提供偏振照明;多偏振光源非同步照明为:通过多个不同偏振态的偏振光源依次提供偏振照明;无照明为:不提供照明。In combination with the second aspect above, in a possible implementation, the first lighting method belongs to a set of polarized light lighting methods, and the set of polarized light lighting methods includes at least one of the following: synchronous lighting with multiple polarized light sources, asynchronous lighting with multiple polarized light sources, Or no lighting; wherein, multi-polarized light source synchronous lighting is: providing polarized lighting through multiple polarized light sources with different polarization states at the same time; multi-polarized light source asynchronous lighting is: using multiple polarized light sources with different polarization states to provide polarized lighting sequentially; Lighting is: No lighting provided.
结合上述第二方面,在一种可能的实现方式中,第一采集方式属于偏振采集方式集合,偏振采集方式集合包括:单帧偏振图像同步采集操作,多帧偏振图像非同步采集操作;单帧偏振图像同步采集操作包含:通过采集至少一个目标的单张图像,从单张图像中获取多张不同偏振态的偏振图像;多帧偏振图像非同步采集操作包含:通过采集至少一个目标的多张图像,多张图像中的每张图像包括多张不同偏振态的偏振图像。In combination with the second aspect above, in a possible implementation, the first collection method belongs to a collection of polarization collection methods, and the collection of polarization collection methods includes: a synchronous collection operation of a single-frame polarization image, an asynchronous collection operation of a multi-frame polarization image; The synchronous acquisition operation of polarization images includes: acquiring multiple polarization images of different polarization states from a single image by acquiring a single image of at least one target; the asynchronous acquisition operation of multi-frame polarization images includes: acquiring multiple polarization images of at least one target images, each of the plurality of images includes a plurality of polarization images of different polarization states.
结合上述第二方面,在一种可能的实现方式中,第一图像处理方式属于偏振图像处理方式集合,偏振图像处理方式集合包括:偏振图像获取操作,定性偏振信息获取操作,定量偏振信息获取操作;其中,偏振图像获取操作用于获取第二偏振图像,第二偏振图像属于第一偏振图像在不同偏振态下的偏振图像;定性偏振信息获取操作用于获取至少一个目标的以下至少一项偏振信息:斯托克斯矢量,偏振度,或者偏振角;定量偏振信息获取操作用于获取至少一个目标的穆勒矩阵。In combination with the second aspect above, in a possible implementation, the first image processing method belongs to a set of polarization image processing methods, and the set of polarization image processing methods includes: polarization image acquisition operations, qualitative polarization information acquisition operations, and quantitative polarization information acquisition operations ; Wherein, the polarization image acquisition operation is used to acquire a second polarization image, and the second polarization image belongs to the polarization images of the first polarization image in different polarization states; the qualitative polarization information acquisition operation is used to acquire at least one of the following polarizations of at least one target Information: Stokes vector, degree of polarization, or angle of polarization; the quantitative polarization information acquisition operation is used to acquire the Mueller matrix of at least one target.
结合上述第二方面,在一种可能的实现方式中,第一特征信息表征环境光强度小于预设值以及指示获取第二偏振图像,第一照明操作包含:多偏振光源同步照明,偏振图像采集方式包含:单帧偏振图像同步采集操作,偏振图像处理操作包含:偏振图像获取操作。In combination with the above-mentioned second aspect, in a possible implementation manner, the first feature information indicates that the ambient light intensity is less than a preset value and indicates to obtain the second polarization image, and the first lighting operation includes: synchronous lighting of multiple polarization light sources, polarization image acquisition The method includes: a single-frame polarization image synchronous acquisition operation, and the polarization image processing operation includes: a polarization image acquisition operation.
结合上述第二方面,在一种可能的实现方式中,第一特征信息表征环境光强度小于预设值以及指示获取定性偏振信息,偏振光照明操作包含:多偏振光源同步照明,偏振图像采集方式包含:单帧偏振图像同步采集操作,偏振图像处理操作包含:定性偏振信息获取操作。In combination with the second aspect above, in a possible implementation, the first feature information indicates that the ambient light intensity is less than a preset value and indicates the acquisition of qualitative polarization information. The polarized light illumination operation includes: synchronous illumination of multiple polarized light sources, polarization image acquisition method Including: single-frame polarization image synchronous acquisition operation, polarization image processing operation includes: qualitative polarization information acquisition operation.
结合上述第二方面,在一种可能的实现方式中,第一特征信息表征环境光强度小于预设值以及指示获取定性偏振信息,偏振光照明操作包含:多偏振光源非同步照明,偏振图像采集方式包含:多帧偏振图像非同步采集操作,偏振图像处理操作包含:定量偏振信息获取操作。In combination with the second aspect above, in a possible implementation, the first feature information indicates that the ambient light intensity is less than a preset value and indicates the acquisition of qualitative polarization information. The polarized light illumination operation includes: asynchronous illumination of multiple polarized light sources, polarization image acquisition The method includes: multi-frame polarization image asynchronous acquisition operation, and the polarization image processing operation includes: quantitative polarization information acquisition operation.
结合上述第二方面,在一种可能的实现方式中,第一特征信息表征环境光强度大于或等于预设值以及指示获取第二偏振图像,偏振光照明操作包含:无照明,偏振图像采集方式包含:单帧偏振图像同步采集操作,偏振图像处理操作包含:偏振图像获取操作。In combination with the second aspect above, in a possible implementation manner, the first characteristic information indicates that the ambient light intensity is greater than or equal to a preset value and indicates to obtain the second polarized image, and the polarized light illumination operation includes: no illumination, polarized image acquisition mode Including: single-frame polarization image synchronous acquisition operation, polarization image processing operation includes: polarization image acquisition operation.
结合上述第二方面,在一种可能的实现方式中,第一特征信息表征环境光强度大于或等于预设值以及指示获取定性偏振信息,偏振光照明操作包含:无照明,偏振图像采集方式包含:单帧偏振图像同步采集操作,偏振图像处理操作包含:定性偏振信息获取操作。In combination with the second aspect above, in a possible implementation manner, the first characteristic information indicates that the ambient light intensity is greater than or equal to a preset value and indicates the acquisition of qualitative polarization information. The polarized light illumination operation includes: no illumination, and the polarized image acquisition method includes : Synchronous acquisition operation of single frame polarization image, polarization image processing operation includes: qualitative polarization information acquisition operation.
结合上述第二方面,在一种可能的实现方式中,第一特征信息表征环境光强度大于或等于预设值以及指示获取定量偏振信息,偏振光照明操作包含:多偏振光源非同步照明,偏振图像采集方式包含:多帧偏振图像非同步采集操作,偏振图像处理操作包含:定量偏振信息获取操作。In combination with the second aspect above, in a possible implementation, the first feature information indicates that the ambient light intensity is greater than or equal to a preset value and indicates that quantitative polarization information is obtained, and the polarized light illumination operation includes: asynchronous illumination of multiple polarized light sources, polarization The image acquisition method includes: multi-frame polarization image asynchronous acquisition operation, and the polarization image processing operation includes: quantitative polarization information acquisition operation.
第三方面,提供一种照明装置,包括:多个不同偏振态的偏振光源,至少一个处理器,以及通信接口。通信接口,用于接收来自图像处理装置的第一指令,第一指令用于指示第一照明方式;第一照明方式用于表征采用多个不同偏振态的偏振光源提供照明的方式。处理器,用于根据第一指令,控制多个不同偏振态的偏振光源提供照明。In a third aspect, an illuminating device is provided, including: a plurality of polarized light sources with different polarization states, at least one processor, and a communication interface. The communication interface is used to receive a first instruction from the image processing device, and the first instruction is used to indicate a first lighting mode; the first lighting mode is used to represent a way of providing illumination by using a plurality of polarized light sources with different polarization states. The processor is configured to control a plurality of polarized light sources with different polarization states to provide illumination according to the first instruction.
结合上述第三方面,在一种可能的实现方式中,第一照明方式属于偏振光照明方式集合,偏振光照明方式集合包括以下至少一项:多偏振光源同步照明,多偏振光源非同步照明,或者无照明;其中,多偏振光源同步照明为:通过多个不同偏振态的偏振光源同时提供偏振照明;多偏振光源非同步照明为:通过多个不同偏振态的偏振光源依次提供偏振照明;无照明为:不提供照明。In combination with the third aspect above, in a possible implementation, the first lighting method belongs to a set of polarized light lighting methods, and the set of polarized light lighting methods includes at least one of the following: synchronous lighting with multiple polarized light sources, asynchronous lighting with multiple polarized light sources, Or no lighting; wherein, multi-polarized light source synchronous lighting is: providing polarized lighting through multiple polarized light sources with different polarization states at the same time; multi-polarized light source asynchronous lighting is: using multiple polarized light sources with different polarization states to provide polarized lighting sequentially; Lighting is: No lighting provided.
结合上述第三方面,在一种可能的实现方式中,第一照明方式包含:多偏振光源同步照明;处理器,具体用于:控制多个不同偏振态的偏振光源中的一个或多个偏振光源提供偏振照明。With reference to the third aspect above, in a possible implementation manner, the first lighting method includes: synchronous lighting of multiple polarized light sources; The light source provides polarized illumination.
结合上述第三方面,在一种可能的实现方式中,第一照明方式包含:多偏振光源非同步照明;处理器,具体用于:控制多个不同偏振态的偏振光源中各个偏振光源依次提供偏振照明。In combination with the third aspect above, in a possible implementation manner, the first lighting method includes: multi-polarization light source asynchronous lighting; the processor is specifically used to: control each polarized light source among multiple polarized light sources with different polarization states to sequentially provide polarized lighting.
结合上述第三方面,在一种可能的实现方式中,第一照明方式包含:无照明;处理器,具体用于:控制多个不同偏振态的偏振光源均不提供照明。With reference to the third aspect above, in a possible implementation manner, the first illumination manner includes: no illumination; and the processor is specifically configured to: control multiple polarized light sources with different polarization states to provide no illumination.
需要说明的是,在第三方面所记载的照明装置与下述第四方面记载的图像采集装置,下述第五方面记载的图像处理装置集成设置的情况下,照明装置与图像采集装置,图像处理装置可以共用至少一个处理器,由该至少一个处理器执行照明装置、图像采集装置、以及图像处理装置中的处理操作。It should be noted that, when the lighting device described in the third aspect is integrated with the image acquisition device described in the following fourth aspect and the image processing device described in the following fifth aspect, the lighting device and the image acquisition device, the image The processing devices may share at least one processor, and the at least one processor executes the processing operations in the lighting device, the image acquisition device, and the image processing device.
第四方面,提供一种图像采集装置,包括:偏振图像采集器,至少一个处理器和通信接口;通信接口,用于接收来自图像处理装置的第二指令,第二指令用于指示第一采集方式;第一采集方式用于表征采集偏振图像的方式。处理器,用于根据第二指令,控制偏振图像采集器采集偏振图像。In a fourth aspect, an image acquisition device is provided, including: a polarized image acquisition device, at least one processor and a communication interface; the communication interface is used to receive a second instruction from the image processing device, and the second instruction is used to instruct the first acquisition mode; the first acquisition mode is used to characterize the way of collecting polarization images. The processor is configured to control the polarization image collector to collect polarization images according to the second instruction.
结合上述第四方面,在一种可能的实现方式中,第一采集方式属于偏振采集方式集合,偏振采集方式集合包括:单帧偏振图像同步采集操作,多帧偏振图像非同步采集操作;单帧偏振图像同步采集操作包含:通过采集至少一个目标的单张图像,从单张图像中获取多张不同偏振态的偏振图像;多帧偏振图像非同步采集操作包含:通过采集至少一个目标的多张图像,多张图像中的每张图像包括多张不同偏振态的偏振图像。In combination with the fourth aspect above, in a possible implementation, the first collection method belongs to a collection of polarization collection methods, and the collection of polarization collection methods includes: a synchronous collection operation of a single-frame polarization image, an asynchronous collection operation of a multi-frame polarization image; The synchronous acquisition operation of polarization images includes: acquiring multiple polarization images of different polarization states from a single image by acquiring a single image of at least one target; the asynchronous acquisition operation of multi-frame polarization images includes: acquiring multiple polarization images of at least one target images, each of the plurality of images includes a plurality of polarization images of different polarization states.
结合上述第四方面,在一种可能的实现方式中,第一采集方式包含:单帧偏振图像同步采集操作;处理器,具体用于根据第二指令,控制偏振图像采集器采集至少一个目标的单张图像,以及从单张图像中获取多张不同偏振态的偏振图像。In combination with the fourth aspect above, in a possible implementation manner, the first collection method includes: a single-frame polarization image synchronous collection operation; the processor is specifically configured to control the polarization image collector to collect at least one target according to the second instruction. A single image, and acquisition of multiple polarization images of different polarization states from a single image.
结合上述第四方面,在一种可能的实现方式中,第一采集方式包含:多帧偏振图像非同步采集操作;处理器,具体用于根据第二指令,控制偏振图像采集器多次采集至少一个目标的图像,确定至少一个目标的多张图像,以及分别从多张图像的每一张图像中获取多张不同偏振态的偏振图像。In combination with the fourth aspect above, in a possible implementation manner, the first collection method includes: an asynchronous collection operation of multi-frame polarization images; the processor is specifically configured to control the polarization image collector to collect at least a plurality of times according to the second instruction An image of an object, multiple images of at least one object are determined, and multiple polarization images of different polarization states are respectively obtained from each of the multiple images.
需要说明的是,在第四方面所记载的图像采集装置与上述第三方面所记载的照明装置,下述第五方面所记载的图像处理装置集成设置的情况下,照明装置与图像采集装置,图像处理装置可以共用至少一个处理器,由该至少一个处理器执行照明装置、图像采集装置、以及图像处理装置中的处理操作。It should be noted that, when the image acquisition device described in the fourth aspect is integrated with the lighting device described in the third aspect above, and the image processing device described in the fifth aspect below, the lighting device and the image acquisition device, The image processing device may share at least one processor, and the at least one processor executes the processing operations in the lighting device, the image acquisition device, and the image processing device.
第五方面,提供一种图像处理装置,包括:至少一个处理器和通信接口。通信接口,用于获取第一特征信息;第一特征信息用于表征场景特征以及指示至少一个目标的偏振信息的获取,第一特征信息对应于第一照明方式、第一采集方式以及第一图像处理方式。处理器,用于根据第一照明方式控制偏振光照明,以及,根据第一采集方式,控制采集至少一个目标在第一照明方式下的第一偏振图像。处理器,还用于根据第一图像处理方式,对第一偏振图像处理,获取至少一个目标的偏振信息。According to a fifth aspect, an image processing device is provided, including: at least one processor and a communication interface. A communication interface, used to acquire first feature information; the first feature information is used to characterize the scene feature and to indicate the acquisition of polarization information of at least one target, the first feature information corresponds to the first lighting mode, the first collection mode and the first image processing method. The processor is configured to control polarized light illumination according to the first illumination mode, and, according to the first collection mode, control to collect a first polarized image of at least one target under the first illumination mode. The processor is further configured to process the first polarization image according to the first image processing manner to acquire polarization information of at least one target.
结合上述第五方面,在一种可能的实现方式中,处理器,还用于:根据第一特征信息,确定第一照明方式、第一采集方式以及第一图像处理方式。With reference to the fifth aspect above, in a possible implementation manner, the processor is further configured to: determine a first lighting manner, a first acquisition manner, and a first image processing manner according to the first feature information.
结合上述第五方面,在一种可能的实现方式中,处理器,具体用于:生成第一指令和第二指令;第一指令用于指示第一照明方式;第二指令用于指示第一采集方式;指示通信接口向照明装置发送第一指令,以及向图像采集装置发送第二指令。With reference to the fifth aspect above, in a possible implementation manner, the processor is specifically configured to: generate a first instruction and a second instruction; the first instruction is used to indicate the first lighting mode; the second instruction is used to indicate the first Collection mode: instruct the communication interface to send the first instruction to the lighting device, and send the second instruction to the image collection device.
结合上述第五方面,在一种可能的实现方式中,处理器,具体还用于:指示通信 接口接收来自图像采集装置的第一偏振图像。With reference to the fifth aspect above, in a possible implementation manner, the processor is further specifically configured to: instruct the communication interface to receive the first polarization image from the image acquisition device.
结合上述第五方面,在一种可能的实现方式中,场景特征包括环境的光强度信息。With reference to the fifth aspect above, in a possible implementation manner, the scene feature includes light intensity information of the environment.
结合上述第五方面,在一种可能的实现方式中,偏振信息包括以下至少一项:第二偏振图像,定性偏振信息,或者定量偏振信息。With reference to the foregoing fifth aspect, in a possible implementation manner, the polarization information includes at least one of the following: a second polarization image, qualitative polarization information, or quantitative polarization information.
结合上述第五方面,在一种可能的实现方式中,第一照明方式属于偏振光照明方式集合,偏振光照明方式集合包括以下至少一项:多偏振光源同步照明,多偏振光源非同步照明,或者无照明;其中,多偏振光源同步照明为:通过多个不同偏振态的偏振光源同时提供偏振照明;多偏振光源非同步照明为:通过多个不同偏振态的偏振光源依次提供偏振照明;无照明为:不提供照明。In combination with the fifth aspect above, in a possible implementation manner, the first lighting method belongs to a set of polarized light lighting methods, and the set of polarized light lighting methods includes at least one of the following: synchronous lighting with multiple polarized light sources, asynchronous lighting with multiple polarized light sources, Or no lighting; wherein, multi-polarized light source synchronous lighting is: providing polarized lighting through multiple polarized light sources with different polarization states at the same time; multi-polarized light source asynchronous lighting is: using multiple polarized light sources with different polarization states to provide polarized lighting sequentially; Lighting is: No lighting provided.
结合上述第五方面,在一种可能的实现方式中,第一采集方式属于偏振采集方式集合,偏振采集方式集合包括:单帧偏振图像同步采集操作,多帧偏振图像非同步采集操作;单帧偏振图像同步采集操作包含:通过采集至少一个目标的单张图像,从单张图像中获取多张不同偏振态的偏振图像;多帧偏振图像非同步采集操作包含:通过采集至少一个目标的多张图像,多张图像中的每张图像包括多张不同偏振态的偏振图像。In combination with the fifth aspect above, in a possible implementation, the first collection method belongs to a collection of polarization collection methods, and the collection of polarization collection methods includes: a synchronous collection operation of a single-frame polarization image, an asynchronous collection operation of a multi-frame polarization image; The synchronous acquisition operation of polarization images includes: acquiring multiple polarization images of different polarization states from a single image by acquiring a single image of at least one target; the asynchronous acquisition operation of multi-frame polarization images includes: acquiring multiple polarization images of at least one target images, each of the plurality of images includes a plurality of polarization images of different polarization states.
结合上述第五方面,在一种可能的实现方式中,第一图像处理方式属于偏振图像处理方式集合,偏振图像处理方式集合包括:偏振图像获取操作,定性偏振信息获取操作,定量偏振信息获取操作;其中,偏振图像获取操作用于获取第二偏振图像,第二偏振图像属于第一偏振图像在不同偏振态下的偏振图像;定性偏振信息获取操作用于获取至少一个目标的以下至少一项偏振信息:斯托克斯矢量,偏振度,或者偏振角;定量偏振信息获取操作用于获取至少一个目标的穆勒矩阵。In combination with the fifth aspect above, in a possible implementation, the first image processing method belongs to a set of polarization image processing methods, and the set of polarization image processing methods includes: polarization image acquisition operation, qualitative polarization information acquisition operation, and quantitative polarization information acquisition operation ; Wherein, the polarization image acquisition operation is used to acquire a second polarization image, and the second polarization image belongs to the polarization images of the first polarization image in different polarization states; the qualitative polarization information acquisition operation is used to acquire at least one of the following polarizations of at least one target Information: Stokes vector, degree of polarization, or angle of polarization; the quantitative polarization information acquisition operation is used to acquire the Mueller matrix of at least one target.
结合上述第五方面,在一种可能的实现方式中,第一特征信息表征环境光强度小于预设值以及指示获取第二偏振图像,第一照明操作包含:多偏振光源同步照明,偏振图像采集方式包含:单帧偏振图像同步采集操作,偏振图像处理操作包含:偏振图像获取操作。In combination with the fifth aspect above, in a possible implementation manner, the first feature information indicates that the ambient light intensity is less than a preset value and indicates to obtain the second polarization image, and the first lighting operation includes: synchronous lighting of multiple polarization light sources, polarization image acquisition The method includes: a single-frame polarization image synchronous acquisition operation, and the polarization image processing operation includes: a polarization image acquisition operation.
结合上述第五方面,在一种可能的实现方式中,第一特征信息表征环境光强度小于预设值以及指示获取定性偏振信息,偏振光照明操作包含:多偏振光源同步照明,偏振图像采集方式包含:单帧偏振图像同步采集操作,偏振图像处理操作包含:定性偏振信息获取操作。In combination with the fifth aspect above, in a possible implementation, the first feature information indicates that the ambient light intensity is less than a preset value and indicates the acquisition of qualitative polarization information. The polarized light illumination operation includes: synchronous illumination of multiple polarized light sources, polarization image acquisition method Including: single-frame polarization image synchronous acquisition operation, polarization image processing operation includes: qualitative polarization information acquisition operation.
结合上述第五方面,在一种可能的实现方式中,第一特征信息表征环境光强度小于预设值以及指示获取定性偏振信息,偏振光照明操作包含:多偏振光源非同步照明,偏振图像采集方式包含:多帧偏振图像非同步采集操作,偏振图像处理操作包含:定量偏振信息获取操作。In combination with the fifth aspect above, in a possible implementation, the first characteristic information indicates that the ambient light intensity is less than a preset value and indicates the acquisition of qualitative polarization information, and the polarized light illumination operation includes: asynchronous illumination of multiple polarized light sources, polarization image acquisition The method includes: multi-frame polarization image asynchronous acquisition operation, and the polarization image processing operation includes: quantitative polarization information acquisition operation.
结合上述第五方面,在一种可能的实现方式中,第一特征信息表征环境光强度大于或等于预设值以及指示获取第二偏振图像,偏振光照明操作包含:无照明,偏振图像采集方式包含:单帧偏振图像同步采集操作,偏振图像处理操作包含:偏振图像获取操作。In combination with the fifth aspect above, in a possible implementation manner, the first feature information indicates that the ambient light intensity is greater than or equal to a preset value and indicates to obtain the second polarized image, and the polarized light illumination operation includes: no illumination, polarized image acquisition mode Including: single-frame polarization image synchronous acquisition operation, polarization image processing operation includes: polarization image acquisition operation.
结合上述第五方面,在一种可能的实现方式中,第一特征信息表征环境光强度大于或等于预设值以及指示获取定性偏振信息,偏振光照明操作包含:无照明,偏振图 像采集方式包含:单帧偏振图像同步采集操作,偏振图像处理操作包含:定性偏振信息获取操作。In combination with the fifth aspect above, in a possible implementation manner, the first feature information indicates that the ambient light intensity is greater than or equal to a preset value and indicates the acquisition of qualitative polarization information. The polarized light illumination operation includes: no illumination, and the polarized image acquisition method includes : Synchronous acquisition operation of single frame polarization image, polarization image processing operation includes: qualitative polarization information acquisition operation.
结合上述第五方面,在一种可能的实现方式中,第一特征信息表征环境光强度大于或等于预设值以及指示获取定量偏振信息,偏振光照明操作包含:多偏振光源非同步照明,偏振图像采集方式包含:多帧偏振图像非同步采集操作,偏振图像处理操作包含:定量偏振信息获取操作。In combination with the fifth aspect above, in a possible implementation manner, the first characteristic information indicates that the ambient light intensity is greater than or equal to a preset value and indicates to obtain quantitative polarization information, and the polarized light illumination operation includes: asynchronous illumination of multiple polarized light sources, polarization The image acquisition method includes: multi-frame polarization image asynchronous acquisition operation, and the polarization image processing operation includes: quantitative polarization information acquisition operation.
需要说明的是,在第五方面所记载的图像处理装置与上述第三方面所记载的照明装置上下述第四方面所记载的图像采集装置集成设置的情况下,照明装置与图像采集装置,图像处理装置可以共用至少一个处理器,由该至少一个处理器执行照明装置、图像采集装置、以及图像处理装置中的处理操作。It should be noted that, when the image processing device described in the fifth aspect and the lighting device described in the third aspect above are integrated with the image acquisition device described in the fourth aspect below, the lighting device and the image acquisition device, the image The processing devices may share at least one processor, and the at least one processor executes the processing operations in the lighting device, the image acquisition device, and the image processing device.
第六方面,本申请提供了一种计算机可读存储介质,计算机可读存储介质包括计算机程序或指令,当该计算机程序或指令在计算机上运行时,使得计算机执行如第一方面和第一方面的任一种可能的实现方式中所描述的方法。In a sixth aspect, the present application provides a computer-readable storage medium, the computer-readable storage medium includes a computer program or an instruction, and when the computer program or instruction is run on a computer, the computer executes the computer according to the first aspect and the first aspect. The methods described in any one of the possible implementations of .
第七方面,本申请提供一种包含指令的计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行如第一方面和第一方面的任一种可能的实现方式中所描述的方法。In a seventh aspect, the present application provides a computer program product containing instructions. When the computer program product is run on a computer, the computer executes the method described in the first aspect and any possible implementation of the first aspect. method.
应当理解的是,本申请中对技术特征、技术方案、有益效果或类似语言的描述并不是暗示在任意的单个实施例中可以实现所有的特点和优点。相反,可以理解的是对于特征或有益效果的描述意味着在至少一个实施例中包括特定的技术特征、技术方案或有益效果。因此,本说明书中对于技术特征、技术方案或有益效果的描述并不一定是指相同的实施例。进而,还可以任何适当的方式组合本实施例中所描述的技术特征、技术方案和有益效果。本领域技术人员将会理解,无需特定实施例的一个或多个特定的技术特征、技术方案或有益效果即可实现实施例。在其他实施例中,还可在没有体现所有实施例的特定实施例中识别出额外的技术特征和有益效果。It should be understood that descriptions of technical features, technical solutions, beneficial effects or similar language in this application do not imply that all features and advantages can be realized in any single embodiment. On the contrary, it can be understood that the description of features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one embodiment. Therefore, descriptions of technical features, technical solutions or beneficial effects in this specification do not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in this embodiment may also be combined in any appropriate manner. Those skilled in the art will understand that the embodiments can be implemented without one or more specific technical features, technical solutions or advantageous effects of the specific embodiments. In other embodiments, additional technical features and beneficial effects may also be identified in certain embodiments that do not embody all embodiments.
图1为本申请实施例提供的一种车辆的功能框图;FIG. 1 is a functional block diagram of a vehicle provided in an embodiment of the present application;
图2为本申请实施例提供的一种图像处理系统的系统架构图;FIG. 2 is a system architecture diagram of an image processing system provided by an embodiment of the present application;
图3为本申请实施例提供的一种照明装置的示意图;Fig. 3 is a schematic diagram of a lighting device provided by an embodiment of the present application;
图4为本申请实施例提供的一种图像处理方法的流程示意图;FIG. 4 is a schematic flow diagram of an image processing method provided in an embodiment of the present application;
图5为本申请实施例提供的另一种图像处理法的流程示意图;Fig. 5 is a schematic flow chart of another image processing method provided by the embodiment of the present application;
图6a-图6d为本申请实施例提供的一种不同偏振方向的偏振图像的对比示意图;Figures 6a-6d are schematic diagrams of a comparison of polarization images with different polarization directions provided by the embodiment of the present application;
图7a和图7b为本申请实施例提供的一种可见光图像和偏振度图像的对比示意图;Figure 7a and Figure 7b are schematic diagrams comparing a visible light image and a polarization degree image provided by the embodiment of the present application;
图8a和图8b为本申请实施例提供的一种可见光图像和偏振角图像的对比示意图;Figure 8a and Figure 8b are schematic diagrams comparing a visible light image and a polarization angle image provided by the embodiment of the present application;
图9为本申请实施例提供的一种处理装置的结构示意图;FIG. 9 is a schematic structural diagram of a processing device provided in an embodiment of the present application;
图10为本申请实施例提供的一种处理装置的硬件结构示意图;FIG. 10 is a schematic diagram of a hardware structure of a processing device provided in an embodiment of the present application;
图11为本申请实施例提供的另一种处理装置的硬件结构示意图。FIG. 11 is a schematic diagram of a hardware structure of another processing device provided by an embodiment of the present application.
在本申请的描述中,除非另有说明,“/”表示“或”的意思,例如,A/B可以表示A或B。本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三 种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。此外,“至少一个”是指一个或多个,“多个”是指两个或两个以上。“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。In the description of the present application, unless otherwise specified, "/" means "or", for example, A/B may mean A or B. The "and/or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B, which can mean: A exists alone, A and B exist at the same time, and B exists alone These three situations. In addition, "at least one" means one or more, and "plurality" means two or more. Words such as "first" and "second" do not limit the number and order of execution, and words such as "first" and "second" do not necessarily limit the difference.
需要说明的是,本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in this application, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design described herein as "exemplary" or "for example" is not to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
为了使得本申请更加的清楚,以下将对本申请涉及到的部分概念做简单介绍。In order to make this application more clear, some concepts involved in this application will be briefly introduced below.
1、偏振1. Polarization
偏振是指在横波在传播过程中发生振动且振动方向与波的传播方向垂直的振动现象。偏振是横波的特性,纵波不发生偏振。Polarization refers to the vibration phenomenon that the transverse wave vibrates during its propagation and the vibration direction is perpendicular to the wave propagation direction. Polarization is a property of transverse waves, longitudinal waves are not polarized.
由于光也是一种横波,因此,在传播过程中,光同样会出现偏振现象。不同材质的物品在被光照射后能够反射不同偏振态(偏振态可以是偏振度,偏振角等偏振特性,在本申请中以偏振态为偏振度为例进行说明)的光。且同一个材质被不同偏振态的光照射后反射的光的偏振态也可能不同。Since light is also a transverse wave, it will also be polarized during propagation. Items of different materials can reflect light of different polarization states after being irradiated by light (the polarization state can be polarization characteristics such as degree of polarization, polarization angle, etc., and in this application, the polarization state is taken as the degree of polarization as an example for illustration). And the polarization state of the reflected light after the same material is illuminated by light with different polarization states may also be different.
基于不同物体反射光的偏振态不同这一特性,可以通过检测物体反射光的偏振态,区分不同材质的物体。能够解决可见光下异物同谱(某一个谱段区间,不同类型的物体呈现出相同的光谱特征)导致的相似物体难以识别的问题。Based on the characteristic of different polarization states of reflected light from different objects, objects of different materials can be distinguished by detecting the polarization state of reflected light from objects. It can solve the problem that similar objects are difficult to identify caused by different objects with the same spectrum under visible light (a certain spectral range, different types of objects present the same spectral characteristics).
2、定量偏振信息2. Quantitative polarization information
定量偏振信息是指的物体本身所具有的偏振信息,是一种固定的不随物体所处环境的变化而发生变化的偏振信息。常用于表征物体的定量偏振信息的参数为穆勒矩阵。确定物体的穆勒矩阵之后,可以通过查表法确定该物体的材质。Quantitative polarization information refers to the polarization information of the object itself, which is a fixed polarization information that does not change with the change of the environment where the object is located. The parameter commonly used to characterize the quantitative polarization information of an object is the Mueller matrix. After the Mueller matrix of the object is determined, the material of the object can be determined by the look-up table method.
查表法指的是,预先配置不同材质的物体与其对应的穆勒矩阵。这样在确定物体的穆勒矩阵之后,可以根据该穆勒矩阵查询该穆勒矩阵对应的物体的材质。The look-up table method refers to pre-configuring objects of different materials and their corresponding Mueller matrices. In this way, after the Mueller matrix of the object is determined, the material of the object corresponding to the Mueller matrix can be queried according to the Mueller matrix.
3、定性偏振信息3. Qualitative polarization information
定性偏振信息指的是物体在其当前所处的环境中所表现出的偏振信息。定性偏振信息可能随着物体所处环境(光强、光的照射方向,照射光的偏振信息等)的变化而变化。Qualitative polarization information refers to the polarization information exhibited by an object in its current environment. Qualitative polarization information may change with changes in the environment of the object (light intensity, light irradiation direction, polarization information of the irradiated light, etc.).
定性偏振信息通常包括以下至少一项:斯托克斯矢量(stokes矢量)、偏振度、或者偏振角。Qualitative polarization information usually includes at least one of the following: Stokes vector (stokes vector), degree of polarization, or angle of polarization.
4、像素级镀膜偏振传感器4. Pixel-level coated polarization sensor
在图像采集装置的传感器上镀上不同偏振方向的偏振片之后,可能得到不同偏振角度调制的偏振图像,在镀上RGB滤光层之后,可以得到彩色的偏振图像。After coating polarizers with different polarization directions on the sensor of the image acquisition device, it is possible to obtain polarization images modulated by different polarization angles, and after coating RGB filter layers, it is possible to obtain colored polarization images.
以下,对像素级镀膜偏振传感器的工作原理进行介绍:The following is an introduction to the working principle of the pixel-level coated polarization sensor:
像素级镀膜传感器采集到的图像中,每四个(数量不做限定,也可以是多个)相邻像素之间的偏振态不同,一种示例,四个相邻像素的偏振度分别为:0°,45°,90°,135°。这样,在图像采集装置采集到一张图像之后,将该张图像中具有相同偏振态的像素提取出来,从而可以得到该图像的一个偏振态下的图像。采用同样的方法, 图像采集装置可以获得目标的4个偏振态的图像。In the image collected by the pixel-level coating sensor, the polarization states between every four (the number is not limited, and can be multiple) adjacent pixels are different. In one example, the polarization degrees of the four adjacent pixels are: 0°, 45°, 90°, 135°. In this way, after an image is captured by the image acquisition device, pixels with the same polarization state in the image are extracted, so that an image in one polarization state of the image can be obtained. Using the same method, the image acquisition device can obtain images of the 4 polarization states of the target.
以上是对本申请涉及到的部分内容以及概念所作的简单介绍。The above is a brief introduction to some of the contents and concepts involved in this application.
以下,对本申请实施例的应用场景进行简要介绍。Hereinafter, the application scenarios of the embodiments of the present application are briefly introduced.
本申请实施例提供了一种图像处理方法及装置,应用于终端设备中,用于确定至少一个目标设备的偏振信息。Embodiments of the present application provide an image processing method and device, which are applied to a terminal device and used to determine polarization information of at least one target device.
终端设备还可以称为用户设备(user equipment,UE)、终端、接入终端、用户单元、用户站、移动站、远方站、远程终端、移动设备、用户终端、无线通信设备、用户代理或用户装置。终端设备可以是车联网(vehicle to everything,V2X)设备,例如,智能汽车(smart car或intelligent car)、数字汽车(digital car)、无人汽车(unmanned car或driverless car或pilotless car或automobile)、自动汽车(self-driving car或autonomous car)、纯电动汽车(pure EV或Battery EV)、混合动力汽车(hybrid electric vehicle,HEV)、增程式电动汽车(range extended EV,REEV)、插电式混合动力汽车(plug-in HEV,PHEV)、新能源汽车(new energy vehicle)等。终端设备也可以是设备到设备(device to device,D2D)设备。终端设备还可以是移动站(mobile station,MS)、用户单元(subscriber unit)、无人机、物联网(internet of things,IoT)设备、WLAN中的站点(station,ST)、蜂窝电话(cellular phone)、智能电话(smart phone)、无绳电话、无线数据卡、平板型电脑、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字处理(personal digital assistant,PDA)设备、膝上型电脑(laptop computer)、机器类型通信(machine type communication,MTC)终端、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备(也可以称为穿戴式智能设备)。A terminal device may also be referred to as user equipment (UE), terminal, access terminal, subscriber unit, subscriber station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless communication device, user agent, or user device. The terminal device can be a vehicle to everything (V2X) device, for example, a smart car (smart car or intelligent car), a digital car (digital car), an unmanned car (unmanned car or driverless car or pilotless car or automobile), Automatic car (self-driving car or autonomous car), pure electric vehicle (pure EV or Battery EV), hybrid electric vehicle (hybrid electric vehicle, HEV), range extended electric vehicle (range extended EV, REEV), plug-in hybrid Power vehicle (plug-in HEV, PHEV), new energy vehicle (new energy vehicle), etc. The terminal device may also be a device to device (device to device, D2D) device. The terminal device can also be a mobile station (mobile station, MS), a subscriber unit (subscriber unit), a drone, an Internet of things (internet of things, IoT) device, a station (station, ST) in a WLAN, a cellular phone (cellular phone), smart phone (smart phone), cordless phone, wireless data card, tablet computer, session initiation protocol (session initiation protocol, SIP) phone, wireless local loop (wireless local loop, WLL) station, personal digital processing ( Personal digital assistant (PDA) equipment, laptop computer (laptop computer), machine type communication (machine type communication, MTC) terminal, handheld device with wireless communication function, computing device or other processing equipment connected to a wireless modem, vehicle devices, wearable devices (also known as wearable smart devices).
在本申请实施例中,以终端设备为车辆为例进行说明。In the embodiment of the present application, the description is made by taking the terminal device as a vehicle as an example.
图1为本申请实施例提供的车辆100的功能框图,该车辆100可以是智能车辆。在一个实施例中,车辆100根据第一特征信息,确定第一照明方式以及第一采集方式,并根据第一照明方式提供照明,以及根据第一采集方式采集至少一个目标的第一偏振图像,车辆100根据第一图像处理方式处理第一偏振图像,确定至少一个目标的偏振信息。车辆100根据至少一个目标的偏振信息确定车辆周围环境,为车辆的自动驾驶提供依据。FIG. 1 is a functional block diagram of a vehicle 100 provided by an embodiment of the present application, and the vehicle 100 may be a smart vehicle. In one embodiment, the vehicle 100 determines a first lighting mode and a first acquisition mode according to the first feature information, provides illumination according to the first lighting mode, and collects a first polarized image of at least one target according to the first acquisition mode, The vehicle 100 processes the first polarization image according to the first image processing manner, and determines the polarization information of at least one target. The vehicle 100 determines the surrounding environment of the vehicle according to the polarization information of at least one target, so as to provide a basis for the automatic driving of the vehicle.
车辆100可包括各种子系统,例如行进系统110、传感器系统120、控制系统130、一个或多个外围设备140以及电源150、计算机系统160和用户接口170。可选地,车辆100可包括更多或更少的子系统,并且每个子系统可包括多个元件。另外,车辆100的每个子系统和元件可以通过有线或者无线互连。 Vehicle 100 may include various subsystems such as travel system 110 , sensor system 120 , control system 130 , one or more peripheral devices 140 as well as power supply 150 , computer system 160 and user interface 170 . Alternatively, vehicle 100 may include more or fewer subsystems, and each subsystem may include multiple elements. In addition, each subsystem and element of the vehicle 100 may be interconnected by wire or wirelessly.
行进系统110可包括为车辆100提供动力运动的组件。在一个实施例中,行进系统110可包括引擎111、传动装置112、能量源113和车轮114。引擎111可以是内燃引擎、电动机、空气压缩引擎或其他类型的引擎组合,例如汽油发动机和电动机组成的混动引擎,内燃引擎和空气压缩引擎组成的混动引擎。引擎111将能量源113转换成机械能量。Propulsion system 110 may include components that provide powered motion for vehicle 100 . In one embodiment, propulsion system 110 may include an engine 111 , a transmission 112 , an energy source 113 and wheels 114 . The engine 111 may be an internal combustion engine, an electric motor, an air compression engine or other types of engine combinations, such as a hybrid engine composed of a gasoline engine and an electric motor, or a hybrid engine composed of an internal combustion engine and an air compression engine. The engine 111 converts the energy source 113 into mechanical energy.
能量源113的示例包括汽油、柴油、其他基于石油的燃料、丙烷、其他基于压缩气体的燃料、乙醇、太阳能电池板、电池和其他电力来源。能量源113也可以为车辆 100的其他系统提供能量。Examples of energy source 113 include gasoline, diesel, other petroleum-based fuels, propane, other compressed gas-based fuels, ethanol, solar panels, batteries, and other sources of electrical power. Energy source 113 may also provide energy to other systems of vehicle 100.
传动装置112可以将来自引擎111的机械动力传送到车轮114。传动装置112可包括变速箱、差速器和驱动轴。在一个实施例中,传动装置112还可以包括其他器件,比如离合器。其中,驱动轴可包括可耦合到一个或多个车轮114的一个或多个轴。Transmission 112 may transmit mechanical power from engine 111 to wheels 114 . Transmission 112 may include a gearbox, a differential, and a drive shaft. In one embodiment, the transmission 112 may also include other devices, such as clutches. Among other things, drive shafts may include one or more axles that may be coupled to one or more wheels 114 .
传感器系统120可包括感测关于车辆100周边的环境的信息的若干个传感器。例如,传感器系统120可包括定位系统121(定位系统可以是全球定位系统(global positioning system,GPS),也可以是北斗系统或者其他定位系统)、惯性测量单元(inertial measurement unit,IMU)122、雷达123、激光雷达124以及相机125。传感器系统120还可包括监视车辆100的内部系统的传感器(例如,车内空气质量监测器、燃油量表、机油温度表等)。来自这些传感器中的一个或多个的传感器数据可用于检测对象及其相应特性(位置、形状、方向、速度等)。这种检测和识别是车辆100自动驾驶的安全操作的关键功能。The sensor system 120 may include several sensors that sense information about the environment around the vehicle 100 . For example, the sensor system 120 may include a positioning system 121 (the positioning system may be a global positioning system (global positioning system, GPS), or a Beidou system or other positioning systems), an inertial measurement unit (inertial measurement unit, IMU) 122, a radar 123 , a laser radar 124 and a camera 125 . The sensor system 120 may also include sensors that monitor the interior systems of the vehicle 100 (eg, an interior air quality monitor, fuel gauge, oil temperature gauge, etc.). Sensor data from one or more of these sensors can be used to detect objects and their corresponding properties (position, shape, orientation, velocity, etc.). Such detection and identification is a critical function for the safe operation of autonomous driving of the vehicle 100 .
定位系统121可用于估计车辆100的地理位置。IMU 122用于基于惯性加速度来感测车辆100的位置和朝向变化。在一个实施例中,IMU 122可以是加速度计和陀螺仪的组合。The positioning system 121 may be used to estimate the geographic location of the vehicle 100 . The IMU 122 is used to sense changes in position and orientation of the vehicle 100 based on inertial acceleration. In one embodiment, IMU 122 may be a combination accelerometer and gyroscope.
雷达123可利用无线电信号来感测车辆100的周边环境内的物体。在一些实施例中,除了感测物体以外,雷达123还可用于感测物体的速度和/或前进方向。The radar 123 may utilize radio signals to sense objects within the surrounding environment of the vehicle 100 . In some embodiments, in addition to sensing objects, radar 123 may be used to sense the velocity and/or heading of an object.
激光雷达124可利用激光来感测车辆100所位于的环境中的物体。在一些实施例中,激光雷达124可包括一个或多个激光源、激光扫描器以及一个或多个检测器,以及其他系统组件。Lidar 124 may utilize laser light to sense objects in the environment in which vehicle 100 is located. In some embodiments, lidar 124 may include one or more laser sources, a laser scanner, and one or more detectors, among other system components.
相机125可用于捕捉车辆100的周边环境的多个图像,以及车辆驾驶舱内的多个图像。相机125可以是静态相机或视频相机。在本申请实施例中,相机123可以为偏振相机,能够获取目标的偏振图像。Camera 125 may be used to capture multiple images of the surrounding environment of vehicle 100 , as well as multiple images within the vehicle cabin. Camera 125 may be a still camera or a video camera. In the embodiment of the present application, the camera 123 may be a polarization camera, which can acquire a polarization image of the target.
控制系统130可控制车辆100及其组件的操作。控制系统130可包括各种元件,其中包括转向系统131、油门132、制动单元133、计算机视觉系统134、路线控制系统135以及障碍规避系统136。The control system 130 may control the operation of the vehicle 100 and its components. Control system 130 may include various elements including steering system 131 , accelerator 132 , braking unit 133 , computer vision system 134 , route control system 135 , and obstacle avoidance system 136 .
转向系统131可操作来调整车辆100的前进方向。例如在一个实施例中可以为方向盘系统。The steering system 131 is operable to adjust the heading of the vehicle 100 . For example in one embodiment it could be a steering wheel system.
油门132用于控制引擎111的操作速度并进而控制车辆100的速度。The throttle 132 is used to control the operating speed of the engine 111 and thus the speed of the vehicle 100 .
制动单元133用于控制车辆100减速。制动单元133可使用摩擦力来减慢车轮114。在其他实施例中,制动单元133可将车轮114的动能转换为电流。制动单元133也可采取其他形式来减慢车轮114转速从而控制车辆100的速度。The braking unit 133 is used to control the deceleration of the vehicle 100 . The braking unit 133 may use friction to slow the wheels 114 . In other embodiments, the brake unit 133 can convert the kinetic energy of the wheel 114 into electric current. The braking unit 133 may also take other forms to slow down the wheels 114 to control the speed of the vehicle 100 .
计算机视觉系统134可以操作来处理和分析由相机125捕捉的图像以便识别车辆100周边环境中的物体和/或特征以及车辆驾驶舱内的驾驶员的肢体特征和面部特征。物体和/或特征可包括交通信号、道路状况和障碍物,驾驶员的肢体特征和面部特征包括驾驶员的行为、视线、表情等。计算机视觉系统134可使用物体识别算法、运动中恢复结构(structure from motion,SFM)算法、视频跟踪和其他计算机视觉技术。在一些实施例中,计算机视觉系统134可以用于为环境绘制地图、跟踪物体、估计物体的速度、确定驾驶员行为、人脸识别等等。Computer vision system 134 is operable to process and analyze images captured by camera 125 to identify objects and/or features in the environment surrounding vehicle 100 as well as physical and facial features of a driver within the vehicle cabin. Objects and/or features may include traffic signals, road conditions, and obstacles, and driver's physical features and facial features include driver's behavior, gaze, expression, etc. The computer vision system 134 may use object recognition algorithms, structure from motion (SFM) algorithms, video tracking, and other computer vision techniques. In some embodiments, the computer vision system 134 may be used to map the environment, track objects, estimate the speed of objects, determine driver behavior, face recognition, and the like.
路线控制系统135用于确定车辆100的行驶路线。在一些实施例中,路线控制系统135可结合来自传感器、定位系统121和一个或多个预定地图的数据以为车辆100确定行驶路线。The route control system 135 is used to determine the travel route of the vehicle 100 . In some embodiments, route control system 135 may combine data from sensors, positioning system 121 , and one or more predetermined maps to determine a travel route for vehicle 100 .
障碍规避系统136用于识别、评估和避免或者以其他方式越过车辆100的环境中的潜在障碍物。The obstacle avoidance system 136 is used to identify, evaluate and avoid or otherwise overcome potential obstacles in the environment of the vehicle 100 .
当然,在一个实例中,控制系统130可以增加部分以上未示出的组件;或者采用其他组件替换上述示出的部分组件;又或者也可以减少一部分上述示出的组件。Of course, in an example, the control system 130 may add some components not shown above; or use other components to replace some of the components shown above; or may also reduce some of the components shown above.
车辆100通过外围设备140与外部传感器、其他车辆、其他计算机系统或用户之间进行交互。外围设备140可包括无线通信系统141、车载电脑142、麦克风143和/或扬声器144。 Vehicle 100 interacts with external sensors, other vehicles, other computer systems, or users through peripherals 140 . Peripherals 140 may include wireless communication system 141 , on-board computer 142 , microphone 143 and/or speaker 144 .
在一些实施例中,外围设备140提供车辆100的用户与用户接口170交互的手段。例如,车载电脑142可向车辆100的用户提供信息。用户接口170还可操作车载电脑142来接收用户的输入。车载电脑142可以通过触摸屏进行操作。在其他情况中,外围设备140可提供用于车辆100与位于车内的其它设备通信的手段。例如,麦克风143可从车辆100的用户接收音频(例如,语音命令或其他音频输入)。类似地,扬声器144可向车辆100的用户输出音频。In some embodiments, peripheral device 140 provides a means for a user of vehicle 100 to interact with user interface 170 . For example, on-board computer 142 may provide information to a user of vehicle 100 . The user interface 170 may also operate the on-board computer 142 to receive user input. The on-board computer 142 can be operated through a touch screen. In other cases, peripheral device 140 may provide a means for vehicle 100 to communicate with other devices located within the vehicle. For example, microphone 143 may receive audio (eg, voice commands or other audio input) from a user of vehicle 100 . Similarly, speaker 144 may output audio to a user of vehicle 100 .
无线通信系统141可以直接地或者经由通信网络来与一个或多个设备无线通信。例如,无线通信系统141可使用3G蜂窝通信,例如CDMA、EVD0、GSM/GPRS,或者使用4G蜂窝通信,例如LTE,或者使用5G蜂窝通信。无线通信系统141可利用WiFi与无线局域网(wireless local area network,WLAN)通信。在一些实施例中,无线通信系统141可利用红外链路、蓝牙或ZigBee与设备直接通信。无线通信系统141还可以利用其他无线协议与设备通信。例如各种车辆通信系统。无线通信系统141可包括一个或多个专用短程通信(dedicated short range communications,DSRC)设备。The wireless communication system 141 may communicate wirelessly with one or more devices, either directly or via a communication network. For example, the wireless communication system 141 may use 3G cellular communications, such as CDMA, EVDO, GSM/GPRS, or 4G cellular communications, such as LTE, or 5G cellular communications. The wireless communication system 141 can use WiFi to communicate with a wireless local area network (wireless local area network, WLAN). In some embodiments, the wireless communication system 141 may communicate directly with the device using an infrared link, Bluetooth, or ZigBee. Wireless communication system 141 may also utilize other wireless protocols to communicate with devices. For example, various vehicle communication systems. The wireless communication system 141 may include one or more dedicated short range communications (DSRC) devices.
电源150可向车辆100的各种组件提供电力。在一个实施例中,电源150可以为可再充电锂离子或铅酸电池。这种电池的一个或多个电池组可被配置为电源,从而为车辆100的各种组件提供电力。在一些实施例中,电源150和能量源113可一起实现,例如新能源车辆中的纯电动车辆或者油电混动车辆等。The power supply 150 may provide power to various components of the vehicle 100 . In one embodiment, the power source 150 may be a rechargeable lithium ion or lead acid battery. One or more packs of such batteries may be configured as a power source to provide power to various components of the vehicle 100 . In some embodiments, the power source 150 and the energy source 113 can be implemented together, such as a pure electric vehicle or a gasoline-electric hybrid vehicle among new energy vehicles.
车辆100的部分或所有功能受计算机系统160控制。计算机系统160可包括至少一个处理器161,处理器161执行存储在例如数据存储装置162这样的非暂态计算机可读介质中的指令1621。计算机系统160还可以是采用分布式方式控制车辆100的个体组件或子系统的多个计算设备。Some or all functions of the vehicle 100 are controlled by the computer system 160 . Computer system 160 may include at least one processor 161 executing instructions 1621 stored in a non-transitory computer-readable medium such as data storage device 162 . Computer system 160 may also be a plurality of computing devices that control individual components or subsystems of vehicle 100 in a distributed manner.
处理器161可以是任何常规的处理器,诸如商业可获得的中央处理单元(central processing unit,CPU)。替选地,该处理器可以是诸如专用集成电路(application specific integrated circuit,ASIC)或其它基于硬件的处理器的专用设备。尽管图1功能性地图示了处理器、存储器、和在相同物理外壳中的其它元件,但是本领域的普通技术人员应该理解该处理器、计算机系统、或存储器实际上可以包括可以存储在相同的物理外壳内的多个处理器、计算机系统、或存储器,或者包括可以不存储在相同的物理外壳内的多个处理器、计算机系统、或存储器。例如,存储器可以是硬盘驱动器,或位于不同于物理外壳内的其它存储介质。因此,对处理器或计算机系统的引用将被理解为 包括对可以并行操作的处理器或计算机系统或存储器的集合的引用,或者可以不并行操作的处理器或计算机系统或存储器的集合的引用。不同于使用单一的处理器来执行此处所描述的步骤,诸如转向组件和减速组件的一些组件每个都可以具有其自己的处理器,处理器只执行与特定于组件的功能相关的计算。Processor 161 may be any conventional processor, such as a commercially available central processing unit (central processing unit, CPU). Alternatively, the processor may be a dedicated device such as an application specific integrated circuit (ASIC) or other hardware-based processor. Although FIG. 1 functionally illustrates a processor, memory, and other elements in the same physical enclosure, those of ordinary skill in the art will appreciate that the processor, computer system, or memory may actually include Multiple processors, computer systems, or memories within a physical enclosure, or including multiple processors, computer systems, or memories that may not be stored within the same physical enclosure. For example, memory may be a hard drive, or other storage medium located in a different physical enclosure. Accordingly, a reference to a processor or a computer system will be understood to include references to a collection of processors or computer systems or memories that may operate in parallel, or a collection of processors or computer systems or memory that may not operate in parallel. Rather than using a single processor to perform the steps described herein, some components, such as the steering and deceleration components, may each have their own processor that only performs calculations related to component-specific functions.
在此处所描述的各个方面中,处理器可以位于远离该车辆并且与该车辆进行无线通信的设备中。在其它方面中,此处所描述的过程中的一些在布置于车辆内的处理器上执行而其它则由远程处理器执行,包括采取执行单一操纵的必要步骤。In various aspects described herein, the processor may be located in a device remote from the vehicle and in wireless communication with the vehicle. In other aspects, some of the processes described herein are executed on a processor disposed within the vehicle while others are executed by a remote processor, including taking the necessary steps to perform a single maneuver.
在一些实施例中,数据存储装置162可包含指令1621(例如,程序逻辑),指令1621可被处理器161执行来执行车辆100的各种功能,包括以上描述的全部或者部分功能。数据存储装置162也可包含额外的指令,包括向行进系统110、传感器系统120、控制系统130和外围设备140中的一个或多个发送数据、从其接收数据、与其交互和/或对其进行控制的指令。In some embodiments, the data storage device 162 may contain instructions 1621 (eg, program logic) executable by the processor 161 to perform various functions of the vehicle 100 , including all or part of the functions described above. Data storage 162 may also contain additional instructions, including sending data to, receiving data from, interacting with, and/or performing operations on, one or more of travel system 110 , sensor system 120 , control system 130 , and peripherals 140 . control instructions.
除了指令1621以外,数据存储装置162还可存储数据,例如道路地图、路线信息,车辆的位置、方向、速度以及其它这样的车辆数据,以及其他信息。这种信息可在车辆100在自主、半自主和/或手动模式中操作期间被车辆100和计算机系统160使用。In addition to instructions 1621, data storage device 162 may also store data such as road maps, route information, the vehicle's position, direction, speed, and other such vehicle data, among other information. Such information may be used by the vehicle 100 and the computer system 160 during operation of the vehicle 100 in autonomous, semi-autonomous, and/or manual modes.
比如,在一种可能的实施例中,数据存储装置162可以获取车辆基于传感器系统120中的传感器获取到的周围环境中的障碍物信息,例如其他车辆、道路边沿,以及绿化带等障碍物的位置,障碍物与车辆的距离以及障碍物之间的距离等信息。数据存储装置162还可以从传感器系统120或车辆100的其他组件获取环境信息,环境信息例如可以为车辆当前所处环境附近是否有绿化带、车道、行人等,或者车辆通过机器学习算法计算当前所处环境附近是否存在绿化带、行人等。除上述内容外,数据存储装置162还可以存储该车辆自身的状态信息,以及与该车辆有交互的其他车辆的状态信息,其中,车辆的状态信息包括但不限于车辆的位置、速度、加速度、航向角等。如此,处理器161可从数据存储装置162获取这些信息,并基于车辆所处环境的环境信息、车辆自身的状态信息、其他车辆的状态信息等确定车辆的可通行区域,并基于该可通行区域确定最终的驾驶策略,以控制车辆100自动驾驶。For example, in a possible embodiment, the data storage device 162 can acquire obstacle information in the surrounding environment obtained by the vehicle based on the sensors in the sensor system 120, such as other vehicles, road edges, and obstacles such as green belts. Information such as the position, the distance between the obstacle and the vehicle, and the distance between obstacles. The data storage device 162 can also obtain environmental information from the sensor system 120 or other components of the vehicle 100. The environmental information can be, for example, whether there are green belts, lanes, pedestrians, etc. near the environment where the vehicle is currently located, or the vehicle calculates the current location through a machine learning algorithm. Whether there are green belts, pedestrians, etc. near the environment. In addition to the above content, the data storage device 162 can also store the state information of the vehicle itself and the state information of other vehicles interacting with the vehicle, wherein the state information of the vehicle includes but not limited to the position, speed, acceleration, heading angle etc. In this way, the processor 161 can obtain these information from the data storage device 162, and determine the passable area of the vehicle based on the environmental information of the environment where the vehicle is located, the state information of the vehicle itself, the state information of other vehicles, etc., and based on the passable area A final driving strategy is determined to control the automatic driving of the vehicle 100 .
用户接口170,用于向车辆100的用户提供信息或从其接收信息。可选地,用户接口170可与外围设备140的集合内的一个或多个输入/输出设备进行交互,例如无线通信系统141、车载电脑142、麦克风143和扬声器144中的一个或多个。A user interface 170 for providing information to or receiving information from a user of the vehicle 100 . Optionally, user interface 170 may interact with one or more input/output devices within set of peripheral devices 140 , such as one or more of wireless communication system 141 , onboard computer 142 , microphone 143 , and speaker 144 .
计算机系统160可基于从各种子系统(例如,行进系统110、传感器系统120和控制系统130)获取的信息以及从用户接口170接收的信息来控制车辆100。例如,计算机系统160可根据来自控制系统130的信息,控制转向系统131更改车辆前进方向,从而规避由传感器系统120和障碍规避系统136检测到的障碍物。在一些实施例中,计算机系统160可对车辆100及其子系统的许多方面进行控制。Computer system 160 may control vehicle 100 based on information obtained from various subsystems (eg, travel system 110 , sensor system 120 , and control system 130 ) and information received from user interface 170 . For example, computer system 160 may, based on information from control system 130 , control steering system 131 to change the vehicle's heading to avoid obstacles detected by sensor system 120 and obstacle avoidance system 136 . In some embodiments, computer system 160 may control many aspects of vehicle 100 and its subsystems.
可选地,上述这些组件中的一个或多个可与车辆100分开安装或关联。例如,数据存储装置162可以部分或完全地与车辆100分开存在。上述组件可以通过有线和/或无线的方式耦合在一起进行通信。Optionally, one or more of these components described above may be installed separately from or associated with the vehicle 100 . For example, data storage device 162 may exist partially or completely separate from vehicle 100 . The above components may be coupled together in a wired and/or wireless manner for communication.
可选地,上述组件只是一个示例,实际应用中,上述各个模块中的组件有可能根据实际需要增添或者删除,图1不应理解为对本申请实施例的限制。Optionally, the above-mentioned components are just an example. In practical applications, components in the above-mentioned modules may be added or deleted according to actual needs. FIG. 1 should not be construed as limiting the embodiment of the present application.
在道路行进的自动驾驶汽车,如上面的车辆100,可以根据其周围环境内的其他车辆以确定对当前速度的调整指令。其中,车辆100周围环境内的物体可以是交通控制设备、或者绿化带等其它类型的物体。在一些示例中,可以独立地考虑周围环境内的每个物体,并且基于物体的各自的特性,诸如它的当前速度、加速度、与车辆的间距等,来确定车辆100的速度调整指令。An autonomous vehicle traveling on a road, such as the vehicle 100 above, can determine an adjustment instruction for the current speed according to other vehicles in its surrounding environment. Wherein, the objects in the surrounding environment of the vehicle 100 may be other types of objects such as traffic control equipment or green belts. In some examples, each object within the surrounding environment may be considered independently and the speed adjustment command for vehicle 100 may be determined based on the object's respective characteristics, such as its current speed, acceleration, distance to the vehicle, and the like.
可选地,作为自动驾驶汽车的车辆100或者与其相关联的计算机设备(如图1的计算机系统160、计算机视觉系统134、数据存储装置162)可以基于所识别的测量数据,得到周围环境的状态(例如,交通、雨、道路上的冰、等等),并确定在当前时刻周边环境中的障碍物与车辆的相对位置。可选地,每一障碍物所形成的可通行区域的边界依赖于彼此,因此,还可以将获取到的所有测量数据来一起确定车辆的可通行区域的边界,去除掉可通行区域中实际不可通行的区域。车辆100能够基于检测到的车辆的可通行区域来调整它的驾驶策略。换句话说,自动驾驶汽车能够基于所检测到的车辆的可通行区域来确定车辆需要调整到什么稳定状态(例如,加速、减速、转向或者停止等)。在这个过程中,也可以考虑其它因素来确定车辆100的速度调整指令,诸如,车辆100在行驶的道路中的横向位置、道路的曲率、静态和动态物体的接近度等等。Optionally, the vehicle 100 as an autonomous vehicle or its associated computer equipment (such as the computer system 160, computer vision system 134, and data storage device 162 of FIG. 1 ) can obtain the state of the surrounding environment based on the identified measurement data (for example, traffic, rain, ice on the road, etc.), and determine the relative position of the obstacle and the vehicle in the surrounding environment at the current moment. Optionally, the boundary of the passable area formed by each obstacle depends on each other. Therefore, all the acquired measurement data can also be used to determine the boundary of the passable area of the vehicle together, and the actual impassable area in the passable area is removed. passable area. The vehicle 100 is able to adjust its driving strategy based on the detected traversable area of the vehicle. In other words, the self-driving car can determine what steady state the vehicle needs to adjust to (eg, accelerate, decelerate, turn, or stop, etc.) based on the detected traversable area of the vehicle. During this process, other factors may also be considered to determine the speed adjustment command of the vehicle 100 , such as the lateral position of the vehicle 100 on the driving road, the curvature of the road, the proximity of static and dynamic objects, and so on.
除了提供调整自动驾驶汽车的速度的指令之外,计算机设备还可以提供修改车辆100的转向角的指令,以使得自动驾驶汽车遵循给定的轨迹和/或维持自动驾驶汽车与附近的物体(例如相邻车道中的轿车)的安全横向和纵向距离。In addition to providing instructions to adjust the speed of the self-driving car, the computing device may also provide instructions to modify the steering angle of the vehicle 100 such that the self-driving car follows a given trajectory and/or maintains a distance between the self-driving car and nearby objects (e.g. Cars in adjacent lanes) safe lateral and longitudinal distances.
上述车辆100可以为轿车、卡车、摩托车、公共汽车、船、飞机、直升飞机、割草机、娱乐车、游乐场车辆、施工设备、电车、高尔夫球车、火车、和手推车等,本申请实施例不做特别的限定。The above-mentioned vehicles 100 may be cars, trucks, motorcycles, buses, boats, airplanes, helicopters, lawn mowers, recreational vehicles, playground vehicles, construction equipment, trams, golf carts, trains, and trolleys, etc. The application examples are not particularly limited.
在本申请的另一些实施例中,自动驾驶车辆还可以包括硬件结构和/或软件模块,以硬件结构、软件模块、或硬件结构加软件模块的形式来实现上述各功能。上述各功能中的某个功能以硬件结构、软件模块、还是硬件结构加软件模块的方式来执行,取决于技术方案的特定应用和设计约束条件。In other embodiments of the present application, the self-driving vehicle may also include a hardware structure and/or a software module, and realize the above-mentioned functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether one of the above-mentioned functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.
又一种可能的实现方式中,如图2所示,本申请实施例提供的图像处理方法可以应用于如图2所示的图像处理系统100中,如图2所示,该图像处理系统100中包括:图像处理装置10、照明装置20,以及图像采集装置30。In yet another possible implementation, as shown in FIG. 2, the image processing method provided in the embodiment of the present application can be applied to the image processing system 100 shown in FIG. 2. As shown in FIG. 2, the image processing system 100 It includes: an image processing device 10 , an illumination device 20 , and an image acquisition device 30 .
其中,图像处理装置10,用于对本申请实施例提供的图像处理方法进行控制与管理,以及处理获取到的偏振图像,得到偏振图像的偏振信息。Wherein, the image processing device 10 is configured to control and manage the image processing method provided in the embodiment of the present application, and process the acquired polarization image to obtain polarization information of the polarization image.
照明装置20,用于为环境提供偏振光照明。照明装置20包括一个或多个偏振光源,不同的偏振光源提供相同或不同偏振态的偏振光。在本申请实施例中,照明装置20包括至少两个偏振光源,该至少两个偏振光源能够提供两种以上偏振态的偏振光,以满足图像处理装置获取目标的定量偏振信息的需求。The illuminating device 20 is used for providing polarized light illumination for the environment. The illuminating device 20 includes one or more polarized light sources, and different polarized light sources provide polarized light with the same or different polarization states. In the embodiment of the present application, the illuminating device 20 includes at least two polarized light sources, and the at least two polarized light sources can provide polarized light of more than two polarization states, so as to meet the requirement of the image processing device to acquire quantitative polarization information of the target.
一种示例,如图3所示,照明装置20包括4个偏振光源,该4个偏振光源分别提供4种不同偏振态的偏振光。As an example, as shown in FIG. 3 , the illuminating device 20 includes four polarized light sources, and the four polarized light sources respectively provide polarized light of four different polarization states.
照明装置的光源可以为发光二极管(light emitting diode,LED),或激光器。The light source of the lighting device may be a light emitting diode (light emitting diode, LED), or a laser.
照明装置提供偏振光的方法包括:使用偏振光源直接出射偏振光,使用偏振片对 非偏振光源进行滤波后得到偏振光,使用波片对非偏振光源进行滤波后得到偏振光,使用偏振片和波片共同对非偏振光源进行滤波后得到偏振光。The method for providing polarized light by the lighting device includes: using a polarized light source to directly emit polarized light, using a polarizer to filter a non-polarized light source to obtain polarized light, using a wave plate to filter a non-polarized light source to obtain polarized light, using a polarizer and a wave The plates jointly filter the unpolarized light source to obtain polarized light.
具体来说,上述4个偏振光源分别为:0°偏振光源201,45°偏振光源202,90°偏振光源203,135°偏振光源204。Specifically, the above four polarized light sources are: 0° polarized light source 201 , 45° polarized light source 202 , 90° polarized light source 203 , and 135° polarized light source 204 .
需要指出的是,上述偏振光源提供的不同偏振态的偏振光仅为示例性说明,在具体实现中,照明装置20可以包括任意数量的偏振光源,各个偏振光源可以提供任意偏振态的偏振光,本申请对此不做限定。例如,照明装置20中的4个偏振光源还可以分别为:0°偏振光,45°偏振光,90°偏振光,左旋偏振光(或者右旋偏振光)。It should be pointed out that the polarized light of different polarization states provided by the above-mentioned polarized light source is only an exemplary illustration. In a specific implementation, the lighting device 20 may include any number of polarized light sources, and each polarized light source may provide polarized light of any polarized state. This application does not limit this. For example, the four polarized light sources in the illuminating device 20 may also be: 0° polarized light, 45° polarized light, 90° polarized light, and left-handed polarized light (or right-handed polarized light).
图像采集装置30,用于采集偏振图像。图像采集装置30可以为设置包含上述像素级镀膜偏振传感器的图像采集装置。在本申请实施例中,图像采集装置30可以采集目标3种以上偏振态的偏振图像。例如,图像采集装置30采集目标4种偏振态的偏振图像。The image acquisition device 30 is configured to acquire polarization images. The image acquisition device 30 may be an image acquisition device including the above-mentioned pixel-level coated polarization sensor. In the embodiment of the present application, the image acquisition device 30 can acquire polarization images of more than three polarization states of the target. For example, the image acquisition device 30 acquires polarization images of four polarization states of the target.
需要指出的是,在本申请实施例中,图像处理装置10、图像采集装置20、照明装置30可以集成设置在同一个设备中,例如,集成设置在手机、车辆等设备中。若集成设置,三者可以共用至少一个处理器执行相应的处理操作,或者,也可以设置各自的处理器执行相应的处理操作。一种示例,在智能驾驶场景中,图像采集装置30可以包括上述车辆100中所记载的相机125。照明装置20可以包括车辆100中新增的照明装置。图像处理装置10为上述车辆100中所记载的计算机系统160;或者,更具体的,图像处理装置10可以为上述车辆100中所记载的处理器161。It should be pointed out that in the embodiment of the present application, the image processing device 10 , the image acquisition device 20 , and the lighting device 30 can be integrated into the same device, for example, integrated into mobile phones, vehicles and other devices. If integrated, the three may share at least one processor to perform corresponding processing operations, or may also set respective processors to perform corresponding processing operations. As an example, in an intelligent driving scenario, the image acquisition device 30 may include the camera 125 described in the above-mentioned vehicle 100 . The lighting device 20 may include a lighting device added to the vehicle 100 . The image processing device 10 is the computer system 160 described in the above-mentioned vehicle 100 ; or, more specifically, the image processing device 10 may be the processor 161 described in the above-mentioned vehicle 100 .
此外,图像处理装置10、图像采集装置20、照明装置30可以分开设置在不同的设备中。例如,在智能驾驶场景中,图像采集装置30为上述车辆100中所记载的相机125。照明装置20为车辆100中新增的照明装置。图像处理装置10是设置在远端的处理装置,例如,设置于路边的路测单元(road side unit,RSU);又例如,设置于远端的移动边缘计算(mobile edge computing,MEC)设备。在图像处理装置10、图像采集装置20、照明装置30分开设置的情况下,该三个装置之间可以分别设置有各自的处理器执行相应的处理操作。此时,图像采集装置20可以为智能相机,或类似的具有处理功能的图像采集装置。照明装置30可以为智能照明装置,或者类似的具有处理功能的照明装置。In addition, the image processing device 10, the image acquisition device 20, and the lighting device 30 may be separately arranged in different devices. For example, in an intelligent driving scenario, the image acquisition device 30 is the camera 125 described in the above-mentioned vehicle 100 . The lighting device 20 is a new lighting device in the vehicle 100 . The image processing device 10 is a remote processing device, for example, a road side unit (RSU) set on the roadside; another example is a mobile edge computing (MEC) device set at the far end . In the case that the image processing device 10 , the image acquisition device 20 , and the lighting device 30 are arranged separately, respective processors may be provided among the three devices to perform corresponding processing operations. At this time, the image acquisition device 20 may be a smart camera, or a similar image acquisition device with a processing function. The lighting device 30 may be an intelligent lighting device, or a similar lighting device with a processing function.
在本申请实施例中,以图像处理装置10为设置在远端的MEC,照明装置和图像采集装置设置于车辆中为例进行说明。In the embodiment of the present application, the image processing device 10 is an MEC disposed at a remote end, and the lighting device and the image acquisition device are disposed in a vehicle as an example for illustration.
在当前自动驾驶场景中,车辆需要利用可见光相机探测车辆周围环境中存在的各个目标的光强度、形状、颜色等信息。在自动驾驶场景中,目标指的是车辆周围存在的各种物体。例如,其他车辆,障碍物,车道线,路标,信号灯等需要车辆识别以辅助进行自动驾驶的物体。In the current autonomous driving scenario, the vehicle needs to use the visible light camera to detect the light intensity, shape, color and other information of each target in the surrounding environment of the vehicle. In autonomous driving scenarios, objects refer to various objects that exist around the vehicle. For example, other vehicles, obstacles, lane markings, road signs, signal lights and other objects that require vehicle recognition to assist in automatic driving.
但是,可见光相机在自动驾驶场景中的应用存在诸多限制,例如,在环境光过强的场景下,目标容易产生眩光,导致目标与周围的其他物体难以区分。However, there are many limitations in the application of visible light cameras in autonomous driving scenarios. For example, in a scene with too much ambient light, the target is prone to glare, making it difficult to distinguish the target from other surrounding objects.
在环境光太弱的场景下,目标与其周围的物体反射光强度均较弱(暗光),同样可能导致目标与周围的其他物体难以区分。In a scene where the ambient light is too weak, the reflected light intensity of the target and surrounding objects is weak (dark light), which may also cause the target to be difficult to distinguish from other surrounding objects.
此外,目标与其周围的物体还可能存在异物同谱的问题,导致即使环境光强度正 常,但是目标与其周围物体反光特性相似,导致目标与周围的其他物体难以区分。In addition, the target and its surrounding objects may also have the problem of different objects having the same spectrum. Even if the ambient light intensity is normal, the reflective characteristics of the target and its surrounding objects are similar, making it difficult to distinguish the target from other surrounding objects.
为了解决可见光相机存在的眩光、暗光、异物同谱等问题。当前提出了一种偏振光相机,偏振光相机除了能够获取可见光相机采集的图像的灰度信息,颜色信息之外,还可以采集到的目标的偏振信息。由于不同物体通常具有不同的偏振信息。因此,偏振光相机能够很好的解决眩光、暗光和异物同谱场景下,目标与周围其他物体难以区分的问题。In order to solve the problems of glare, dark light, and foreign matter in the same spectrum that exist in visible light cameras. Currently, a polarized light camera is proposed. The polarized light camera can not only obtain the grayscale information and color information of the image collected by the visible light camera, but also collect the polarization information of the target. Because different objects usually have different polarization information. Therefore, the polarized light camera can well solve the problem that the target is difficult to distinguish from other surrounding objects in the scene of glare, dark light and foreign objects with the same spectrum.
例如,在可见光强度较强或较弱时,通过确定目标物体的偏振信息,可以在强光和弱光条件下,识别出目标。在目标与其他物体颜色相近时,利用表征物体材质的偏振光可以区别出颜色相近材质不同的目标。For example, by determining the polarization information of the target object when the intensity of visible light is strong or weak, the target can be identified under strong light and low light conditions. When the color of the target is similar to that of other objects, the polarized light that characterizes the material of the object can be used to distinguish the target with similar color and different material.
当前,在自动驾驶领域中,使用偏振相机确定车辆周围目标的方法主要是被动偏振成像的方法。也即是说,偏振相机在当前环境光下采集周围环境的图像并对这些图像进行偏振处理,生成偏振图像,偏振相机向图像处理装置发送偏振图像。图像处理装置接收到图像之后,对偏振图像进行处理,提取偏振图像的偏振信息。一般来说,图像处理装置可以采用训练好的神经网络模型处理偏振图像,得到偏振图像的偏振信息;或者,还可以采用图像融合的方法,确定偏振图像的偏振信息。Currently, in the field of autonomous driving, the method of using polarization cameras to determine objects around the vehicle is mainly the method of passive polarization imaging. That is to say, the polarization camera collects images of the surrounding environment under the current ambient light and performs polarization processing on these images to generate a polarization image, and the polarization camera sends the polarization image to the image processing device. After receiving the image, the image processing device processes the polarization image to extract polarization information of the polarization image. Generally speaking, the image processing device can use a trained neural network model to process the polarization image to obtain the polarization information of the polarization image; or, it can also use an image fusion method to determine the polarization information of the polarization image.
但是,当前使用偏振相机确定目标的偏振信息时,仍存在以下问题:However, when using a polarization camera to determine the polarization information of a target, there are still the following problems:
1、偏振图像具有多种偏振信息,例如偏振调制的偏振图像,斯托克斯矢量,偏振角,偏振度,穆勒矩阵。不同的偏振信息能够表征目标的不同特性,获取偏振图像的不同偏振信息的处理方式不同。当前确定偏振图像的偏振信息时,图像处理装置直接获取偏振图像的能获取的、所有偏振信息,这将会增加图像处理装置的计算量。1. The polarization image has a variety of polarization information, such as polarization modulated polarization image, Stokes vector, polarization angle, polarization degree, Mueller matrix. Different polarization information can represent different characteristics of the target, and the processing methods of different polarization information obtained from polarization images are different. When currently determining the polarization information of the polarization image, the image processing device directly obtains all the polarization information that can be obtained from the polarization image, which will increase the calculation amount of the image processing device.
2、偏振相机只能够采集到目标在环境光下的偏振图像,基于此,图像处理装置只能够根据偏振图像确定目标的定性偏振信息。定性偏振信息仅能够用于区别目标与其所属场景中的其他物体,而不能用于确定目标的材质。2. The polarization camera can only collect the polarization image of the target under ambient light. Based on this, the image processing device can only determine the qualitative polarization information of the target according to the polarization image. Qualitative polarization information can only be used to distinguish an object from other objects in the scene it belongs to, not to determine the object's material.
3、偏振相机采集到的偏振图像在偏振片滤波后存在能量损失,在暗光场景下,成像效果较差。3. The polarization image collected by the polarization camera has energy loss after being filtered by the polarizer, and the imaging effect is poor in dark light scenes.
为了解决上述技术问题,本申请实施例提供了一种图像处理方法,图像处理装置确定能够表征场景特征以及指示目标的偏振信息的获取的第一特征信息,图像处理装置根据第一特征信息为目标所处的场景提供偏振照明,获取目标的偏振图像,并处理目标的偏振图像,确定目标的偏振信息。In order to solve the above-mentioned technical problems, an embodiment of the present application provides an image processing method. The image processing device determines the first feature information that can characterize the scene characteristics and obtain the polarization information indicating the target. The image processing device determines the target according to the first feature information. The scene in which it is located provides polarized illumination, acquires the polarization image of the target, and processes the polarization image of the target to determine the polarization information of the target.
基于此,图像处理装置可以根据目标的偏振信息的获取选择相应的图像处理方式,获取目标的偏振信息,避免了获取目标的全量偏振信息导致的图像处理装置计算量大的问题。Based on this, the image processing device can select a corresponding image processing method according to the acquisition of the polarization information of the target, and obtain the polarization information of the target, avoiding the problem of large calculation amount of the image processing device caused by obtaining the full amount of polarization information of the target.
此外,图像处理装置能够根据为目标提供的偏振光,以及采集到的目标反射的偏振光,确定目标的穆勒矩阵,进而确定目标的定量偏振信息。此外,图像处理装置还能够为目标提供照明,提高了目标在暗光场景下成像的清晰度。In addition, the image processing device can determine the Mueller matrix of the target according to the polarized light provided for the target and the collected polarized light reflected by the target, and then determine the quantitative polarization information of the target. In addition, the image processing device can also provide illumination for the target, which improves the imaging clarity of the target in dark and light scenes.
需要指出的是,本申请实施例提供的图像处理方法除了可以应用于自动驾驶场景之外,还可以应用于其他需要获取目标的偏振图像的场景,例如各种应用于图像识别的场景(如人脸识别,远程医疗等),本申请对此不做限定。It should be pointed out that the image processing method provided by the embodiment of the present application can be applied not only to the automatic driving scene, but also to other scenes that need to obtain the polarization image of the target, such as various scenes applied to image recognition (such as human Face recognition, telemedicine, etc.), this application does not limit this.
本申请实施例提供的图像处理方法可以应用于:自动驾驶场景,智能驾驶场景, 或者高级驾驶辅助系统(advanced driving assistance system,ADAS)等场景中,本申请对此不做限定。The image processing method provided in the embodiment of the present application may be applied in scenarios such as an automatic driving scene, an intelligent driving scene, or an advanced driving assistance system (advanced driving assistance system, ADAS), which is not limited in this application.
如图4所示,本申请实施例提供的图像处理方法包括以下S400-S403。下面,对进行S400-S403具体说明:As shown in FIG. 4 , the image processing method provided by the embodiment of the present application includes the following S400-S403. The following is a specific description of performing S400-S403:
S400、图像处理装置获取第一特征信息。S400. The image processing apparatus acquires first feature information.
第一特征信息用于表征场景特征以及指示至少一个目标的偏振信息的获取。第一特征信息对应于第一照明方式、第一采集方式以及第一图像处理方式。The first feature information is used to characterize scene features and to indicate acquisition of polarization information of at least one target. The first characteristic information corresponds to the first illumination mode, the first collection mode and the first image processing mode.
一种可能的实现方式中,场景特征为至少一个目标所处的环境的场景特征。例如,场景特征可以为至少一个目标所处场景的环境光强度。In a possible implementation manner, the scene feature is a scene feature of an environment where at least one target is located. For example, the scene feature may be the ambient light intensity of the scene where the at least one target is located.
至少一个目标的偏振信息的获取指的是至少一个目标的待获取的偏振信息为目标的多种偏振信息中的何种偏振信息。Acquisition of the polarization information of at least one target refers to which polarization information of the plurality of polarization information of the target is the polarization information of the at least one target to be acquired.
需要指出的是,第一特征信息可以是图像处理装置获取到场景特征,以及至少一个目标的偏振信息的获取之后生成的特征信息;也可以是其他设备生成第一特征信息后发送给图像处理装置的特征信息,本申请对此不做限定。It should be noted that the first characteristic information may be the characteristic information generated after the image processing device acquires the scene characteristics and the polarization information of at least one target; it may also be the first characteristic information generated by other devices and sent to the image processing device feature information, which is not limited in this application.
S401、图像处理装置根据第一特征信息,确定第一照明方式,第一采集方式,以及第一图像处理方式。S401. The image processing device determines a first illumination mode, a first collection mode, and a first image processing mode according to the first feature information.
其中,第一照明方式用于表征:为至少一个目标提供偏振光照明的照明方式。Wherein, the first illumination mode is used to characterize: an illumination mode that provides polarized light illumination for at least one target.
第一采集方式用于表征:通过采集根据第一照明方式进行照明后的至少一个目标的偏振图像的采集方式。The first acquisition mode is used to characterize: the acquisition mode of collecting the polarization image of at least one target illuminated according to the first illumination mode.
第一图像处理方式用于表征:处理根据第一采集方式采集到的至少一个目标的偏振图像的图像处理方式。The first image processing manner is used to characterize: an image processing manner for processing the polarization image of at least one target collected according to the first acquisition manner.
一种可能的实现方式中,图像处理装置中预先配置有第一特征信息与第一照明方式,第一采集方式以及第一图像处理方式之间的对应关系。在图像处理装置获取第一特征信息之后,图像处理装置根据该对应关系,确定相应的第一照明方式,第一采集方式,以及第一图像处理方式。In a possible implementation manner, the image processing device is pre-configured with correspondences between the first feature information and the first illumination manner, the first collection manner, and the first image processing manner. After the image processing device acquires the first feature information, the image processing device determines the corresponding first lighting mode, first collection mode, and first image processing mode according to the corresponding relationship.
S402、图像处理装置根据第一照明方式控制偏振照明,以及,根据第一采集方式,控制采集至少一个目标在第一照明方式下的第一偏振图像。S402. The image processing device controls polarized illumination according to the first illumination mode, and, according to the first collection mode, controls to collect a first polarization image of at least one target under the first illumination mode.
需要指出的是,图像处理装置控制偏振照明可以是图像处理装置控制自身进行照明,也可以是图像处理装置控制照明装置进行照明,本申请对此不做限定。It should be noted that the image processing device controlling the polarized illumination may be that the image processing device controls itself to perform illumination, or that the image processing device controls the illumination device to perform illumination, which is not limited in this application.
同样的,图像处理装置控制采集第一偏振图像可以是图像采集控制自身采集至少一个目标在第一照明方式下的第一偏振图像,也可以是图像处理装置控制图像采集装置采集至少一个目标在第一照明方式下的第一偏振图像。本申请对此不做限定。Similarly, the image processing device controlling the acquisition of the first polarization image may be that the image acquisition control itself acquires the first polarization image of at least one target under the first illumination mode, or the image processing device controls the image acquisition device to acquire at least one target in the first illumination mode. A first polarized image under an illumination mode. This application does not limit this.
S403、图像处理装置根据第一图像处理方式对第一偏振图像处理,获取至少一个目标的偏振信息。S403. The image processing device processes the first polarization image according to the first image processing manner, and acquires polarization information of at least one target.
基于上述技术方案,本申请实施例提供的图像处理方法中,图像处理装置可以根据目标的偏振信息的获取确定相应的图像处理方式,获取目标的偏振信息,避免了获取目标的全量偏振信息导致的图像处理装置计算量大的问题。Based on the above technical solution, in the image processing method provided by the embodiment of the present application, the image processing device can determine the corresponding image processing method according to the acquisition of the polarization information of the target, and acquire the polarization information of the target, avoiding the problem caused by the acquisition of the full amount of polarization information of the target. The image processing device has a large amount of calculation.
此外,图像处理装置能够根据为目标提供的偏振光,以及采集到的目标反射的偏振光,确定目标的穆勒矩阵,进而确定目标的定量偏振信息。图像处理装置还能够为 目标提供照明,提高了目标在暗光场景下成像的清晰度。In addition, the image processing device can determine the Mueller matrix of the target according to the polarized light provided for the target and the collected polarized light reflected by the target, and then determine the quantitative polarization information of the target. The image processing device can also provide illumination for the target, which improves the imaging clarity of the target in dark and light scenes.
以下,对本申请实施例所涉及到的第一特征信息,第一照明方式,第一采集方式,以及第一图像处理方式进行示例性说明:In the following, the first characteristic information, the first illumination mode, the first acquisition mode, and the first image processing mode involved in the embodiment of the present application are exemplarily described:
a)、第一特征信息中的场景特征包括环境的光强度信息。第一特征信息中的偏振信息包括以下至少一项:第二偏振图像,定性偏振信息,或者定量偏振信息。a) The scene features in the first feature information include light intensity information of the environment. The polarization information in the first feature information includes at least one of the following: a second polarization image, qualitative polarization information, or quantitative polarization information.
b)、第一照明方式属于偏振光照明方式集合,偏振光照明方式集合包括以下至少一项:多偏振光源同步照明,多偏振光源非同步照明,或者无照明。b) The first lighting mode belongs to a set of polarized lighting modes, and the set of polarized lighting modes includes at least one of the following: synchronous lighting with multiple polarized light sources, asynchronous lighting with multiple polarized light sources, or no lighting.
其中,多偏振光源同步照明为:通过多个不同偏振态的偏振光源同时提供偏振照明。多偏振光源非同步照明为:通过多个不同偏振态的偏振光源依次提供偏振照明。无照明为:不提供照明。Wherein, the multi-polarization light source synchronous illumination is: providing polarized illumination through multiple polarized light sources with different polarization states simultaneously. The asynchronous illumination of multi-polarized light sources is: sequentially provide polarized illumination through multiple polarized light sources with different polarization states. No lighting is: No lighting is provided.
需要指出的是,在本申请实施例中,多偏振光源同步照明具体可以实现为:多个偏振光源中的全部偏振光源同时提供照明,或者多个偏振光源中的部分偏振光源同时提供照明。本申请对此不做限定。It should be pointed out that, in the embodiment of the present application, synchronous illumination of multiple polarized light sources may specifically be implemented as: all of the multiple polarized light sources provide illumination at the same time, or some of the multiple polarized light sources provide illumination at the same time. This application does not limit this.
c)、第一采集方式属于偏振采集方式集合,偏振采集方式集合包括:单帧偏振图像同步采集操作,多帧偏振图像非同步采集操作。c) The first collection method belongs to a collection of polarization collection methods, and the collection of polarization collection methods includes: a synchronous collection operation of a single-frame polarization image, and an asynchronous collection operation of a multi-frame polarization image.
单帧偏振图像同步采集操作包含:通过采集至少一个目标的单张图像,从单张图像中获取多张不同偏振态的偏振图像。The synchronous acquisition operation of a single-frame polarization image includes: acquiring a plurality of polarization images of different polarization states from a single image by acquiring a single image of at least one target.
多帧偏振图像非同步采集操作包含:通过采集至少一个目标的多张图像,多张图像中的每张图像包括多张不同偏振态的偏振图像。The asynchronous acquisition operation of multiple frames of polarization images includes: acquiring multiple images of at least one target, each of the multiple images including multiple polarization images of different polarization states.
d)、第一图像处理方式属于偏振图像处理方式集合,偏振图像处理方式集合包括:偏振图像获取操作,定性偏振信息获取操作,定量偏振信息获取操作。d) The first image processing method belongs to a polarization image processing method set, and the polarization image processing method set includes: a polarization image acquisition operation, a qualitative polarization information acquisition operation, and a quantitative polarization information acquisition operation.
其中,偏振图像获取操作用于获取第二偏振图像,第二偏振图像属于第一偏振图像在不同偏振态下的偏振图像。Wherein, the polarization image acquiring operation is used to acquire a second polarization image, and the second polarization image is a polarization image of the first polarization image in a different polarization state.
定性偏振信息获取操作用于获取至少一个目标的以下至少一项偏振信息:斯托克斯矢量,偏振度,或者偏振角。The operation of acquiring qualitative polarization information is used to acquire at least one item of the following polarization information of at least one target: Stokes vector, degree of polarization, or angle of polarization.
定量偏振信息获取操作用于获取至少一个目标的穆勒矩阵。The quantitative polarization information acquisition operation is used to acquire the Mueller matrix of at least one target.
基于此,在不同的环境光强度,以及不同的偏振信息获取的情况下,图像处理装置可以确定为目标提供相应的照明方式,并在相应的照明方式下采集目标的偏振图像。图像处理装置通过处理在不同照明方式下采集的目标的偏振图像,可以获得目标所需的偏振信息。Based on this, in the case of different ambient light intensities and different polarization information acquisition conditions, the image processing device can determine to provide a corresponding illumination mode for the target, and collect a polarization image of the target under the corresponding illumination mode. The image processing device can obtain the polarization information required by the target by processing the polarization images of the target collected under different illumination modes.
一种可能的实现方式中,结合图4,如图5所示,上述S400具体可以通过以下S400a至S400c实现。In a possible implementation manner, referring to FIG. 4 , as shown in FIG. 5 , the foregoing S400 may specifically be implemented through the following S400a to S400c.
S400a、图像处理装置确定环境光强度。S400a. The image processing device determines the ambient light intensity.
一种可能的实现方式中,通过环境光探测模块探测环境的环境光强度。在图像处理装置需要确定第一特征信息时,图像处理装置向环境光探测模块发送环境光强度探测指示。环境光探测模块根据该指示探测当前至少一个目标所处环境的环境光强度。环境光探测模块确定当前至少一个目标所处环境的环境光强度之后,向图像处理装置发送该环境光强度。相应的,图像处理装置接收来自环境光探测模块的环境光强度。In a possible implementation manner, the ambient light intensity of the environment is detected by the ambient light detection module. When the image processing device needs to determine the first feature information, the image processing device sends an ambient light intensity detection instruction to the ambient light detection module. The ambient light detection module detects the current ambient light intensity of the environment where at least one target is located according to the indication. The ambient light detection module sends the ambient light intensity to the image processing device after determining the ambient light intensity of the environment where the at least one target is currently located. Correspondingly, the image processing device receives the ambient light intensity from the ambient light detection module.
又一种可能的实现方式中,通过可见光图像采集装置采集至少一个目标所处环境 的图像信息。在图像处理装置需要确定第一特征信息时,图像处理装置向可见光图像采集装置发送可见光图像采集指示。可见光图像采集装置根据该可见光图像采集指示采集当前至少一个目标所处环境的可见光图像。可见光图像采集装置向图像处理装置发送当前至少一个目标所处环境的可见光图像。相应的,图像处理装置接收来自可见光图像采集装置的可见光图像。图像采集装处理该可见光图像,确定环境光强度。In yet another possible implementation manner, the image information of the environment where at least one target is located is collected by a visible light image collection device. When the image processing device needs to determine the first feature information, the image processing device sends a visible light image collection instruction to the visible light image collection device. The visible light image acquisition device acquires a visible light image of the environment where at least one target is currently located according to the visible light image acquisition instruction. The visible light image acquisition device sends the visible light image of the current environment where at least one target is located to the image processing device. Correspondingly, the image processing device receives the visible light image from the visible light image acquisition device. The image acquisition device processes the visible light image to determine the ambient light intensity.
需要指出的是,以上仅为示例性说明图像处理装置确定环境光强度的方法,在具体实现时,图像处理装置还可以通过其他方法获取环境光强度,本申请对此不做限定。It should be pointed out that the above is only an example of how the image processing device determines the ambient light intensity. During specific implementation, the image processing device may also obtain the ambient light intensity through other methods, which is not limited in this application.
S400b、图像处理装置确定目标待获取的偏振信息。S400b. The image processing device determines the polarization information of the target to be acquired.
一种可能的实现方式中,图像处理装置中预先设置有各个场景下对应的目标的待获取的偏振信息。在图像处理装置确定获取偏振信息的场景之后,图像处理装置可以根据该场景确定待获取的偏振信息。In a possible implementation manner, the image processing device is preset with the polarization information to be acquired corresponding to the target in each scene. After the image processing device determines the scene for acquiring the polarization information, the image processing device may determine the polarization information to be acquired according to the scene.
以下,以图像处理装置确定在自动驾驶场景下获取偏振信息为例进行说明(以下场景也可以为智能驾驶场景,本申请不具体限定,这里只是示例说明):In the following, the image processing device determines to obtain polarization information in an automatic driving scene as an example (the following scenes may also be intelligent driving scenes, which are not specifically limited in this application, and are only illustrated here):
在场景为车道线检测,或驾驶员检测任务时,图像处理装置确定目标待获取的偏振信息为第二偏振图像。When the scene is lane line detection or driver detection task, the image processing device determines that the polarization information to be acquired of the target is the second polarization image.
在场景为检测周围的车辆时,图像处理装置确定目标待获取的偏振信息为定性偏振信息。When the scene is detecting surrounding vehicles, the image processing device determines that the polarization information to be acquired of the target is qualitative polarization information.
在场景为金属井盖检测时,图像处理装置确定目标待获取的偏振信息为定量偏振信息。When the scene is metal manhole cover detection, the image processing device determines that the polarization information to be acquired of the target is quantitative polarization information.
需要指出的是,本申请不对上述S400a和S400b的先后顺序进行限定。例如,图像处理装置可以首先执行S400a然后执行S400b;或者,图像处理装置可以首先执行S400b然后执行S400a;又或者,图像处理装置可以同时执行S400a和S400b。本申请对此不做限定。It should be pointed out that the present application does not limit the sequence of S400a and S400b. For example, the image processing apparatus may first execute S400a and then execute S400b; or, the image processing apparatus may first execute S400b and then execute S400a; or, the image processing apparatus may execute S400a and S400b simultaneously. This application does not limit this.
S400c、图像处理装置根据环境光强度,以及目标待获取的偏振信息,生成第一特征信息。S400c. The image processing device generates first feature information according to the ambient light intensity and the polarization information of the target to be acquired.
基于此,图像处理装置能够根据获取到的环境光强度,以及当前的场景信息,生成相应的第一特征信息。Based on this, the image processing device can generate corresponding first feature information according to the acquired ambient light intensity and current scene information.
一种可能的实现方式中,结合图4,如图5所示,上述S402具体可以通过以下S402a-S402g实现。下面,对S402a-S402g进行详细说明:In a possible implementation manner, referring to FIG. 4 , as shown in FIG. 5 , the above S402 may be specifically implemented through the following S402a-S402g. Next, describe S402a-S402g in detail:
S402a、图像处理装置根据第一照明方式生成第一指令。S402a. The image processing apparatus generates a first instruction according to the first lighting mode.
其中,第一指令用于指示第一照明方式。具体来说,第一指令用于指示第一照明方式具体为偏振光照明方式集合中的何种照明方式。Wherein, the first instruction is used to indicate the first lighting mode. Specifically, the first instruction is used to indicate which lighting method in the polarized light lighting method set the first lighting method is.
例如,第一指令用于指示第一照明方式为多偏振光源同步照明;或者,第一指令用于指示第一照明方式为多偏振光源非同步照明;又或者,第一指令用于指示第一照明方式为无照明。For example, the first instruction is used to indicate that the first lighting mode is multi-polarized light source synchronous lighting; or, the first instruction is used to indicate that the first lighting mode is multi-polarized light source asynchronous lighting; or, the first instruction is used to indicate the first The lighting mode is no lighting.
S402b、图像处理装置向照明装置发送第一指令。相应的,照明装置接收来自图像处理装置的第一指令。S402b. The image processing device sends a first instruction to the lighting device. Correspondingly, the lighting device receives the first instruction from the image processing device.
S402c、照明装置根据第一指令,控制多个不同偏振态的偏振光源提供照明。S402c. The lighting device controls a plurality of polarized light sources with different polarization states to provide lighting according to the first instruction.
一种可能的实现方式中,照明装置具有至少3种照明模式,分别为:In a possible implementation manner, the lighting device has at least three lighting modes, which are:
照明模式1、照明装置控制多个偏振光源中的全部或部分光源同时开启;照明模式2、照明装置控制多个偏振光源中的各个偏振光源依次开启;照明模式3、照明装置控制多个偏振光源中的各个偏振光源全部关闭。Lighting mode 1, the lighting device controls all or part of the light sources in multiple polarized light sources to be turned on at the same time; lighting mode 2, the lighting device controls each polarized light source in the multiple polarized light sources to turn on in turn; lighting mode 3, the lighting device controls multiple polarized light sources All polarized light sources in the system are all turned off.
其中,在第一指令指示第一照明方式为多偏振光源同步照明的情况下,照明装置采用照明模式1为目标提供照明。Wherein, when the first instruction indicates that the first lighting mode is multi-polarized light source synchronous lighting, the lighting device adopts lighting mode 1 to provide lighting for the target.
在第一指令用于指示第一照明方式为多偏振光源非同步照明的情况下,照明装置采用照明模式2为目标提供照明。In the case where the first instruction is used to indicate that the first lighting mode is multi-polarized light source asynchronous lighting, the lighting device uses lighting mode 2 to provide lighting for the target.
在第一指令用于指示第一照明方式为无照明的情况下,照明装置采用照明模式3为目标提供照明。When the first instruction is used to indicate that the first lighting mode is no lighting, the lighting device uses lighting mode 3 to provide lighting for the target.
也即是说,在第一指令用于指示第一照明方式为多偏振光源同步照明的情况下,照明装置控制多个偏振光源中的全部或部分光源同时开启,该多个偏振光源中的全部或部分光源同时为目标提供照明。That is to say, when the first instruction is used to indicate that the first lighting mode is synchronous lighting of multiple polarized light sources, the lighting device controls all or some of the multiple polarized light sources to be turned on simultaneously, and all of the multiple polarized light sources Or part of the light source provides illumination for the target at the same time.
在第一指令用于指示第一照明方式为多偏振光源非同步照明的情况下,照明装置控制多个偏振光源中的各个偏振光源依次开启,该多个偏振光源依次为目标提供照明。When the first instruction is used to indicate that the first lighting mode is multi-polarized light source asynchronous lighting, the lighting device controls each of the multiple polarized light sources to turn on sequentially, and the multiple polarized light sources sequentially provide illumination for the target.
在第一指令用于指示第一照明方式为无照明的情况下,照明装置控制多个偏振光源中的各个偏振光源关闭,该多个偏振光源均不为目标提供照明。When the first instruction is used to indicate that the first lighting mode is no lighting, the lighting device controls each of the multiple polarized light sources to be turned off, and none of the multiple polarized light sources provides illumination for the target.
一种示例,结合图3,在照明模式1下,照明装置可以控制4个不同偏振态的偏振光源同时照明;或者,照明装置可以控制偏振度相差90°的两个偏振光源同时照明;例如,控制0°偏振光光源和90°偏振光光源同时照明,或者控制45°偏振光光源和135°偏振光光源同时照明。As an example, referring to Fig. 3, in lighting mode 1, the lighting device can control four polarized light sources with different polarization states to illuminate simultaneously; or, the lighting device can control two polarized light sources whose polarization degrees differ by 90° to illuminate simultaneously; for example, Control the 0° polarized light source and the 90° polarized light source to illuminate at the same time, or control the 45° polarized light source and the 135° polarized light source to illuminate at the same time.
在照明模式2下,照明装置控制0°偏振光光源在第一时间段内照明,控制45°偏振光光源在第二时间段内照明,控制90°偏振光光源在第三时间段内照明,控制135°偏振光光源在第四时间段内照明。第二时间段为第一时间段之后的时间段,第三时间段为第二时间段之后的时间段,第四时间段为第三时间段之后的时间段。In lighting mode 2, the lighting device controls the 0° polarized light source to illuminate in the first time period, controls the 45° polarized light source to illuminate in the second time period, and controls the 90° polarized light source to illuminate in the third time period, Control the 135° polarized light source to illuminate in the fourth time period. The second time period is a time period after the first time period, the third time period is a time period after the second time period, and the fourth time period is a time period after the third time period.
S402d、图像处理装置根据第一采集方式生成第二指令。S402d. The image processing apparatus generates a second instruction according to the first collection manner.
其中,第二指令用于指示第一采集方式。具体来说,第二指令用于指示第一采集方式为偏振采集方式集合中的何种图像采集方式。Wherein, the second instruction is used to indicate the first collection mode. Specifically, the second instruction is used to indicate which image acquisition mode in the polarization acquisition mode set the first acquisition mode is.
例如,第二指令用于指示第一采集方式为单帧偏振图像同步采集操作;或者,第二指令用于指示第一采集方式为多帧偏振图像非同步采集操作。For example, the second instruction is used to indicate that the first acquisition mode is a synchronous acquisition operation of a single-frame polarization image; or, the second instruction is used to indicate that the first acquisition mode is an asynchronous acquisition operation of multiple-frame polarization images.
需要指出的是,在本申请实施例中,图像处理装置在执行S402a-S402c中的任一个步骤的同时执行S402d。或者,图像处理装置可以在执行S402a-S402c中的任一个步骤之前或之后执行S402d,本申请对此不做限定。例如,图像处理装置可以首先执行S400a然后执行S400d;或者,图像处理装置可以首先执行S400d然后执行S400a;又或者,图像处理装置可以同时执行S400a和S400d。本申请对此不做限定。S402d与S402a和S402b的关系可以参考S400d和S400a之间的关系,本申请对此不在赘述。It should be noted that, in the embodiment of the present application, the image processing apparatus executes S402d while executing any one of steps S402a-S402c. Alternatively, the image processing apparatus may execute S402d before or after executing any one of steps S402a-S402c, which is not limited in this application. For example, the image processing apparatus may first execute S400a and then execute S400d; or, the image processing apparatus may first execute S400d and then execute S400a; or, the image processing apparatus may execute S400a and S400d simultaneously. This application does not limit this. For the relationship between S402d and S402a and S402b, reference may be made to the relationship between S400d and S400a, which will not be repeated in this application.
S402e、图像处理装置向图像采集装置发送第二指令。相应的,图像采集装置接收来自图像处理装置的第二指令。S402e. The image processing device sends a second instruction to the image acquisition device. Correspondingly, the image acquisition device receives the second instruction from the image processing device.
需要指出的是,S402e为在S402d之后执行的步骤,S402e与S402a-S402c之间的关系可以参照上述S402d与S402a-S402c之间的关系,此处不在赘述。It should be pointed out that S402e is a step performed after S402d, and the relationship between S402e and S402a-S402c can refer to the above-mentioned relationship between S402d and S402a-S402c, which will not be repeated here.
S402f、图像采集装置根据第二指令采集第一偏振图像。S402f. The image acquisition device acquires the first polarization image according to the second instruction.
一种可能的实现方式中,图像采集装置具有至少两种图像采集方式,分别为:In a possible implementation manner, the image acquisition device has at least two image acquisition modes, which are:
图像采集方式1、图像采集装置采集至少一个目标的单张图像,并从该单张图像中获取多张不同偏振态的偏振图像。图像采集方式2、图像采集装置通过采集至少一个目标的多张图像,多张图像中的每张图像包括多张不同偏振态的偏振图像。Image collection method 1. The image collection device collects a single image of at least one target, and obtains multiple polarization images of different polarization states from the single image. Image collection mode 2. The image collection device collects multiple images of at least one target, and each of the multiple images includes multiple polarization images of different polarization states.
其中,在第二指令用于指示第一采集方式为单帧偏振图像同步采集操作的情况下,图像采集装置采用图像采集方式1采集至少一个目标的偏振图像。Wherein, when the second instruction is used to indicate that the first acquisition mode is a synchronous acquisition operation of a single-frame polarization image, the image acquisition device adopts image acquisition mode 1 to acquire the polarization image of at least one target.
在第二指令用于指示第一采集方式为多帧偏振图像非同步采集操作的情况下,图像采集装置采用图像采集方式2采集至少一个目标的偏振图像。In the case where the second instruction is used to indicate that the first acquisition mode is an asynchronous acquisition operation of multi-frame polarization images, the image acquisition device adopts image acquisition mode 2 to acquire the polarization image of at least one target.
也即是说,在第二指令用于指示第一采集方式为单帧偏振图像同步采集操作的情况下,图像采集装置采集至少一个目标的单张图像;图像采集装置从该单张图像中获取多张不同偏振态的偏振图像。That is to say, when the second instruction is used to indicate that the first acquisition method is a single-frame polarization image synchronous acquisition operation, the image acquisition device acquires a single image of at least one target; the image acquisition device acquires from the single image Multiple polarization images of different polarization states.
在第二指令用于指示第一采集方式为多帧偏振图像非同步采集操作的情况下,通过采集至少一个目标的多张图像,多张图像中的每张图像包括多张不同偏振态的偏振图像。In the case where the second instruction is used to indicate that the first acquisition method is an asynchronous acquisition operation of multiple frames of polarization images, by acquiring multiple images of at least one target, each of the multiple images includes multiple polarizations of different polarization states image.
需要指出的是,在本申请实施例中,图像采集装置在确定照明装置提供照明时采集至少一个目标的偏振图像。It should be noted that, in the embodiment of the present application, the image acquisition device acquires a polarization image of at least one target when it is determined that the illumination device provides illumination.
例如,照明装置提供照明时,该照明效果持续一段时间,图像采集装置在照明持续的时间内采集至少一个目标的偏振图像。For example, when the illumination device provides illumination, the illumination effect lasts for a period of time, and the image acquisition device acquires a polarized image of at least one target during the illumination duration.
一种可能的实现方式中,在照明装置采用照明方式1为至少一个目标提供照明时,照明装置向图像采集装置发送触发信息,该触发信息用于触发图像采集装置采集图像。响应于该触发信息,图像采集装置采集至少一个目标的偏振图像。In a possible implementation manner, when the lighting device provides lighting for at least one target using lighting mode 1, the lighting device sends trigger information to the image acquisition device, where the trigger information is used to trigger the image acquisition device to acquire images. In response to the trigger information, the image acquisition device acquires a polarization image of at least one target.
在照明装置采用照明方式2至少一个目标提供照明,图像采集装置使用图像采集方式2采集至少一个目标的偏振图像时。照明装置每采用一个偏振光源为至少一个目标提供照明,照明装置均向图像采集装置发送触发信息,以触发图像采集装置在该光源照明的情况下采集至少一个目标的偏振图像。这样,可以使得图像采集装置依次采集到的目标在每个光源照明下的偏振图像。When the lighting device provides illumination for at least one target in the lighting mode 2, and the image acquisition device uses the image acquisition mode 2 to capture the polarization image of the at least one target. Whenever the lighting device uses a polarized light source to provide illumination for at least one target, the lighting device sends trigger information to the image acquisition device to trigger the image acquisition device to collect a polarized image of at least one target under the illumination of the light source. In this way, the polarization image of the target under the illumination of each light source can be sequentially collected by the image acquisition device.
S402g、图像采集装置向图像处理装置发送第一偏振图像。相应的,图像处理装置接收来自图像采集装置的第一偏振图像。S402g. The image acquisition device sends the first polarization image to the image processing device. Correspondingly, the image processing device receives the first polarization image from the image acquisition device.
基于上述技术方案,图像处理装置可以根据第一照明方式和第一采集方式,获取到至少一个目标的第一偏振图像。Based on the above technical solution, the image processing device can acquire the first polarization image of at least one target according to the first illumination mode and the first acquisition mode.
在S403的一种可能的实现方式中,在第一图像处理方式包含:偏振图像获取操作的情况下,S403可以通过以下方式1中记载的方式实现。In a possible implementation manner of S403, in the case that the first image processing manner includes: a polarization image acquisition operation, S403 may be implemented in the manner described in the following manner 1.
在第一图像处理方式包含:定性偏振信息获取操作的情况下,S403可以通过以下方式2中记载的方式实现。In the case that the first image processing manner includes: obtaining qualitative polarization information, S403 may be implemented in the manner described in the following manner 2.
在第一图像处理方式包含:定量偏振信息获取操作的情况下,S403可以通过以下方式3中记载的方式实现。In the case where the first image processing manner includes: the quantitative polarization information acquisition operation, S403 may be implemented in the manner described in the following manner 3.
以下,分别对方式1、方式2和方式3进行详细说明:In the following, mode 1, mode 2 and mode 3 are described in detail respectively:
方式1、图像处理装置从目标的多张第一偏振图像中确定出第二偏振图像。Mode 1. The image processing device determines the second polarization image from multiple first polarization images of the target.
具体来说,图像处理装置确定目标的多张第一偏振图像,该多张第一偏振图像的偏振态不同。Specifically, the image processing device determines multiple first polarization images of the target, and the polarization states of the multiple first polarization images are different.
图像处理装置确定该多张第一偏振图像中成像效果满足预设条件的偏振图像为第二偏振图像。The image processing device determines that a polarization image whose imaging effect satisfies a preset condition among the plurality of first polarization images is the second polarization image.
其中,成像效果满足预设条件可以用以下至少一项表示:图像中的目标的清晰度满足预设条件,图像中的目标的与其他物体的对比度满足预设条件。或者,成像效果满足预设条件还可以通过其他方式表示,本申请对此不做限定。Wherein, the imaging effect meeting the preset condition may be represented by at least one of the following: the sharpness of the object in the image meets the preset condition, and the contrast between the object in the image and other objects meets the preset condition. Alternatively, the imaging effect meeting the preset condition may also be expressed in other ways, which is not limited in this application.
一种示例,在眩光场景下,车辆需要确定前方的道路上的交通标识线。As an example, in a glare scene, the vehicle needs to determine the traffic marking lines on the road ahead.
如图6a所示,为图像采集装置采集到的0°偏振方向的第一偏振图像。As shown in FIG. 6 a , it is the first polarization image of the 0° polarization direction collected by the image acquisition device.
如图6b所示,为图像采集装置采集到的45°偏振方向的第一偏振图像。As shown in FIG. 6 b , it is the first polarization image with a polarization direction of 45° collected by the image collection device.
如图6c所示,为图像采集装置采集到的90°偏振方向的第一偏振图像。As shown in FIG. 6 c , it is the first polarization image of the 90° polarization direction collected by the image acquisition device.
如图6d所示,为图像采集装置采集到的135°偏振方向的第一偏振图像。As shown in FIG. 6d , it is the first polarization image with a polarization direction of 135° collected by the image collection device.
在图6a-图6d中,受眩光影响,图像采集装置采集到的偏振图像中可能存在无法准确的显示出道路上的交通标识线。In FIGS. 6a-6d, due to the influence of glare, the polarized image collected by the image collection device may not accurately display the traffic marking lines on the road.
例如,在图6a-图6d中,车辆需要识别出前方道路的交通标识线,而受眩光影响,如图6a、图6b、图6d中所示的位于框线内的左转标识可能无法被正确识别出来。For example, in Fig. 6a-Fig. 6d, the vehicle needs to recognize the traffic marking line of the road ahead, but affected by glare, the left-turn sign located in the frame line as shown in Fig. 6a, Fig. 6b, and Fig. 6d may not be recognized. correctly identified.
图像处理装置接收到图6a-图6d中所示的第一偏振图像之后,经过图像处理后,确定该4张第一偏振图像中对比度最高的第一偏振图像为图6c中示出的第一偏振图像。此时,图像处理装置确定图6c中示出的第一偏振图像为目标的第二偏振图像,图像处理装置输出该第二偏振图像。After the image processing device receives the first polarization images shown in Figures 6a-6d, after image processing, it determines that the first polarization image with the highest contrast among the four first polarization images is the first polarization image shown in Figure 6c. polarized image. At this time, the image processing device determines that the first polarization image shown in FIG. 6c is the target second polarization image, and the image processing device outputs the second polarization image.
方式2、图像处理装置根据目标的多张第一偏振图像,确定目标的定性偏振信息。Mode 2. The image processing device determines the qualitative polarization information of the target according to the multiple first polarization images of the target.
其中,目标的定性偏振信息至少包括:目标的斯托克斯矢量,目标的偏振度,以及目标的偏振角。Wherein, the qualitative polarization information of the target at least includes: the Stokes vector of the target, the degree of polarization of the target, and the polarization angle of the target.
具体来说,图像处理装置获取至少一个目标的0°偏振方向的第一偏振图像,45°偏振方向的第一偏振图像,90°偏振方向的第一偏振图像,135°偏振方向的第一偏振图像。Specifically, the image processing device acquires the first polarization image of the 0° polarization direction of at least one target, the first polarization image of the 45° polarization direction, the first polarization image of the 90° polarization direction, and the first polarization image of the 135° polarization direction. image.
图像采集装置确定目标的斯托克斯矢量满足以下公式1:The Stokes vector of the target determined by the image acquisition device satisfies the following formula 1:
其中,S为目标的斯托克斯矢量,S
0,S
1,S
2,S
3,均为斯托克斯矢量S中的值。I
0表示目标在0°偏振光源照明的条件下反射的偏振光的光强度,I
45表示目标在45°偏振光源照明的条件下反射的偏振光的光强度,I
90表示在90°偏振光源照明的条件下反射的偏振光的强度,I
135表示目标在135°偏振光源照明的条件下反射的偏振光的光强度,I
r表示目标在右旋光照明条件下反射的偏振光的光强度,I
l表示目标在左旋光照明条件下反射的偏振光的光强度。
Wherein, S is the Stokes vector of the target, and S 0 , S 1 , S 2 , S 3 are all values in the Stokes vector S. I 0 represents the light intensity of polarized light reflected by the target under the condition of 0° polarized light source illumination, I 45 represents the light intensity of polarized light reflected by the target under the condition of 45° polarized light source illumination, I 90 represents the light intensity of polarized light reflected by the target under the condition of 90° polarized light source Intensity of polarized light reflected under lighting conditions, I 135 means the light intensity of polarized light reflected by the target under the lighting condition of 135° polarized light source, Ir means the light intensity of polarized light reflected by the target under the lighting condition of right-handed light , I l represents the light intensity of the polarized light reflected by the target under left-handed light illumination conditions.
平面的偏振光在某些各向异性介质中沿光轴传播时,其振动方向会随着传播距离增大而连续旋转。右旋光指的是:迎着光传播方向看,振动面顺时针方向旋转;左旋 指的是:迎着光传播方向看,振动面逆时针方向旋转。When plane polarized light propagates along the optical axis in some anisotropic media, its vibration direction will continuously rotate as the propagation distance increases. Right-handed light means that the vibration surface rotates clockwise when viewed against the direction of light propagation; left-handed light means that the vibration surface rotates counterclockwise when viewed against the direction of light propagation.
在确定目标的斯托克斯矢量之后,图像采集装置确定目标的偏振度满足以下公式2.1:After determining the Stokes vector of the target, the image acquisition device determines that the degree of polarization of the target satisfies the following formula 2.1:
其中,DoLP为目标的偏振度,S
0,S
1,S
2,S
3为上述公式1中确定的斯托克斯矢量中的值。
Wherein, DoLP is the degree of polarization of the target, S 0 , S 1 , S 2 , and S 3 are the values in the Stokes vector determined in Formula 1 above.
需要指出的是,在自动驾驶场景中,目标在左旋光照明条件下反射的偏振光的光强度I
l,以及目标在右旋光照明条件下反射的偏振光的光强度I
r值为0,此时S
3的值为0。
It should be pointed out that in the automatic driving scene, the light intensity I l of the polarized light reflected by the target under the left-handed light illumination condition, and the light intensity I r of the polarized light reflected by the target under the right-handed light illumination condition are 0, At this time, the value of S 3 is 0.
在该情况下,图像采集装置确定目标的偏振度满足以下公式2.2:In this case, the image acquisition device determines that the degree of polarization of the target satisfies the following formula 2.2:
偏振度图像通常用于提升不同反射率的目标与背景的对比度。Degree-of-polarization images are often used to increase the contrast between targets of different reflectivities and the background.
一种示例,目标为图像中的车辆。图像处理装置获取到的目标的可见光图像如图7a所示,图像处理装置获取到的目标的偏振度图像如图7b所示。One example, the target is a vehicle in the image. The visible light image of the target acquired by the image processing device is shown in Figure 7a, and the polarization degree image of the target acquired by the image processing device is shown in Figure 7b.
根据图7a和图7b的对比可知,图像处理装置输出的目标的偏振度图像能够大大提升目标与背景的对比度,更有利于图像处理装置检测图像中的目标。According to the comparison of Fig. 7a and Fig. 7b, it can be seen that the polarization degree image of the target output by the image processing device can greatly improve the contrast between the target and the background, which is more conducive to the image processing device to detect the target in the image.
图像采集装置确定目标的偏振角满足以下公式3:The polarization angle of the target determined by the image acquisition device satisfies the following formula 3:
其中,AoLP为目标的偏振角,S
1,S
2为上述公式1中确定的斯托克斯矢量中的值。
Wherein, AoLP is the polarization angle of the target, S 1 and S 2 are the values in the Stokes vector determined in the above formula 1.
偏振角图像通常用于提升不同表面朝向、不同表面粗糙度目标之间的对比度。Polarization images are often used to increase the contrast between targets with different surface orientations and different surface roughness.
一种示例,目标为图像中的柏油路路面和土路路面。图像处理装置获取到的目标的可见光图像如图8a所示,图像处理装置获取到的目标的偏振度图像如图8b所示。An example where the targets are tarmac and dirt road pavement in the image. The visible light image of the target acquired by the image processing device is shown in Figure 8a, and the polarization degree image of the target acquired by the image processing device is shown in Figure 8b.
根据图8a和图8b的对比可知,图像处理装置输出的目标的偏振角图像中柏油路路面和土路路面的对比度大大提升,更有利于车辆对道路进行材质分割。According to the comparison of Fig. 8a and Fig. 8b, it can be seen that the contrast between the asphalt road and the dirt road in the polarization angle image of the target output by the image processing device is greatly improved, which is more conducive to the material segmentation of the road by the vehicle.
方式3、图像处理装置根据目标的多张第一偏振图像,确定目标的定量偏振信息。Way 3: The image processing device determines the quantitative polarization information of the target according to the multiple first polarization images of the target.
其中,目标的定量偏振信息至少包括目标的穆勒矩阵。Wherein, the quantitative polarization information of the target at least includes the Mueller matrix of the target.
图像处理装置确定目标的穆勒矩阵满足以下公式4The Mueller matrix of the target determined by the image processing device satisfies the following formula 4
S’=M×S 公式4S’=M×S Formula 4
其中,S’为输入斯托克斯矢量,S为输出斯托克斯矢量,M为穆勒矩阵。Among them, S' is the input Stokes vector, S is the output Stokes vector, and M is the Muller matrix.
在本申请实施例中S为图像处理装置确定的目标的斯托克斯矢量,也即根据上述公式1确定的斯托克斯矢量。In the embodiment of the present application, S is the Stokes vector of the target determined by the image processing device, that is, the Stokes vector determined according to Formula 1 above.
S’为根据照明装置在照明模式2下,依次提供的偏振光的偏振度确定。S' is determined according to the degree of polarization of the polarized light sequentially provided by the lighting device in lighting mode 2.
以矩阵形式表示,公式4可以通过以下公式5表示:Expressed in matrix form, Equation 4 can be expressed by the following Equation 5:
在上述公式5中,S’中的S
0’,S
1’,S
2’,S
3’满足以下公式6:
In the above formula 5, S 0 ', S 1 ', S 2 ', S 3 ' in S' satisfy the following formula 6:
其中,S
0’,S
1’,S
2’,S
3’,均为斯托克斯矢量S’中的值。I
0’表示照明装置的0°偏振光源提供的偏振光的光强度,I
45’表示照明装置的45°偏振光源提供的偏振光的光强度,I
90’表示照明装置的90°偏振光源提供的偏振光的光强度,I
135’表示照明装置的135°偏振光源提供的偏振光的光强度。
Among them, S 0 ′, S 1 ′, S 2 ′, and S 3 ′ are all values in the Stokes vector S′. I 0 ' represents the light intensity of polarized light provided by the 0° polarized light source of the lighting device, I 45 ' represents the light intensity of the polarized light provided by the 45° polarized light source of the lighting device, and I 90 ' represents the 90° polarized light source provided by the lighting device The light intensity of the polarized light, I 135 ′ represents the light intensity of the polarized light provided by the 135° polarized light source of the lighting device.
在上述公式5中,穆勒矩阵M满足以下公式7In the above formula 5, the Muller matrix M satisfies the following formula 7
具体来说,图像处理装置确定上述公式5的过程为:Specifically, the process for the image processing device to determine the above formula 5 is:
基于公式1和公式6,根据目标的入射光(即照明装置提供的偏振光)与反射光(即图像采集装置采集到的目标的反射光)之间的关系,图像处理装置确定S
0,S
1,S
2,S
3与S
0’,S
1’,S
2’,S
3’之间满足以下公式8:
Based on formula 1 and formula 6, according to the relationship between the incident light of the target (that is, the polarized light provided by the lighting device) and the reflected light (that is, the reflected light of the target collected by the image acquisition device), the image processing device determines S 0 , S 1 , S 2 , S 3 and S 0 ', S 1 ', S 2 ', S 3 ' satisfy the following formula 8:
基于公式8,进一步对公式8进行变形可得上述公式5Based on formula 8, formula 8 can be further transformed to get the above formula 5
基于上述技术方案,图像处理装置可以在不同情况下,采用不同的处理方式处理目标的第一偏振图像,确定目标相应的偏振参数。满足车辆在不同驾驶场景下需要获取的偏振参数需求。Based on the above technical solution, the image processing device can process the first polarization image of the target by using different processing methods in different situations, and determine the corresponding polarization parameters of the target. Meet the requirements of polarization parameters that the vehicle needs to obtain in different driving scenarios.
一种可能的实现方式中,第一特征信息存在以下场景1-场景6。下面,分别对上述场景1-场景6进行详细说明:In a possible implementation manner, the first feature information includes the following scenarios 1-6. In the following, the above scenarios 1-6 are described in detail respectively:
场景1、第一特征信息表征环境光强度小于预设值以及指示获取第二偏振图像。Scenario 1. The first feature information indicates that the ambient light intensity is less than a preset value and indicates to obtain a second polarization image.
也即是说,在场景1中,第一特征信息用于指示:在目标所处的环境光较弱的场景下,获取至少一个目标的第二偏振图像。That is to say, in scene 1, the first characteristic information is used to indicate: in a scene where the ambient light of the target is weak, acquire the second polarization image of at least one target.
第二偏振图像指的是目标的多个偏振图像中,成像效果(例如,清晰度,对比度)满足预设条件的偏振图像。The second polarization image refers to a polarization image whose imaging effect (for example, sharpness, contrast) satisfies a preset condition among multiple polarization images of the target.
需要指出的是,环境光较弱的场景也可以称为暗光场景。It should be pointed out that a scene with weak ambient light may also be called a dark light scene.
一种示例,第二偏振图像可以是目标的多个偏振图像中对比度最高的偏振图像。In one example, the second polarization image may be a polarization image with the highest contrast among multiple polarization images of the target.
相应的,在该场景下,结合上述S401、图像处理装置确定的第一照明操作包含:多偏振光源同步照明。第一采集方式包含:单帧偏振图像同步采集操作。第一图像处理方式包含:第二偏振图像获取操作。Correspondingly, in this scenario, the first lighting operation determined in conjunction with the above S401, the image processing device includes: synchronous lighting of multiple polarized light sources. The first collection method includes: a synchronous collection operation of a single-frame polarization image. The first image processing method includes: a second polarization image acquisition operation.
也即是说,在在环境光较弱的场景下,为了获取至少一个目标的第二偏振图像,图像采集装置确定采用多个偏振光源同时为目标所属的场景提供照明,图像采集装置在照明之后,采集目标所属场景的单张图像,并从该单张图像中确定目标所属场景的多张不同偏振态的第一偏振图像。图像采集装置从该多张不同偏振态的第一偏振图像中确定出第二偏振图像,并输出第二偏振图像。That is to say, in a scene with weak ambient light, in order to obtain the second polarized image of at least one target, the image acquisition device determines to use multiple polarized light sources to provide illumination for the scene to which the target belongs at the same time, and the image acquisition device , collecting a single image of the scene to which the target belongs, and determining a plurality of first polarization images of the scene to which the target belongs with different polarization states from the single image. The image acquisition device determines a second polarization image from the multiple first polarization images of different polarization states, and outputs the second polarization image.
一种可能的实现方式中,结合上述S402a-S402f,在S402a中,图像处理装置生成的第一指令用于指示第一偏振照明方式为多偏振光源同步照明。In a possible implementation manner, in conjunction with the foregoing S402a-S402f, in S402a, the first instruction generated by the image processing device is used to indicate that the first polarization illumination mode is synchronous illumination of multiple polarization light sources.
在S402c中,照明装置采用照明模式1为目标提供照明。In S402c, the lighting device uses lighting mode 1 to provide lighting for the target.
在S402d中,图像处理装置生成的第二指令用于指示第一采集方式为单帧偏振图像同步采集操作。In S402d, the second instruction generated by the image processing device is used to indicate that the first acquisition mode is a synchronous acquisition operation of a single-frame polarization image.
在S402f中,图像采集装置采用图像采集方式1采集至少一个目标的偏振图像。In S402f, the image acquisition device adopts the image acquisition mode 1 to acquire the polarization image of at least one target.
结合上述S403、在S403中,图像处理装置采用偏振图像获取操作处理获取到的第一偏振图像,确定第二偏振图像。图像处理装置输出第二偏振图像。In conjunction with the above S403, in S403, the image processing device processes the acquired first polarization image by using a polarization image acquisition operation to determine a second polarization image. The image processing device outputs the second polarization image.
基于上述技术方案,在环境光较弱的场景下,需要获取至少一个目标的第二偏振图像时,照明装置为至少一个目标提供多偏振光源同步照明,可以提高至少一个目标所属场景的光强度,避免了至少一个目标在暗光场景下采集到的偏振图像的成像效果差的问题。Based on the above technical solution, when the second polarization image of at least one target needs to be obtained in a scene with weak ambient light, the lighting device provides synchronous illumination of multi-polarized light sources for at least one target, which can increase the light intensity of the scene to which at least one target belongs, The problem of poor imaging effect of the polarization image collected by at least one target in a dark light scene is avoided.
图像采集装置仅采集至少一个目标的单张图像,可以降低图像采集装置需要采集的图像的数量,进而降低图像采集装置的计算量。The image acquisition device only acquires a single image of at least one target, which can reduce the number of images that the image acquisition device needs to acquire, thereby reducing the calculation amount of the image acquisition device.
图像处理装置根据该单张图像的多张第一偏振图像确定第二偏振图像。同样可以降低图像处理装置需要处理的图像的数量,进而降低图像处理装置的计算量。The image processing device determines the second polarization image according to the multiple first polarization images of the single image. Likewise, the number of images to be processed by the image processing device can be reduced, thereby reducing the calculation amount of the image processing device.
场景2、第一特征信息表征环境光强度小于预设值以及指示获取定性偏振信息。Scenario 2. The first feature information indicates that the ambient light intensity is less than a preset value and indicates to acquire qualitative polarization information.
也即是说,在场景2中,第一特征信息用于指示:在目标所处的环境光较弱的场景下,获取至少一个目标的定性偏振信息。That is to say, in scene 2, the first feature information is used to indicate: in a scene where the target is in a weak ambient light, acquire qualitative polarization information of at least one target.
在该场景下,图像处理装置确定的第一照明操作包含:多偏振光源同步照明,第一采集方式包含:单帧偏振图像同步采集操作,第一图像处理方式包含:定性偏振信息获取操作。In this scenario, the first illumination operation determined by the image processing device includes: synchronous illumination of multiple polarization light sources, the first collection method includes: synchronous collection operation of a single-frame polarization image, and the first image processing method includes: qualitative polarization information acquisition operation.
也即是说,在目标所处的环境光较弱的场景下,为了获取至少一个目标的定性偏振信息,图像采集装置确定采用多个偏振光源同时为目标所属的场景提供照明,图像采集装置确定在照明之后,采集目标所属场景的单张图像,并从该单张图像中确定目 标所属场景的多张不同偏振态的第一偏振图像。图像采集装置根据该多张不同偏振态的第一偏振图像,进行定性偏振信息获取操作,确定至少一个目标的定性偏振信息。That is to say, in the scene where the ambient light of the target is weak, in order to obtain the qualitative polarization information of at least one target, the image acquisition device determines to use multiple polarized light sources to provide illumination for the scene to which the target belongs at the same time, and the image acquisition device determines After illumination, a single image of the scene to which the target belongs is collected, and multiple first polarization images of different polarization states of the scene to which the target belongs are determined from the single image. The image acquisition device performs a qualitative polarization information acquisition operation according to the plurality of first polarization images of different polarization states, and determines the qualitative polarization information of at least one target.
一种可能的实现方式中,结合上述S402a-S402f,在S402a中,图像处理装置生成的第一指令用于指示第一偏振照明方式为多偏振光源同步照明。In a possible implementation manner, in conjunction with the foregoing S402a-S402f, in S402a, the first instruction generated by the image processing device is used to indicate that the first polarization illumination mode is synchronous illumination of multiple polarization light sources.
在S402c中,照明装置采用照明模式1为目标提供照明。In S402c, the lighting device uses lighting mode 1 to provide lighting for the target.
在S402d中,图像处理装置生成的第二指令用于指示第一采集方式为单帧偏振图像同步采集操作。In S402d, the second instruction generated by the image processing device is used to indicate that the first acquisition mode is a synchronous acquisition operation of a single-frame polarization image.
在S402f中,图像采集装置采用图像采集方式1采集至少一个目标的偏振图像。In S402f, the image acquisition device adopts the image acquisition mode 1 to acquire the polarization image of at least one target.
结合上述S403、在S403中,图像处理装置采用定性偏振信息获取操作处理获取到的第一偏振图像,确定至少一个目标的定性偏振信息。图像处理装置输出至少一个目标的定性偏振信息。In conjunction with the above S403, in S403, the image processing device processes the acquired first polarization image by using a qualitative polarization information acquisition operation to determine the qualitative polarization information of at least one target. The image processing device outputs qualitative polarization information of at least one object.
基于上述技术方案,在环境光较弱的场景下,需要获取至少一个目标的第二偏振图像时,照明装置为至少一个目标提供多偏振光源同步照明,可以提高至少一个目标所属场景的光强度,避免了至少一个目标在暗光场景下采集到的偏振图像的成像效果差的问题。Based on the above technical solution, when the second polarization image of at least one target needs to be obtained in a scene with weak ambient light, the lighting device provides synchronous illumination of multi-polarized light sources for at least one target, which can increase the light intensity of the scene to which at least one target belongs, The problem of poor imaging effect of the polarization image collected by at least one target in a dark light scene is avoided.
图像采集装置仅采集至少一个目标的单张图像,可以降低图像采集装置需要采集的图像的数量,进而降低图像采集装置的计算量。The image acquisition device only acquires a single image of at least one target, which can reduce the number of images that the image acquisition device needs to acquire, thereby reducing the calculation amount of the image acquisition device.
图像处理装置根据该单张图像的多张第一偏振图像确定至少一个目标的定性偏振信息。同样可以降低图像处理装置需要处理的图像的数量,进而降低图像处理装置的计算量。The image processing device determines qualitative polarization information of at least one target according to the plurality of first polarization images of the single image. Likewise, the number of images to be processed by the image processing device can be reduced, thereby reducing the calculation amount of the image processing device.
场景3、第一特征信息表征环境光强度小于预设值以及指示获取定量偏振信息。Scenario 3. The first feature information indicates that the ambient light intensity is less than a preset value and indicates to obtain quantitative polarization information.
也即是说,在场景3中,第一特征信息用于指示:在目标所处的环境光较弱的场景下,获取至少一个目标的定量偏振信息。That is to say, in scene 3, the first feature information is used to indicate: in a scene where the target is in a weak ambient light, obtain quantitative polarization information of at least one target.
相应的,在该场景下,图像处理装置确定的第一照明操作包含:多偏振光源非同步照明,第一采集方式包含:多帧偏振图像非同步采集操作,第一图像处理方式包含:定量偏振信息获取操作。Correspondingly, in this scenario, the first lighting operation determined by the image processing device includes: multi-polarized light source asynchronous lighting, the first acquisition method includes: multi-frame polarization image asynchronous acquisition operation, and the first image processing method includes: quantitative polarization Information acquisition operation.
也即是说,在在环境光较弱的场景下,为了获取至少一个目标的定量偏振信息,图像采集装置确定采用多个偏振光源依次为目标所属的场景提供照明,图像采集装置确定在照明之后,采集目标所属场景的多张图像,并从该多张图像中的每张图像中确定目标所属场景的多张不同偏振态的第一偏振图像。图像采集装置从该多张不同偏振态的第一偏振图像中确定出至少一个目标的穆勒矩阵,图像采集装置根据至少一个目标的穆勒矩阵,确定至少一个目标的定量偏振信息,图像处理装置输出至少一个目标的定量偏振信息。That is to say, in a scene with weak ambient light, in order to obtain quantitative polarization information of at least one target, the image acquisition device determines to use multiple polarized light sources to sequentially provide illumination for the scene to which the target belongs, and the image acquisition device determines that after the illumination , collecting multiple images of the scene to which the target belongs, and determining multiple first polarization images of the scene to which the target belongs with different polarization states from each of the multiple images. The image acquisition device determines the Mueller matrix of at least one target from the plurality of first polarization images of different polarization states, the image acquisition device determines the quantitative polarization information of at least one target according to the Mueller matrix of at least one target, and the image processing device Quantitative polarization information for at least one target is output.
一种可能的实现方式中,结合上述S402a-S402f,在S402a中,图像处理装置生成的第一指令用于指示第一偏振照明方式为多偏振光源非同步照明。In a possible implementation manner, in conjunction with the foregoing S402a-S402f, in S402a, the first instruction generated by the image processing device is used to indicate that the first polarization illumination mode is asynchronous illumination with multiple polarization light sources.
在S402c中,照明装置采用照明模式2为目标提供照明。In S402c, the lighting device uses lighting mode 2 to provide lighting for the target.
在S402d中,图像处理装置生成的第二指令用于指示第一采集方式为多帧偏振图像非同步采集操作。In S402d, the second instruction generated by the image processing device is used to indicate that the first acquisition mode is an asynchronous acquisition operation of multi-frame polarization images.
在S402f中,图像采集装置采用图像采集方式2采集至少一个目标的偏振图像。In S402f, the image acquisition device adopts the image acquisition mode 2 to acquire the polarization image of at least one target.
结合上述S403、在S403中,图像处理装置采用定量偏振信息获取操作处理获取到的第一偏振图像,确定至少一个目标的定量偏振信息。图像处理装置输出至少一个目标的定量偏振信息。In conjunction with the above S403, in S403, the image processing device processes the acquired first polarization image by using a quantitative polarization information acquisition operation to determine quantitative polarization information of at least one target. The image processing device outputs quantitative polarization information for at least one object.
基于上述技术方案,在环境光较弱的场景下,需要获取至少一个目标的定量偏振信息时,照明装置为至少一个目标提供多偏振光源非同步照明,这样,图像采集装置可以采集到至少一个目标在不同偏振光源下反射形成的偏振图像,基于至少一个目标在不同偏振光源下反射形成的偏振图像,以及不同偏振光源提供的偏振光信息,图像处理装置可以确定至少一个目标的穆勒矩阵,进而图像处理装置可以根据至少一个目标的穆勒矩阵确定至少一个目标的定量偏振信息。Based on the above technical solution, when the quantitative polarization information of at least one target needs to be acquired in a scene with weak ambient light, the lighting device provides asynchronous illumination of multi-polarized light sources for at least one target, so that the image acquisition device can capture at least one target The polarized image formed by reflection under different polarized light sources, based on the polarized image formed by the reflection of at least one target under different polarized light sources, and the polarized light information provided by different polarized light sources, the image processing device can determine the Mueller matrix of at least one target, and then The image processing device may determine quantitative polarization information of at least one object based on the Mueller matrix of at least one object.
场景4、第一特征信息表征环境光强度大于或等于预设值以及指示获取第二偏振图像。Scenario 4. The first characteristic information indicates that the ambient light intensity is greater than or equal to a preset value and indicates to acquire a second polarization image.
也即是说,在场景4中,第一特征信息用于指示:在目标所处的环境光较强的场景下,获取至少一个目标的第二偏振图像。That is to say, in scene 4, the first feature information is used to indicate that: in a scene where the target is in a strong ambient light, acquire a second polarization image of at least one target.
相应的,在该场景下,图像处理装置确定的第一照明操作包含:无照明,第一采集方式包含:单帧偏振图像同步采集操作,第一图像处理方式包含:第二偏振图像获取操作。Correspondingly, in this scenario, the first illumination operation determined by the image processing device includes: no illumination, the first acquisition method includes: synchronous acquisition operation of a single-frame polarization image, and the first image processing method includes: second polarization image acquisition operation.
也即是说,在在环境光较强的场景下,获取至少一个目标的第二偏振图像时,图像采集装置确定无需采用光源为目标所属的场景提供照明,图像采集装置直接采集目标所属场景的单张图像,并从该单张图像中确定目标所属场景的多张不同偏振态的第一偏振图像。图像采集装置从该多张不同偏振态的第一偏振图像中确定出第二偏振图像,并输出第二偏振图像。That is to say, when the second polarization image of at least one target is acquired in a scene with strong ambient light, the image acquisition device determines that there is no need to use a light source to provide illumination for the scene to which the target belongs, and the image acquisition device directly collects the image of the scene to which the target belongs. a single image, and determine multiple first polarization images of different polarization states of the scene to which the target belongs from the single image. The image acquisition device determines a second polarization image from the multiple first polarization images of different polarization states, and outputs the second polarization image.
一种可能的实现方式中,结合上述S402a-S402f,在S402a中,图像处理装置生成的第一指令用于指示第一偏振照明方式为无照明。In a possible implementation manner, in conjunction with the foregoing S402a-S402f, in S402a, the first instruction generated by the image processing device is used to indicate that the first polarization illumination mode is no illumination.
在S402c中,照明装置采用照明模式3为目标提供照明。In S402c, the lighting device uses lighting mode 3 to provide lighting for the target.
在S402d中,图像处理装置生成的第二指令用于指示第一采集方式为单帧偏振图像同步采集操作。In S402d, the second instruction generated by the image processing device is used to indicate that the first acquisition mode is a synchronous acquisition operation of a single-frame polarization image.
在S402f中,图像采集装置采用图像采集方式1采集至少一个目标的偏振图像。In S402f, the image acquisition device adopts the image acquisition mode 1 to acquire the polarization image of at least one target.
结合上述S403、在S403中,图像处理装置采用偏振图像获取操作处理获取到的第一偏振图像,确定第二偏振图像。图像处理装置输出第二偏振图像。In conjunction with the above S403, in S403, the image processing device processes the acquired first polarization image by using a polarization image acquisition operation to determine a second polarization image. The image processing device outputs the second polarization image.
基于上述技术方案,在环境光强的场景下,需要获取至少一个目标的第二偏振图像时,照明装置无需为至少一个目标提供照明。从而降低了照明装置的功耗。Based on the above technical solution, when the second polarization image of at least one target needs to be acquired in a scene with strong ambient light, the lighting device does not need to provide illumination for at least one target. Therefore, the power consumption of the lighting device is reduced.
图像采集装置仅采集至少一个目标的单张图像,可以降低图像采集装置需要采集的图像的数量,进而降低图像采集装置的计算量。The image acquisition device only acquires a single image of at least one target, which can reduce the number of images that the image acquisition device needs to acquire, thereby reducing the calculation amount of the image acquisition device.
图像处理装置根据该单张图像的多张第一偏振图像确定第二偏振图像。同样可以降低图像处理装置需要处理的图像的数量,进而降低图像处理装置的计算量。The image processing device determines the second polarization image according to the multiple first polarization images of the single image. Likewise, the number of images to be processed by the image processing device can be reduced, thereby reducing the calculation amount of the image processing device.
场景5、第一特征信息表征环境光强度大于或等于预设值以及指示获取定性偏振信息。Scenario 5. The first feature information indicates that the ambient light intensity is greater than or equal to a preset value and indicates to acquire qualitative polarization information.
也即是说,在场景5中,第一特征信息用于指示:在目标所处的环境光较强的场景下,获取至少一个目标的定性偏振信息。That is to say, in scene 5, the first characteristic information is used to indicate: in a scene where the target is in a strong ambient light, to acquire qualitative polarization information of at least one target.
相应的,在该场景下,图像处理装置确定的第一照明操作包含:无照明,第一采集方式包含:单帧偏振图像同步采集操作,第一图像处理方式包含:定性偏振信息获取操作。Correspondingly, in this scenario, the first illumination operation determined by the image processing device includes: no illumination, the first collection method includes: synchronous acquisition operation of a single-frame polarization image, and the first image processing method includes: qualitative polarization information acquisition operation.
也即是说,在在环境光较强的场景下,获取至少一个目标的定性偏振信息时,图像采集装置确定无需采用光源为目标所属的场景提供照明,图像采集装置直接采集目标所属场景的单张图像,并从该单张图像中确定目标所属场景的多张不同偏振态的第一偏振图像。图像采集装置从该多张不同偏振态的第一偏振图像中确定出第二偏振图像,并输出第二偏振图像。That is to say, when the qualitative polarization information of at least one target is obtained in a scene with strong ambient light, the image acquisition device determines that there is no need to use a light source to provide illumination for the scene to which the target belongs, and the image acquisition device directly collects the unit of the scene to which the target belongs. From this single image, multiple first polarization images of different polarization states of the scene to which the target belongs are determined. The image acquisition device determines a second polarization image from the multiple first polarization images of different polarization states, and outputs the second polarization image.
一种可能的实现方式中,结合上述S402a-S402f,在S402a中,图像处理装置生成的第一指令用于指示第一偏振照明方式为无照明。In a possible implementation manner, in conjunction with the foregoing S402a-S402f, in S402a, the first instruction generated by the image processing device is used to indicate that the first polarization illumination mode is no illumination.
在S402c中,照明装置采用照明模式3为目标提供照明。In S402c, the lighting device uses lighting mode 3 to provide lighting for the target.
在S402d中,图像处理装置生成的第二指令用于指示第一采集方式为单帧偏振图像同步采集操作。In S402d, the second instruction generated by the image processing device is used to indicate that the first acquisition mode is a synchronous acquisition operation of a single-frame polarization image.
在S402f中,图像采集装置采用图像采集方式1采集至少一个目标的偏振图像。In S402f, the image acquisition device adopts the image acquisition mode 1 to acquire the polarization image of at least one target.
结合上述S403、在S403中,图像处理装置采用定性偏振信息获取操作处理获取到的第一偏振图像,确定至少一个目标的定性偏振信息。图像处理装置输出至少一个目标的定性偏振信息。In conjunction with the above S403, in S403, the image processing device processes the acquired first polarization image by using a qualitative polarization information acquisition operation to determine the qualitative polarization information of at least one target. The image processing device outputs qualitative polarization information of at least one object.
基于上述技术方案,在环境光强的场景下,需要获取至少一个目标的第二偏振图像时,照明装置无需为至少一个目标提供照明。从而降低了照明装置的功耗。Based on the above technical solution, when the second polarization image of at least one target needs to be acquired in a scene with strong ambient light, the lighting device does not need to provide illumination for at least one target. Therefore, the power consumption of the lighting device is reduced.
图像采集装置仅采集至少一个目标的单张图像,可以降低图像采集装置需要采集的图像的数量,进而降低图像采集装置的计算量。The image acquisition device only acquires a single image of at least one target, which can reduce the number of images that the image acquisition device needs to acquire, thereby reducing the calculation amount of the image acquisition device.
图像处理装置根据该单张图像的多张第一偏振图像确定至少一个目标的定性偏振信息。同样可以降低图像处理装置需要处理的图像的数量,进而降低图像处理装置的计算量。The image processing device determines qualitative polarization information of at least one target according to the plurality of first polarization images of the single image. Likewise, the number of images to be processed by the image processing device can be reduced, thereby reducing the calculation amount of the image processing device.
场景6、第一特征信息表征环境光强度大于或等于预设值以及指示获取定量偏振信息。Scenario 6. The first characteristic information indicates that the ambient light intensity is greater than or equal to a preset value and indicates to obtain quantitative polarization information.
也即是说,在场景6中,第一特征信息用于指示:在目标所处的环境光较强的场景下,获取至少一个目标的定量偏振信息。That is to say, in scene 6, the first feature information is used to indicate: in a scene where the target is in a strong ambient light, to acquire quantitative polarization information of at least one target.
相应的,在该场景下,图像处理装置确定的第一照明操作包含:多偏振光源非同步照明,第一采集方式包含:多帧偏振图像非同步采集操作,第一图像处理方式包含:定量偏振信息获取操作。Correspondingly, in this scenario, the first lighting operation determined by the image processing device includes: multi-polarized light source asynchronous lighting, the first acquisition method includes: multi-frame polarization image asynchronous acquisition operation, and the first image processing method includes: quantitative polarization Information acquisition operation.
也即是说,在在环境光较强的场景下,为了获取至少一个目标的定量偏振信息,图像采集装置确定采用多个偏振光源依次为目标所属的场景提供照明,图像采集装置确定在照明之后,采集目标所属场景的多张图像,并从该多张图像中的每张图像中确定目标所属场景的多张不同偏振态的第一偏振图像。图像采集装置从该多张不同偏振态的第一偏振图像中确定出至少一个目标的穆勒矩阵,图像采集装置根据至少一个目标的穆勒矩阵,确定至少一个目标的定量偏振信息,图像处理装置输出至少一个目标的定量偏振信息。That is to say, in a scene with strong ambient light, in order to obtain quantitative polarization information of at least one target, the image acquisition device determines to use multiple polarized light sources to sequentially provide illumination for the scene to which the target belongs, and the image acquisition device determines that after the illumination , collecting multiple images of the scene to which the target belongs, and determining multiple first polarization images of the scene to which the target belongs with different polarization states from each of the multiple images. The image acquisition device determines the Mueller matrix of at least one target from the plurality of first polarization images of different polarization states, the image acquisition device determines the quantitative polarization information of at least one target according to the Mueller matrix of at least one target, and the image processing device Quantitative polarization information for at least one target is output.
一种可能的实现方式中,结合上述S402a-S402f,在S402a中,图像处理装置生成 的第一指令用于指示第一偏振照明方式为多偏振光源非同步照明。In a possible implementation manner, in conjunction with the above S402a-S402f, in S402a, the first instruction generated by the image processing device is used to indicate that the first polarization illumination mode is asynchronous illumination with multiple polarization light sources.
在S402c中,照明装置采用照明模式2为目标提供照明。In S402c, the lighting device uses lighting mode 2 to provide lighting for the target.
在S402d中,图像处理装置生成的第二指令用于指示第一采集方式为多帧偏振图像非同步采集操作。In S402d, the second instruction generated by the image processing device is used to indicate that the first acquisition mode is an asynchronous acquisition operation of multi-frame polarization images.
在S402f中,图像采集装置采用图像采集方式2采集至少一个目标的偏振图像。In S402f, the image acquisition device adopts the image acquisition mode 2 to acquire the polarization image of at least one target.
结合上述S403、在S403中,图像处理装置采用定量偏振信息获取操作处理获取到的第一偏振图像,确定至少一个目标的定量偏振信息。图像处理装置输出至少一个目标的定量偏振信息。In conjunction with the above S403, in S403, the image processing device processes the acquired first polarization image by using a quantitative polarization information acquisition operation to determine quantitative polarization information of at least one target. The image processing device outputs quantitative polarization information for at least one object.
基于上述技术方案,在环境光较强的场景下,需要获取至少一个目标的定量偏振信息时,照明装置为至少一个目标提供多偏振光源非同步照明,这样,图像采集装置可以采集到至少一个目标在不同偏振光源下反射形成的偏振图像,基于至少一个目标在不同偏振光源下反射形成的偏振图像,以及不同偏振光源提供的偏振光信息,图像处理装置可以确定至少一个目标的穆勒矩阵,进而图像处理装置可以根据至少一个目标的穆勒矩阵确定至少一个目标的定量偏振信息。Based on the above technical solution, when the quantitative polarization information of at least one target needs to be acquired in a scene with strong ambient light, the lighting device provides asynchronous illumination of multi-polarized light sources for at least one target, so that the image acquisition device can capture at least one target The polarized image formed by reflection under different polarized light sources, based on the polarized image formed by the reflection of at least one target under different polarized light sources, and the polarized light information provided by different polarized light sources, the image processing device can determine the Mueller matrix of at least one target, and then The image processing device may determine quantitative polarization information of at least one object based on the Mueller matrix of at least one object.
需要指出的是,本申请实施例不对照明装置提供的偏振光源的波段,以及图像采集装置采集的目标偏振图像的波段进行限定。It should be noted that the embodiment of the present application does not limit the wavelength band of the polarized light source provided by the lighting device and the wavelength band of the target polarized image collected by the image acquisition device.
例如,照明装置可以提供当前可见光条件下的各种偏振光源;或者,照明装置可以提供红外线(infrared radiation,IR)波段的偏振光源;又或者,照明装置还可以提供其他波段下的偏振光源。本申请对此不做限定。For example, the lighting device can provide various polarized light sources under the current visible light conditions; or, the lighting device can provide polarized light sources in the infrared (infrared radiation, IR) band; or, the lighting device can also provide polarized light sources in other wave bands. This application does not limit this.
同样的,图像采集装置在采集目标的偏振图像时,可以采集目标的可见光偏振图像。或者,图像采集装置还可以采集目标在IR波段的偏振图像;又或者,图像采集装置还可以采集目标在其他波段下的偏振图像。本申请对此不做限定。Similarly, when the image acquisition device acquires the polarization image of the target, it can acquire the visible light polarization image of the target. Alternatively, the image acquisition device may also acquire polarization images of the target in the IR band; or, the image acquisition device may also acquire polarization images of the target in other bands. This application does not limit this.
需要指出的是,图像采集装置在采集不同波段的偏振图像时,可以通过在图像采集装置中添加相应波段的通道镀膜实现。It should be pointed out that when the image acquisition device collects polarization images of different bands, it can be realized by adding channel coatings of corresponding bands to the image acquisition device.
例如,图像采集装置采集目标在IR波段的偏振图像时,可以通过在图像采集装置中增加IR通道镀膜实现获取目标在IR波段的偏振图像。For example, when the image acquisition device collects the polarization image of the target in the IR band, the polarization image of the target in the IR band can be acquired by adding an IR channel coating to the image acquisition device.
需要说明的是,在上述实施例中,主要以将该图像处理方法应用到车辆中在具体实现过程中,该图像处理方法还可以应用于其他具有照明,图像采集,以及图像处理能力的装置中,例如应用于手机,平板电脑,具有图像处理能力的相机中等。本申请对此不做限定。It should be noted that, in the above-mentioned embodiments, the image processing method is mainly applied to vehicles. In the specific implementation process, the image processing method can also be applied to other devices with lighting, image acquisition, and image processing capabilities. , such as mobile phones, tablet computers, cameras with image processing capabilities, etc. This application does not limit this.
此外,本申请主要以图像处理装置与照明装置,图像采集装置分开设置为例进行说明。在具体实现过程中,图像处理装置,与照明装置,图像采集装置也可以集成在同一个设备中。在该情况下,本申请实施例的图像处理方法的实现方式与上述实施例中记载的实现方式类似,本申请对此不在赘述。In addition, in this application, the image processing device, the lighting device, and the image acquisition device are separately provided as an example for illustration. In a specific implementation process, the image processing device, the lighting device, and the image acquisition device can also be integrated into the same device. In this case, the implementation of the image processing method in the embodiment of the present application is similar to the implementation described in the foregoing embodiments, which will not be described in detail in the present application.
本申请上述实施例中的各个方案在不矛盾的前提下,均可以进行结合。The solutions in the above embodiments of the present application can be combined under the premise of no contradiction.
上述主要从装置的内部实现以及各个装置之间交互的角度对本申请实施例的方案进行了介绍。可以理解的是,各个装置,例如,图像处理装置、图像采集装置和照明装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和软件模块中的至少一个。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例 的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions of the embodiments of the present application from the perspectives of internal implementation of devices and interaction between devices. It can be understood that each device, for example, an image processing device, an image acquisition device, and an illumination device includes at least one of corresponding hardware structures and software modules for performing each function in order to realize the above-mentioned functions. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
本申请实施例可以根据上述方法示例对图像处理装置、图像采集装置和照明装置进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the embodiment of the present application, the functional units of the image processing device, the image acquisition device and the lighting device can be divided according to the above method examples. For example, each functional unit can be divided corresponding to each function, or two or more functions can be integrated into one in a processing unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation.
在采用集成的单元的情况下,图9示出了上述实施例中所涉及的处理装置(记为处理装置90)的一种可能的结构示意图,该处理装置90包括处理单元901和通信单元902,还可以包括存储单元903。图9所示的结构示意图可以用于示意上述实施例中所涉及的图像处理装置、图像采集装置和照明装置的结构。In the case of using an integrated unit, FIG. 9 shows a possible structural diagram of a processing device (referred to as a processing device 90) involved in the above-mentioned embodiment, and the processing device 90 includes a processing unit 901 and a communication unit 902. , may also include a storage unit 903 . The structural diagram shown in FIG. 9 can be used to illustrate the structures of the image processing device, the image acquisition device and the lighting device involved in the above embodiments.
当图9所示的结构示意图用于示意上述实施例中所涉及的图像处理装置的结构时,处理单元901用于对图像处理装置的动作进行控制管理,例如,控制图像处理装置执行图4中的S400至S403、图5中的S400a至S400c、S401、S402a、S402b、S402d、S402e、S402g、S403,和/或本申请实施例中所描述的其他过程中的图像处理装置执行的动作。处理单元901可以通过通信单元902与其他装置实体通信,例如,与图2中示出的图像采集装置和照明装置通信。存储单元903用于存储图像处理装置的程序代码和数据。When the structural diagram shown in FIG. 9 is used to illustrate the structure of the image processing device involved in the above-mentioned embodiments, the processing unit 901 is used to control and manage the actions of the image processing device, for example, to control the image processing device to execute the S400 to S403, S400a to S400c, S401, S402a, S402b, S402d, S402e, S402g, S403 in FIG. 5, and/or actions performed by the image processing apparatus in other processes described in the embodiments of this application. The processing unit 901 can communicate with other device entities through the communication unit 902 , for example, communicate with the image acquisition device and the lighting device shown in FIG. 2 . The storage unit 903 is used to store program codes and data of the image processing device.
当图9所示的结构示意图用于示意上述实施例中所涉及的图像处理装置的结构时,处理装置90可以是图像处理装置,也可以是图像处理装置内的芯片。When the structural diagram shown in FIG. 9 is used to illustrate the structure of the image processing device involved in the above embodiments, the processing device 90 may be an image processing device or a chip in the image processing device.
当图9所示的结构示意图用于示意上述实施例中所涉及的图像采集装置的结构时,处理单元901用于对图像采集装置的动作进行控制管理,例如,控制图像采集装置执行图5中的S402e至S402g,和/或本申请实施例中所描述的其他过程中的图像采集装置执行的动作。处理单元901可以通过通信单元902与其他装置实体通信,例如,与图2中示出的图像处理装置和照明装置通信。存储单元903用于存储图像采集装置的程序代码和数据。When the structural schematic diagram shown in FIG. 9 is used to illustrate the structure of the image acquisition device involved in the above embodiment, the processing unit 901 is used to control and manage the actions of the image acquisition device, for example, to control the image acquisition device to execute the S402e to S402g, and/or actions performed by the image acquisition device in other processes described in the embodiments of this application. The processing unit 901 can communicate with other device entities through the communication unit 902 , for example, communicate with the image processing device and the lighting device shown in FIG. 2 . The storage unit 903 is used for storing program codes and data of the image acquisition device.
当图9所示的结构示意图用于示意上述实施例中所涉及的图像采集装置的结构时,处理装置90可以是图像采集装置,也可以是图像采集装置内的芯片。When the structural diagram shown in FIG. 9 is used to illustrate the structure of the image acquisition device involved in the above embodiments, the processing device 90 may be an image acquisition device, or a chip in the image acquisition device.
当图9所示的结构示意图用于示意上述实施例中所涉及的照明装置的结构时,处理单元901用于对照明装置的动作进行控制管理,例如,控制照明装置执行图5中的S402b和S402c,和/或本申请实施例中所描述的其他过程中的照明装置执行的动作。处理单元901可以通过通信单元902与其他装置实体通信,例如,与图2中示出的图像处理装置和图像采集装置通信。存储单元903用于存储照明装置的程序代码和数据。When the structural schematic diagram shown in FIG. 9 is used to illustrate the structure of the lighting device involved in the above embodiment, the processing unit 901 is used to control and manage the actions of the lighting device, for example, to control the lighting device to execute S402b and S402c, and/or actions performed by the lighting device in other processes described in the embodiments of this application. The processing unit 901 can communicate with other device entities through the communication unit 902 , for example, communicate with the image processing device and the image acquisition device shown in FIG. 2 . The storage unit 903 is used for storing program codes and data of the lighting device.
当图9所示的结构示意图用于示意上述实施例中所涉及的照明装置的结构时,处理装置90可以是照明装置,也可以是照明装置内的芯片。When the structural schematic diagram shown in FIG. 9 is used to illustrate the structure of the lighting device involved in the above embodiment, the processing device 90 may be a lighting device, or a chip in the lighting device.
其中,当处理装置90为图像处理装置、图像采集装置或照明装置时,处理单元901可以是处理器或控制器,通信单元902可以是通信接口、收发器、收发机、收发 电路、收发装置等。其中,通信接口是统称,可以包括一个或多个接口。存储单元903可以是存储器。当处理装置90为图像处理装置、图像采集装置或照明装置内的芯片时,处理单元901可以是处理器或控制器,通信单元902可以是输入接口和/或输出接口、管脚或电路等。存储单元903可以是该芯片内的存储单元(例如,寄存器、缓存等),也可以是图像处理装置、图像采集装置或照明装置内的位于该芯片外部的存储单元(例如,只读存储器(read-only memory,简称ROM)、随机存取存储器(random access memory,简称RAM)等)。Wherein, when the processing device 90 is an image processing device, an image acquisition device or a lighting device, the processing unit 901 may be a processor or a controller, and the communication unit 902 may be a communication interface, a transceiver, a transceiver, a transceiver circuit, a transceiver device, etc. . Wherein, the communication interface is a general term, and may include one or more interfaces. The storage unit 903 may be a memory. When the processing device 90 is a chip in an image processing device, an image acquisition device or a lighting device, the processing unit 901 may be a processor or a controller, and the communication unit 902 may be an input interface and/or output interface, a pin or a circuit, etc. The storage unit 903 may be a storage unit (for example, a register, a cache, etc.) in the chip, or a storage unit outside the chip (for example, a read-only memory (read-only memory) -only memory, referred to as ROM), random access memory (random access memory, referred to as RAM), etc.).
其中,通信单元也可以称为收发单元。处理装置90中的具有收发功能的天线和控制电路可以视为处理装置90的通信单元902,具有处理功能的处理器可以视为处理装置90的处理单元901。可选的,通信单元902中用于实现接收功能的器件可以视为接收单元,接收单元用于执行本申请实施例中的接收的步骤,接收单元可以为接收机、接收器、接收电路等。Wherein, the communication unit may also be referred to as a transceiver unit. The antenna and control circuit with transceiver function in the processing device 90 can be regarded as the communication unit 902 of the processing device 90 , and the processor with processing function can be regarded as the processing unit 901 of the processing device 90 . Optionally, the device in the communication unit 902 for implementing the receiving function may be regarded as a receiving unit, and the receiving unit is used to perform the receiving step in the embodiment of the present application, and the receiving unit may be a receiver, a receiver, a receiving circuit, and the like.
图9中的集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。存储计算机软件产品的存储介质包括:U盘、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated units in FIG. 9 are realized in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage In the medium, several instructions are included to make a computer device (which may be a personal computer, server, or network device, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application. Storage media for storing computer software products include: U disk, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk, and other media that can store program codes.
图9中的单元也可以称为模块,例如,处理单元可以称为处理模块。Units in FIG. 9 may also be referred to as modules, for example, a processing unit may be referred to as a processing module.
本申请实施例还提供了一种处理装置(记为处理装置100)的硬件结构示意图,参见图10或图11,该处理装置100包括处理器1001,可选的,还包括与处理器1001连接的存储器1002。处理器1001中包括至少一个处理器。The embodiment of the present application also provides a schematic diagram of the hardware structure of a processing device (referred to as the processing device 100), referring to Figure 10 or Figure 11, the processing device 100 includes a processor 1001, and optionally, also includes memory 1002. The processor 1001 includes at least one processor.
在第一种可能的实现方式中,参见图10,处理装置100还包括通信接口1003。处理器1001、存储器1002和通信接口1003通过总线相连接。通信接口1003用于与其他设备或通信网络通信。可选的,通信接口1003可以包括发射机和接收机。通信接口1003中用于实现接收功能的器件可以视为接收机,接收机用于执行本申请实施例中的接收的步骤。通信接口1003中用于实现发送功能的器件可以视为发射机,发射机用于执行本申请实施例中的发送的步骤。In a first possible implementation manner, referring to FIG. 10 , the processing device 100 further includes a communication interface 1003 . The processor 1001, the memory 1002 and the communication interface 1003 are connected through a bus. The communication interface 1003 is used for communicating with other devices or communication networks. Optionally, the communication interface 1003 may include a transmitter and a receiver. The device in the communication interface 1003 for implementing the receiving function may be regarded as a receiver, and the receiver is configured to perform the receiving step in the embodiment of the present application. The device in the communication interface 1003 for implementing the sending function may be regarded as a transmitter, and the transmitter is used to perform the sending step in the embodiment of the present application.
基于第一种可能的实现方式,图10所示的结构示意图可以用于示意上述实施例中所涉及的图像处理装置、图像采集装置或照明设备的结构。Based on the first possible implementation manner, the schematic structural diagram shown in FIG. 10 may be used to illustrate the structure of the image processing device, the image acquisition device or the lighting device involved in the above embodiments.
当图10所示的结构示意图用于示意上述实施例中所涉及的图像处理装置的结构时,处理器1001用于对图像处理装置的动作进行控制管理,例如,处理器1001用于支持图像处理装置执行图4中的S400至S403、图5中的S400a至S400c、S401、S402a、S402b、S402d、S402e、S402g、S403,和/或本申请实施例中所描述的其他过程中的图像处理装置执行的动作。处理器1001可以通过通信接口1003与其他装置实体通信,例如,与图2中示出的图像采集装置和照明装置通信。存储器1002用于存储图像处理装置的程序代码和数据。When the structural schematic diagram shown in FIG. 10 is used to illustrate the structure of the image processing device involved in the above embodiments, the processor 1001 is used to control and manage the actions of the image processing device, for example, the processor 1001 is used to support image processing The device executes S400 to S403 in FIG. 4, S400a to S400c, S401, S402a, S402b, S402d, S402e, S402g, S403 in FIG. 5, and/or an image processing device in other processes described in the embodiments of this application The action performed. The processor 1001 can communicate with other device entities through the communication interface 1003 , for example, communicate with the image acquisition device and the lighting device shown in FIG. 2 . The memory 1002 is used to store program codes and data of the image processing device.
当图10所示的结构示意图用于示意上述实施例中所涉及的图像采集装置的结构时,处理器1001用于对图像采集装置的动作进行控制管理,例如,处理器1001用于支持图像采集装置执行图5中的S402e至S402g,和/或本申请实施例中所描述的其他过程中的图像采集装置执行的动作。处理器1001可以通过通信接口1003与其他装置实体通信,例如,与图2中示出的图像处理装置和照明装置通信。存储器1002用于存储图像采集装置的程序代码和数据。需要说明的是,在处理装置100用于示意上述实施例中所涉及的图像采集装置的结构时,处理装置100还包括偏振图像采集器,用于采集目标的偏振图像。When the schematic structural diagram shown in FIG. 10 is used to illustrate the structure of the image acquisition device involved in the above embodiments, the processor 1001 is used to control and manage the actions of the image acquisition device, for example, the processor 1001 is used to support image acquisition The device executes S402e to S402g in FIG. 5 , and/or actions performed by the image acquisition device in other processes described in the embodiments of this application. The processor 1001 can communicate with other device entities through the communication interface 1003 , for example, communicate with the image processing device and the lighting device shown in FIG. 2 . The memory 1002 is used to store program codes and data of the image acquisition device. It should be noted that when the processing device 100 is used to illustrate the structure of the image acquisition device involved in the above embodiments, the processing device 100 also includes a polarization image collector for collecting a polarization image of the target.
当图10所示的结构示意图用于示意上述实施例中所涉及的照明装置的结构时,处理器1001用于对照明装置的动作进行控制管理,例如,处理器1001用于支持照明装置执行图5中的S402b和S402c,和/或本申请实施例中所描述的其他过程中的照明装置执行的动作。处理器1001可以通过通信接口1003与其他装置实体通信,例如,与图2中示出的图像处理装置和图像采集装置通信。存储器1002用于存储照明装置的程序代码和数据。需要说明的是,在处理装置100用于示意上述实施例中所涉及的照明装置的结构时,处理装置100还包括多个偏振态的光源,用于为目标提供偏振照明。When the structural diagram shown in FIG. 10 is used to illustrate the structure of the lighting device involved in the above-mentioned embodiments, the processor 1001 is used to control and manage the actions of the lighting device, for example, the processor 1001 is used to support the lighting device to execute the diagram S402b and S402c in 5, and/or actions performed by the lighting device in other processes described in the embodiments of this application. The processor 1001 can communicate with other device entities through the communication interface 1003 , for example, communicate with the image processing device and the image acquisition device shown in FIG. 2 . The memory 1002 is used to store program codes and data of the lighting device. It should be noted that when the processing device 100 is used to illustrate the structure of the illumination device involved in the above-mentioned embodiments, the processing device 100 also includes a plurality of light sources in polarization states, which are used to provide polarized illumination for the target.
在第二种可能的实现方式中,处理器1001包括逻辑电路以及输入接口和输出接口中的至少一个。其中,输出接口用于执行相应方法中的发送的动作,输入接口用于执行相应方法中的接收的动作。In a second possible implementation manner, the processor 1001 includes a logic circuit and at least one of an input interface and an output interface. Wherein, the output interface is used to perform the sending action in the corresponding method, and the input interface is used to perform the receiving action in the corresponding method.
基于第二种可能的实现方式,参见图11,图11所示的结构示意图可以用于示意上述实施例中所涉及的图像处理装置、图像采集装置或照明设备的结构。Based on the second possible implementation manner, referring to FIG. 11 , the schematic structural diagram shown in FIG. 11 may be used to illustrate the structure of the image processing device, image acquisition device or lighting device involved in the above embodiments.
当图11所示的结构示意图用于示意上述实施例中所涉及的图像处理装置的结构时,处理器1001用于对图像处理装置的动作进行控制管理,例如,处理器1001用于支持图像处理装置执行图4中的S400至S403、图5中的S400a至S400c、S401、S402a、S402b、S402d、S402e、S402g、S403,和/或本申请实施例中所描述的其他过程中的图像处理装置执行的动作。处理器1001可以通过输入接口和输出接口中的至少一个与其他装置实体通信,例如,与图2中示出的图像采集装置和照明装置通信。存储器1002用于存储图像处理装置的程序代码和数据。When the structural diagram shown in FIG. 11 is used to illustrate the structure of the image processing device involved in the above-mentioned embodiments, the processor 1001 is used to control and manage the actions of the image processing device, for example, the processor 1001 is used to support image processing The device executes S400 to S403 in FIG. 4, S400a to S400c, S401, S402a, S402b, S402d, S402e, S402g, S403 in FIG. 5, and/or an image processing device in other processes described in the embodiments of this application The action performed. The processor 1001 may communicate with other device entities through at least one of an input interface and an output interface, for example, communicate with an image acquisition device and a lighting device shown in FIG. 2 . The memory 1002 is used to store program codes and data of the image processing device.
当图11所示的结构示意图用于示意上述实施例中所涉及的图像采集装置的结构时,处理器1001用于对图像采集装置的动作进行控制管理,例如,处理器1001用于支持图像采集装置执行图5中的S402e至S402g,和/或本申请实施例中所描述的其他过程中的图像采集装置执行的动作。处理器1001可以通过输入接口和输出接口中的至少一个与其他装置实体通信,例如,与图2中示出的图像处理装置和照明装置通信。存储器1002用于存储图像采集装置的程序代码和数据。When the schematic structural diagram shown in FIG. 11 is used to illustrate the structure of the image acquisition device involved in the above-mentioned embodiments, the processor 1001 is used to control and manage the actions of the image acquisition device, for example, the processor 1001 is used to support image acquisition The device executes S402e to S402g in FIG. 5 , and/or actions performed by the image acquisition device in other processes described in the embodiments of this application. The processor 1001 may communicate with other device entities through at least one of an input interface and an output interface, for example, communicate with an image processing device and a lighting device shown in FIG. 2 . The memory 1002 is used to store program codes and data of the image acquisition device.
当图11所示的结构示意图用于示意上述实施例中所涉及的照明装置的结构时,处理器1001用于对照明装置的动作进行控制管理,例如,处理器1001用于支持照明装置执行图5中的S402b和S402c,和/或本申请实施例中所描述的其他过程中的照明装置执行的动作。处理器1001可以通过输入接口和输出接口中的至少一个与其他装置实体通信,例如,与图2中示出的图像处理装置和图像采集装置通信。存储器1002用于存储照明装置的程序代码和数据。When the structural diagram shown in FIG. 11 is used to illustrate the structure of the lighting device involved in the above-mentioned embodiments, the processor 1001 is used to control and manage the actions of the lighting device, for example, the processor 1001 is used to support the lighting device to execute the diagram S402b and S402c in 5, and/or actions performed by the lighting device in other processes described in the embodiments of this application. The processor 1001 may communicate with other device entities through at least one of an input interface and an output interface, for example, communicate with an image processing device and an image acquisition device shown in FIG. 2 . The memory 1002 is used to store program codes and data of the lighting device.
其中,图10和图11也可以示意图像处理装置中的系统芯片。该情况下,上述图像处理装置执行的动作可以由该系统芯片实现,具体所执行的动作可参见上文,在此不再赘述。图10和图11也可以示意图像采集装置中的系统芯片。该情况下,上述图像采集装置执行的动作可以由该系统芯片实现,具体所执行的动作可参见上文,在此不再赘述。图10和图11也可以示意照明装置中的系统芯片。该情况下,上述照明装置执行的动作可以由该系统芯片实现,具体所执行的动作可参见上文,在此不再赘述。Wherein, FIG. 10 and FIG. 11 may also schematically illustrate the system chip in the image processing device. In this case, the actions performed by the above-mentioned image processing device may be implemented by the system chip, and the specific actions performed may refer to the above, and will not be repeated here. Fig. 10 and Fig. 11 may also schematically illustrate the system chip in the image acquisition device. In this case, the above-mentioned actions performed by the image acquisition device may be implemented by the system chip, and the specific actions performed may refer to the above, and will not be repeated here. Fig. 10 and Fig. 11 may also illustrate a system-on-a-chip in a lighting device. In this case, the actions performed by the above lighting device may be implemented by the system chip, and the specific actions performed may refer to the above, and will not be repeated here.
在实现过程中,本实施例提供的方法中的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。In the implementation process, each step in the method provided by this embodiment may be implemented by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The steps of the methods disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
本申请中的处理器可以包括但不限于以下至少一种:中央处理单元(central processing unit,CPU)、微处理器、数字信号处理器(DSP)、微控制器(microcontroller unit,MCU)、或人工智能处理器等各类运行软件的计算设备,每种计算设备可包括一个或多个用于执行软件指令以进行运算或处理的核。该处理器可以是个单独的半导体芯片,也可以跟其他电路一起集成为一个半导体芯片,例如,可以跟其他电路(如编解码电路、硬件加速电路或各种总线和接口电路)构成一个SoC(片上系统),或者也可以作为一个ASIC的内置处理器集成在所述ASIC当中,该集成了处理器的ASIC可以单独封装或者也可以跟其他电路封装在一起。该处理器除了包括用于执行软件指令以进行运算或处理的核外,还可进一步包括必要的硬件加速器,如现场可编程门阵列(field programmable gate array,FPGA)、PLD(可编程逻辑器件)、或者实现专用逻辑运算的逻辑电路。The processor in the present application may include but not limited to at least one of the following: a central processing unit (central processing unit, CPU), a microprocessor, a digital signal processor (DSP), a microcontroller (microcontroller unit, MCU), or Various types of computing devices that run software, such as artificial intelligence processors, each of which may include one or more cores for executing software instructions for calculation or processing. The processor can be a separate semiconductor chip, or can be integrated with other circuits into a semiconductor chip, for example, can form a SoC (on-chip chip) with other circuits (such as codec circuits, hardware acceleration circuits, or various bus and interface circuits). system), or may also be integrated in the ASIC as a built-in processor of the ASIC, and the ASIC integrated with the processor may be packaged separately or together with other circuits. In addition to including a core for executing software instructions for calculation or processing, the processor can further include necessary hardware accelerators, such as field programmable gate array (field programmable gate array, FPGA), PLD (programmable logic device) , or a logic circuit that implements a dedicated logic operation.
本申请实施例中的存储器,可以包括如下至少一种类型:只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically erasable programmable read-only memory,EEPROM)。在某些场景下,存储器还可以是只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。The memory in the embodiment of the present application may include at least one of the following types: read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, random access memory (random access memory) , RAM) or other types of dynamic storage devices that can store information and instructions, or electrically erasable programmable read-only memory (Electrically erasable programmable read-only memory, EEPROM). In some scenarios, the memory can also be a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.) , disk storage medium or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto.
本申请实施例还提供了一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行上述任一方法。An embodiment of the present application also provides a computer-readable storage medium, including instructions, which, when run on a computer, cause the computer to execute any one of the above methods.
本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一方法。The embodiment of the present application also provides a computer program product containing instructions, which, when run on a computer, causes the computer to execute any one of the above methods.
本申请实施例还提供了一种图像处理系统,包括:上述图像处理装置、图像采集装置以及照明装置。An embodiment of the present application also provides an image processing system, including: the above-mentioned image processing device, an image acquisition device, and a lighting device.
本申请实施例还提供了一种芯片,该芯片包括处理器和接口电路,该接口电路和该处理器耦合,该处理器用于运行计算机程序或指令,以实现上述方法,该接口电路用于与该芯片之外的其它模块进行通信。The embodiment of the present application also provides a chip, the chip includes a processor and an interface circuit, the interface circuit is coupled to the processor, the processor is used to run computer programs or instructions to implement the above method, and the interface circuit is used to communicate with other modules outside the chip to communicate.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实 现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,简称DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,简称SSD))等。In the above-mentioned embodiments, it may be fully or partially implemented by software, hardware, firmware or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. A computer can be a general purpose computer, special purpose computer, computer network, or other programmable device. Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that can be accessed by a computer, or may contain one or more data storage devices such as servers and data centers that can be integrated with the medium. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a solid state disk (solid state disk, SSD for short)) and the like.
最后应说明的是:以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。Finally, it should be noted that: the above is only a specific implementation of the application, but the scope of protection of the application is not limited thereto, and any changes or replacements within the technical scope disclosed in the application shall be covered by this application. within the scope of the application. Therefore, the protection scope of the present application should be determined by the protection scope of the claims.
Claims (39)
- 一种图像处理方法,其特征在于,包括:An image processing method, characterized in that, comprising:获取第一特征信息;所述第一特征信息用于表征场景特征以及指示至少一个目标的偏振信息的获取,所述第一特征信息对应于第一照明方式、第一采集方式以及第一图像处理方式;Acquiring first feature information; the first feature information is used to characterize scene features and indicate the acquisition of polarization information of at least one target, the first feature information corresponds to the first lighting mode, the first acquisition mode and the first image processing Way;根据所述第一照明方式控制偏振光照明,以及,根据所述第一采集方式,控制采集所述至少一个目标在所述第一照明方式下的第一偏振图像;Control polarized light illumination according to the first illumination mode, and, according to the first acquisition mode, control and collect a first polarized image of the at least one target under the first illumination mode;根据所述第一图像处理方式,对所述第一偏振图像处理,获取所述至少一个目标的偏振信息。According to the first image processing manner, the first polarization image is processed to acquire polarization information of the at least one target.
- 根据权利要求1所述的方法,其特征在于,在所述获取第一特征信息之后,所述方法还包括:The method according to claim 1, characterized in that, after said obtaining the first characteristic information, said method further comprises:根据所述第一特征信息,确定所述第一照明方式、第一采集方式以及第一图像处理方式。According to the first characteristic information, the first lighting mode, the first collection mode and the first image processing mode are determined.
- 根据权利要求1或2所述的方法,其特征在于,所述场景特征包括环境的光强度信息。The method according to claim 1 or 2, characterized in that the scene features include light intensity information of the environment.
- 根据权利要求1-3任一项所述的方法,其特征在于,所述偏振信息包括以下至少一项:第二偏振图像,定性偏振信息,或者定量偏振信息。The method according to any one of claims 1-3, wherein the polarization information includes at least one of the following: a second polarization image, qualitative polarization information, or quantitative polarization information.
- 根据权利要求1-4任一项所述的方法,其特征在于,所述第一照明方式属于偏振光照明方式集合,所述偏振光照明方式集合包括以下至少一项:多偏振光源同步照明,多偏振光源非同步照明,或者无照明;The method according to any one of claims 1-4, wherein the first lighting method belongs to a set of polarized light lighting methods, and the set of polarized light lighting methods includes at least one of the following: synchronous lighting of multiple polarized light sources, Non-synchronous illumination of multi-polarized light sources, or no illumination;其中,所述多偏振光源同步照明为:通过多个不同偏振态的偏振光源同时提供偏振照明;Wherein, the multi-polarized light source synchronous lighting is: providing polarized lighting simultaneously through a plurality of polarized light sources with different polarization states;所述多偏振光源非同步照明为:通过多个不同偏振态的偏振光源依次提供偏振照明;The asynchronous illumination of the multi-polarized light sources is: sequentially providing polarized illumination through a plurality of polarized light sources with different polarization states;所述无照明为:不提供照明。The no lighting means: no lighting is provided.
- 根据权利要求1-5任一项所述的方法,其特征在于,所述第一采集方式属于偏振采集方式集合,所述偏振采集方式集合包括:单帧偏振图像同步采集操作,多帧偏振图像非同步采集操作;The method according to any one of claims 1-5, wherein the first acquisition mode belongs to a set of polarization acquisition modes, and the set of polarization acquisition modes includes: synchronous acquisition operation of a single-frame polarization image, multi-frame polarization image Asynchronous acquisition operation;所述单帧偏振图像同步采集操作包含:通过采集所述至少一个目标的单张图像,从所述单张图像中获取多张不同偏振态的偏振图像;The synchronous acquisition operation of a single-frame polarization image includes: acquiring a plurality of polarization images of different polarization states from the single image by acquiring a single image of the at least one target;所述多帧偏振图像非同步采集操作包含:通过采集所述至少一个目标的多张图像,所述多张图像中的每张图像包括多张不同偏振态的偏振图像。The asynchronous acquisition operation of multiple frames of polarization images includes: acquiring multiple images of the at least one target, each of the multiple images including multiple polarization images of different polarization states.
- 根据权利要求1-6任一项所述的方法,其特征在于,所述第一图像处理方式属于偏振图像处理方式集合,所述偏振图像处理方式集合包括:偏振图像获取操作,定性偏振信息获取操作,定量偏振信息获取操作;The method according to any one of claims 1-6, wherein the first image processing method belongs to a polarization image processing method set, and the polarization image processing method set includes: polarization image acquisition operation, qualitative polarization information acquisition Operation, quantitative polarization information acquisition operation;其中,所述偏振图像获取操作用于获取所述第二偏振图像,所述第二偏振图像属于所述第一偏振图像在不同偏振态下的偏振图像;Wherein, the polarization image acquisition operation is used to acquire the second polarization image, and the second polarization image is a polarization image of the first polarization image in a different polarization state;所述定性偏振信息获取操作用于获取所述至少一个目标的以下至少一项偏振信息:斯托克斯矢量,偏振度,或者偏振角;The qualitative polarization information acquisition operation is used to acquire at least one of the following polarization information of the at least one target: Stokes vector, polarization degree, or polarization angle;所述定量偏振信息获取操作用于获取所述至少一个目标的穆勒矩阵。The quantitative polarization information obtaining operation is used to obtain a Mueller matrix of the at least one target.
- 根据权利要求1-7任一项所述的方法,其特征在于,所述第一特征信息表征环境光强度小于预设值以及指示获取所述第二偏振图像,所述第一照明操作包含:多偏振光源同步照明,所述偏振图像采集方式包含:单帧偏振图像同步采集操作,所述偏振图像处理操作包含:偏振图像获取操作。The method according to any one of claims 1-7, wherein the first feature information indicates that the ambient light intensity is less than a preset value and indicates to obtain the second polarization image, and the first lighting operation includes: Multiple polarization light sources are illuminated synchronously, the polarization image acquisition method includes: a single frame polarization image synchronous acquisition operation, and the polarization image processing operation includes: polarization image acquisition operation.
- 根据权利要求1-7任一项所述的方法,其特征在于,所述第一特征信息表征环境光强度小于预设值以及指示获取定性偏振信息,所述偏振光照明操作包含:多偏振光源同步照明,所述偏振图像采集方式包含:单帧偏振图像同步采集操作,所述偏振图像处理操作包含:定性偏振信息获取操作。The method according to any one of claims 1-7, wherein the first characteristic information indicates that the ambient light intensity is less than a preset value and indicates to obtain qualitative polarization information, and the polarized light illumination operation includes: a multi-polarized light source For synchronous lighting, the polarization image acquisition method includes: a single-frame polarization image synchronous acquisition operation, and the polarization image processing operation includes: qualitative polarization information acquisition operation.
- 根据权利要求1-7任一项所述的方法,其特征在于,所述第一特征信息表征环境光强度小于预设值以及指示获取定性偏振信息,所述偏振光照明操作包含:多偏振光源非同步照明,所述偏振图像采集方式包含:多帧偏振图像非同步采集操作,所述偏振图像处理操作包含:定量偏振信息获取操作。The method according to any one of claims 1-7, wherein the first characteristic information indicates that the ambient light intensity is less than a preset value and indicates to obtain qualitative polarization information, and the polarized light illumination operation includes: a multi-polarized light source For asynchronous illumination, the polarization image acquisition method includes: asynchronous acquisition operation of multi-frame polarization images, and the polarization image processing operation includes: quantitative polarization information acquisition operation.
- 根据权利要求1-7任一项所述的方法,其特征在于,所述第一特征信息表征环境光强度大于或等于预设值以及指示获取所述第二偏振图像,所述偏振光照明操作包含:无照明,所述偏振图像采集方式包含:单帧偏振图像同步采集操作,所述偏振图像处理操作包含:偏振图像获取操作。The method according to any one of claims 1-7, wherein the first feature information indicates that the ambient light intensity is greater than or equal to a preset value and indicates that the second polarized image is acquired, and the polarized light illumination operation Including: no illumination, the polarization image acquisition method includes: a single-frame polarization image synchronous acquisition operation, and the polarization image processing operation includes: polarization image acquisition operation.
- 根据权利要求1-7任一项所述的方法,其特征在于,所述第一特征信息表征环境光强度大于或等于预设值以及指示获取定性偏振信息,所述偏振光照明操作包含:无照明,所述偏振图像采集方式包含:单帧偏振图像同步采集操作,所述偏振图像处理操作包含:定性偏振信息获取操作。The method according to any one of claims 1-7, wherein the first characteristic information indicates that the ambient light intensity is greater than or equal to a preset value and indicates to obtain qualitative polarization information, and the polarized light illumination operation includes: none For illumination, the polarized image acquisition method includes: a single-frame polarized image synchronous acquisition operation, and the polarized image processing operation includes: qualitative polarization information acquisition operation.
- 根据权利要求1-7任一项所述的方法,其特征在于,所述第一特征信息表征环境光强度大于或等于预设值以及指示获取定量偏振信息,所述偏振光照明操作包含:多偏振光源非同步照明,所述偏振图像采集方式包含:多帧偏振图像非同步采集操作,所述偏振图像处理操作包含:定量偏振信息获取操作。The method according to any one of claims 1-7, wherein the first feature information indicates that the ambient light intensity is greater than or equal to a preset value and indicates to obtain quantitative polarization information, and the polarized light illumination operation includes: The polarized light source is asynchronously illuminated, and the polarization image acquisition method includes: asynchronous acquisition operation of multi-frame polarization images, and the polarization image processing operation includes: quantitative polarization information acquisition operation.
- 一种图像处理装置,其特征在于,包括:处理单元和获取单元;An image processing device, characterized by comprising: a processing unit and an acquisition unit;所述获取单元,用于获取第一特征信息;所述第一特征信息用于表征场景特征以及指示至少一个目标的偏振信息的获取,所述第一特征信息对应于第一照明方式、第一采集方式以及第一图像处理方式;The acquiring unit is configured to acquire first feature information; the first feature information is used to characterize scene features and indicate the acquisition of polarization information of at least one target, the first feature information corresponds to the first lighting mode, the first A collection method and a first image processing method;所述处理单元,用于根据所述第一照明方式控制偏振光照明,以及,根据所述第一采集方式,控制采集所述至少一个目标在所述第一照明方式下的第一偏振图像;The processing unit is configured to control polarized light illumination according to the first illumination mode, and, according to the first acquisition mode, control to collect a first polarized image of the at least one target under the first illumination mode;所述处理单元,还用于根据所述第一图像处理方式,对所述第一偏振图像处理,获取所述至少一个目标的偏振信息。The processing unit is further configured to process the first polarization image according to the first image processing manner to obtain polarization information of the at least one target.
- 根据权利要求14所述的装置,其特征在于,所述处理单元,还用于:The device according to claim 14, wherein the processing unit is further configured to:根据所述第一特征信息,确定所述第一照明方式、第一采集方式以及第一图像处理方式。According to the first characteristic information, the first lighting mode, the first collection mode and the first image processing mode are determined.
- 根据权利要求15所述的装置,其特征在于,所述处理单元,具体用于:The device according to claim 15, wherein the processing unit is specifically used for:生成第一指令和第二指令;所述第一指令用于指示所述第一照明方式;所述第二指令用于指示所述第一采集方式;generating a first instruction and a second instruction; the first instruction is used to indicate the first lighting mode; the second instruction is used to indicate the first collection mode;指示所述获取单元向照明装置发送所述第一指令,以及向图像采集装置发送所述第二指令。Instructing the acquisition unit to send the first instruction to the lighting device, and to send the second instruction to the image acquisition device.
- 根据权利要求16所述的装置,其特征在于,所述处理单元,具体还用于:The device according to claim 16, wherein the processing unit is further configured to:指示所述获取单元接收来自所述图像采集装置的所述第一偏振图像。Instructing the acquisition unit to receive the first polarization image from the image acquisition device.
- 根据权利要求14-17任一项所述的装置,其特征在于,所述场景特征包括环境的光强度信息。The device according to any one of claims 14-17, wherein the scene feature includes light intensity information of the environment.
- 根据权利要求14-18任一项所述的装置,其特征在于,所述偏振信息包括以下至少一项:第二偏振图像,定性偏振信息,或者定量偏振信息。The device according to any one of claims 14-18, wherein the polarization information includes at least one of the following: a second polarization image, qualitative polarization information, or quantitative polarization information.
- 根据权利要求14-19任一项所述的装置,其特征在于,所述第一照明方式属于偏振光照明方式集合,所述偏振光照明方式集合包括以下至少一项:多偏振光源同步照明,多偏振光源非同步照明,或者无照明;The device according to any one of claims 14-19, wherein the first lighting method belongs to a set of polarized light lighting methods, and the set of polarized light lighting methods includes at least one of the following: synchronous lighting of multiple polarized light sources, Non-synchronous illumination of multi-polarized light sources, or no illumination;其中,所述多偏振光源同步照明为:通过多个不同偏振态的偏振光源同时提供偏振照明;Wherein, the multi-polarized light source synchronous lighting is: providing polarized lighting simultaneously through a plurality of polarized light sources with different polarization states;所述多偏振光源非同步照明为:通过多个不同偏振态的偏振光源依次提供偏振照明;The asynchronous illumination of the multi-polarized light sources is: sequentially providing polarized illumination through a plurality of polarized light sources with different polarization states;所述无照明为:不提供照明。The no lighting means: no lighting is provided.
- 根据权利要求14-20任一项所述的装置,其特征在于,所述第一采集方式属于偏振采集方式集合,所述偏振采集方式集合包括:单帧偏振图像同步采集操作,多帧偏振图像非同步采集操作;The device according to any one of claims 14-20, wherein the first acquisition mode belongs to a set of polarization acquisition modes, and the set of polarization acquisition modes includes: synchronous acquisition operation of a single-frame polarization image, multi-frame polarization image Asynchronous acquisition operation;所述单帧偏振图像同步采集操作包含:通过采集所述至少一个目标的单张图像,从所述单张图像中获取多张不同偏振态的偏振图像;The synchronous acquisition operation of a single-frame polarization image includes: acquiring a plurality of polarization images of different polarization states from the single image by acquiring a single image of the at least one target;所述多帧偏振图像非同步采集操作包含:采集所述至少一个目标的多张图像,所述多张图像中的每张图像包括多张不同偏振态的偏振图像。The operation of asynchronously collecting multiple frames of polarization images includes: collecting multiple images of the at least one target, and each of the multiple images includes multiple polarization images of different polarization states.
- 根据权利要求14-21任一项所述的装置,其特征在于,所述第一图像处理方式属于偏振图像处理方式集合,所述偏振图像处理方式集合包括:偏振图像获取操作,定性偏振信息获取操作,定量偏振信息获取操作;The device according to any one of claims 14-21, wherein the first image processing method belongs to a set of polarization image processing methods, and the set of polarization image processing methods includes: polarization image acquisition operation, qualitative polarization information acquisition Operation, quantitative polarization information acquisition operation;其中,所述偏振图像获取操作用于获取所述第二偏振图像,所述第二偏振图像属于所述第一偏振图像在不同偏振态下的偏振图像;Wherein, the polarization image acquisition operation is used to acquire the second polarization image, and the second polarization image is a polarization image of the first polarization image in a different polarization state;所述定性偏振信息获取操作用于获取所述至少一个目标的以下至少一项偏振信息:斯托克斯矢量,偏振度,或者偏振角;The qualitative polarization information acquisition operation is used to acquire at least one of the following polarization information of the at least one target: Stokes vector, polarization degree, or polarization angle;所述定量偏振信息获取操作用于获取所述至少一个目标的穆勒矩阵。The quantitative polarization information obtaining operation is used to obtain a Mueller matrix of the at least one target.
- 根据权利要求14-22任一项所述的装置,其特征在于,所述第一特征信息表征环境光强度小于预设值以及指示获取所述第二偏振图像,所述第一照明操作包含:多偏振光源同步照明,所述偏振图像采集方式包含:单帧偏振图像同步采集操作,所述偏振图像处理操作包含:偏振图像获取操作。The device according to any one of claims 14-22, wherein the first feature information indicates that the ambient light intensity is less than a preset value and indicates to obtain the second polarization image, and the first lighting operation includes: Multiple polarization light sources are illuminated synchronously, the polarization image acquisition method includes: a single frame polarization image synchronous acquisition operation, and the polarization image processing operation includes: polarization image acquisition operation.
- 根据权利要求14-22任一项所述的装置,其特征在于,所述第一特征信息表征环境光强度小于预设值以及指示获取定性偏振信息,所述偏振光照明操作包含:多偏振光源同步照明,所述偏振图像采集方式包含:单帧偏振图像同步采集操作,所述偏振图像处理操作包含:定性偏振信息获取操作。The device according to any one of claims 14-22, wherein the first characteristic information indicates that the ambient light intensity is less than a preset value and indicates to obtain qualitative polarization information, and the polarized light illumination operation includes: a multi-polarized light source For synchronous lighting, the polarization image acquisition method includes: a single-frame polarization image synchronous acquisition operation, and the polarization image processing operation includes: qualitative polarization information acquisition operation.
- 根据权利要求14-22任一项所述的装置,其特征在于,所述第一特征信息表征环境光强度小于预设值以及指示获取定性偏振信息,所述偏振光照明操作包含:多偏振光源非同步照明,所述偏振图像采集方式包含:多帧偏振图像非同步采集操作,所述偏振图像处理操作包含:定量偏振信息获取操作。The device according to any one of claims 14-22, wherein the first characteristic information indicates that the ambient light intensity is less than a preset value and indicates to obtain qualitative polarization information, and the polarized light illumination operation includes: a multi-polarized light source For asynchronous illumination, the polarization image acquisition method includes: asynchronous acquisition operation of multi-frame polarization images, and the polarization image processing operation includes: quantitative polarization information acquisition operation.
- 根据权利要求14-22任一项所述的装置,其特征在于,所述第一特征信息表征环境光强度大于或等于预设值以及指示获取所述第二偏振图像,所述偏振光照明操作包含:无照明,所述偏振图像采集方式包含:单帧偏振图像同步采集操作,所述偏振图像处理操作包含:偏振图像获取操作。The device according to any one of claims 14-22, wherein the first feature information indicates that the ambient light intensity is greater than or equal to a preset value and indicates that the second polarized image is acquired, and the polarized light illumination operation Including: no illumination, the polarization image acquisition method includes: a single-frame polarization image synchronous acquisition operation, and the polarization image processing operation includes: polarization image acquisition operation.
- 根据权利要求14-22任一项所述的装置,其特征在于,所述第一特征信息表征环境光强度大于或等于预设值以及指示获取定性偏振信息,所述偏振光照明操作包含:无照明,所述偏振图像采集方式包含:单帧偏振图像同步采集操作,所述偏振图像处理操作包含:定性偏振信息获取操作。The device according to any one of claims 14-22, wherein the first feature information indicates that the ambient light intensity is greater than or equal to a preset value and indicates to obtain qualitative polarization information, and the polarized light illumination operation includes: none For illumination, the polarized image acquisition method includes: a single-frame polarized image synchronous acquisition operation, and the polarized image processing operation includes: qualitative polarization information acquisition operation.
- 根据权利要求14-22任一项所述的装置,其特征在于,所述第一特征信息表征环境光强度大于或等于预设值以及指示获取定量偏振信息,所述偏振光照明操作包含:多偏振光源非同步照明,所述偏振图像采集方式包含:多帧偏振图像非同步采集操作,所述偏振图像处理操作包含:定量偏振信息获取操作。The device according to any one of claims 14-22, wherein the first feature information indicates that the ambient light intensity is greater than or equal to a preset value and indicates to obtain quantitative polarization information, and the polarized light illumination operation includes: The polarized light source is asynchronously illuminated, and the polarization image acquisition method includes: asynchronous acquisition operation of multi-frame polarization images, and the polarization image processing operation includes: quantitative polarization information acquisition operation.
- 一种照明装置,其特征在于,包括:多个不同偏振态的偏振光源,至少一个处理器,以及通信接口;A lighting device, characterized by comprising: a plurality of polarized light sources with different polarization states, at least one processor, and a communication interface;所述通信接口,用于接收来自图像处理装置的第一指令,所述第一指令用于指示第一照明方式;所述第一照明方式用于表征采用所述多个不同偏振态的偏振光源提供照明的方式;The communication interface is used to receive a first instruction from the image processing device, the first instruction is used to indicate a first lighting mode; the first lighting mode is used to represent the polarized light sources using the plurality of different polarization states the manner in which lighting is provided;所述至少一个处理器,用于根据所述第一指令,控制所述多个不同偏振态的偏振光源提供照明。The at least one processor is configured to control the plurality of polarized light sources with different polarization states to provide illumination according to the first instruction.
- 根据权利要求29所述的装置,其特征在于,所述第一照明方式属于偏振光照明方式集合,所述偏振光照明方式集合包括以下至少一项:多偏振光源同步照明,多偏振光源非同步照明,或者无照明;The device according to claim 29, wherein the first lighting method belongs to a set of polarized light lighting methods, and the set of polarized light lighting methods includes at least one of the following: multi-polarized light source synchronous lighting, multi-polarized light source asynchronous lighting, or no lighting;其中,所述多偏振光源同步照明为:通过多个不同偏振态的偏振光源同时提供偏振照明;Wherein, the multi-polarized light source synchronous lighting is: providing polarized lighting simultaneously through a plurality of polarized light sources with different polarization states;所述多偏振光源非同步照明为:通过多个不同偏振态的偏振光源依次提供偏振照明;The asynchronous illumination of the multi-polarized light sources is: sequentially providing polarized illumination through a plurality of polarized light sources with different polarization states;所述无照明为:不提供照明。The no lighting means: no lighting is provided.
- 根据权利要求30所述的装置,其特征在于,所述第一照明方式包含:所述多偏振光源同步照明;The device according to claim 30, wherein the first lighting method comprises: synchronous lighting of the multi-polarized light sources;所述处理器,具体用于:控制所述多个不同偏振态的偏振光源中的一个或多个偏振光源提供偏振照明。The processor is specifically configured to: control one or more polarized light sources in the plurality of polarized light sources with different polarization states to provide polarized illumination.
- 根据权利要求30所述的装置,其特征在于,所述第一照明方式包含:多偏振光源非同步照明;The device according to claim 30, wherein the first lighting method comprises: non-synchronous lighting of multiple polarized light sources;所述处理器,具体用于:控制所述多个不同偏振态的偏振光源中各个偏振光源依次提供偏振照明。The processor is specifically configured to: control each polarized light source among the plurality of polarized light sources with different polarization states to sequentially provide polarized illumination.
- 根据权利要求30所述的装置,其特征在于,所述第一照明方式包含:无照明;The device according to claim 30, wherein the first lighting mode comprises: no lighting;所述处理器,具体用于:控制所述多个不同偏振态的偏振光源均不提供照明。The processor is specifically configured to: control none of the plurality of polarized light sources with different polarization states to provide illumination.
- 一种图像采集装置,其特征在于,包括:偏振图像采集器,至少一个处理器和通信接口;An image acquisition device, characterized in that it includes: a polarized image acquisition device, at least one processor and a communication interface;所述通信接口,用于接收来自图像处理装置的第二指令,所述第二指令用于指示第一采集方式;所述第一采集方式用于表征采集偏振图像的方式;The communication interface is used to receive a second instruction from the image processing device, and the second instruction is used to indicate a first acquisition mode; the first acquisition mode is used to represent a manner of acquiring a polarization image;所述至少一个处理器,用于根据所述第二指令,控制所述偏振图像采集器采集偏振图像。The at least one processor is configured to control the polarization image collector to collect polarization images according to the second instruction.
- 根据权利要求34所述的装置,其特征在于,所述第一采集方式属于偏振采集方式集合,所述偏振采集方式集合包括:单帧偏振图像同步采集操作,多帧偏振图像非同步采集操作;The device according to claim 34, wherein the first acquisition mode belongs to a set of polarization acquisition modes, and the set of polarization acquisition modes includes: a synchronous acquisition operation of a single-frame polarization image, and an asynchronous acquisition operation of a multi-frame polarization image;所述单帧偏振图像同步采集操作包含:采集至少一个目标的单张图像,从所述单张图像中获取多张不同偏振态的偏振图像;The synchronous acquisition operation of the single-frame polarization image includes: acquiring a single image of at least one target, and obtaining multiple polarization images of different polarization states from the single image;所述多帧偏振图像非同步采集操作包含:采集所述至少一个目标的多张图像,所述多张图像中的每张图像包括多张不同偏振态的偏振图像。The operation of asynchronously collecting multiple frames of polarization images includes: collecting multiple images of the at least one target, and each of the multiple images includes multiple polarization images of different polarization states.
- 根据权利要求35所述的装置,其特征在于,所述第一采集方式包含:单帧偏振图像同步采集操作;The device according to claim 35, wherein the first acquisition method comprises: a synchronous acquisition operation of a single-frame polarization image;所述处理器,具体用于根据所述第二指令,控制所述偏振图像采集器采集所述至少一个目标的单张图像,以及从所述单张图像中获取多张不同偏振态的偏振图像。The processor is specifically configured to control the polarization image collector to acquire a single image of the at least one target according to the second instruction, and acquire multiple polarization images of different polarization states from the single image .
- 根据权利要求35所述的装置,其特征在于,所述第一采集方式包含:多帧偏振图像非同步采集操作;The device according to claim 35, wherein the first collection method includes: non-synchronous collection operation of multi-frame polarization images;所述处理器,具体用于根据所述第二指令,控制所述偏振图像采集器多次采集所述至少一个目标的图像,确定所述至少一个目标的多张图像,以及分别从所述多张图像的每一张图像中获取多张不同偏振态的偏振图像。The processor is specifically configured to, according to the second instruction, control the polarization image collector to acquire images of the at least one target multiple times, determine multiple images of the at least one target, and obtain images from the multiple images respectively. Multiple polarization images with different polarization states are obtained from each of the two images.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括计算机程序或指令,当所述计算机程序或指令在计算机上运行时,使得所述计算机执行如权利要求1-13中任一项所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium includes a computer program or an instruction, and when the computer program or instruction is run on a computer, the computer executes the computer program described in claims 1-13. any one of the methods described.
- 一种终端设备,包括以下中的一个或者多个:上述权利要求14-28任一项所述的图像处理装置,上述权利要求29-33任一项所述的照明装置,或上述权利要求34-37任一项所述的图像采集装置。A terminal device, comprising one or more of the following: the image processing device according to any one of the above claims 14-28, the lighting device according to any one of the above claims 29-33, or the above claim 34 - The image capture device according to any one of 37.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202180003570.4A CN113924768B (en) | 2021-05-08 | 2021-05-08 | Image processing method and device |
PCT/CN2021/092444 WO2022236492A1 (en) | 2021-05-08 | 2021-05-08 | Image processing method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/092444 WO2022236492A1 (en) | 2021-05-08 | 2021-05-08 | Image processing method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022236492A1 true WO2022236492A1 (en) | 2022-11-17 |
Family
ID=79248997
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/092444 WO2022236492A1 (en) | 2021-05-08 | 2021-05-08 | Image processing method and apparatus |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113924768B (en) |
WO (1) | WO2022236492A1 (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070146634A1 (en) * | 2005-12-22 | 2007-06-28 | Leblanc Richard A | Illumination characteristic selection system for imaging during an ophthalmic laser procedure and associated methods |
CN105946522A (en) * | 2016-05-09 | 2016-09-21 | 京东方科技集团股份有限公司 | Polarized light adjusting method and device |
US20180130444A1 (en) * | 2016-11-07 | 2018-05-10 | Electronics And Telecommunications Research Institute | Information image display apparatus and method |
CN108548603A (en) * | 2018-04-12 | 2018-09-18 | 中国科学院光电技术研究所 | Non-coaxial four-channel polarization imaging method and system |
WO2020160439A1 (en) * | 2019-02-01 | 2020-08-06 | Children's National Medical Center | System and method for intraoperative, non-invasive nerve identification using snapshot polarimetry |
WO2020202695A1 (en) * | 2019-04-03 | 2020-10-08 | ソニー株式会社 | Image processing device and information generation device and methods therefor |
CN112163586A (en) * | 2020-09-30 | 2021-01-01 | 北京环境特性研究所 | Feature extraction method and device of target object and computer readable medium |
CN112236717A (en) * | 2018-06-25 | 2021-01-15 | 赛信息通讯株式会社 | Automatic polarization adjusting device and method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102017601B (en) * | 2008-06-26 | 2013-03-13 | 松下电器产业株式会社 | Image processing apparatus and image synthesizing method |
US9464938B2 (en) * | 2014-02-06 | 2016-10-11 | The Boeing Company | Systems and methods for measuring polarization of light in images |
CN111562223A (en) * | 2019-03-25 | 2020-08-21 | 上海昊量光电设备有限公司 | Polarizing imaging device and method based on micro-polarizer array |
-
2021
- 2021-05-08 CN CN202180003570.4A patent/CN113924768B/en active Active
- 2021-05-08 WO PCT/CN2021/092444 patent/WO2022236492A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070146634A1 (en) * | 2005-12-22 | 2007-06-28 | Leblanc Richard A | Illumination characteristic selection system for imaging during an ophthalmic laser procedure and associated methods |
CN105946522A (en) * | 2016-05-09 | 2016-09-21 | 京东方科技集团股份有限公司 | Polarized light adjusting method and device |
US20180130444A1 (en) * | 2016-11-07 | 2018-05-10 | Electronics And Telecommunications Research Institute | Information image display apparatus and method |
CN108548603A (en) * | 2018-04-12 | 2018-09-18 | 中国科学院光电技术研究所 | Non-coaxial four-channel polarization imaging method and system |
CN112236717A (en) * | 2018-06-25 | 2021-01-15 | 赛信息通讯株式会社 | Automatic polarization adjusting device and method |
WO2020160439A1 (en) * | 2019-02-01 | 2020-08-06 | Children's National Medical Center | System and method for intraoperative, non-invasive nerve identification using snapshot polarimetry |
WO2020202695A1 (en) * | 2019-04-03 | 2020-10-08 | ソニー株式会社 | Image processing device and information generation device and methods therefor |
CN112163586A (en) * | 2020-09-30 | 2021-01-01 | 北京环境特性研究所 | Feature extraction method and device of target object and computer readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN113924768B (en) | 2022-12-13 |
CN113924768A (en) | 2022-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112859830B (en) | Design operation region ODD judgment method, device and related equipment | |
CN113228135B (en) | Blind area image acquisition method and related terminal device | |
WO2022052765A1 (en) | Target tracking method and device | |
CN114078246B (en) | Method and device for determining three-dimensional information of detection object | |
WO2021036592A1 (en) | Adaptive adjustment method and device for rear-view mirror | |
WO2022089577A1 (en) | Pose determination method and related device thereof | |
WO2022148172A1 (en) | Lane line planning method and related apparatus | |
WO2021057344A1 (en) | Data presentation method and terminal device | |
CN113022573B (en) | Road structure detection method and device | |
WO2022051951A1 (en) | Lane line detection method, related device, and computer readable storage medium | |
CN114616153B (en) | Method and control device for preventing collision | |
EP4307251A1 (en) | Mapping method, vehicle, computer readable storage medium, and chip | |
WO2022127502A1 (en) | Control method and device | |
WO2022001432A1 (en) | Method for inferring lane, and method and apparatus for training lane inference model | |
WO2022022284A1 (en) | Target object sensing method and apparatus | |
WO2023050058A1 (en) | Method and apparatus for controlling angle of view of vehicle-mounted camera, and vehicle | |
CN113859265A (en) | Reminding method and device in driving process | |
WO2022041820A1 (en) | Method and apparatus for planning lane-changing trajectory | |
CN112810603A (en) | Positioning method and related product | |
CN113924768B (en) | Image processing method and device | |
CN113128497A (en) | Target shape estimation method and device | |
CN116320331A (en) | Data processing method and device | |
CN115675504A (en) | Vehicle warning method and related equipment | |
US12367686B2 (en) | Road structure detection method and apparatus | |
CN115082886B (en) | Target detection method, device, storage medium, chip and vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21941073 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21941073 Country of ref document: EP Kind code of ref document: A1 |