WO2021109620A1 - Procédé et appareil d'ajustement de paramètre d'exposition - Google Patents

Procédé et appareil d'ajustement de paramètre d'exposition Download PDF

Info

Publication number
WO2021109620A1
WO2021109620A1 PCT/CN2020/110075 CN2020110075W WO2021109620A1 WO 2021109620 A1 WO2021109620 A1 WO 2021109620A1 CN 2020110075 W CN2020110075 W CN 2020110075W WO 2021109620 A1 WO2021109620 A1 WO 2021109620A1
Authority
WO
WIPO (PCT)
Prior art keywords
brightness
image
color
exposure
black
Prior art date
Application number
PCT/CN2020/110075
Other languages
English (en)
Chinese (zh)
Inventor
程敏
唐娜
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021109620A1 publication Critical patent/WO2021109620A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals

Definitions

  • This application relates to the field of image acquisition technology, and in particular to a method and device for adjusting exposure parameters.
  • two lenses are usually used with an image sensor to capture black and white images and color images in the same scene respectively, and then the detailed information and color images in the black and white images The fusion of color information can get high-quality color images.
  • image acquisition devices such as cameras, video cameras, etc.
  • the combination of two lenses each with an image sensor obviously cannot achieve the miniaturization of the image acquisition device, and the cost is relatively high. Therefore, in low-light scenes, a combination of one lens and one image sensor can be used to replace the combination of two lenses each with an image sensor.
  • the main idea is that an image sensor can obtain black-and-white pixels and color pixels from an image collected by a lens.
  • the black-and-white pixels and color pixels generate black-and-white images and color images respectively, and then use fusion technology to combine the detailed information in the black-and-white images with The color information in the color image is fused to obtain a high-quality color image.
  • the image sensor when collecting through an image sensor, the image sensor is exposed to output black and white images and color images at the same time. If the brightness of the black and white image is used to set the exposure parameters, when the brightness of the black and white image is increased, a large amount of color information in the color image will be lost. However, if the brightness of the color image is used to set the exposure parameters, since the brightness of the black and white image is higher than the brightness of the color image, when the brightness of the color image is increased, the black and white image will be overexposed, thereby losing detailed information.
  • the embodiments of the present application provide a method and device for adjusting exposure parameters, which are used to improve imaging quality.
  • a method for adjusting exposure parameters includes: acquiring black and white pixels and color pixels in a first image; and selecting a brightness from the first brightness, the second brightness, and the third brightness according to the ambient light intensity As the statistical brightness; then adjust the exposure parameters of the image acquisition device according to the selected statistical brightness; among them, the first brightness is obtained by counting the brightness of black and white pixels, the second brightness is obtained by counting the brightness of color pixels, and the magnitude of the third brightness is Between the first brightness and the second brightness, the first image is collected by the collecting device.
  • the statistical brightness can be determined according to the ambient light intensity, and the statistical brightness can be the third brightness in addition to the first brightness or the second brightness, and the third brightness is in the first brightness. Between the first brightness and the second brightness.
  • the exposure parameters can be adjusted by counting the brightness, which can make the exposure of the subsequently collected images close to the optimal exposure, which not only guarantees the integrity of the color information of the color images corresponding to the subsequently collected images It also guarantees the integrity of the detail information of the black and white images corresponding to the subsequently collected images, thereby improving the imaging quality, and enabling the image collection device to adaptively work in environments corresponding to various environmental light intensities.
  • the image acquisition device may be an image sensor, or may also be a camera, or may also be a smart mobile terminal (for example, a mobile phone, a tablet computer), or the like.
  • the first brightness is selected as the statistical brightness; or, when the ambient light intensity is less than the first threshold and greater than the second threshold Select the third brightness as the statistical brightness; or, when the ambient light intensity is less than or equal to the second threshold, select the second brightness as the statistical brightness.
  • the ambient light intensity when the ambient light intensity is high, the color image exposure is sufficient, and the black and white image is more likely to be overexposed.
  • the brightness of the black and white image generated by the black and white pixels is used as the statistical brightness to set the exposure parameters, which means that The brightness of the black-and-white image corresponding to the subsequently collected image is adjusted, so as to effectively avoid the problem of overexposure of the black-and-white image, which causes the lack of detailed information.
  • the ambient light intensity is low, the exposure of black and white images is sufficient, and the exposure of color images is insufficient.
  • the brightness of the color image generated by the color pixels is used as the statistical brightness to set the exposure parameters, which means that the color corresponding to the subsequent captured image can be set.
  • the brightness of the image can be adjusted to effectively avoid the problem of incomplete color information due to insufficient exposure of the color image.
  • the ambient light intensity is less than the first threshold and greater than the second threshold, there may be one or more of the color image underexposure, black and white image overexposure, or black and white image underexposure.
  • the brightness The third brightness between the first brightness and the second brightness is used as the statistical brightness to set the exposure parameters, which means that the brightness of the color image and the brightness of the black and white image corresponding to the subsequent captured images can be adjusted, so that the subsequent results can be obtained.
  • the exposure of the color image and black-and-white image is close to sufficient.
  • adjusting the exposure parameter of the image acquisition device according to the statistical brightness includes: adjusting the exposure parameter of the image acquisition device according to the difference between the statistical brightness and the reference brightness.
  • the exposure parameter is adjusted by counting the difference between the brightness and the reference brightness, so that the exposure of the subsequently collected image can be close to the optimal exposure.
  • adjusting the exposure parameter of the image acquisition device according to the difference between the statistical brightness and the reference brightness includes: according to the difference between the statistical brightness and the reference brightness, Determine the adjustment step length; according to the adjustment step length, adjust the exposure parameters of the image acquisition device in an automatic exposure manner.
  • adjusting the exposure parameters of the image capture device according to the adjustment step length can make the exposure of the subsequently captured images gradually approach the optimal exposure, avoiding the large difference in the exposure parameters between the two frames of images, resulting in the deterioration of the image quality The problem.
  • the third brightness is a weighted average of the first brightness and the second brightness.
  • the exposure parameter is adjusted according to the weighted average of the first brightness and the second brightness as the statistical brightness, which can make the exposure of the subsequently collected image
  • the sufficient amount not only guarantees the integrity of the color information of the color image corresponding to the subsequently collected image, but also ensures the integrity of the detail information of the black and white image corresponding to the subsequently collected image, thereby improving the imaging quality.
  • the calculation method for obtaining the third brightness is simple, the calculation amount is small, and it is easy to implement.
  • the method further includes: determining the ambient light intensity according to the second brightness and an exposure parameter for shooting the first image.
  • the environmental light intensity is determined through the second brightness and the exposure parameter of the first image taken, which can ensure the accuracy of the determined environmental light intensity.
  • the exposure parameter of the image acquisition device includes one or more of shutter time, gain, or aperture size.
  • the image sensor of the image acquisition device includes a color filter
  • the color filter includes a subunit of transparent coating and a subunit of color coating
  • the subunit of transparent coating is used to retrieve the image from the first image.
  • the black and white pixels are obtained, and the sub-unit of the color coating is used to obtain the color pixels from the first image.
  • the color filter in the image sensor includes a transparent coating subunit and a color coating subunit.
  • black and white pixels and color pixels in the image can be obtained, and then black and white images and color images can be generated from black and white pixels and color pixels, which means that an image sensor and a lens can be At the same time, the black and white image and the color image of the photographed object can be obtained, which can realize the miniaturization of the image acquisition device and the cost is low.
  • an exposure parameter adjustment device in a second aspect, includes an acquisition unit, a selection unit, and a processing unit;
  • the acquiring unit is configured to acquire black and white pixels and color pixels in a first image, and the first image is acquired by an image acquisition device;
  • the selection unit is configured to select a brightness from the first brightness, the second brightness, and the third brightness as the statistical brightness according to the ambient light intensity, wherein the first brightness is obtained by counting the brightness of the black and white pixels, so The second brightness is obtained by counting the brightness of the color pixels, and the magnitude of the third brightness is between the first brightness and the second brightness;
  • the processing unit is configured to adjust the exposure parameters of the image acquisition device according to the statistical brightness.
  • the selection unit is specifically used for:
  • the first brightness is selected as the statistical brightness
  • the ambient light intensity is less than a first threshold and greater than a second threshold, select the third brightness as the statistical brightness; or,
  • the second brightness is selected as the statistical brightness.
  • the processing unit is specifically used for:
  • the exposure parameter of the image acquisition device is adjusted.
  • the processing unit is specifically used for:
  • the exposure parameters of the image acquisition device are adjusted in an automatic exposure manner.
  • the third brightness is a weighted average of the first brightness and the second brightness.
  • the exposure parameter of the image acquisition device includes one or more of shutter time, gain, or aperture size.
  • the image sensor of the image acquisition device includes a color filter
  • the color filter includes a transparent coating subunit and a color coating subunit
  • the transparent coating subunit is used to receive The black and white pixels are obtained in the first image
  • the color coating subunit is used to obtain the color pixels from the first image.
  • an exposure parameter adjustment device in a third aspect, includes at least one processor; the at least one processor is configured to run a computer program or instruction so that the device executes the device described in the first aspect. method.
  • the at least one processor executes the following steps when running a computer program or instruction:
  • the ambient light intensity select one brightness from the first brightness, the second brightness and the third brightness as statistics, wherein the first image includes black and white pixels and color pixels, and the first brightness is calculated by counting the black and white pixels.
  • the brightness is obtained, the second brightness is obtained by counting the brightness of the color pixels, the magnitude of the third brightness is between the first brightness and the second brightness, and the first image is collected by an image acquisition device of;
  • the exposure parameter of the image acquisition device is adjusted.
  • an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and the computer program includes program instructions that, when executed by a computer, cause the The computer executes the method described in any one of the first aspect.
  • an embodiment of the present application provides a computer program product, the computer program product stores a computer program, the computer program includes program instructions, and when executed by a computer, the program instructions cause the computer to execute the first The method of any one of the aspects.
  • the present application provides a chip system including a processor for implementing the method described in the first aspect.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • FIG. 1 is a structural diagram of an image acquisition device provided by an embodiment of the application.
  • FIG. 2 is a structural diagram of an image sensor provided by an embodiment of the application.
  • 3A is a structural diagram of a color filter provided by an embodiment of the application.
  • 3B is a structural diagram of another color filter provided by an embodiment of the application.
  • FIG. 4 is a schematic diagram of the data flow of a method for adjusting exposure parameters provided by an embodiment of the application
  • FIG. 5 is a structural diagram of an exposure parameter adjustment device provided by an embodiment of the application.
  • FIG. 6 is a hardware structure diagram of an exposure parameter adjustment device provided by an embodiment of the application.
  • Image fusion refers to image data collected from multiple channels for the same target scene, through image processing, to maximize the extraction of the beneficial information in each channel, and finally comprehensively obtain high-quality images.
  • Multiple channels refer to different collection methods adopted for the same target scene. For example, for the same target scene, one lens and one image sensor collect a black and white image corresponding to the target scene under near-infrared light; another lens and another image sensor collect a color image corresponding to the target scene under visible light; Then merge these two images together to form a clearer color image.
  • Exposure parameters are used to determine the brightness of the image.
  • the exposure parameters include one or more of the shutter time, gain, or aperture size.
  • the shutter time is also called the exposure time.
  • the shutter is the threshold that controls the light-in time. The longer the shutter time, the greater the amount of light entering, and the brighter the captured image; the shorter the shutter time, the less the amount of light entering, and the darker the captured image.
  • Gain refers to the process of amplifying or reducing the optical signal by the image sensor. Increase the gain, and the captured image will be brighter than the actual scene; reduce the gain, the captured image will be darker than the actual scene.
  • the aperture is used to control the amount of light entering the fuselage through the lens. Increasing the aperture means increasing the amount of light entering, and the captured image is brighter; reducing the aperture means reducing the amount of light entering, and the captured image is darker.
  • the image sensor can be used in the environment of visible light and near-infrared light to obtain black and white pixels and color pixels in an image, and generate black and white images and color images respectively according to the black and white pixels and color pixels.
  • the implementation manner is that the color filter constituting the image sensor includes a plurality of subunits, and the plurality of subunits includes at least one transparent coating subunit and at least one determining color coating subunit (also may be referred to as a color coating subunit);
  • the subunit of transparent coating is used to transmit visible light and near-infrared light; the subunit of certain color coating can only pass the light of the color of the subunit of the certain color coating, and absorb or reflect light of other colors and near-infrared light; for example, The subunits with red coating pass only red light, and the subunits with green coating pass only green light.
  • the optical signal of an image When the optical signal of an image is incident on the color filter in the image sensor, the optical signal of the image (or the optical signal of the image and the near-infrared light) passes through at least one transparent coating subunit to obtain the light representing the brightness, namely Black and white pixels; the light signal of the image (or the light signal and the near-infrared light of the image) passes through at least one subunit of the color-determined coating to obtain the light of a certain color, that is, the color pixel; and then generate a black and white image according to the color The pixels produce a color image.
  • multiple refers to two or more than two. In view of this, “multiple” can also be understood as “at least two” in the embodiments of the present application. "At least one” can be understood as one or more, for example, one, two or more. For example, including at least one means including one, two or more, and does not limit which ones are included. For example, including at least one of A, B, and C, then the included may be A, B, C, A and B, A and C, B and C, or A and B and C.
  • ordinal numbers such as “first” and “second” mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, timing, priority, or importance of multiple objects.
  • the related technology uses white light fill light to increase the light intensity to improve the brightness of the image, but the dazzling white light will produce strong light pollution.
  • White light will make people lower their heads and cover subconsciously, reducing the success rate of face recognition; glare in white light will affect the safe driving of the vehicle; white light will also prompt the suspect to detour, deliberately avoid images through masks and hats, etc. Collection device.
  • the infrared light is used to increase the light intensity, which can effectively avoid light pollution.
  • the black and white image is obtained after the infrared light is projected on the image sensor, and the face recognition rate of the black and white image is lower than that of the color image.
  • pedestrian re-identification (RE-ID) technology is considered to be the next-generation identification technology.
  • RE-ID technology the same person is identified mainly through key body information such as clothing color and backpack color. Obviously a black and white image Without color information, it is not conducive to adopting RE-ID technology.
  • One solution for acquiring color images (also called low-light full-color) under low light intensity is to use two sets of lenses each with an image sensor to capture color images and black-and-white images of the same scene.
  • the main idea is that a set of lenses and image sensors obtain a color image through visible light, and the color information in the color image is relatively complete.
  • Another set of lens and image sensor obtains a black and white image through infrared light, and the detailed information in the black and white image is relatively complete.
  • the fusion technology is used to fuse the color information in the color image and the detail information in the black and white image to obtain a high-quality color image.
  • image acquisition devices such as cameras, video cameras, etc.
  • image acquisition devices are developing towards miniaturization.
  • the combination of two sets of lenses with an image sensor is obviously large and cannot achieve the miniaturization of image acquisition devices, which is not conducive to security work.
  • the cost of the two sets of lenses and two sensors is also relatively high.
  • another low-light full-color solution uses a combination of a lens and an image sensor.
  • the realization method is that an image sensor can collect black and white images and color images at different time points, and then use fusion technology to fuse the detail information in the black and white images with the color information in the color images, so as to obtain high-quality Color images, and realize the miniaturization of the image acquisition device, and reduce the cost.
  • the image sensor when collecting through an image sensor, the image sensor is exposed to output black and white images and color images at the same time. If the brightness of the black and white image is used to set the exposure parameters, when the brightness of the black and white image is increased, a large amount of color information in the color image will be lost. However, if the brightness of the color image is used to set the exposure parameters, since the brightness of the black and white image is higher than the brightness of the color image, when the brightness of the color image is increased, the black and white image will be overexposed, thereby losing detailed information.
  • an embodiment of the present application provides a method for adjusting exposure parameters.
  • the statistical brightness is determined according to the ambient light intensity, and then the exposure parameters of the image acquisition device are adjusted according to the statistical brightness to improve the imaging quality so that the image sensor can It works adaptively in the environment of various environmental light intensity.
  • the method for adjusting the exposure parameters provided in the embodiments of the present application can be implemented by an image acquisition device.
  • the image acquisition device includes, but is not limited to, cameras, video cameras, smart mobile terminals (such as mobile phones, tablet computers), camera equipment in video surveillance systems (such as network cameras), server clusters, cloud servers in video surveillance systems, or security
  • the camera equipment in the system, etc. does not limit the specific implementation form of the image acquisition device here.
  • FIG. 1 is a structural diagram of an image acquisition device provided in an embodiment of the application.
  • the image acquisition device 100 includes an optical lens 110, an image sensor 120 and a processor 130.
  • the image acquisition device 100 includes, but is not limited to, a camera, a video camera, a smart mobile terminal (such as a mobile phone, a tablet computer), a camera device in a video surveillance system (such as a network camera), a server cluster, a cloud server in a video surveillance system, or security Camera equipment in the system, etc.
  • a camera such as a video camera
  • a smart mobile terminal such as a mobile phone, a tablet computer
  • a camera device in a video surveillance system such as a network camera
  • server cluster such as a network camera
  • cloud server in a video surveillance system
  • security Camera equipment in the system, etc.
  • the specific form of the image acquisition device 100 is not limited here.
  • the image acquisition device 100 further includes an infrared supplementary light 140, which can provide near-infrared light to the image sensor 120, that is, it is used to supplement light for the photographed object and increase the light intensity.
  • an infrared supplementary light 140 which can provide near-infrared light to the image sensor 120, that is, it is used to supplement light for the photographed object and increase the light intensity.
  • the optical lens 110 can be used to collect visible light images and can also be used to collect near-infrared light images, that is, the image acquisition device 100 can be used to collect visible light images and can also be used to collect near-infrared light images.
  • the image sensor 120 may be used to receive the light signal of the photographed object collected by the optical lens 110, or may be used to receive the light signal of the photographed object collected by the optical lens 110 and the near-infrared light emitted by the infrared light supplement light 140.
  • the image sensor 120 may convert an optical signal into an electric signal, or may convert an optical signal and near-infrared light into an electric signal.
  • the image sensor 120 can also acquire black and white pixels and color pixels in an image, and then generate a black and white image and a color image respectively according to the black and white pixels and color pixels, which means that the image sensor 120 can collect black and white images and color images at different time points. .
  • the image sensor 120 includes a microlens 121, a color filter 122 (also called a color film layer, a color film filter or a color film filter array, etc.), and a photodiode 123.
  • the microlens 121 may be used to converge the collected light to increase the amount of light incident on the color filter 122 and the intensity of the light signal.
  • the color filter 122 can filter the concentrated light, the photodiode 123 receives the filtered light, and the photodiode 123 is used to convert the light signal into an electrical signal and send the electrical signal to the processor 130.
  • the color filter 122 may include a plurality of subunits 1221, and the plurality of subunits 1221 include at least one transparent coating subunit 1221a and at least one specific color coating subunit 1221b.
  • the transparent coated subunit 1221a is used to transmit visible light to obtain light representing brightness, that is, black and white pixels.
  • the color-coated subunit 1221b only passes light of the color of the color-coated subunit 1221b, and absorbs or reflects light of other colors and near-infrared light to obtain light of a certain color, that is, color pixels. It should be noted that the embodiment of the present invention does not limit the ratio of the number of transparent subunits and determining color subunits.
  • the color filter 122 includes 64 subunits 1221, 48 transparent coating subunits 1221a, and 16 color coating subunits 1221b.
  • the 16 subunits 1221b that determine the color coating include 4 red (red, R) coated subunits, 8 green (green, G) coated subunits, and 4 blue (blue, B) coated subunits. unit.
  • the red-coated subunit only passes red light
  • the green-coated subunit only passes green light
  • the blue sub-coated unit only passes blue light, so the optical signal (or optical signal and near-infrared light) passes through the 16 to determine the color Only RGB light remains behind the coated subunit 1221b.
  • the color filter 122 may be an RGB filter including a subunit with red coating, a subunit with green coating, and a subunit with blue coating, or a subunit including cyan (C) coating
  • the CMY filters of the subunits coated with magenta (magenta, M) and the subunits coated with yellow (yellow, Y) may also be filters coated with other colors, which are not limited in the embodiments of the present application.
  • the image sensor provided in the embodiments of the present application may be a CCD image sensor composed of charge-coupled devices (CCD), or may be composed of complementary metal oxide semiconductors (CMOS).
  • CMOS image sensor may be a CIS image sensor composed of a contact image sensor (CIS) or the like.
  • the processor 130 may be used to receive the electrical signal from the image sensor 120, convert the electrical signal into a digital signal, and obtain a color signal (that is, a signal corresponding to the light that determines the color, also called a color image) and a black and white signal ( That is, the signal corresponding to the light representing the brightness, also known as the black and white image).
  • the processor 130 is also used to count the brightness of the light passing through all the transparent coated subunits 1221a to obtain the brightness of the black and white image (denoted as the first brightness).
  • the processor 130 is also used to count the brightness of the light passing through all the subunits 1221b of the determined color coating to obtain the brightness of the color image (denoted as the second brightness).
  • the processor 130 may be configured to adjust the exposure parameters of the image capture device 100 according to one of the first brightness, the second brightness, and the third brightness, where the third brightness is between the first brightness and the second brightness.
  • the processor 130 can also be used to adjust the intensity of the infrared fill light 140 to increase the light intensity.
  • the processor 130 may also be used to process the color image to optimize the color information in the color image, such as increasing the color saturation of the color image, rendering the color image, or performing image processing on the color image. Filtering, etc.
  • the processor 130 may also be used to process the black-and-white image to optimize the detailed information in the black-and-white image, such as image filtering the black-and-white image or tonal rendering of the black-and-white image.
  • the processor 130 can be implemented in one or more of the following forms: general-purpose processor, central processing unit (CPU), image signal processor (ISP), microprocessor, digital signal processor ( digital signal processor, DSP), or field-programmable gate array (FPGA), etc.
  • general-purpose processor central processing unit (CPU), image signal processor (ISP), microprocessor, digital signal processor ( digital signal processor, DSP), or field-programmable gate array (FPGA), etc.
  • the image acquisition device 100 may further include a memory 150.
  • the memory 150 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types that can store information and instructions
  • the dynamic storage device can also be Electrically Erasable Programmable Read-Only Memory (EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other optical disc storage, optical disc storage (Including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can be used by the Any other medium accessed by the device, but not limited to this.
  • the memory 150 may exist independently and is connected to the processor 130 through a bus.
  • the memory 150 may also be integrated with the processor 130.
  • the memory 150 may be used to store application program codes for executing the solutions of the present application, and the processor 130 controls the execution, that is, the processor 130 is used to execute the application program codes stored in the memory.
  • the processor 130 may also have the ability to store codes, and the stored codes can be executed without using a memory.
  • the embodiments of this application can be applied to video surveillance scenes or image shooting scenes, for example, indoor video surveillance scenes, backlight image shooting scenes, night video surveillance scenes or security surveillance scenes, or can also be applied to ordinary image shooting scenes, etc. This is not an example.
  • the method for adjusting the exposure parameters provided by the embodiment of the present application will be introduced. Please refer to Figure 4, which is a flowchart of this method.
  • S401 The processor 130 acquires black and white pixels and color pixels of the first image.
  • the image sensor 120 In response to the shooting instruction, the image sensor 120 enters the working state, for example, the user clicks the shooting button, and in response, the image sensor 120 enters the working state.
  • the image sensor 120 When the image sensor 120 is in the working state, the image sensor 120 can collect the first image through the optical lens 110.
  • the image sensor 120 collects the first image, it obtains black and white pixels and color pixels from the first image, and sends the black and white pixels and color pixels to the processor 130 so that the processor 130 can obtain the black and white pixels and color pixels of the first image.
  • the black and white pixels are the light signals representing the brightness obtained after the light signals of the first image (or the light signals of the first image and the near-infrared light) pass through the transparent coated subunit 1221a;
  • the color pixels are the light signals of the first image ( Or the light signal of the first image and the near-infrared light) after passing through the color-coated subunit 1221b, the light of a certain color is obtained.
  • S402 The processor 130 obtains the ambient light intensity.
  • the processor 130 After the processor 130 obtains the black and white pixels and color pixels in the first image, it obtains the brightness of the black and white image (ie the first brightness) by counting the brightness of the black and white pixels, and obtains the brightness of the color image (ie the second brightness) by counting the brightness of the color pixels. brightness). Among them, counting the brightness of black and white pixels and counting the brightness of color pixels can be implemented by using the existing technology, which is not limited in the embodiment of the present application.
  • the processor 130 may acquire the ambient light intensity for shooting the first image.
  • the processor 130 may determine the ambient light intensity when the first image is captured according to the second brightness and the exposure parameters used by the image capture device 100 to capture the first image.
  • the exposure parameter may include one or more of shutter time, gain, or aperture size.
  • the ambient light intensity satisfies the following formula:
  • T represents the ambient light intensity
  • E v_c represents the second brightness
  • G represents the gain
  • S represents the shutter time
  • F represents the aperture size
  • k is the normalization coefficient, for example, normalize T to the range of 0-1000.
  • the processor 130 may not determine the ambient light intensity when the first image is taken based on the second brightness and the exposure parameters used by the image capture device 100 to capture the first image, but may use the optical element in the image capture device 100, Determine the ambient light intensity for shooting the first image.
  • the optical element can be a photosensitive element or an ambient light sensor.
  • a photosensitive element is provided in the image capture device 100, and the photosensitive element can automatically obtain the ambient light intensity of the environment in which the image capture device 100 is located, and the processor 130 can determine the ambient light intensity through the photosensitive element.
  • the step of the processor 130 to obtain the ambient light intensity can occur at the same time as the first image is taken, or before the first image is taken, or Occurs after taking the first image. If the step of obtaining the ambient light intensity by the processor 130 occurs after the first image is taken, it may occur after the processor 130 obtains the first brightness and the second brightness, or after the processor 130 obtains the first brightness and the second brightness. Before the brightness, or may also occur simultaneously with the processor 130 obtaining the first brightness and the second brightness.
  • the ambient light intensity obtained in this step may be the ambient light intensity when the first image is taken (the ambient light intensity of the first image). Optionally, it may also be an ambient light intensity close to the ambient light intensity when the first image was taken.
  • the processor 130 selects one brightness from the first brightness, the second brightness, and the third brightness as the statistical brightness according to the ambient light intensity.
  • the magnitude of the third brightness is between the first brightness and the second brightness, for example: the first brightness value is greater than the third brightness value, and the third brightness value is greater than the second brightness value.
  • the third brightness may be related to the first brightness, or related to the second brightness, or related to both the first brightness and the second brightness.
  • the processor 130 After the processor 130 obtains the environmental light intensity for shooting the first image, it may select one luminance from the first luminance, the second luminance, and the third luminance as the statistical luminance according to the environmental light intensity.
  • the statistical brightness is used to adjust the exposure parameters of the image acquisition device 100. After the exposure parameter is adjusted, compared with the image obtained by exposure before adjusting the exposure parameter, the statistical brightness of the image obtained by using the new exposure parameter is close to the reference brightness.
  • the processor 130 may set the upper threshold of the environmental light intensity according to the experimental data (normalize the upper threshold of the environmental light intensity) It is later recorded as the first threshold) and the lower threshold of ambient light intensity (the lower limit of ambient light intensity is normalized and then recorded as the second threshold), and then according to the current ambient light intensity, the first threshold and the second threshold, from the first brightness, One of the second brightness and the third brightness is selected as the statistical brightness.
  • the first threshold is greater than the second threshold, and the first threshold can be used to indicate that when the ambient light intensity is equal to or greater than the first threshold, the black and white image exposure is too sufficient to cause overexposure.
  • the first threshold can be preset to 44 ;
  • the second threshold can be used to indicate that when the ambient light intensity is equal to or less than the second threshold, the color image has insufficient exposure and the color information is lost.
  • the second threshold can be preset to 4.
  • the ambient light intensity is greater than or equal to the first threshold, the exposure of the color image is sufficient, but the exposure of the black-and-white image is too sufficient, which will result in insufficient detail information obtained from the black-and-white image during the subsequent image fusion.
  • the ambient light intensity is high, and the exposure of the color image is sufficient, but because the brightness of the black and white image is higher than the brightness of the color image (in the case of no fill light, the brightness of the black and white image in the same scene will be higher than the brightness of the color image 4dB ⁇ 5dB), so the black-and-white image has a greater probability of overexposure, which means that the black-and-white image includes a greater probability of reducing the detail information.
  • the processor 130 may determine that the statistical brightness is the brightness of the black and white image (also referred to as the first brightness)
  • the first brightness is a statistical value. For example, the brightness of multiple black and white pixels in the black and white image is obtained, and the obtained brightness of the multiple black and white pixels is averaged (or weighted average) to obtain.
  • the ambient light intensity is less than or equal to the second threshold, the exposure of the black and white image is sufficient, but the exposure of the color image is insufficient, which will lead to insufficient color information obtained from the color image during image fusion.
  • the ambient light intensity is low, the infrared fill light is activated to fill the light, so that the exposure of the black and white image is sufficient, but because the amount of light passing through the sub-units that determines the color remains unchanged, the exposure of the color image is insufficient, which means Color images include less color information. Therefore, when the ambient light intensity is less than or equal to the second threshold, the exposure of the black and white image is sufficient.
  • the processor 130 may determine that the statistical brightness is the brightness of the color image (also referred to as the second brightness) . Similar to the first brightness, the second brightness is also a statistical value. For example, the brightness of multiple color pixels in a color image is obtained, and the obtained brightness of the multiple color pixels is averaged (or weighted average) to obtain.
  • the ambient light intensity is less than the first threshold and greater than the second threshold, there may be sufficient exposure of the color image and excessive exposure of the black-and-white image, for example, when the ambient light intensity is close to the first threshold; or there may be color images Insufficient exposure of, and sufficient exposure of black-and-white images, such as when the ambient light intensity is close to the second threshold; or there may be insufficient exposure of color images and insufficient exposure of black-and-white images, such as ambient light intensity When it is close to the average value (for example, arithmetic average, weighted average, etc.) of the first threshold and the second threshold.
  • the average value for example, arithmetic average, weighted average, etc.
  • the processor 130 may determine that the statistical brightness is the third brightness.
  • the statistical brightness can satisfy the following formula:
  • T represents the ambient light intensity
  • T max represents the first threshold
  • T min represents the second threshold
  • E v represents the statistical brightness
  • E v_w represents the first brightness
  • E v_c represents the second brightness
  • E v_1 represents the third brightness.
  • the processor 130 may determine the third brightness in many different ways. For example, one way is that the processor 130 determines the third brightness according to the first brightness and the second brightness; for example, another way is that the processor 130 determines the third brightness according to the third brightness candidate table.
  • the third brightness candidate table may be preset in the image acquisition device 100, and the third brightness candidate table is used to provide a plurality of statistical brightnesses. The two methods are described below.
  • Manner 1 The processor 130 determines the third brightness according to the first brightness and the second brightness.
  • the processor 130 may obtain the third brightness by calculating the first brightness and the second brightness.
  • the third brightness can satisfy the following formula:
  • E v_w represents the first brightness
  • E v_c represents the second brightness
  • E v_1 represents the third brightness
  • w 1 represents the first weight
  • w 2 represents the second weight.
  • the first weight and the second weight satisfy the following formula:
  • the first weight and the second weight may be preset, may be set by the user, or the processor 130 may also be set by itself. For example, the processor 130 may determine the first weight and the second weight according to the ambient light intensity. The first weight and the second weight can be the same or different. For example, the processor 130 presets the first weight to 0.5 and presets the second weight to 0.5, which is equivalent to the third brightness being the arithmetic average of the first brightness and the second brightness.
  • the processor 130 determines the first weight according to the ambient light intensity, the first weight may satisfy the following formula:
  • w 1 represents the first weight
  • T represents the ambient light intensity
  • T max represents the first threshold
  • T min represents the second threshold
  • the second weight may satisfy the following formula:
  • w 2 represents the second weight
  • T represents the ambient light intensity
  • T max represents the first threshold
  • T min represents the second threshold
  • the processor 130 may obtain a weighted average value of the first brightness and the second brightness, and use the weighted average value as the third brightness.
  • the weight of the first brightness and the weight of the second brightness are determined according to the ambient light intensity, the first threshold and the second threshold, which can smoothly adjust the exposure parameters of the image acquisition device under different ambient light intensities. It can guarantee sufficient exposure for black and white images and sufficient exposure for color images.
  • the first weight is more important than the second weight
  • the third brightness is mainly determined by the brightness of the black and white image.
  • the first weight is smaller than the second weight
  • the third brightness is mainly determined by the brightness of the color image.
  • the processor 130 may also obtain the arithmetic average of the first brightness and the second brightness, and use the arithmetic average as the third brightness. In this way, there is no need to determine the weight, and there is no need to substitute the weight in the calculation, which is relatively simple.
  • the processor 130 may also calculate the first brightness and the second brightness by using other calculation methods, and use the obtained value as the third brightness.
  • Manner 2 The processor 130 determines the third brightness according to the third brightness candidate table.
  • the third brightness candidate table is preset and can be set by the user, or the processor 130 can also be set by itself.
  • the processor 130 may preset the third brightness candidate table according to the experimental data.
  • the processor 130 may determine the third brightness by looking up the third brightness candidate table.
  • the third brightness candidate table may include multiple ambient light intensity ranges and multiple third brightnesses, and one ambient light intensity range corresponds to one third brightness in a one-to-one correspondence.
  • the third brightness corresponding to each ambient light intensity range can obtain the optimal exposure under the ambient light intensity range.
  • the processor 130 may determine the ambient light intensity of the first image captured in the ambient light intensity range of the third brightness candidate table according to the ambient light intensity of the first image captured in S402, and determine the third brightness according to the ambient light intensity range.
  • Table 1 the third luminance candidate table is exemplarily shown.
  • the processor 130 may determine that the third brightness is T 3 ; when the ambient light intensity for capturing the first image is greater than When T 1 is less than or equal to T 2 , the processor 130 may determine that the third brightness is T 4 ; when the ambient light intensity for shooting the first image is greater than T 2 and less than the second threshold, the processor 130 may determine the third brightness The brightness is T 5 .
  • Table 1 The third brightness candidate table
  • T 3 according to a third candidate list processor may luminance. In this way, there is no need to determine the weight, and no other calculations are needed.
  • the third brightness can be determined only by querying the third brightness candidate table, and the implementation method is simple.
  • the average value of the first and second brightness is taken as the third brightness. It is also possible to take any value between the first brightness and the second brightness as the third brightness value.
  • the processor 130 adjusts the exposure parameter of the image acquisition device 100 according to the statistical brightness. For example: by reducing the aperture and/or reducing the shutter time, in order to make the brightness of the captured picture lower.
  • the processor 130 After selecting the statistical brightness, the processor 130 adjusts one or more of the size of the aperture of the optical lens 110, the gain of the image sensor 120, or the shutter time of the image sensor 120 according to the selected statistical brightness, so that the image sensor 120 The brightness of the subsequently collected image is close to the reference brightness.
  • a reference brightness can correspond to an ambient light intensity range
  • the reference brightness corresponding to an ambient light intensity range means that when the current ambient light intensity is within the ambient light intensity range, the reference brightness is obtained under the optimal exposure The brightness of the image. That is to say, adjusting the exposure parameter with the reference brightness can optimize the exposure of the subsequently collected image.
  • the processor 130 may determine the reference brightness according to the reference brightness candidate table.
  • the reference brightness candidate table is preset and can be set by the user, or the processor 130 can also be set by itself.
  • the processor 130 presets the reference brightness candidate table according to the experimental data.
  • the reference brightness candidate table includes multiple reference brightness and multiple ambient light intensity ranges, and one ambient light intensity range corresponds to one reference brightness.
  • the processor 130 may determine, according to the environmental light intensity of the first image taken in S401, that the environmental light intensity of the first image corresponds to the environmental light intensity range in the reference luminance candidate table, determine the reference luminance according to the environmental light intensity range, and then Then, the exposure parameters of the image acquisition device 100 are adjusted according to the reference brightness and the statistical brightness.
  • Table 2 a reference luminance candidate table is exemplarily shown.
  • the processor 130 may determine that the reference brightness is T 10 ; when the ambient light intensity for shooting the first image is greater than T 7 and less than or equal to 8 T, the processor 130 may determine the reference brightness of T. 11; when the ambient light intensity is greater than T capturing the first image. 8, 9 and less than or equal to T, the processor 130 may determine the reference brightness of T 12 .
  • the processor 130 can According to the difference between the statistical brightness and the reference brightness, an adjustment step length for adjusting an exposure parameter is determined. Then, the processor 130 may adjust the exposure parameters of the image capture device 100 in an automatic exposure manner according to the adjustment step size.
  • each adjustment of the exposure parameter can make the statistical brightness of the image obtained by using the adjusted exposure parameter closer to the reference brightness than the statistical brightness of the image obtained before adjusting the exposure parameter.
  • the processor 130 may divide the difference between the statistical brightness and the reference brightness corresponding to the current ambient light intensity by the number of adjustments to obtain the adjustment step.
  • the number of adjustments is preset and can be set by the user, or the processor 130 can also be set by itself. For example, the processor 130 may preset the number of adjustments according to experimental data.
  • the adjustment step size needs to be less than the maximum brightness that can be adjusted by one exposure parameter adjustment, and greater than the minimum brightness that can be adjusted by one exposure parameter adjustment.
  • the processor 130 can adjust the shutter time of the image sensor 120 and the gain of the image sensor 120 in the manner of automatic exposure according to the exposure curve corresponding to the adjustment step, and according to the change of the shutter time of the image sensor 120 and the image
  • the change of the gain of the sensor 120 controls and adjusts the aperture size of the optical lens 110.
  • the processor 130 may control the minimum position of the aperture and preset Adjust the aperture of the optical lens 110 between the optimal positions.
  • the preset optimal position of the aperture means that the optical lens 110 can obtain the best imaging effect, and the best imaging can be obtained under the optimal position of the aperture.
  • the processor 130 adjusts the shutter time of the image sensor 120 and the gain of the image sensor 120 in the manner of automatic exposure according to the exposure curve corresponding to the adjustment step size, which can be implemented by using the existing technology, which will not be repeated here.
  • the processor 130 controls and adjusts the aperture size of the optical lens 110 according to the change of the shutter time of the image sensor 120 and the change of the gain of the image sensor 120, which can also be implemented by using the existing technology, which will not be repeated here.
  • the processor 130 activates the infrared fill light 140 to fill the subject with light to increase the black and white. The exposure of the image.
  • the processor 130 turns off the infrared fill light 140.
  • the processor 130 may set the upper threshold of the first brightness (denoted as the third threshold) and the lower threshold of the first brightness (denoted as the fourth threshold) according to the experimental data.
  • the third threshold is greater than the fourth threshold, and the third threshold can be used to indicate that the black and white image is overexposed when the first brightness is greater than or equal to the third threshold; the fourth threshold can be used to indicate that the first brightness is less than or equal to the first brightness.
  • the black-and-white image exposure is insufficient, and the detailed information is lost.
  • the processor 130 can reduce the fill light intensity of the infrared fill light 140. , So that the exposure of black and white images is close to the optimal exposure. Therefore, when the first brightness is greater than or equal to the third threshold, the exposure of the black-and-white image is too sufficient. To avoid overexposure of the black-and-white image, the processor 130 may reduce the intensity of the supplementary light of the infrared supplemental light 140.
  • the processor 130 can increase the intensity of the infrared fill light 140 to make The exposure level of the black and white image is close to the optimal exposure level. Therefore, when the first brightness is less than or equal to the fourth threshold, the exposure of the black and white image is insufficient. In order to increase the exposure of the black and white image, the processor 130 may increase the intensity of the infrared fill light 140.
  • the processor 130 can maintain the fill light of the infrared fill light 140 The intensity remains unchanged, which can avoid the problem of frequent adjustment of the fill light intensity of the infrared fill light 140, which may cause the infrared fill light 140 to flicker. Therefore, when the first brightness is less than the third threshold and greater than the fourth threshold, the exposure of the black and white image is sufficient. In order to avoid the flickering of the infrared light 140, the processor 130 may keep the light intensity of the infrared light 140 unchanged.
  • the image capture device 100 uses the new exposure parameters to perform exposure. For example, after the exposure parameter is adjusted in step S404, the camera uses the adjusted exposure parameter to perform exposure. Compared with the image obtained before adjusting the exposure parameters (through exposure), the statistical brightness of the image obtained by using the new exposure parameter is closer to the reference brightness.
  • the statistical brightness can be determined according to the ambient light intensity, and the statistical brightness can be the third brightness in addition to the first brightness or the second brightness, and the third brightness is in the first brightness and the Between two brightness.
  • the exposure parameters can be adjusted by counting the brightness, which can make the exposure of the subsequently collected images close to the optimal exposure, which not only guarantees the integrity of the color information of the color images corresponding to the subsequently collected images It also guarantees the completeness of the detailed information of the black and white images corresponding to the subsequently collected images.
  • the ambient light intensity is high, the color image exposure is sufficient, and the black and white image is more likely to be overexposed.
  • the brightness of the black and white image generated by the black and white pixels is used as the statistical brightness to set the exposure parameters, which means that the subsequent captured
  • the brightness of the black-and-white image corresponding to the image is adjusted, which can effectively avoid the problem of overexposure of the black-and-white image, resulting in the lack of detailed information.
  • the ambient light intensity is low, the exposure of the black and white image is sufficient, and the exposure of the color image is insufficient.
  • the brightness of the color image generated by the color pixels is used as the statistical brightness to set the exposure parameters, which means that the subsequent captured images
  • the brightness of the corresponding color image is adjusted, which can effectively avoid the problem of incomplete color information due to insufficient exposure of the color image.
  • the ambient light intensity is less than the first threshold and greater than the second threshold
  • the third brightness whose brightness is between the first brightness and the second brightness is used as the statistical brightness to set the exposure parameters, which means that the brightness of the color image and the brightness of the black and white image corresponding to the subsequently collected image can be adjusted. Make the subsequent color image and black and white image exposure close to sufficient.
  • the exposure of the subsequently collected image can be close to the optimal exposure, thereby improving the imaging quality, and enabling the image collection device to adaptively work under various environmental light intensities. Environment.
  • the processor 130 may include a hardware structure and/or a software module, and a hardware structure, a software module, or a hardware structure plus a software module may be used. To achieve the above functions. Whether a certain function among the above-mentioned functions is executed by a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraint conditions of the technical solution.
  • FIG. 5 shows a schematic structural diagram of a device 500 for adjusting exposure parameters.
  • the exposure parameter adjusting device 500 may be used to implement the function of the processor 130 in the embodiment shown in FIG. 4, that is, the function of the processor 130 in the embodiment shown in FIG. 1.
  • the exposure parameter adjustment device 500 may be a hardware structure, a software module, or a hardware structure plus a software module.
  • the exposure parameter adjustment device 500 may be implemented by a chip system. In the embodiments of the present application, the chip system may be composed of chips, or may include chips and other discrete devices.
  • the exposure parameter adjustment device 500 may include an acquisition unit 501, a selection unit 502, and a processing unit 503.
  • the acquiring unit 501 may perform step S401 and step S402 in the embodiment shown in FIG. 4, and/or other processes for supporting the technology described herein.
  • the acquisition unit 501 can be used to communicate with the selection unit 502, or the acquisition unit 501 can be used to communicate with the processing unit 503, or the acquisition unit 501 can communicate with other modules of the image acquisition device 100, It can be a circuit, a device, an interface, a bus, a software module, a transceiver, or any other device that can realize communication.
  • the selection unit 502 may perform step S403 in the embodiment shown in FIG. 4, and/or other processes for supporting the technology described herein.
  • the selection unit 502 can be used to communicate with the acquisition unit 501, or the selection unit 502 can be used to communicate with the processing unit 503, or the selection unit 502 can communicate with other modules of the image acquisition device 100, It can be a circuit, a device, an interface, a bus, a software module, a transceiver, or any other device that can realize communication.
  • the processing unit 503 may execute step S404 in the embodiment shown in FIG. 4, and/or other processes for supporting the technology described herein.
  • the processing unit 503 can be used to communicate with the acquisition unit 501, or the processing unit 503 can be used to communicate with the selection unit 502, or the processing unit 503 can communicate with other modules of the image acquisition device 100, It can be a circuit, a device, an interface, a bus, a software module, a transceiver, or any other device that can realize communication.
  • the division of modules in the embodiment shown in FIG. 5 is illustrative, and it is only a logical function division. In actual implementation, there may be other division methods.
  • the functional modules in the various embodiments of the present application may be integrated In a processor, it can also exist alone physically, or two or more modules can be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules.
  • FIG. 6 shows an exposure parameter adjustment device 600 provided in an embodiment of the application, where the exposure parameter adjustment device 600 may be used to implement the function of the processor 130 in the embodiment shown in FIG. 4.
  • the exposure parameter adjustment device 600 may be a chip system.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the exposure parameter adjustment device 600 includes at least one processor 601, which is used to implement or is used for the exposure parameter adjustment device 600 to implement the function of the processor 130 in the embodiment shown in FIG. 4.
  • the processor 601 may obtain the black and white pixels and color pixels of the first image, and obtain the ambient light intensity, and select one of the first brightness, the second brightness, and the third brightness as the statistical brightness according to the ambient light intensity, and then The exposure parameters of the image acquisition device 100 are adjusted according to the statistical brightness.
  • the processor 601 may obtain the black and white pixels and color pixels of the first image, and obtain the ambient light intensity, and select one of the first brightness, the second brightness, and the third brightness as the statistical brightness according to the ambient light intensity, and then The exposure parameters of the image acquisition device 100 are adjusted according to the statistical brightness.
  • the processor 601 may obtain the black and white pixels and color pixels of the first image, and obtain the ambient light intensity, and select one of the first brightness, the second brightness, and the third brightness as the statistical brightness according to the ambient light intensity, and then The exposure parameters of the
  • the exposure parameter adjustment device 600 may further include at least one memory 602 for storing program instructions and/or data.
  • the memory 602 and the processor 601 are coupled.
  • the coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units or modules, and may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules.
  • the processor 601 may operate in cooperation with the memory 602.
  • the processor 601 may execute program instructions stored in the memory 602. At least one of the at least one memory may be included in the processor.
  • the exposure parameter adjustment device 600 may further include an interface 603 for communicating with the processor 601 or for communicating with other devices through a transmission medium, so that the exposure parameter adjustment device 600 can communicate with other devices.
  • the other device may be a computing module.
  • the processor 601 can use the interface 603 to send and receive data.
  • the embodiment of the present application does not limit the specific connection medium between the aforementioned interface 603, the processor 601, and the memory 602.
  • the memory 602, the processor 601, and the interface 603 are connected by a bus 604.
  • the bus is represented by a thick line in FIG. 6, and the connection modes between other components are only for schematic illustration. It is not limited.
  • the bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used in FIG. 6, but it does not mean that there is only one bus or one type of bus.
  • the processor 601 may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, which can implement Or execute the methods, steps, and logical block diagrams disclosed in the embodiments of the present application.
  • the general-purpose processor may be a microprocessor or any conventional processor or the like.
  • the steps of the method disclosed in combination with the embodiments of the present application may be directly embodied as being executed and completed by a hardware processor, or executed and completed by a combination of hardware and software modules in the processor.
  • the memory 602 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or a volatile memory (volatile memory). For example, random access memory.
  • the memory is any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and that can be accessed by a computer, but is not limited to this.
  • the memory in the embodiments of the present application may also be a circuit or any other device capable of realizing a storage function for storing program instructions and/or data.
  • 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 the method executed by the processor 130 in the embodiment shown in FIG. 4.
  • the embodiment of the present application provides a chip system.
  • the chip system includes a processor and may also include a memory for implementing the functions of the processor 130 in the foregoing method.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • the embodiment of the present application provides an image acquisition device, and the image acquisition device includes the processor 130 in the embodiment shown in FIG. 4.
  • the methods provided in the embodiments of the present application may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software When implemented by software, it can be implemented in the form of a computer program product in whole or in part.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, network equipment, user equipment, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center.
  • a computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media.
  • the available medium may be a magnetic medium (for example, a floppy disk, hard disk, Magnetic tape), optical media (for example, digital video disc (DVD for short)), or semiconductor media (for example, SSD).

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Color Television Image Signal Generators (AREA)

Abstract

La présente invention concerne un procédé et un appareil d'ajustement de paramètre d'exposition. Le procédé s'applique à un appareil d'acquisition d'image. Le procédé comprend les étapes suivantes : après l'acquisition d'une première image, acquérir des pixels en noir et blanc et des pixels en couleur dans la première image ; sélectionner, en tant que luminosité calculée selon une intensité de la lumière ambiante, une luminosité à partir d'une première luminosité, d'une deuxième luminosité et d'une troisième luminosité, la première luminosité étant acquise en effectuant un calcul sur la luminosité des pixels en noir et blanc, la deuxième luminosité étant acquise en effectuant un calcul sur la luminosité des pixels en couleur et l'amplitude de la troisième luminosité se situant entre la première luminosité et la deuxième luminosité ; puis ajuster un paramètre d'exposition d'un appareil d'acquisition d'image en fonction de la luminosité calculée. Lorsque l'intensité de la lumière ambiante change, le paramètre d'exposition de l'appareil d'acquisition d'image est ajusté en fonction de la luminosité calculée sélectionnée en fonction de l'intensité de la lumière ambiante, de sorte que l'exposition d'une image acquise ultérieurement est proche de l'exposition optimale, ce qui améliore la qualité d'imagerie, et permet à un capteur d'image de fonctionner de manière adaptative dans des environnements correspondant à diverses intensités de la lumière ambiante.
PCT/CN2020/110075 2019-12-06 2020-08-19 Procédé et appareil d'ajustement de paramètre d'exposition WO2021109620A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911243840.X 2019-12-06
CN201911243840.XA CN111064899B (zh) 2019-12-06 2019-12-06 一种曝光参数的调节方法及装置

Publications (1)

Publication Number Publication Date
WO2021109620A1 true WO2021109620A1 (fr) 2021-06-10

Family

ID=70300104

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/110075 WO2021109620A1 (fr) 2019-12-06 2020-08-19 Procédé et appareil d'ajustement de paramètre d'exposition

Country Status (2)

Country Link
CN (1) CN111064899B (fr)
WO (1) WO2021109620A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114630036A (zh) * 2022-03-21 2022-06-14 重庆紫光华山智安科技有限公司 一种昼夜切换方法、装置、摄像机及存储介质
WO2023207137A1 (fr) * 2022-04-28 2023-11-02 华为技术有限公司 Procédé et dispositif de traitement d'images

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111064899B (zh) * 2019-12-06 2021-06-08 成都华为技术有限公司 一种曝光参数的调节方法及装置
CN113691735B (zh) * 2020-05-18 2022-11-25 浙江宇视科技有限公司 一种摄像机及红外光补光方法、装置
CN114143470A (zh) * 2020-09-04 2022-03-04 华为技术有限公司 一种调整摄像机曝光时间的方法、装置以及程序产品
CN112946896B (zh) * 2021-02-03 2023-06-27 上海闻泰信息技术有限公司 可穿戴设备、透过率调整系统、方法和可读存储介质
CN115314628B (zh) * 2021-05-08 2024-03-01 杭州海康威视数字技术股份有限公司 一种成像方法、系统及摄像机
CN113810601B (zh) * 2021-08-12 2022-12-20 荣耀终端有限公司 终端的图像处理方法、装置和终端设备
CN114266736A (zh) * 2021-12-07 2022-04-01 北京的卢深视科技有限公司 眩光检测方法、装置、电子设备和计算机可读存储介质
CN114093015A (zh) * 2022-01-21 2022-02-25 杭州魔点科技有限公司 针对人脸识别的智能补光方法、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581100A (zh) * 2015-02-12 2015-04-29 张李静 色彩滤镜阵列和图像处理方法
CN105827990A (zh) * 2016-01-22 2016-08-03 维沃移动通信有限公司 一种自动曝光方法及移动终端
WO2018004238A1 (fr) * 2016-06-27 2018-01-04 Samsung Electronics Co., Ltd. Appareil et procédé de traitement d'image
CN110401787A (zh) * 2019-07-22 2019-11-01 珠海格力电器股份有限公司 一种图像采集方法、装置和可读介质
CN111064899A (zh) * 2019-12-06 2020-04-24 成都华为技术有限公司 一种曝光参数的调节方法及装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4626432B2 (ja) * 2005-07-25 2011-02-09 富士フイルム株式会社 撮像装置における色判別方法及び装置並びに撮像装置の露出制御方法
CN105491285B (zh) * 2015-12-03 2019-02-15 浙江宇视科技有限公司 一种pir摄像机工作模式切换方法及装置
CN106060412A (zh) * 2016-08-02 2016-10-26 乐视控股(北京)有限公司 拍照处理方法和装置
CN106534677B (zh) * 2016-10-27 2019-12-17 成都西纬科技有限公司 一种图像过曝优化方法及装置
CN108965654B (zh) * 2018-02-11 2020-12-25 浙江宇视科技有限公司 基于单传感器的双光谱摄像机系统和图像处理方法
CN108364275B (zh) * 2018-03-02 2022-04-12 成都西纬科技有限公司 一种图像融合方法、装置、电子设备及介质
CN110381244B (zh) * 2019-08-26 2021-02-02 浙江大华技术股份有限公司 一种摄像头及低照度下提升图像质量的方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581100A (zh) * 2015-02-12 2015-04-29 张李静 色彩滤镜阵列和图像处理方法
CN105827990A (zh) * 2016-01-22 2016-08-03 维沃移动通信有限公司 一种自动曝光方法及移动终端
WO2018004238A1 (fr) * 2016-06-27 2018-01-04 Samsung Electronics Co., Ltd. Appareil et procédé de traitement d'image
CN110401787A (zh) * 2019-07-22 2019-11-01 珠海格力电器股份有限公司 一种图像采集方法、装置和可读介质
CN111064899A (zh) * 2019-12-06 2020-04-24 成都华为技术有限公司 一种曝光参数的调节方法及装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114630036A (zh) * 2022-03-21 2022-06-14 重庆紫光华山智安科技有限公司 一种昼夜切换方法、装置、摄像机及存储介质
CN114630036B (zh) * 2022-03-21 2023-09-29 重庆紫光华山智安科技有限公司 一种昼夜切换方法、装置、摄像机及存储介质
WO2023207137A1 (fr) * 2022-04-28 2023-11-02 华为技术有限公司 Procédé et dispositif de traitement d'images

Also Published As

Publication number Publication date
CN111064899A (zh) 2020-04-24
CN111064899B (zh) 2021-06-08

Similar Documents

Publication Publication Date Title
WO2021109620A1 (fr) Procédé et appareil d'ajustement de paramètre d'exposition
CN108419023B (zh) 一种生成高动态范围图像的方法以及相关设备
CN107948538B (zh) 成像方法、装置、移动终端和存储介质
CN108322646B (zh) 图像处理方法、装置、存储介质及电子设备
WO2019183813A1 (fr) Dispositif et procédé de capture d'image
US9584733B2 (en) High dynamic range transition
US8937677B2 (en) Digital photographing apparatus, method of controlling the same, and computer-readable medium
CN111447374B (zh) 补光调节方法、装置、电子设备及存储介质
US10325354B2 (en) Depth assisted auto white balance
CN108616689B (zh) 基于人像的高动态范围图像获取方法、装置及设备
EP2896201A1 (fr) Contrôleur d'imagerie et procédé de contrôle d'imagerie
EP3162048B1 (fr) Mesure d'exposition basée sur des pixels d'arrière-plan
CN116055897B (zh) 拍照方法及其相关设备
CN116416122B (zh) 图像处理方法及其相关设备
CN112422784A (zh) 成像方法、成像装置、电子装置和存储介质
WO2023036034A1 (fr) Procédé de traitement d'images et dispositif correspondant
CN113228621B (zh) 一种成像控制方法、系统和非暂时性计算机可读介质
US11496694B2 (en) Dual sensor imaging system and imaging method thereof
US11568526B2 (en) Dual sensor imaging system and imaging method thereof
CN114125311A (zh) 一种宽动态模式的自动切换方法及装置
CN116055855B (zh) 图像处理方法及其相关设备
TWI499984B (zh) 動態範圍模式的判定方法及其影像擷取裝置
JP2015119436A (ja) 撮像装置
JP2013132065A (ja) 撮像装置及びフラッシュ制御方法
CN115426449B (zh) 一种拍照方法和终端

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: 20895895

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: 20895895

Country of ref document: EP

Kind code of ref document: A1