WO2020238806A1 - Image collection apparatus and photography method - Google Patents

Image collection apparatus and photography method Download PDF

Info

Publication number
WO2020238806A1
WO2020238806A1 PCT/CN2020/091912 CN2020091912W WO2020238806A1 WO 2020238806 A1 WO2020238806 A1 WO 2020238806A1 CN 2020091912 W CN2020091912 W CN 2020091912W WO 2020238806 A1 WO2020238806 A1 WO 2020238806A1
Authority
WO
WIPO (PCT)
Prior art keywords
light
exposure
infrared
image
image signal
Prior art date
Application number
PCT/CN2020/091912
Other languages
French (fr)
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 WO2020238806A1 publication Critical patent/WO2020238806A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/10Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/54Mounting of pick-up tubes, electronic image sensors, deviation or focusing coils
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/56Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means
    • 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/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • 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/743Bracketing, i.e. taking a series of images with varying exposure conditions

Definitions

  • This application relates to the field of surveillance, and in particular to an image acquisition device and a camera method.
  • Image acquisition equipment can be installed in places such as buildings and roads.
  • the image acquisition equipment photographs the place, not only to obtain the video stream, but also to perform intelligent analysis based on the captured video.
  • the image capture device can store the captured video stream in the storage device, and perform intelligent analysis such as face recognition based on the captured video.
  • the embodiments of the present application provide an image acquisition device and a camera method to improve the accuracy of intelligent analysis of images.
  • the technical solution is as follows:
  • the present application provides an image acquisition device, including: an image sensor (01), a light supplement (02) and a filter assembly (03), the image sensor (01) is located in the filter assembly (03) ) On the light emitting side; also includes an image signal processing unit (04), a coding compression unit (05) and an analysis unit (06);
  • the image sensor (01) is used to generate and output a first original image signal and a second original image signal through multiple exposures, wherein the first original image signal is an image signal generated according to a first preset exposure, The second original image signal is an image signal generated according to a second preset exposure, and the first preset exposure and the second preset exposure are two of the multiple exposures;
  • the light fill device (02) includes a first light fill device (021), and the first light fill device (021) is used to perform near-infrared fill light in a stroboscopic manner, wherein, at least in the first preset Performing near-infrared supplementary light during a part of the exposure time period of the exposure, and not performing near-infrared supplementary light during the exposure time period of the second preset exposure;
  • the filter assembly (03) includes a first filter (031), and the first filter (031) passes visible light and part of near-infrared light;
  • the image signal processing unit (04) is configured to obtain a gray image according to the first original image signal, and obtain a color image according to the second original image signal;
  • the encoding compression unit (05) is configured to compress and encode the color image
  • the analysis unit (06) is used for intelligent analysis of the gray image.
  • the present application provides a camera method applied to an image acquisition device
  • the image acquisition device includes an image sensor (01), a light supplement (02) and a filter component (03)
  • the image sensor ( 01) Located at the light exit side of the filter assembly (03)
  • the light fill device (02) includes a first light fill device
  • the filter assembly (03) includes a first filter
  • the method includes:
  • the image acquisition device performs near-infrared light supplementation through the first light-filling device, wherein the first light-filling device performs near-infrared light at least within a partial exposure time period of the first preset exposure of the multiple exposures of the image sensor.
  • Infrared supplementary light no near-infrared supplementary light is performed during the exposure time period of the second preset exposure of the multiple exposures, and the first preset exposure and the second preset exposure are two of the multiple exposures;
  • the image acquisition device generates a first original image signal and a second original image signal through the multiple exposures, wherein the first original image signal is an image signal generated according to the first preset exposure, and the second The original image signal is an image signal generated according to the second preset exposure;
  • the image acquisition device passes through the first filter to pass visible light and part of the near-infrared light;
  • the image acquisition device obtains a grayscale image according to the first original image signal, and obtains a color image according to the second original image signal;
  • the image acquisition device compresses and encodes the color image, and performs intelligent analysis on the gray image.
  • the image sensor Since the image sensor is exposed based on the near-infrared light-filling timing of the first light-filling device, the image sensor generates the first original image signal when the near-infrared light-filling is performed during the first preset exposure.
  • the image sensor generates the second original image signal when the near-infrared supplementary light is not performed in the process.
  • This data collection method can directly collect the first original image signal and the second original image signal with different infrared components, so that the color can be easily obtained.
  • Image signal (second original image signal) and infrared image signal (first original image signal) Then the first original image signal is used to obtain a grayscale image, and the second original image signal is used to obtain a color image.
  • the grayscale image obtained based on the first original image signal Since the first original image signal is generated during near-infrared fill light, the grayscale image obtained based on the first original image signal The mid-near infrared brightness information is prominent, and the gray-scale image has a sharp contrast. Compared with color images in the night scene, it is beneficial to obtain better intelligent analysis results, which can improve the accuracy of intelligent analysis. Since the second original image signal is generated when near-infrared supplementary light is not performed, the RGB color information in the color image obtained based on the second original image signal is prominent, and it is more advantageous to output for viewing in a night scene than a gray image.
  • FIG. 1 is a schematic structural diagram of an image acquisition device provided by an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of a filter assembly provided by an embodiment of the present application.
  • FIG. 3 is a time sequence diagram of the exposure time period of the first preset exposure and the exposure time of the second preset exposure provided by an embodiment of the present application;
  • FIG. 4 is a schematic diagram of a rolling shutter exposure method provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a first preset exposure and a second preset exposure according to an embodiment of the present application
  • FIG. 6 is a schematic diagram of a second type of first preset exposure and a second preset exposure provided by an embodiment of the present application
  • FIG. 7 is a schematic diagram of a third type of first preset exposure and a second preset exposure provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of the first rolling shutter exposure method and near-infrared light supplement provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a second rolling shutter exposure method and near-infrared fill light provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a third rolling shutter exposure method and near-infrared light supplement provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of the wavelength band corresponding to near-infrared light provided by an embodiment of the present application.
  • FIG. 12 is a schematic diagram of the relationship between the wavelength and relative intensity of near-infrared supplement light performed by a first light supplement device according to an embodiment of the present application;
  • FIG. 13 is a schematic structural diagram of another image acquisition device provided by an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of an RGBW sensor provided by an embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of an RCCB sensor provided by an embodiment of the present application.
  • FIG. 16 is a schematic structural diagram of an RGB sensor provided by an embodiment of the present application.
  • FIG. 17 is a schematic diagram of the structure of the RYYB sensor provided by an embodiment of the present application.
  • FIG. 18 is a schematic diagram of wavebands corresponding to each photosensitive channel provided by an embodiment of the present application.
  • FIG. 19 is a schematic diagram of image fusion provided by an embodiment of the present application.
  • FIG. 20 is a flowchart of an imaging method provided by an embodiment of the present application.
  • the image signal captured by the image acquisition device has greater noise, and the grayscale image generated based on the image signal also has greater noise, so based on the grayscale image
  • the accuracy of the analysis results obtained during intelligent analysis processing is low.
  • this application provides the following image acquisition equipment.
  • the embodiment of the present application provides an image acquisition device, and the image acquisition device includes:
  • Image sensor 01 is located on the light exit side of filter assembly 03; it also includes image signal processing unit 04, encoding compression unit 05, and analysis unit 06;
  • the image sensor 01 is used to generate and output a first original image signal and a second original image signal through multiple exposures, where the first original image signal is an image signal generated according to the first preset exposure, and the second original image signal is According to the image signal generated by the second preset exposure, the first preset exposure and the second preset exposure are two of the multiple exposures;
  • the light supplement 02 includes a first light supplement device 021, which is used to perform near-infrared supplement light in a stroboscopic manner, wherein the near-infrared supplement light is performed at least during a partial exposure period of the first preset exposure , Do not perform near-infrared fill light during the exposure time period of the second preset exposure;
  • the filter assembly 03 includes a first filter 031, and the first filter 031 passes visible light and part of the near-infrared light;
  • the image signal processing unit 04 is configured to obtain a grayscale image according to the first original image signal, and obtain a color image according to the second original image signal;
  • the encoding compression unit 05 is used to compress and encode color images
  • the analysis unit 06 is used for intelligent analysis of the gray image.
  • the image sensor 01 generates and outputs a first original image signal and a second original image signal through multiple exposures, the first original image signal is an image signal generated according to the first preset exposure, and the second original image signal is according to the second preset For the image signal generated by the exposure, the first preset exposure and the second preset exposure are two of the multiple exposures.
  • the first original image signal is processed by the image signal processing unit 04 to output a color image for encoding and compressing the output video stream;
  • the second original image signal is processed by the signal processing unit 04 for image signal processing to generate a gray image, and analyzed Unit 06 analyzes and processes grayscale images and outputs intelligent analysis results; for intelligent analysis, special fill light and image signal acquisition and optimization processing are performed, and the effect of intelligent analysis is further improved without changing the existing video effects.
  • the first filter 031 is used to pass visible light and part of the near-infrared light, wherein the near-infrared light passing through the first filter 031 in the exposure time period of the first preset exposure includes the first light supplement device 021 for near-infrared light.
  • the near-infrared light reflected by the object into the filter assembly 03 during the fill light, and the near-infrared light passing through the first filter 031 within the exposure time period of the second preset exposure includes the first fill light device 021 not performing near-infrared compensation
  • the image acquisition device may be a video camera, a capture machine, a face recognition camera, a code reading camera, a vehicle-mounted camera, a panoramic detail camera, etc.
  • the light supplement 02 may be located in the image acquisition device or outside the image acquisition device.
  • the light supplement 02 can be a part of the image acquisition device, or can be a device independent of the image acquisition device.
  • the light fill 02 can communicate with the image capture device, which can ensure the exposure timing of the image sensor 01 in the image capture device and the first fill light device included in the light fill 02
  • the timing of the near-infrared supplement light of 021 has a certain relationship.
  • the near-infrared supplementary light is performed at least during a partial exposure period of the first preset exposure, and the near-infrared supplementary light is not performed during the exposure period of the second preset exposure.
  • the first supplementary light device 021 is a device that can emit near-infrared light, such as a near-infrared supplementary light, which is not limited in the embodiment of the present application.
  • the first light supplement device 021 can perform near-infrared supplement light in a stroboscopic manner, or in other ways similar to stroboscopic.
  • the first supplement light device 021 when the first light supplement device 021 performs near-infrared supplement light in a stroboscopic manner, the first supplement light device 021 may be manually controlled to perform near-infrared supplement light in a stroboscopic manner, or through a software program Or a specific device controls the first light supplement device 021 to perform near-infrared supplement light in a strobe mode, which is not limited in the embodiment of the present application.
  • the time period during which the first light supplement device 021 performs near-infrared light supplementation may coincide with the exposure time period of the first preset exposure, or may be greater than the exposure time period of the first preset exposure or less than the exposure time period of the first preset exposure. The time period, as long as the near-infrared supplement light is performed during the entire exposure time period or part of the exposure time period of the first preset exposure, and the near-infrared supplement light is not performed during the exposure time period of the second preset exposure.
  • the exposure time period of the first preset exposure and the exposure time period of the second preset exposure appear alternately, and the first light supplement device 021 generates and emits near-infrared light during the exposure time period of the first preset exposure.
  • the first light supplement device 021 To realize near-infrared supplementary light, stop generating near-infrared light during the exposure time period of the second preset exposure, so as to realize no near-infrared supplementary light.
  • the so-called stroboscopic approach for near-infrared supplementary light is to generate and emit near-infrared light during the exposure time period of the first predicted exposure, and stop during the exposure time period of the second preset exposure adjacent to the exposure time period of the first predicted exposure Produce near-infrared light.
  • the multiple exposures may include odd exposures and even exposures
  • the first preset exposure may be one of the even exposures
  • the second preset exposure may be the odd exposures. Of an exposure.
  • the first preset exposure may be one exposure in an odd number of exposures
  • the second preset exposure may be one exposure in an even number of exposures
  • the first preset exposure may be one of the specified odd exposures
  • the second preset exposure may be one of the exposures except the specified odd exposures
  • the first preset exposure may be one exposure in a specified even number of exposures
  • the second preset exposure may be one exposure in other exposures except the specified even number of exposures.
  • the number of times of supplementary light in the unit time length of the first supplementary light device 021 may be lower than the number of exposures of the image sensor 01 in the unit time length, wherein the supplementary light times of every two adjacent times of supplementary light , Interval one or more exposures.
  • the first preset exposure is one exposure in the first exposure sequence
  • the second preset exposure is one exposure in the second exposure sequence
  • the first preset exposure is one exposure in the second exposure sequence
  • the second preset exposure is one exposure in the first exposure sequence
  • the multiple exposure includes multiple exposure sequences
  • the first exposure sequence and the second exposure sequence are one exposure sequence or two exposure sequences among the multiple exposure sequences
  • each exposure sequence includes N exposures
  • N exposures include 1 first preset exposure and N-1 second preset exposures
  • N exposures include 1 second preset exposure and N-1 second preset exposures
  • N is a positive integer greater than 2.
  • the image sensor 01 may adopt a global exposure method or a rolling shutter exposure method.
  • the global exposure mode means that the exposure start time of each row of effective pixels is the same, and the exposure end time of each row of effective pixels is the same.
  • the global exposure mode is an exposure mode in which all rows of effective pixels are exposed at the same time and the exposure ends at the same time.
  • Rolling shutter exposure means that the exposure times of different rows of effective pixels do not completely coincide, that is, the exposure start time of a row of effective pixels is later than the exposure start time of the previous row of effective pixels, and the exposure end time of a row of effective pixels is later At the end of the exposure of the effective pixels in the previous row.
  • data can be output after each row of effective pixels is exposed. Therefore, the time from the time when the data of the first row of effective pixels starts to the time when the data of the last row of effective pixels ends can be expressed as reading Time out.
  • FIG. 4 is a schematic diagram of a rolling shutter exposure method. It can be seen from Figure 4 that the effective image of the first line begins to be exposed at time T1, and the exposure ends at time T3. The effective image of the second line begins to be exposed at time T2, and the exposure ends at time T4. Time T2 is backward compared to time T1. A period of time has passed, and time T4 has moved a period of time backward compared to time T3. In addition, the effective image of the first line ends exposure at time T3 and begins to output data, and the output of data ends at time T5. The effective image of line n ends exposure at time T6 and begins to output data, and the output of data ends at time T7, then T3 The time between ⁇ T7 is the read time.
  • the time period of near-infrared fill light does not overlap with the exposure time period of the nearest second preset exposure.
  • the time period of fill light is a subset of the exposure time period of the first preset exposure, or the time period of near-infrared fill light and the exposure time period of the first preset exposure overlap, or the time period of the first preset exposure
  • the exposure time period is a subset of the near-infrared fill light.
  • the near-infrared supplementary light is performed at least during a part of the exposure time period of the first preset exposure, and the near-infrared supplementary light is not performed during the entire exposure time period of the second preset exposure. Set the exposure to affect.
  • the time period of near-infrared fill light does not overlap with the exposure time period of the nearest second preset exposure, and the time period of near-infrared fill light is the first preset A subset of the exposure time period for exposure.
  • the time period of near-infrared fill light does not overlap with the exposure time period of the nearest second preset exposure, and the time period of near-infrared fill light is equal to that of the first preset exposure. There is an intersection of exposure time periods.
  • the time period of near-infrared fill light does not overlap with the exposure time period of the nearest second preset exposure, and the exposure time period of the first preset exposure is near-infrared fill light A subset of.
  • the image sensor 01 adopts rolling shutter exposure for multiple exposures.
  • the period of near-infrared fill light is the same as the exposure time of the nearest second preset exposure. There is no intersection between segments; the start time of the near-infrared fill light is no earlier than the exposure start time of the last line of the effective image in the first preset exposure, and the end time of the near-infrared fill light is no later than the first line of the first preset exposure.
  • the exposure end time of the image; or, the start time of the near-infrared fill light is no earlier than the exposure end time of the last line of the effective image of the nearest second preset exposure before the first preset exposure and no later than the first preset exposure
  • the exposure end time of the first line of the effective image in the exposure, the end time of the near-infrared fill light is no earlier than the exposure start time of the last line of the effective image in the first preset exposure and no later than the nearest neighbor after the first preset exposure
  • the exposure start time of the first line of the effective image of the second preset exposure; or the start time of the near-infrared fill light is no earlier than the end of the exposure of the last line of the effective image of the nearest second preset exposure before the first preset exposure Time and no later than the exposure start time of the first line of the effective image in the first preset exposure, and the end time of the near-infrared fill light is no earlier than the exposure end time of the last line of the effective image in the first preset exposure and no
  • the time period of near-infrared fill light does not overlap with the exposure time period of the nearest second preset exposure, and the start time of near-infrared fill light is no earlier than The exposure start time of the last line of the effective image in the first preset exposure, and the end time of the near-infrared fill light is no later than the exposure end time of the first line of the effective image in the first preset exposure.
  • the time period of near-infrared fill light does not overlap with the exposure time period of the nearest second preset exposure, and the start time of near-infrared fill light is no earlier than the first
  • the end time of the near-infrared fill light is not It is earlier than the exposure start time of the last line of the effective image in the first preset exposure and not later than the exposure start time of the first line of the effective image of the nearest second preset exposure after the first preset exposure.
  • the time period of near-infrared supplement light does not overlap with the exposure time period of the nearest second preset exposure, and the start time of near-infrared supplement light is not earlier than the first
  • the exposure end time of the last line of the effective image of the nearest second preset exposure before the preset exposure and not later than the exposure start time of the first line of the effective image in the first preset exposure the end time of the near-infrared fill light is not It is earlier than the exposure end time of the last line of the effective image in the first preset exposure and not later than the exposure start time of the first line of the effective image of the nearest second preset exposure after the first preset exposure.
  • 8 to 10 are only an example, and the sorting of the first preset exposure and the second preset exposure may not be limited to these examples.
  • the first light supplement device 021 generates and emits near-infrared light to the external environment, so the external environment includes the environment during the exposure time period of the first preset exposure Light and the near-infrared light generated by the first light-filling device 021.
  • the ambient light includes visible light, and may also include at least one of near-infrared light and infrared light. In this way, the light is blocked during the exposure time period of the first preset exposure.
  • the light reflected by the object into the first filter 031 includes the near-infrared light and the ambient light generated by the first light-filling device 021, and the first filter 031 passes the near-infrared light and the visible light and near-infrared of the ambient light.
  • the image sensor 01 performs shooting according to the exposure parameters of the first preset exposure, and can sense the visible light and the near-infrared light in the ambient light and the near-infrared light generated by the first light supplement device 021 to obtain the first original image signal.
  • the first light supplement device 021 stops generating near-infrared light, so during the exposure time period of the second preset exposure, the external environment includes ambient light, which is reflected by the object into the first filter
  • the light of the light sheet 031 includes the ambient light
  • the first filter 031 passes visible light and near-infrared light in the ambient light and transmits it to the image sensor 01, and the image sensor 01 shoots according to the exposure parameters of the second preset exposure.
  • the visible light and near-infrared light in the ambient light in the external environment can be sensed to obtain the second original image signal.
  • the near-infrared light incident on the surface of the object may be reflected by the object and enter the first filter 031.
  • the ambient light may include visible light and near-infrared light, and near-infrared light in the ambient light is also reflected by the object when it is incident on the surface of the object, thereby entering the first filter 031.
  • the near-infrared light that passes through the first filter 031 when performing near-infrared light supplementation may include the near-infrared light that is reflected by the object and enters the first filter 031 when the first light supplement device 021 performs near-infrared light supplementation.
  • the near-infrared light passing through the first filter 031 when the near-infrared light supplement is not performed may include the near-infrared light reflected by the object into the first filter 031 when the first light supplement device 021 is not performing the near-infrared light supplement.
  • the near-infrared light that passes through the first filter 031 when performing near-infrared supplementary light includes the near-infrared light emitted by the first supplementary light device 021 and reflected by the object, and the ambient light reflected by the object Near-infrared light
  • the near-infrared light passing through the first filter 031 when the near-infrared supplementary light is not performed includes near-infrared light reflected by an object in the ambient light.
  • the filter assembly 03 may be located between the lens 07 and the image sensor 01, and the image sensor 01 is located on the light-emitting side of the filter assembly 03 as an example.
  • the image acquisition device acquires the first original image signal and the first original image signal.
  • the second process of the original image signal is: when the image sensor 01 performs the first preset exposure, the first light supplement device 021 performs near-infrared supplement light, and at this time the ambient light in the shooting scene and the first light supplement device 021 perform near-infrared light After the near-infrared light reflected by objects in the scene passes through the lens 07 and the first filter 031 when filling light, the image sensor 01 generates the first original image signal through the first preset exposure; the second preset is performed on the image sensor 01 During exposure, the first light-filling device 021 does not perform near-infrared light-filling.
  • the image sensor 01 After the ambient light in the shooting scene passes through the lens 07 and the first filter 031, the image sensor 01 generates the second original light through the second preset exposure.
  • image signals there can be M first preset exposures and N second preset exposures in one frame period of image acquisition, and there can be multiple combinations of sorts between the first preset exposure and the second preset exposure.
  • the values of M and N and the magnitude relationship between M and N can be set according to actual requirements. For example, the values of M and N may be equal or different.
  • the first light supplement device 021 since the intensity of the near-infrared light in the ambient light is lower than the intensity of the near-infrared light emitted by the first light supplement device 021, the first light supplement device 021 passes through the first filter 031 when performing near-infrared supplement light.
  • the intensity of the near-infrared light is higher than the intensity of the near-infrared light passing through the first filter 031 when the first light supplement device 021 is not performing near-infrared light supplementation.
  • the first light-filling device 021 performs near-infrared light-filling during the partial exposure time period of the first preset exposure, and passes the near-infrared light of the first filter 031 during the exposure time period of the first preset exposure
  • the light may include the near-infrared light reflected by the object into the first filter 031 when the first light supplement device 021 performs near-infrared light supplement light, and the first filter 031 can also make visible light and near-infrared light in the ambient light by.
  • the first light supplement device 021 performs near-infrared light supplementation, the intensity of the near-infrared light reflected by the object and entering the first filter 031 is relatively strong, while the intensity of visible light is relatively weak, the near-infrared light sensed by the image sensor 01 The intensity is strong. Therefore, the first original image signal generated and output according to the first preset exposure mainly includes near-infrared light brightness information.
  • the first light supplement device 021 does not perform near-infrared supplement light during the entire exposure time period of the second preset exposure, and passes through the first filter 031 during the exposure time period of the second preset exposure.
  • the near-infrared light of is the near-infrared light in the ambient light. Since there is no near-infrared light provided by the first light-filling device 021, the intensity of the near-infrared light that passes through the first filter 031 is weak at this time, while the intensity of visible light is strong, and the visible light that the image sensor 01 can sense The intensity is strong. Therefore, the second original image signal generated and output according to the second preset exposure mainly includes visible light brightness information.
  • the wavelength range of the first light supplement device 021 for near-infrared supplement light may be the second reference wavelength range, which may be 700 nanometers to 800 nanometers, or 900 nanometers to 1000 nanometers, etc. This is not the case in this application. Make a limit.
  • the wavelength range of the near-infrared light incident on the first filter 031 may be the first reference wavelength range, and the first reference wavelength range is 650 nm to 1100 nm.
  • the first reference wavelength range may be 650 nm. Nano ⁇ 1000 nm.
  • the second reference waveband range may be 700 nm to 800 nm, which means that the second reference waveband range is greater than or equal to 700 nm and less than or equal to 800 nm, or is greater than 700 nm and less than 800 nm.
  • the range is a range greater than or equal to 700 nanometers and less than 800 nanometers, or a range greater than 700 nanometers and less than or equal to 800 nanometers.
  • the near-infrared light passing through the first filter 031 may include the first light-filling device 021 that is reflected by the object and enters the first filter 031 when the near-infrared light is filled.
  • the center wavelength and/or band width of the near-infrared light passing through the first filter 031 can be matched with the center wavelength of the near-infrared light supplemented by the first light supplement device 021, that is, the first light supplement
  • the center wavelength of the near-infrared complementary light performed by the optical device 021 is the set characteristic wavelength or falls within the set characteristic wavelength range
  • the center wavelength and/or the band width of the near-infrared light passing through the first filter 031 meet the constraint conditions.
  • the center wavelength and/or wavelength range of the first light supplement device 021 for near-infrared supplement light there are multiple choices for the center wavelength and/or wavelength range of the first light supplement device 021 for near-infrared supplement light.
  • the center wavelength of the near-infrared supplement light of the first light supplement device 021 can be designed, and the characteristics of the first filter 031 can be selected, so that the center of the first light supplement device 021 for the near-infrared light supplement.
  • the center wavelength and/or band width of the near-infrared light passing through the first filter 031 can meet the constraint conditions.
  • This constraint is mainly used to restrict the center wavelength of the near-infrared light passing through the first filter 031 as accurately as possible, and the band width of the near-infrared light passing through the first filter 031 as narrow as possible, so as to avoid The infrared light band width is too wide and introduces wavelength interference.
  • the center wavelength of the near-infrared light supplemented by the first light-filling device 021 may be the average value in the wavelength range of the highest energy in the spectrum of the near-infrared light emitted by the first light-filling device 021, or it may be understood as the first light supplement
  • the set characteristic wavelength or the set characteristic wavelength range can be preset.
  • the center wavelength of the first light supplement device 021 for near-infrared supplement light may be any wavelength within the wavelength range of 750 ⁇ 10 nanometers; or, the center wavelength of the first light supplement device 021 for near-infrared supplement light It is any wavelength within the wavelength range of 780 ⁇ 10 nanometers; or, the center wavelength of the first light supplement device 021 for near-infrared supplement light is any wavelength within the wavelength range of 940 ⁇ 10 nanometers. That is, the set characteristic wavelength range may be a wavelength range of 750 ⁇ 10 nanometers, or a wavelength range of 780 ⁇ 10 nanometers, or a wavelength range of 940 ⁇ 10 nanometers.
  • the center wavelength of the near-infrared supplement light performed by the first light supplement device 021 is 940 nanometers
  • the relationship between the wavelength and the relative intensity of the near-infrared supplement light performed by the first light supplement device 021 is shown in FIG. 11. It can be seen from FIG. 11 that the wavelength range of the first light supplement device 021 for near-infrared supplement light is 900 nanometers to 1000 nanometers, and between 940 nanometers and 960 nanometers, the relative intensity of near-infrared light is the highest.
  • the above constraint conditions may include: the difference between the center wavelength of the near-infrared light passing through the first filter 031 and the center wavelength of the near-infrared light that the first light supplement device 021 performs The value lies in the wavelength fluctuation range.
  • the wavelength fluctuation range may be 0-20 nanometers.
  • the center wavelength of the near-infrared supplement light passing through the first filter 031 can be the wavelength at the peak position in the near-infrared band in the near-infrared light pass rate curve of the first filter 031, or it can be understood as the first A filter 031 is the wavelength at the middle position in the near-infrared waveband whose pass rate exceeds a certain threshold in the near-infrared light pass rate curve.
  • the above constraint conditions may include: the first band width may be smaller than the second band width.
  • the first waveband width refers to the waveband width of the near-infrared light passing through the first filter 031
  • the second waveband width refers to the waveband width of the near-infrared light blocked by the first filter 031.
  • the wavelength band width refers to the width of the wavelength range in which the wavelength of light lies.
  • the first wavelength band width is 800 nanometers minus 700 nanometers, that is, 100 nanometers.
  • the wavelength band width of the near-infrared light passing through the first filter 031 is smaller than the wavelength band width of the near-infrared light blocked by the first filter 031.
  • the second original image signal generated and output by the image sensor 01 during the exposure time period of the second preset exposure mainly includes visible light brightness information.
  • the first filter 031 can not only pass the visible light in the ambient light, but also can make the ambient light reflected by the object enter the near infrared of the first filter 031 The light passes. Therefore, in order to prevent the second original image signal generated and output by the image sensor 01 from containing too much near-infrared light brightness information and to make the quality of the second original image signal higher, it is necessary to reduce the effect of the first filter 031 on visible light.
  • the first waveband width of the first filter 031 can be smaller than the second waveband width of the second filter 031.
  • the first waveband width refers to the waveband width of the near-infrared light passing through the first filter 031
  • the second waveband width refers to the waveband width of the near-infrared light blocked by the first filter 031.
  • the wavelength band width refers to the width of the wavelength range in which the wavelength of light lies. For example, if the wavelength of the near-infrared light passing through the first filter 031 is in the wavelength range of 700 nanometers to 800 nanometers, the first wavelength band width is 800 nanometers minus 700 nanometers, that is, 100 nanometers.
  • the wavelength band width of the near-infrared light passing through the first filter 031 is smaller than the wavelength band width of the near-infrared light blocked by the first filter 031.
  • the intensity of the near-infrared light passing through the first filter 031 is relatively weak, and the intensity of the visible light passing through is relatively strong, and the near-infrared light that the image sensor 01 can sense The intensity of the light is relatively weak, so that the generated and output second original image signal does not contain too much near-infrared light brightness information, thereby making the quality of the second original image signal higher.
  • FIG. 12 is a schematic diagram of the relationship between the wavelength of the light that can pass through the first filter 031 and the pass rate.
  • the wavelength range of the near-infrared light incident on the first filter 031 ranges from 650 nanometers to 1100 nanometers.
  • the first filter 031 can pass visible light with a wavelength between 380 nanometers and 650 nanometers, as well as those with a wavelength between 900 nanometers and 1000 nanometers.
  • Near-infrared light passes through and blocks near-infrared light with a wavelength between 650 nanometers and 900 nanometers. That is, the width of the first band is 1000 nanometers minus 900 nanometers, that is, 100 nanometers.
  • the second band width is 900 nm minus 650 nm, plus 1100 nm minus 1000 nm, or 350 nm. 100 nanometers are smaller than 350 nanometers, that is, the wavelength band width of the near-infrared light passing through the first filter 031 is smaller than the wavelength band width of the near-infrared light blocked by the first filter 031.
  • the above relationship curve is just an example.
  • the wavelength range of the near-red light that can pass through the filter can be different, and the wavelength range of the near-infrared light blocked by the filter can also be different. different.
  • the constraints include: the first filter 031
  • the half-bandwidth of near-infrared light is less than or equal to 50 nanometers.
  • the half bandwidth refers to the band width of near-infrared light with a pass rate greater than 50%.
  • the constraint condition is: the first filter 031
  • the three-band width can be smaller than the reference band width.
  • the third waveband width refers to the waveband width of near-infrared light with a pass rate greater than a set ratio.
  • the reference waveband width may be any waveband width in the range of 50 nm to 150 nm.
  • the set ratio can be any ratio from 30% to 50%. Of course, the set ratio can also be set to other ratios according to usage requirements, which is not limited in the embodiment of the present application.
  • the band width of the near-infrared light whose pass rate is greater than the set ratio can be smaller than the reference band width.
  • the intensity of the near-infrared light that the image sensor 01 can sense is relatively weak, so that the second original image signal generated and output will not contain too much near-infrared light.
  • the brightness information in turn makes the quality of the second original image signal higher.
  • the wavelength band of the near-infrared light incident on the first filter 031 is 650 nanometers to 1100 nanometers, the setting ratio is 30%, and the reference wavelength band width is 100 nanometers. It can be seen from FIG. 12 that in the wavelength band of near-infrared light from 650 nanometers to 1100 nanometers, the band width of near-infrared light with a pass rate greater than 30% is significantly less than 100 nanometers.
  • the first light supplement device 021 Since the first light supplement device 021 provides near-infrared supplementary light at least during a partial exposure period of the first preset exposure, it does not provide near-infrared supplementary light during the entire exposure period of the second preset exposure, and the first preset exposure
  • the exposure and the second preset exposure are two of the multiple exposures of the image sensor 01, that is, the first light supplement device 021 provides near-infrared supplement light during the exposure period of the partial exposure of the image sensor 01, The near-infrared supplementary light is not provided during the exposure time period when another part of the image sensor 01 is exposed.
  • the number of times of supplementary light in the unit time length of the first supplementary light device 021 may be lower than the number of exposures of the image sensor 01 in the unit time length, wherein, within the interval of two adjacent times of supplementary light, there is one interval. Or multiple exposures. In this way, the number of light supplements of the first light supplement device 021 can be reduced, thereby prolonging the service life of the first light supplement device 021.
  • the light supplement 02 may also include a second The light supplement device 022, and the second light supplement device 022 is used to supplement light with visible light.
  • the second light supplement device 022 provides visible light supplement light at least during part of the exposure time of the first preset exposure, that is, it performs near-infrared supplement light and visible light supplement light at least during the partial exposure time period of the first preset exposure.
  • the mixed color of the two lights can be distinguished from the color of the red light in the traffic light, so as to avoid the human eye from confusing the color of the light fill 02 for near-infrared fill light with the color of the red light in the traffic light.
  • the second light supplement device 022 provides visible light supplement light during the exposure time period of the second preset exposure, since the intensity of visible light is not particularly high during the exposure time period of the second preset exposure, When the visible light supplement is performed during the exposure time period of the exposure, the brightness of the visible light in the second original image signal can also be increased, thereby ensuring the quality of image collection.
  • the second light supplement device 022 may be used to perform visible light supplement light in a constant light mode, wherein the visible light supplement light is performed at least during a part of the exposure time period of the first preset exposure, or it may be performed during the second preset exposure. It is assumed that the visible light fill light is performed during the entire exposure time period of the exposure.
  • the second light supplement device 022 performs visible light supplement light in a constant light mode, it can not only prevent human eyes from confusing the color of the first light supplement device 021 for near-infrared supplement light with the color of the red light in the traffic light, but also can improve the 2.
  • the brightness of the visible light in the original image signal to ensure the quality of image acquisition.
  • the second light supplement device 022 can be used to perform visible light supplement light in a stroboscopic manner, where visible light supplement light is not performed at least during the entire exposure time period of the first preset exposure, and the second preset exposure time Visible light fill light in the segment.
  • the second light supplement device 022 is used to perform visible light supplement light in a stroboscopic manner, wherein the visible light supplement light is performed at least during a partial exposure time period of the first preset exposure, and the visible light supplement light is performed during the entire exposure time period of the second preset exposure. There is no visible light fill light inside.
  • the second light supplement device 022 When the second light supplement device 022 performs visible light supplement light in a stroboscopic manner, it can prevent human eyes from confusing the color of the first light supplement device 021 for near-infrared supplement light with the color of the red light in the traffic light, or can improve The brightness of the visible light in the second original image signal in turn ensures the quality of image acquisition, and can also reduce the number of times of supplementary light of the second supplementary light device 022, thereby prolonging the service life of the second supplementary light device 022.
  • the lens 07 is used to focus the light reflected by the object;
  • the first filter 031 in the filter assembly 03 is used to filter out the near-infrared light generated by the first light supplement device 021 and the visible light in the ambient light from the focused light within the exposure time period of the first preset exposure And near-infrared light, the visible light and near-infrared light in the ambient light are filtered out from the focused light within the exposure time period of the second preset exposure.
  • the filter assembly 03 includes a first filter 031, a second filter 032 and a switching component 033; both the first filter 031 and the second filter 032 are connected to the switching component 033.
  • the first filter 031 is used to pass light in the visible light waveband and the near-infrared light waveband, and the light in the near-infrared light waveband is the light in the first reference filter range;
  • the second filter 032 is used to pass light in the visible light band
  • the first light supplement device 021 can stop performing near-infrared light supplement light. For example, in the daytime when the light is strong, the first light supplement device 021 may stop performing near-infrared light supplement light. In an external environment with weak light, the first light supplement device 021 performs near-infrared supplement light in a strobe mode. For example, when the light is weak at night, the first supplementary light device 021 performs near-infrared supplementary light in a strobe mode.
  • the switching component 033 is used to switch the first filter 031 to the light incident side of the image sensor 01 in an external environment with weak light intensity, and to switch the second filter 032 in an external environment with strong light intensity The light incident side of the image sensor 01.
  • the second filter 032 After the second filter 032 is switched to the light incident side of the image sensor 01, the second filter 032 allows light in the visible light band to pass and blocks light in the near-infrared light band.
  • the image sensor 01 is used to generate and output through exposure The third image signal.
  • the device may further include a lens 07.
  • the filter assembly 03 may be located between the lens 07 and the image sensor 01, and the image sensor 01 is located on the light exit side of the filter assembly 03.
  • the lens 07 is located between the filter assembly 03 and the image sensor 01, and the image sensor 01 is located on the light exit side of the lens 07.
  • the first filter 031 can be a filter film.
  • the first filter 031 can be attached to the light emitting side of the lens 07
  • the switching component 03 switches the second filter 032 to the light incident side of the image sensor 01 or switches the first filter 031 to the light incident side of the image sensor 01; in the second filter 032, it switches to the light incident side of the image sensor.
  • the first supplementary light device 021 is in the closed state;
  • the second filter 032 is used to block the light in the near-infrared light band and pass the light in the visible light band;
  • the image sensor 01 is used to generate and output the third light through exposure Original image signal.
  • the switching component 033 is used to switch the second filter 032 to the light incident side of the image sensor 01, and can also be understood as the second filter 032 replacing the first filter 031 in the image sensor 01. Position on the light side.
  • the first light supplement device 021 may be in the off state or in the on state.
  • An external environment with strong light intensity may mean that the light intensity of the external environment is greater than or equal to a preset intensity threshold, and an external environment with weak light intensity may mean that the light intensity of the external environment is less than the preset intensity threshold.
  • the switching component 033 switches in an external environment with weak light intensity (such as night).
  • the first filter 031 is located between the lens 07 and the image sensor 01, and the light transmission path reflected by the object passes through the lens 07 and the first filter. Filter 031 and image sensor 01.
  • the first filter 031 can pass the visible light and the near-infrared light in the ambient light from the light, and the near-infrared light generated by the first light-filling device 021 reflected by the object, it is within the exposure time period of the first preset exposure
  • the first filter 031 can pass the visible light and near-infrared light reflected by the object in the ambient light from the light focused by the lens 07, and the near-infrared light generated by the first light-filling device 021 reflected by the object, and will pass through Visible light and near-infrared light are transmitted to the image sensor 01.
  • the first filter 031 can pass the visible light and near-infrared light reflected by the object in the ambient light from the light focused by the lens 07, and filter out the visible light and the near-infrared light in the ambient light.
  • the near infrared light is transmitted to the image sensor 01.
  • the switching component 033 switches in an external environment with strong light intensity (such as daytime).
  • the second filter 032 is located between the lens 07 and the image sensor 01, and the light transmission path reflected by the object passes through the lens 07 and the first filter.
  • the multiple exposure performed by the image sensor refers to multiple exposures in one frame period, that is, the image sensor 01 performs multiple exposures in one frame period, thereby generating and outputting at least one frame of the first original The image signal and at least one frame of the second original image signal.
  • 1 second includes 25 frame periods, and the image sensor 01 performs multiple exposures in each frame period, thereby generating at least one frame of the first original image signal and at least one frame of the second original image signal.
  • the generated first original image signal and second original image signal are called a group of image signals, so that 25 groups of image signals are generated within 25 frame periods.
  • the first preset exposure and the second preset exposure can be two adjacent exposures in multiple exposures in one frame period, or two non-adjacent exposures in multiple exposures in one frame period. The application embodiment does not limit this.
  • the first original image signal is generated and output by the first preset exposure
  • the second original image signal is generated and output by the second preset exposure.
  • the first original image signal and the second original image signal are processed.
  • the purposes of the first original image signal and the second original image signal may be different, so in some embodiments, at least one exposure parameter of the first preset exposure and the second preset exposure may be different.
  • the at least one exposure parameter may include but is not limited to one or more of exposure time, analog gain, digital gain, and aperture size. Wherein, the exposure gain includes analog gain and/or digital gain.
  • the intensity of the near-infrared light sensed by the image sensor 01 is stronger when the near-infrared light is supplemented, and the first original image signal generated and output accordingly includes the near-infrared light.
  • the brightness of infrared light will also be higher.
  • near-infrared light with higher brightness is not conducive to the acquisition of external scene information.
  • the greater the exposure gain, the higher the brightness of the image signal output by the image sensor 01, and the smaller the exposure gain the lower the brightness of the image signal output by the image sensor 01. Therefore, in order to ensure the first original image signal
  • the brightness of the included near-infrared light is within a suitable range.
  • the exposure gain of the first preset exposure may be less than Exposure gain for the second preset exposure.
  • the longer the exposure time the higher the brightness included in the image signal obtained by the image sensor 01, and the longer the motion trailing of the moving objects in the external scene in the image signal; the shorter the exposure time, the longer the image
  • the image signal obtained by the sensor 01 includes the lower the brightness, and the shorter the motion trail of the moving object in the external scene is in the image signal. Therefore, in order to ensure that the brightness of the near-infrared light contained in the first original image signal is within a proper range, and the moving objects in the external scene have a shorter motion trail in the first original image signal.
  • the exposure time of the first preset exposure may be less than the exposure time of the second preset exposure.
  • the first light supplement device 021 performs near-infrared supplement light
  • the brightness of the near-infrared light contained in the first original image signal generated and output by the image sensor 01 will not be caused by the first light supplement device 021.
  • the shorter exposure time makes the motion trailing of the moving object in the external scene appear shorter in the first original image signal, thereby facilitating the recognition of the moving object.
  • the exposure time of the first preset exposure is 40 milliseconds
  • the exposure time of the second preset exposure is 60 milliseconds, and so on.
  • the exposure time of the first preset exposure may not only be less than the exposure time of the second preset exposure , Can also be equal to the exposure time of the second preset exposure.
  • the exposure gain of the first preset exposure may be less than the exposure gain of the second preset exposure, or may be equal to the second preset exposure The exposure gain.
  • the purpose of the first original image signal and the second original image signal may be the same.
  • the exposure time of the first preset exposure may be equal to the exposure time of the second preset exposure. If the exposure time of the first preset exposure and the exposure time of the second preset exposure are different, the exposure time will be longer. There is a motion trailing in the image signal of one channel, resulting in different definitions of the two image signals.
  • the exposure gain of the first preset exposure may be equal to the exposure gain of the second preset exposure.
  • the exposure gain of the first preset exposure may be less than the exposure gain of the second preset exposure. It can also be equal to the exposure gain of the second preset exposure.
  • the exposure time of the first preset exposure may be less than the exposure time of the second preset exposure, or may be equal to the second preset exposure The exposure time.
  • the first light supplement device 021 is used to continuously generate and emit near-infrared light.
  • the switching component 033 drives the first filter 031 between the lens 07 and the image sensor 01 within the exposure time period of the first preset exposure.
  • the lens 07 focuses the light reflected by the object, and the first filter 031 focuses The light passes through the visible light and near-infrared light in the ambient light and the near-infrared light generated by the first light-filling device 021 reflected by the object, and the image sensor 01 passes the first filter 031 according to the exposure parameters of the first preset exposure
  • the visible light and the near-infrared light are sensed to obtain the first original image signal.
  • the switching component 033 drives the second filter 032 between the lens 07 and the image sensor 01 within the exposure time period of the second preset exposure, the lens 07 focuses the light reflected by the object, and the second filter 032 focuses The visible light is filtered out of the light, and the image sensor 01 senses the visible light according to the exposure parameter of the second preset exposure to obtain the second original image signal.
  • the second filter 032 Since in the exposure time period of the second preset exposure, the second filter 032 only allows visible light to pass and blocks near-visible light, so that the second original image signal obtained by the image sensor 01 sensing the visible light will not be overexposed This phenomenon prevents the color image obtained based on the second original image signal from being whitened.
  • the switching component 033 drives the second filter 032 to be located between the lens 07 and the image sensor 01.
  • the image sensor 01 includes a plurality of photosensitive channels, and the plurality of photosensitive channels are used to sense at least two different visible light wavelength bands.
  • Each light-sensitive channel is used to sense at least one color of light in the visible light band and light in the near-infrared band, and the at least one type of visible light includes red light, green light, blue light, yellow light, and the like.
  • each photosensitive channel corresponds to a visible light wavelength range of one color, that is, each photosensitive channel is used to sense visible light and near-infrared light in the visible wavelength range of a corresponding color.
  • the multiple photosensitive channels include at least two of the R photosensitive channel, G photosensitive channel, B photosensitive channel, Y photosensitive channel, W photosensitive channel, and C photosensitive channel; wherein, the R photosensitive channel is used to sense the red light band and near Infrared light, G photosensitive channel is used to sense light in the green and near-infrared bands, B photosensitive channel is used to sense blue and near-infrared light, and Y photosensitive channel is used to sense yellow and near-infrared light.
  • the W photosensitive channel is used to sense the full-wavelength light, and the C photosensitive channel is used to sense the full-wavelength light.
  • W can be used to represent the light-sensing channel used to sense full-wavelength light
  • C can be used to represent the light-sensing channel used to sense full-wavelength light, so when there is more
  • this photosensitive channel may be a W photosensitive channel or a C photosensitive channel. That is, in practical applications, the photosensitive channel for sensing the light of the whole waveband can be selected according to the use requirements.
  • the image sensor 01 is a channel array, and the channel array includes a plurality of photosensitive channels. Referring to Figure 14, the image sensor 01 may be an RGBW sensor.
  • the RGBW sensor includes at least two of the R photosensitive channel, G photosensitive channel, B photosensitive channel, and W photosensitive channel.
  • the W photosensitive channel is used for full-band white light and near infrared.
  • the image sensor 01 can be an RCCB sensor, the RCCB sensor includes at least two of the R photosensitive channel, the C photosensitive channel and the B photosensitive channel, and the C photosensitive channel is used for full-band white light and Near-infrared light; or, see Figure 16, the image sensor 01 may be an RGB sensor, the RGB sensor includes at least two of the R photosensitive channel, G photosensitive channel and B photosensitive channel; or, see Figure 17, the image sensor 01 can be a RYYB sensor.
  • the RYYB sensor includes at least two of the R photosensitive channel, the Y photosensitive channel and the B photosensitive channel.
  • the Y photosensitive channel is used to sense light in the yellow light band and the near-infrared band.
  • some photosensitive channels may only sense light in the near-infrared waveband, but not light in the visible light waveband.
  • the plurality of photosensitive channels may include at least two of R photosensitive channels, G photosensitive channels, B photosensitive channels, and IR photosensitive channels.
  • the R photosensitive channel is used to sense red light and near-infrared light
  • the G photosensitive channel is used to sense green light and near-infrared light
  • the B photosensitive channel is used to sense blue light and near-infrared light.
  • IR The photosensitive channel is used to sense light in the near-infrared band.
  • the image sensor 01 may be an RGBIR sensor, where each IR photosensitive channel in the RGBIR sensor can sense light in the near-infrared waveband, but not light in the visible light waveband.
  • the image sensor 01 is an RGB sensor
  • other image sensors such as RGBIR sensors
  • the RGB information collected by the RGB sensor is more complete.
  • Some of the photosensitive channels of the RGBIR sensor cannot collect visible light, so the RGB sensor collects The color details of the image are more accurate.
  • the multiple photosensitive channels included in the image sensor 01 may correspond to multiple sensing curves.
  • the R curve in FIG. 18 represents the sensing curve of the image sensor 01 to light in the red light band
  • the G curve represents the sensing curve of the image sensor 01 to light in the green light band
  • the B curve represents the image sensor 01
  • the W (or C) curve represents the sensing curve of the image sensor 01 sensing the light in the full band
  • the NIR (Near infrared) curve represents the sensing of the image sensor 01 sensing the light in the near infrared band. curve.
  • the sensing channel corresponds to the visible light wavelength range of a color
  • the photosensitive channel has a high sensing quantum efficiency for the color light in the corresponding visible light wavelength range, so that the photosensitive channel can sense its corresponding visible light Color light in the wavelength range.
  • the channel array of the RGBW sensor includes four color photosensitive channels of red, green, blue, and white.
  • the four color photosensitive channels of red, green, blue, and white are respectively R photosensitive channel and G photosensitive channel. , B photosensitive channel and W photosensitive channel.
  • the R photosensitive channel Red has a higher quantum efficiency for sensing red light in the red light band, so the R photosensitive channel can be used to sense red light in the red light band;
  • the G photosensitive channel Green is for green in the green light band The light sensing quantum efficiency is high, so the G photosensitive channel can be used to sense green light in the green light band;
  • the B photosensitive channel Blue has a higher sensing quantum efficiency for blue light in the blue light band, so the B photosensitive channel can be used Sensing blue light in the blue light band;
  • W photosensitive channel W has a high quantum efficiency for sensing white light in the full band, so W photosensitive channel can be used to sense white light in the full band.
  • the image signal processing unit 04 is used to perform at least a first sharpening process on the first original image signal to obtain a grayscale image, and perform at least a second sharpening process on the second original image signal to obtain a color image.
  • the intensity of one sharpening process is less than the intensity of the second sharpening process.
  • the sharpening processing of the image will result in the loss of information in the image.
  • the intensity of the first sharpening processing is less than the intensity of the second sharpening processing, so that the intensity of the first sharpening processing can be reduced, and the first original image signal Performing at least the first sharpening process to obtain a grayscale image can reduce the amount of information loss in the grayscale image, so that the accuracy of intelligent analysis can be improved when performing intelligent analysis based on the grayscale image.
  • the first processing further includes at least one of black level correction, gamma correction, color correction, demosaicing, or noise reduction.
  • the second processing further includes at least one of black level correction, gamma correction, color correction, demosaicing, or noise reduction.
  • the image signal processing unit 04 is configured to fuse the image signal after preprocessing the first original image signal and the image signal after preprocessing the second original image signal to obtain a fused image,
  • the merged image is determined to be a color image.
  • preprocessing the first original image signal and the second original image signal can eliminate noise in the image signal.
  • the first original image signal is exposed in the presence of near-infrared supplementary light, so the noise of the first original image signal is lower than that of the second original image signal, and the brightness of the image corresponding to the first original image signal is higher than that of the second original image signal.
  • the brightness of the image by fusing the two image signals after preprocessing, can reduce the noise in the color image and increase the brightness of the color image.
  • the first original image signal and the second original image signal are two images respectively.
  • the image signal processing unit 04 may extract the first edge image from the image signal after the first original image signal is preprocessed, and the first edge image includes the first edge image.
  • An original image signal corresponds to the edge of each object image in the image
  • a second edge image is extracted from the image signal after the second original image signal is preprocessed, and the second edge image includes each object in the image corresponding to the second original image signal The edge of the image.
  • the fusion is performed to obtain the fused image.
  • the first formula is:
  • K i,j is the pixel point in the image signal after the first original image signal is preprocessed
  • Z i,j is the pixel point in the image signal after the second original image signal is preprocessed
  • H i,j are the pixels in the fused image
  • mi,j are the pixels in the first edge image
  • n i,j are the pixels in the second edge image
  • (i,j) are the pixels s position.
  • the analysis unit 06 includes an intelligent analysis algorithm, and the analysis unit 06 uses the intelligent analysis algorithm to perform intelligent analysis on the gray image to obtain an analysis result or target sub-image.
  • the intelligent analysis algorithm may be a face detection algorithm.
  • the analysis unit 06 uses the face detection algorithm to intelligently analyze the gray image to obtain an analysis result.
  • the analysis result is whether the gray image is a human face image, or the analysis result is The detected face image.
  • the intelligent analysis algorithm can be obtained by training a neural network.
  • FastRCNN is a neural network
  • face detection algorithms can be obtained by training FastRCNN.
  • the encoding compression unit 05 may use the H.264 standard or the H.265 standard to compress and encode the color image sequence generated by the image signal processing unit 2 to obtain a video code stream.
  • the light fill 021 performs near-infrared fill light in a stroboscopic manner, and does not exclude the generation of visible light fill light in a certain way at the same time, specifically: the fill light does not perform near-infrared fill light during the exposure period of the second preset exposure. Perform near-infrared fill light in the exposure time period of the first preset exposure.
  • the filter assembly 03 can pass the near-infrared supplement light generated by the light supplement 02, while allowing visible light to pass, while blocking other light.
  • Each pixel in the image sensor 01 can sense near-infrared light to ensure that the near-infrared images collected under supplemental light have clear details, and help improve the effect of intelligent analysis.
  • Each pixel in the image sensor 01 can sense at least one visible light of red light, green light, and blue light, or can sense all the above three types of visible light at the same time, to ensure that the captured color video has sufficient resolution.
  • Image sensor 01 uses different exposure parameters for the first preset exposure and the second preset exposure.
  • the exposure parameters include but are not limited to exposure time, analog gain, digital gain, and aperture size to ensure that the image collected for intelligent analysis is appropriate Of exposure.
  • Filler 02 near-infrared fill light, the energy is concentrated in the range of 700nm ⁇ 800nm, or concentrated in the range of 900nm ⁇ 1000nm, avoiding 800nm ⁇ 900nm, in order to reduce the interference caused by common 850nm infrared lamps.
  • the light supplement 02 In addition to the near-infrared supplementary light, the light supplement 02 also generates visible light supplementary light, which can make the near-infrared supplementary light look less reddish and avoid confusion with traffic lights.
  • the filter component 03 can pass the near-infrared supplementary light. Specifically, in the near-infrared band of 650nm ⁇ 1000nm, the passed band width is less than the sum of the blocked band widths, so as to ensure the effective use of the infrared supplementary light, as little as possible Interference from other light sources.
  • the filter component 03 can pass the near-infrared supplementary light. Specifically, in the near-infrared band from 650nm to 1000nm, the width of the band whose pass rate is greater than 30% is less than 100nm, so as to ensure the effective use of the infrared supplementary light, as little as possible. Light source interference.
  • the filter assembly 03 has a switching component 033. In addition to the above-mentioned first state, it can also be switched to a second state that blocks near-infrared light and allows visible light to pass, so that the image capture device can be easily switched to the image capture mode of the existing camera, which is compatible Existing usage.
  • the image signal processing unit 04 when processing the first original image signal and the second original image signal, the processing steps performed are different; and when the sharpening processing is performed, the processing intensity used is different. Specifically, the processing steps are different. 2.
  • the original image signal adopts weaker sharpening intensity, which is more suitable for the needs of intelligent analysis.
  • the image signal processing unit 04 when generating a color image, can fuse the first original image signal and the second original image signal to generate a higher quality color image, which is more suitable for the needs of the video stream for human eyes to watch.
  • the image acquisition device includes: an image sensor, a light supplement and a filter component, the image sensor is located on the light exit side of the filter component; it also includes an image signal processing unit, an encoding compression unit and an analysis unit; It includes a first light-filling device.
  • the near-infrared light-filling is performed by the first light-filling device in a strobe mode, that is, the near-infrared light-filling is performed during the exposure time period of the first preset exposure of the image sensor.
  • the near-infrared light supplement is not performed during the exposure time period of the second preset exposure of the second exposure;
  • the filter assembly includes a first filter, and the first filter is used to pass visible light and part of the near-infrared light.
  • the near-infrared light that passes through the first filter during the exposure time period includes the near-infrared light that is reflected by the object and enters the filter assembly when the first light supplement device performs near-infrared light supplementation, and is in the second preset exposure time period
  • the near-infrared light passing through the first filter includes the near-infrared light reflected by the object and entering the filter assembly when the first light supplement device is not performing near-infrared light supplement;
  • the image sensor is used to generate and output the first light through multiple exposures.
  • the original image signal and the second original image signal where the first original image signal is an image signal generated according to a first preset exposure, the second original image signal is an image signal generated according to a second preset exposure, and the first preset
  • the exposure and the second preset exposure are two of the multiple exposures;
  • the image signal processing unit is used to perform first processing on the first original image signal to obtain a grayscale image, and to perform the second processing on the second original image signal to obtain a color Image:
  • Use the encoding compression unit to compress and encode the color image to obtain the video stream; use the analysis unit to perform intelligent analysis on the gray image to obtain the analysis result.
  • the first light-filling device Since during the exposure time period of the first preset exposure, the first light-filling device performs near-infrared light-filling, so that the image sensor is exposed to the outside world according to the exposure parameters of the first preset exposure during the exposure time period of the first preset exposure.
  • the ambient light in the environment and the near-infrared light are sensed to obtain the first original image signal, which can reduce the noise in the first original image signal, and process the first original image signal to obtain a gray image.
  • the noise of the gray image also varies with The reduction, analysis based on gray image, can improve the accuracy of the analysis results.
  • an embodiment of the present application provides a camera method, which is applied to an image acquisition device.
  • the image acquisition device may be any image acquisition device in the embodiment shown in FIG. 1, that is, the image acquisition device includes an image sensor 01.
  • the light fill 02 and the filter assembly 03, the image sensor 01 is located on the light exit side of the filter assembly 03, the light fill 02 includes a first light fill device, and the filter assembly 03 includes a first filter sheet.
  • the method includes:
  • Step 201 The image acquisition device performs near-infrared light supplementation through the first light-filling device, where the first light-filling device performs near-infrared light supplementation at least during a partial exposure period of the first preset exposure of the image sensor multiple exposures, and The near-infrared fill light is not performed during the exposure time period of the second preset exposure of the multiple exposure, and the first preset exposure and the second preset exposure are two exposures in the multiple exposures.
  • the first supplementary light device 021 is a device that can emit near-infrared light, such as a near-infrared supplementary light, which is not limited in the embodiment of the present application.
  • the first light supplement device 021 can perform near-infrared supplement light in a stroboscopic manner, or in other ways similar to stroboscopic.
  • the first supplement light device 021 when the first light supplement device 021 performs near-infrared supplement light in a stroboscopic manner, the first supplement light device 021 may be manually controlled to perform near-infrared supplement light in a stroboscopic manner, or through a software program Or a specific device controls the first light supplement device 021 to perform near-infrared supplement light in a strobe mode, which is not limited in the embodiment of the present application.
  • the time period during which the first light supplement device 021 performs near-infrared light supplementation may coincide with the exposure time period of the first preset exposure, or may be greater than the exposure time period of the first preset exposure or less than the exposure time period of the first preset exposure. The time period, as long as the near-infrared supplement light is performed during the entire exposure time period or part of the exposure time period of the first preset exposure, and the near-infrared supplement light is not performed during the exposure time period of the second preset exposure.
  • the exposure time period of the first preset exposure and the exposure time period of the second preset exposure cyclically alternate, and the image capture device generates and emits near-infrared light during the exposure time period of the first preset exposure,
  • the generation of near-infrared light is stopped during the exposure time period of the second preset exposure, so that near-infrared supplementary light is not performed.
  • the so-called stroboscopic approach for near-infrared supplementary light is to generate and emit near-infrared light during the exposure time period of the first predicted exposure, and stop during the exposure time period of the second preset exposure adjacent to the exposure time period of the first predicted exposure Produce near-infrared light.
  • the first light supplement device 021 can be manually controlled to perform near-infrared supplement light in a stroboscopic manner, or the first light supplement device 021 can be controlled to perform near-infrared supplement light in a stroboscopic manner through a software program or a specific device.
  • the embodiment does not limit this.
  • the time period during which the first light supplement device 021 performs near-infrared light supplementation may coincide with the exposure time period of the first preset exposure, or may be greater than the exposure time period of the first preset exposure or less than the exposure time period of the first preset exposure.
  • the time period as long as the near-infrared supplement light is performed during the entire exposure time period or part of the exposure time period of the first preset exposure, and the near-infrared supplement light is not performed during the exposure time period of the second preset exposure.
  • the first supplementary light device 021 During the exposure time period of the first preset exposure, the first supplementary light device 021 generates and emits near-infrared light to the external environment, so the external environment includes ambient light and first light during the exposure time period of the first preset exposure.
  • the near-infrared light generated by the light supplement device 021 the ambient light includes visible light, and may also include at least one of near-infrared light and infrared light, etc., so that within the exposure time period of the first preset exposure, the object is reflected into the image
  • the light of the first filter 031 in the collection device includes the near-infrared light and the ambient light generated by the first light supplement device 021, and the first filter 031 passes the near-infrared light and the visible light and near-infrared light in the ambient light.
  • the first light supplement device 021 stops generating near-infrared light, so during the exposure time period of the second preset exposure, the external environment includes ambient light, which is reflected by the object into the first filter
  • the light of the light sheet 031 includes the ambient light, and the first filter 031 passes visible light and near-infrared light in the ambient light.
  • the first light supplement device 021 since the intensity of the near-infrared light in the ambient light is lower than the intensity of the near-infrared light emitted by the first light supplement device 021, the first light supplement device 021 passes through the first filter 031 when performing near-infrared supplement light.
  • the intensity of the near-infrared light is higher than the intensity of the near-infrared light passing through the first filter 031 when the first light supplement device 021 is not performing near-infrared light supplementation.
  • the wavelength range of the first light supplement device 021 for near-infrared supplement light may be the second reference wavelength range, and the second reference wavelength range may be 700 nanometers to 800 nanometers, or 900 nanometers to 1000 nanometers, etc. This is not the case in this embodiment. Make a limit.
  • the wavelength range of the near-infrared light incident on the first filter 031 may be the first reference wavelength range, and the first reference wavelength range is 650 nm to 1100 nm.
  • the first reference wavelength range may be 650 nm. Nano ⁇ 1000 nm.
  • the second reference waveband range may be 700 nm to 800 nm, which means that the second reference waveband range is greater than or equal to 700 nm and less than or equal to 800 nm, or is greater than 700 nm and less than 800 nm.
  • the range is a range greater than or equal to 700 nanometers and less than 800 nanometers, or a range greater than 700 nanometers and less than or equal to 800 nanometers.
  • the near-infrared light passing through the first filter 031 may include the first light-filling device 021 that is reflected by the object and enters the first filter 031 when the near-infrared light is filled.
  • the center wavelength and/or band width of the near-infrared light passing through the first filter 031 can be matched with the center wavelength of the near-infrared light supplemented by the first light supplement device 021, that is, the first light supplement
  • the center wavelength of the near-infrared complementary light performed by the optical device 021 is the set characteristic wavelength or falls within the set characteristic wavelength range
  • the center wavelength and/or band width of the near-infrared light passing through the first filter 031 meets the constraint conditions.
  • the center wavelength and/or wavelength range of the first light supplement device 021 for near-infrared supplement light there are multiple choices for the center wavelength and/or wavelength range of the first light supplement device 021 for near-infrared supplement light.
  • the center wavelength of the near-infrared supplement light of the first light supplement device 021 can be designed, and the characteristics of the first filter 031 can be selected, so that the center of the first light supplement device 021 for the near-infrared light supplement.
  • the center wavelength and/or band width of the near-infrared light passing through the first filter 031 can meet the constraint conditions.
  • This constraint is mainly used to restrict the center wavelength of the near-infrared light passing through the first filter 031 as accurate as possible, and the band width of the near-infrared light passing through the first filter 031 is as narrow as possible, so as to avoid The infrared light band width is too wide and introduces wavelength interference.
  • the center wavelength of the near-infrared light supplemented by the first light-filling device 021 may be the average value in the wavelength range of the highest energy in the spectrum of the near-infrared light emitted by the first light-filling device 021, or it may be understood as the first light supplement
  • the set characteristic wavelength or the set characteristic wavelength range can be preset.
  • the center wavelength of the first light supplement device 021 for near-infrared supplement light may be any wavelength within the wavelength range of 750 ⁇ 10 nanometers; or, the center wavelength of the first light supplement device 021 for near-infrared supplement light It is any wavelength in the wavelength range of 780 ⁇ 10 nanometers; or, the center wavelength of the first light supplement device 021 for near-infrared supplement light is any wavelength in the wavelength range of 940 ⁇ 10 nanometers. That is, the set characteristic wavelength range may be a wavelength range of 750 ⁇ 10 nanometers, or a wavelength range of 780 ⁇ 10 nanometers, or a wavelength range of 940 ⁇ 10 nanometers.
  • the center wavelength of the near-infrared supplement light performed by the first light supplement device 021 is 940 nanometers
  • the relationship between the wavelength and the relative intensity of the near-infrared supplement light performed by the first light supplement device 021 is shown in FIG. 11. It can be seen from FIG. 11 that the wavelength range of the first light supplement device 021 for near-infrared supplement light is 900 nanometers to 1000 nanometers, and between 940 nanometers and 960 nanometers, the relative intensity of near-infrared light is the highest.
  • the above constraint conditions may include: the difference between the center wavelength of the near-infrared light that passes through the first filter 031 and the center wavelength of the near-infrared light that the first light supplement device 021 performs The value lies within the wavelength fluctuation range.
  • the wavelength fluctuation range may be 0-20 nanometers.
  • the center wavelength of the near-infrared supplement light passing through the first filter 031 can be the wavelength at the peak position in the near-infrared band in the near-infrared light pass rate curve of the first filter 031, or it can be understood as the first A filter 031 is the wavelength at the middle position in the near-infrared waveband whose pass rate exceeds a certain threshold in the near-infrared light pass rate curve.
  • the above constraint conditions may include: the first band width may be smaller than the second band width.
  • the first waveband width refers to the waveband width of the near-infrared light passing through the first filter 031
  • the second waveband width refers to the waveband width of the near-infrared light blocked by the first filter 031.
  • the wavelength band width refers to the width of the wavelength range in which the wavelength of light lies.
  • the first wavelength band width is 800 nanometers minus 700 nanometers, that is, 100 nanometers.
  • the wavelength band width of the near-infrared light passing through the first filter 031 is smaller than the wavelength band width of the near-infrared light blocked by the first filter 031.
  • Step 202 The image acquisition device passes the first filter 031 to pass visible light and part of the near-infrared light.
  • the filter assembly 03 in the image acquisition device includes a first filter 032, a second filter 032, and a switching component 033, and the first filter 031 and the second filter 032 are both connected to the switching component 033;
  • the first filter 031 is switched to the light incident side of the image sensor 01 through the switching component 033; the first filter 031 is used to pass visible light and part of the near-infrared light, wherein, within the exposure time period of the first preset exposure
  • the near-infrared light passing through the first filter 031 includes the near-infrared light reflected by the object and entering the filter assembly 03 when the first light-filling device 021 performs near-infrared light-filling, and passes through the second preset exposure time period.
  • the near-infrared light of a filter 031 includes the near-infrared light reflected by the object into the filter assembly 03 when the first light-filling device 021 is not performing near-infrared light-filling; wherein, the first light-filling device 021 performs near-infrared light-filling
  • the intensity of the near-infrared light passing through the first filter 031 is higher than the intensity of the near-infrared light passing through the first filter 031 when the first light supplement device 021 does not perform near-infrared light supplementation.
  • the second filter 032 is switched to the light incident side of the image sensor 01 through the switching component 033; the second filter 032 allows the light in the visible light band to pass and blocks the light in the near-infrared light band, and the image capture device exposes the image sensor 01
  • the third image signal is generated and output.
  • Step 203 The image acquisition device generates a first original image signal and a second original image signal through multiple exposures, where the first original image signal is an image signal generated according to the first preset exposure, and the second original image signal is an image signal generated according to the first preset exposure. 2. The image signal generated by the preset exposure.
  • the external environment includes the near-infrared light and ambient light supplemented by the first light supplement device 021, and the ambient light Including visible light and near-infrared light.
  • Objects in the external environment can reflect the near-infrared light supplemented by the first light-filling device 021 to the image acquisition device, and reflect ambient light to the image acquisition device.
  • the image acquisition device can reflect the reflected near-infrared light through the image sensor 01 Exposing with visible light and near-infrared light in the ambient light generates a first original image signal.
  • the first light supplement device 021 does not perform near-infrared light supplement light during the exposure time period of the second preset exposure, so the external environment includes ambient light, and the ambient light includes visible light and near-infrared light.
  • Objects in the external environment can reflect ambient light to the image acquisition device, and the image acquisition device can expose visible light and near-infrared light in the reflected ambient light through the image sensor 01 to generate a second original image signal.
  • the image sensor 01 includes a plurality of photosensitive channels, and the plurality of photosensitive channels are used to sense at least two different visible light wavelength bands.
  • Each light-sensitive channel is used to sense at least one color of light in the visible light band and light in the near-infrared band, and the at least one type of visible light includes red light, green light, blue light, yellow light, and the like.
  • each photosensitive channel corresponds to a visible light wavelength range of one color, that is, each photosensitive channel is used to sense visible light and near-infrared light in the visible wavelength range of a corresponding color.
  • the multiple photosensitive channels include at least two of R photosensitive channels, G photosensitive channels, B photosensitive channels, Y photosensitive channels, W photosensitive channels, and C photosensitive channels; wherein, the R photosensitive channel is used to sense the red light band and near Infrared light, G photosensitive channel is used to sense light in the green and near-infrared bands, B photosensitive channel is used to sense blue and near-infrared light, and Y photosensitive channel is used to sense yellow and near-infrared light.
  • the W photosensitive channel is used to sense the full-wavelength light, and the C photosensitive channel is used to sense the full-wavelength light.
  • W can be used to represent the light-sensing channel used to sense full-wavelength light
  • C can be used to represent the light-sensing channel used to sense full-wavelength light, so when there is more
  • a photosensitive channel includes a photosensitive channel for sensing light of a full waveband
  • this photosensitive channel may be a W photosensitive channel or a C photosensitive channel. That is, in practical applications, the photosensitive channel used for sensing the light of the full waveband can be selected according to the use requirements.
  • the image sensor 01 is a channel array, and the channel array includes a plurality of photosensitive channels. Referring to Figure 14, the image sensor 01 may be an RGBW sensor.
  • the RGBW sensor includes at least two of the R photosensitive channel, G photosensitive channel, B photosensitive channel and W photosensitive channel.
  • the W photosensitive channel is used for full-band white light and near infrared.
  • the image sensor 01 can be an RCCB sensor.
  • the RCCB sensor includes at least two of the R photosensitive channel, the C photosensitive channel and the B photosensitive channel.
  • the C photosensitive channel is used for full-band white light and Light in the near-infrared band; or, see FIG. 16, the image sensor 01 may be an RGB sensor, and the RGB sensor includes at least two of the R photosensitive channel, the G photosensitive channel, and the B photosensitive channel; or, see FIG. 17, the image sensor 01 can be a RYYB sensor.
  • the RYYB sensor includes at least two of the R photosensitive channel, the Y photosensitive channel, and the B photosensitive channel.
  • the Y photosensitive channel is used to sense light in the yellow light band and the near-infrared band.
  • some photosensitive channels may only sense light in the near-infrared waveband, but not light in the visible light waveband.
  • the plurality of photosensitive channels may include at least two of R photosensitive channels, G photosensitive channels, B photosensitive channels, and IR photosensitive channels.
  • the R photosensitive channel is used to sense red light and near-infrared light
  • the G photosensitive channel is used to sense green light and near-infrared light
  • the B photosensitive channel is used to sense blue light and near-infrared light.
  • IR The photosensitive channel is used to sense light in the near-infrared band.
  • the image sensor 01 may be an RGBIR sensor, where each IR photosensitive channel in the RGBIR sensor can sense light in the near-infrared waveband, but not light in the visible light waveband.
  • the image sensor 01 is an RGB sensor
  • other image sensors such as RGBIR sensors
  • the RGB information collected by the RGB sensor is more complete.
  • Some of the photosensitive channels of the RGBIR sensor cannot collect visible light, so the RGB sensor collects The color details of the image are more accurate.
  • the multiple photosensitive channels included in the image sensor 01 may correspond to multiple sensing curves.
  • the R curve in FIG. 18 represents the sensing curve of the image sensor 01 to light in the red light band
  • the G curve represents the sensing curve of the image sensor 01 to light in the green light band
  • the B curve represents the image sensor 01
  • the W (or C) curve represents the sensing curve of the image sensor 01 sensing the light in the full band
  • the NIR (Near infrared) curve represents the sensing of the image sensor 01 sensing light in the near infrared band. curve.
  • the sensing channel corresponds to the visible light wavelength range of a color
  • the photosensitive channel has a high sensing quantum efficiency for the color light in the corresponding visible light wavelength range, so that the photosensitive channel can sense its corresponding visible light Color light in the wavelength range.
  • the channel array of the RGBW sensor includes four color photosensitive channels of red, green, blue, and white.
  • the four color photosensitive channels of red, green, blue and white are respectively R photosensitive channel and G photosensitive channel.
  • B photosensitive channel and W photosensitive channel Referring to Fig.
  • the R photosensitive channel Red has a high sensing quantum efficiency for red light in the red light band, so the R photosensitive channel can be used to sense red light in the red light band;
  • G photosensitive channel Green is for green in the green light band The sensing quantum efficiency of light is high, so the G photosensitive channel can be used to sense green light in the green light band;
  • the B photosensitive channel Blue has a higher quantum efficiency for sensing blue light in the blue light band, so the B photosensitive channel can be used Sensing blue light in the blue light band;
  • W photosensitive channel W has a higher quantum efficiency for sensing white light in the full band, so the W photosensitive channel can be used to sense white light in the full band.
  • the image capture device performs exposure based on the exposure parameters of the first preset exposure to generate the first original image signal; during the exposure time period of the second preset exposure, The image acquisition device performs exposure based on the exposure parameters of the second preset exposure to generate a second original image signal.
  • the exposure parameter includes at least one of exposure time, analog gain, digital gain, and aperture size.
  • the exposure parameter of the first preset exposure and the exposure parameter of the second preset exposure may be the same, or the exposure parameter of the first preset exposure and at least one exposure parameter of the second preset exposure may be different.
  • the at least one exposure parameter is at least one of exposure time, exposure gain, and aperture size, and the exposure gain includes analog gain , And/or, digital gain.
  • At least one parameter in the exposure parameter of the first preset exposure is different from at least one parameter in the exposure parameter of the second preset exposure.
  • the exposure gain of the first preset exposure is smaller than the exposure gain of the second preset exposure.
  • the intensity of the near-infrared light sensed by the image acquisition device is relatively strong, and accordingly the intensity of the near-infrared light included in the first original image signal generated and output will also be relatively high.
  • near-infrared light with higher brightness is not conducive to the acquisition of external scene information.
  • the exposure gain of the first preset exposure may be smaller than the exposure gain of the second preset exposure.
  • the exposure time of the first preset exposure is less than the exposure time of the second preset exposure.
  • the longer the exposure time the higher the brightness of the image generated by the exposure of the image capture device, and the shorter the exposure time, the lower the brightness included in the image signal generated by the exposure of the image capture device. Therefore, in order to ensure that the brightness of the near-infrared light contained in the first original image signal is within an appropriate range, the exposure time of the first preset exposure may be shorter than the exposure time of the second preset exposure.
  • the image acquisition device performs near-infrared supplementary light
  • the brightness of the near-infrared light contained in the first original image signal generated by the image acquisition device exposure will not be too high due to the near-infrared supplementary light performed by the image acquisition device.
  • a shorter exposure time is not easy to cause motion tailing in the image signal, thereby ensuring a higher imaging quality.
  • the exposure time of the first preset exposure may not only be less than the exposure time of the second preset exposure, but may also be equal to the second preset exposure.
  • Exposure time for preset exposure when the exposure time of the first preset exposure is less than the exposure time of the second preset exposure, the exposure gain of the first preset exposure may not only be less than the exposure gain of the second preset exposure, but also be equal to the second preset exposure. Exposure gain for exposure.
  • the number of times of supplementary light in the unit time length of the image acquisition device is lower than the number of exposures of the image acquisition device in the unit time length, wherein, within the interval of two adjacent supplementary times, there is one interval Or multiple exposures.
  • the multiple exposure operation of the image capture device can include the following two methods:
  • the image acquisition device uses a global exposure method to perform multiple exposures.
  • the time period of the near-infrared fill light does not overlap with the exposure time period of the nearest second preset exposure
  • the time period of near-infrared supplement light is a subset of the exposure time period of the first preset exposure, or the time period of near-infrared supplement light and the exposure time period of the first preset exposure overlap, or the first preset exposure
  • the exposure time period is a subset of the near-infrared fill light.
  • the image capture device uses rolling shutter exposure for multiple exposures.
  • the time period of near-infrared fill light does not exist with the exposure time period of the nearest second preset exposure Intersection; the start time of the near-infrared fill light is no earlier than the exposure start time of the last line of the effective image in the first preset exposure, and the end time of the near-infrared fill light is no later than the exposure of the first line of the effective image in the first preset exposure End time; or, the start time of the near-infrared fill light is no earlier than the exposure end time of the last line of the effective image of the nearest second preset exposure before the first preset exposure and no later than the first preset exposure
  • the exposure end time of one line of effective image, the end time of near-infrared fill light is no earlier than the exposure start time of the last line of effective image in the first preset exposure and no later than the nearest second preset after the first preset exposure Set the exposure start time of the first line of
  • the end time of the near-infrared fill light is no earlier than the exposure end time of the last line of the effective image in the first preset exposure and no later than the The exposure start time of the first line of the effective image of the nearest second preset exposure after the first preset exposure.
  • the multiple exposures include odd exposures and even exposures
  • the first preset exposure is one exposure in odd-numbered exposures
  • the second preset exposure is one exposure in even-numbered exposures.
  • the first preset exposure is one exposure in an even number of exposures
  • the second preset exposure is one exposure in an odd number of exposures.
  • the first preset exposure is one exposure in the specified odd-numbered exposures
  • the second preset exposure is one exposure in other exposures except the specified odd-numbered exposures.
  • the first preset exposure is one exposure in the specified even number of exposures
  • the second preset exposure is one exposure in other exposures except the specified even number of exposures.
  • the first preset exposure is one exposure in the first exposure sequence
  • the second preset exposure is one exposure in the second exposure sequence.
  • the first preset exposure is one exposure in the second exposure sequence
  • the second preset exposure is one exposure in the first exposure sequence
  • multiple exposures include multiple exposure sequences
  • the first exposure sequence and the second exposure sequence are one exposure sequence or two exposure sequences among the multiple exposure sequences
  • each exposure sequence includes N exposures
  • N exposures include 1.
  • First preset exposure and N-1 second preset exposure, or N exposures include 1 second preset exposure and N-1 second preset exposure, and N is a positive integer greater than 2.
  • the image acquisition device since the human eye can easily confuse the color of the near-infrared light supplemented by the image acquisition device with the color of the red light in the traffic light, the image acquisition device also performs visible light supplementation. In this way, if the image capture device provides visible light supplemental light at least during a partial exposure time of the first preset exposure, that is, it performs near-infrared supplementary light and visible light supplementary light at least during a partial exposure time period of the first preset exposure. The mixed color of the two lights can be distinguished from the color of the red light in the traffic light, thereby avoiding the human eye from confusing the color of the near-infrared fill light of the image acquisition device with the color of the red light in the traffic light.
  • the image capture device provides visible light supplementary light during the exposure time period of the second preset exposure, since the intensity of visible light is not particularly high during the exposure time period of the second preset exposure, the exposure time of the second preset exposure When the visible light supplement is performed within the time period, the brightness of the visible light in the second original image signal can also be increased, thereby ensuring the quality of image collection.
  • the implementation of visible light supplemental light by the image acquisition device may be:
  • the image acquisition device performs visible light supplementation in a constant light mode
  • the image acquisition device performs visible light supplementation in a stroboscopic manner, wherein visible light supplementation is performed at least during a partial exposure time period of the first preset exposure, and visible light supplementation is not performed during the entire exposure time period of the second preset exposure; or
  • the image acquisition device performs visible light supplementation in a stroboscopic manner, where visible light supplementation is not performed at least during the entire exposure time period of the first preset exposure, and visible light supplementation is performed during the partial exposure time period of the second preset exposure.
  • Step 204 The image acquisition device obtains a grayscale image according to the first original image signal, and obtains a color image according to the second original image signal.
  • the image acquisition device performs first signal processing on the first original image signal to obtain a grayscale image, and performs second signal processing on the second original image signal to obtain a color image.
  • the first signal processing includes at least a first sharpening process
  • the second signal processing includes at least a second sharpening process, and the intensity of the first sharpening process is less than the intensity of the second sharpening process.
  • the first signal processing further includes at least one of black level correction, gamma correction, color correction, demosaicing, or noise reduction
  • the second signal processing further includes black level correction, gamma correction, and color correction. At least one of processing such as demosaicing or noise reduction.
  • the image acquisition device may fuse the image signal after preprocessing the first original image signal and the image signal after preprocessing the second original image signal to obtain a fused image, and perform the first fusion image on the fused image. Second, signal processing to obtain a color image.
  • the first original image signal and the second original image signal are two images respectively.
  • the image acquisition device can extract the first edge image from the image signal after the first original image signal is preprocessed, and the first edge image includes the first original image.
  • the image signal corresponds to the edge of each object image in the image
  • the second edge image is extracted from the image signal after the second original image signal is preprocessed.
  • the second edge image includes the image of each object in the image corresponding to the second original image signal. edge.
  • the image acquisition device performs fusion through the above-mentioned first formula to obtain a fused image, and performs a second signal processing on the fused image to obtain a color image.
  • Step 205 Perform compression coding on the color image, and perform intelligent analysis on the grayscale image.
  • the neural network computing unit in the SoC chip can be used, and a deep learning network, such as FastRCNN, can be used to perform intelligent analysis on grayscale images, such as face detection.
  • a deep learning network such as FastRCNN
  • the encoding compression module in the SoC chip can be used, for example, the H.264 standard is used to compress the image sequence into a video stream and output.
  • the color image is compressed and encoded to obtain a video code stream, and the gray image is intelligently analyzed to obtain an analysis result or a target sub-image.
  • the obtained target sub-image can be a target image or a face image.
  • the target sub-image obtained is a license plate image.
  • the image acquisition device performs near-infrared supplementary light during the exposure time period of the first preset exposure, and does not perform near-infrared supplementary light during the exposure time period of the second preset exposure;
  • the image acquisition device exposes the near-infrared light reflected by the object and the visible light and near-infrared light in the ambient light to obtain the first original image signal during the exposure time period of the exposure, and the image is in the exposure time period of the second preset exposure
  • the acquisition device exposes the visible light and near-infrared light in the ambient light reflected by the object to obtain the second original image signal; then the image acquisition device performs the first signal processing on the first original image signal to obtain the gray image, and the second original image
  • the second signal processing is performed on the signal to obtain a color image, the color image is compressed and encoded to obtain a video code stream, and the gray image is intelligently analyzed to obtain an analysis result.
  • the image capture device Since during the exposure time period of the first preset exposure, the image capture device performs near-infrared fill light, so that the image capture device obtains the first exposure according to the exposure parameters of the first preset exposure within the exposure time period of the first preset exposure.
  • the original image signal can reduce the noise in the first original image signal.
  • the first original image signal is processed to obtain a gray image.
  • the noise of the gray image is also reduced.
  • the analysis based on the gray image can improve the analysis result. Accuracy.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The present application relates to an image collection apparatus and a photography method, which fall within the field of monitoring. The image collection apparatus comprises: an image sensor, a light compensation device and a light filter assembly, wherein the image sensor is located at a light-emergent side of the light filter assembly; and further comprises an image signal processing unit, a coding compression unit and an analysis unit, wherein the image sensor is used for generating a first original image signal and a second original image signal by means of exposures multiple times, and outputting same; the light compensation device comprises a first light compensation apparatus, and the first light compensation apparatus is used for performing near-infrared light compensation by stroboscopic means; the light filter assembly comprises a first light filter sheet, and the first light filter sheet is transmitted by visible light and part of near-infrared light; the image signal processing unit is used for obtaining a grayscale image according to the first original image signal, and obtaining a color image according to the second original image signal; the coding compression unit is used for performing compression coding on the color image; and the analysis unit is used for intelligently analyzing the grayscale image. According to the present application, precision of an analysis result can be improved.

Description

一种图像采集装置及摄像方法Image acquisition device and camera method
本申请要求于2019年5月31日提交的申请号为201910472689.0、发明名称为“一种图像采集装置及摄像方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed on May 31, 2019 with the application number 201910472689.0 and the invention title "an image acquisition device and imaging method", the entire content of which is incorporated into this application by reference.
技术领域Technical field
本申请涉及监控领域,特别涉及一种图像采集装置及摄像方法。This application relates to the field of surveillance, and in particular to an image acquisition device and a camera method.
背景技术Background technique
图像采集设备可以安装在大厦和道路等场所,图像采集设备对该场所进行拍摄,不仅得到视频码流,还可以基于拍摄的视频进行智能分析。图像采集设备可以将拍摄的视频码流存储在存储设备中,基于拍摄的视频进行人脸识别等智能分析。Image acquisition equipment can be installed in places such as buildings and roads. The image acquisition equipment photographs the place, not only to obtain the video stream, but also to perform intelligent analysis based on the captured video. The image capture device can store the captured video stream in the storage device, and perform intelligent analysis such as face recognition based on the captured video.
然而在光照亮度较低的场景下,例如在夜晚,基于拍摄的视频进行智能分析,得到分析结果的精度较低。However, in a scene with low illumination, such as at night, intelligent analysis based on the captured video, the accuracy of the analysis result obtained is low.
发明内容Summary of the invention
本申请实施例提供了一种图像采集装置及摄像方法,以提高对图像进行智能分析的精度。所述技术方案如下:The embodiments of the present application provide an image acquisition device and a camera method to improve the accuracy of intelligent analysis of images. The technical solution is as follows:
一方面,本申请提供了一种图像采集装置,包括:图像传感器(01)、补光器(02)和滤光组件(03),所述图像传感器(01)位于所述滤光组件(03)的出光侧;还包括图像信号处理单元(04)、编码压缩单元(05)和分析单元(06);On the one hand, the present application provides an image acquisition device, including: an image sensor (01), a light supplement (02) and a filter assembly (03), the image sensor (01) is located in the filter assembly (03) ) On the light emitting side; also includes an image signal processing unit (04), a coding compression unit (05) and an analysis unit (06);
所述图像传感器(01),用于通过多次曝光产生并输出第一原始图像信号和第二原始图像信号,其中,所述第一原始图像信号是根据第一预设曝光产生的图像信号,所述第二原始图像信号是根据第二预设曝光产生的图像信号,所述第一预设曝光和所述第二预设曝光为所述多次曝光中的其中两次曝光;The image sensor (01) is used to generate and output a first original image signal and a second original image signal through multiple exposures, wherein the first original image signal is an image signal generated according to a first preset exposure, The second original image signal is an image signal generated according to a second preset exposure, and the first preset exposure and the second preset exposure are two of the multiple exposures;
所述补光器(02)包括第一补光装置(021),所述第一补光装置(021)用于以频闪方式进行近红外补光,其中,至少在所述第一预设曝光的部分曝光时 间段内进行近红外补光,在所述第二预设曝光的曝光时间段内不进行近红外补光;The light fill device (02) includes a first light fill device (021), and the first light fill device (021) is used to perform near-infrared fill light in a stroboscopic manner, wherein, at least in the first preset Performing near-infrared supplementary light during a part of the exposure time period of the exposure, and not performing near-infrared supplementary light during the exposure time period of the second preset exposure;
所述滤光组件(03)包括第一滤光片(031),所述第一滤光片(031)使可见光和部分近红外光通过;The filter assembly (03) includes a first filter (031), and the first filter (031) passes visible light and part of near-infrared light;
所述图像信号处理单元(04),用于根据第一原始图像信号得到灰度图像,根据第二原始图像信号得到彩色图像;The image signal processing unit (04) is configured to obtain a gray image according to the first original image signal, and obtain a color image according to the second original image signal;
所述编码压缩单元(05),用于对所述彩色图像进行压缩编码;The encoding compression unit (05) is configured to compress and encode the color image;
所述分析单元(06),用于对所述灰度图像进行智能分析。The analysis unit (06) is used for intelligent analysis of the gray image.
另一方面,本申请提供了一种摄像方法,应用于图像采集设备,所述图像采集设备包括图像传感器(01)、补光器(02)和滤光组件(03),所述图像传感器(01)位于所述滤光组件(03)的出光侧,所述补光器(02)包括第一补光装置,所述滤光组件(03)包括第一滤光片,所述方法包括:On the other hand, the present application provides a camera method applied to an image acquisition device, the image acquisition device includes an image sensor (01), a light supplement (02) and a filter component (03), the image sensor ( 01) Located at the light exit side of the filter assembly (03), the light fill device (02) includes a first light fill device, the filter assembly (03) includes a first filter, and the method includes:
所述图像采集设备通过所述第一补光装置进行近红外补光,其中所述第一补光装置至少在所述图像传感器多次曝光的第一预设曝光的部分曝光时间段内进行近红外补光,在所述多次曝光的第二预设曝光的曝光时间段内不进行近红外补光,第一预设曝光和第二预设曝光为多次曝光中的其中两次曝光;The image acquisition device performs near-infrared light supplementation through the first light-filling device, wherein the first light-filling device performs near-infrared light at least within a partial exposure time period of the first preset exposure of the multiple exposures of the image sensor. Infrared supplementary light, no near-infrared supplementary light is performed during the exposure time period of the second preset exposure of the multiple exposures, and the first preset exposure and the second preset exposure are two of the multiple exposures;
所述图像采集设备通过所述多次曝光产生第一原始图像信号和第二原始图像信号,其中所述第一原始图像信号是根据所述第一预设曝光产生的图像信号,所述第二原始图像信号是根据所述第二预设曝光产生的图像信号;The image acquisition device generates a first original image signal and a second original image signal through the multiple exposures, wherein the first original image signal is an image signal generated according to the first preset exposure, and the second The original image signal is an image signal generated according to the second preset exposure;
所述图像采集设备通过所述第一滤光片,使可见光和部分近红外光通过;The image acquisition device passes through the first filter to pass visible light and part of the near-infrared light;
所述图像采集设备根据所述第一原始图像信号得到灰度图像,根据所述第二原始图像信号得到彩色图像;The image acquisition device obtains a grayscale image according to the first original image signal, and obtains a color image according to the second original image signal;
所述图像采集设备对所述彩色图像进行压缩编码,以及对所述灰度图像进行智能分析。The image acquisition device compresses and encodes the color image, and performs intelligent analysis on the gray image.
本申请实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present application may include the following beneficial effects:
由于图像传感器基于第一补光装置的近红外补光时序来曝光,以便在第一预设曝光的过程中进行近红外补光时图像传感器产生第一原始图像信号,在第二预设曝光的过程中不进行近红外补光时图像传感器产生第二原始图像信号,这样的数据采集方式,可以直接采集到红外分量不同的第一原始图像信号和第 二原始图像信号,从而能够简单地得到彩色图像信号(第二原始图像信号)和红外图像信号(第一原始图像信号)。进而利用第一原始图像信号得到灰度图像,利用第二原始图像信号得到彩色图像,第一原始图像信号由于是进行近红外补光时产生的,所以基于第一原始图像信号得到的灰度图像中近红外亮度信息突出,灰度图像对比度鲜明,在夜景中相比彩色图像有利于得到更好的智能分析结果,从而可以提高智能分析的精度。第二原始图像信号由于是未进行近红外补光时产生的,所以基于第二原始图像信号得到的彩色图像中RGB色彩信息突出,在夜景中相比灰度图像有利于输出用于观看。Since the image sensor is exposed based on the near-infrared light-filling timing of the first light-filling device, the image sensor generates the first original image signal when the near-infrared light-filling is performed during the first preset exposure. The image sensor generates the second original image signal when the near-infrared supplementary light is not performed in the process. This data collection method can directly collect the first original image signal and the second original image signal with different infrared components, so that the color can be easily obtained. Image signal (second original image signal) and infrared image signal (first original image signal). Then the first original image signal is used to obtain a grayscale image, and the second original image signal is used to obtain a color image. Since the first original image signal is generated during near-infrared fill light, the grayscale image obtained based on the first original image signal The mid-near infrared brightness information is prominent, and the gray-scale image has a sharp contrast. Compared with color images in the night scene, it is beneficial to obtain better intelligent analysis results, which can improve the accuracy of intelligent analysis. Since the second original image signal is generated when near-infrared supplementary light is not performed, the RGB color information in the color image obtained based on the second original image signal is prominent, and it is more advantageous to output for viewing in a night scene than a gray image.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the application.
附图说明Description of the drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The drawings herein are incorporated into the specification and constitute a part of the specification, show embodiments that conform to the application, and are used together with the specification to explain the principle of the application.
图1是本申请实施例提供的一种图像采集装置的结构示意图;FIG. 1 is a schematic structural diagram of an image acquisition device provided by an embodiment of the present application;
图2是本申请实施例提供的一种滤光组件的结构示意图;2 is a schematic structural diagram of a filter assembly provided by an embodiment of the present application;
图3是本申请实施例提供的第一预设曝光的曝光时间段和第二预设曝光的曝光时间的时序图;3 is a time sequence diagram of the exposure time period of the first preset exposure and the exposure time of the second preset exposure provided by an embodiment of the present application;
图4是本申请实施例提供的一种卷帘曝光方式的示意图;4 is a schematic diagram of a rolling shutter exposure method provided by an embodiment of the present application;
图5是本申请实施例提供的第一种第一预设曝光和第二预设曝光的示意图;FIG. 5 is a schematic diagram of a first preset exposure and a second preset exposure according to an embodiment of the present application;
图6是本申请实施例提供的第二种第一预设曝光和第二预设曝光的示意图;6 is a schematic diagram of a second type of first preset exposure and a second preset exposure provided by an embodiment of the present application;
图7是本申请实施例提供的第三种第一预设曝光和第二预设曝光的示意图;FIG. 7 is a schematic diagram of a third type of first preset exposure and a second preset exposure provided by an embodiment of the present application;
图8是本申请实施例提供的第一种卷帘曝光方式和近红外补光的示意图;FIG. 8 is a schematic diagram of the first rolling shutter exposure method and near-infrared light supplement provided by an embodiment of the present application;
图9是本申请实施例提供的第二种卷帘曝光方式和近红外补光的示意图;FIG. 9 is a schematic diagram of a second rolling shutter exposure method and near-infrared fill light provided by an embodiment of the present application;
图10是本申请实施例提供的第三种卷帘曝光方式和近红外补光的示意图;FIG. 10 is a schematic diagram of a third rolling shutter exposure method and near-infrared light supplement provided by an embodiment of the present application;
图11是本申请实施例提供的近红外光对应的波段示意图;11 is a schematic diagram of the wavelength band corresponding to near-infrared light provided by an embodiment of the present application;
图12是本申请实施例提供的一种第一补光装置进行近红外补光的波长和相对强度之间的关系示意图;FIG. 12 is a schematic diagram of the relationship between the wavelength and relative intensity of near-infrared supplement light performed by a first light supplement device according to an embodiment of the present application;
图13是本申请实施例提供的另一种图像采集装置的结构示意图;FIG. 13 is a schematic structural diagram of another image acquisition device provided by an embodiment of the present application;
图14是本申请实施例提供的RGBW传感器的结构示意图;FIG. 14 is a schematic structural diagram of an RGBW sensor provided by an embodiment of the present application;
图15是本申请实施例提供的RCCB传感器的结构示意图;FIG. 15 is a schematic structural diagram of an RCCB sensor provided by an embodiment of the present application;
图16是本申请实施例提供的RGB传感器的结构示意图;FIG. 16 is a schematic structural diagram of an RGB sensor provided by an embodiment of the present application;
图17是本申请实施例提供的RYYB传感器的结构示意图;FIG. 17 is a schematic diagram of the structure of the RYYB sensor provided by an embodiment of the present application;
图18是本申请实施例提供的各感光通道对应的波段示意图;FIG. 18 is a schematic diagram of wavebands corresponding to each photosensitive channel provided by an embodiment of the present application;
图19是本申请实施例提供的图像融合的示意图;FIG. 19 is a schematic diagram of image fusion provided by an embodiment of the present application;
图20是本申请实施例提供的一种摄像方法流程图。FIG. 20 is a flowchart of an imaging method provided by an embodiment of the present application.
通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。Through the above drawings, the specific embodiments of the present application have been shown, which will be described in more detail below. These drawings and text description are not intended to limit the scope of the concept of the present application in any way, but to explain the concept of the present application to those skilled in the art by referring to specific embodiments.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Here, exemplary embodiments will be described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present application. On the contrary, they are only examples of devices and methods consistent with some aspects of the application as detailed in the appended claims.
在光线较弱的环境中,例如在夜晚环境中,图像采集设备拍摄的图像信号的噪声较大,基于该图像信号产生的灰度图中的噪声也随之较大,这样基于该灰度图像进行智能分析处理时得到的分析结果的精度较低。为了提高分析结果的精度,本申请提供了如下图像采集设备。In a weak light environment, such as a night environment, the image signal captured by the image acquisition device has greater noise, and the grayscale image generated based on the image signal also has greater noise, so based on the grayscale image The accuracy of the analysis results obtained during intelligent analysis processing is low. In order to improve the accuracy of the analysis results, this application provides the following image acquisition equipment.
参见图1,本申请实施列提供了一种图像采集装置,所述图像采集装置包括:Referring to Fig. 1, the embodiment of the present application provides an image acquisition device, and the image acquisition device includes:
图像传感器01、补光器02和滤光组件03,图像传感器01位于滤光组件03的出光侧;还包括图像信号处理单元04、编码压缩单元05和分析单元06; Image sensor 01, light supplement 02, and filter assembly 03. Image sensor 01 is located on the light exit side of filter assembly 03; it also includes image signal processing unit 04, encoding compression unit 05, and analysis unit 06;
图像传感器01,用于通过多次曝光产生并输出第一原始图像信号和第二原始图像信号,其中,第一原始图像信号是根据第一预设曝光产生的图像信号,第二原始图像信号是根据第二预设曝光产生的图像信号,第一预设曝光和第二预设曝光为该多次曝光中的其中两次曝光;The image sensor 01 is used to generate and output a first original image signal and a second original image signal through multiple exposures, where the first original image signal is an image signal generated according to the first preset exposure, and the second original image signal is According to the image signal generated by the second preset exposure, the first preset exposure and the second preset exposure are two of the multiple exposures;
补光器02包括第一补光装置021,第一补光装置021用于以频闪方式进行近红外补光,其中,至少在第一预设曝光的部分曝光时间段内进行近红外补光,在第二预设曝光的曝光时间段内不进行近红外补光;The light supplement 02 includes a first light supplement device 021, which is used to perform near-infrared supplement light in a stroboscopic manner, wherein the near-infrared supplement light is performed at least during a partial exposure period of the first preset exposure , Do not perform near-infrared fill light during the exposure time period of the second preset exposure;
滤光组件03包括第一滤光片031,第一滤光片031使可见光和部分近红外光通过;The filter assembly 03 includes a first filter 031, and the first filter 031 passes visible light and part of the near-infrared light;
图像信号处理单元04,用于根据第一原始图像信号得到灰度图像,根据第二原始图像信号得到彩色图像;The image signal processing unit 04 is configured to obtain a grayscale image according to the first original image signal, and obtain a color image according to the second original image signal;
编码压缩单元05,用于对彩色图像进行压缩编码;The encoding compression unit 05 is used to compress and encode color images;
分析单元06,用于对灰度图像进行智能分析。The analysis unit 06 is used for intelligent analysis of the gray image.
图像传感器01通过多次曝光产生并输出第一原始图像信号和第二原始图像信号,第一原始图像信号是根据第一预设曝光产生的图像信号,第二原始图像信号是根据第二预设曝光产生的图像信号,第一预设曝光和第二预设曝光为多次曝光中的其中两次曝光。第一原始图像信号经由图像信号处理单元04进行图像信号处理,输出彩色图像,供编码压缩输出视频码流;第二原始图像信号经由信号信号处理单元04进行图像信号处理,产生灰度图像,分析单元06针对灰度图像进行分析处理,输出智能分析结果;针对智能分析进行专门的补光以及图像信号采集与优化处理,不改变现有视频效果的前提下,进一步提升智能分析的效果。The image sensor 01 generates and outputs a first original image signal and a second original image signal through multiple exposures, the first original image signal is an image signal generated according to the first preset exposure, and the second original image signal is according to the second preset For the image signal generated by the exposure, the first preset exposure and the second preset exposure are two of the multiple exposures. The first original image signal is processed by the image signal processing unit 04 to output a color image for encoding and compressing the output video stream; the second original image signal is processed by the signal processing unit 04 for image signal processing to generate a gray image, and analyzed Unit 06 analyzes and processes grayscale images and outputs intelligent analysis results; for intelligent analysis, special fill light and image signal acquisition and optimization processing are performed, and the effect of intelligent analysis is further improved without changing the existing video effects.
第一滤光片031用于通过可见光和部分近红外光,其中,在第一预设曝光的曝光时间段内通过第一滤光片031的近红外光包括第一补光装置021进行近红外补光时经物体反射进入滤光组件03的近红外光,在第二预设曝光的曝光时间段内通过第一滤光片031的近红外光包括第一补光装置021未进行近红外补光时经物体反射进入滤光组件03的近红外光;其中,第一补光装置021进行近红外光补光时通过第一滤光片031的近红外光的强度高于第一补光装置021未进行近红外补光时通过第一滤光片031的近红外光的强度。The first filter 031 is used to pass visible light and part of the near-infrared light, wherein the near-infrared light passing through the first filter 031 in the exposure time period of the first preset exposure includes the first light supplement device 021 for near-infrared light. The near-infrared light reflected by the object into the filter assembly 03 during the fill light, and the near-infrared light passing through the first filter 031 within the exposure time period of the second preset exposure includes the first fill light device 021 not performing near-infrared compensation The near-infrared light that is reflected by the object and enters the filter assembly 03 when light is reflected; wherein, the first light-filling device 021 has a higher intensity of the near-infrared light that passes through the first filter 031 when performing near-infrared light-filling 021 The intensity of the near-infrared light passing through the first filter 031 when the near-infrared light is not applied.
作为一种示例,图像采集装置可以是摄像机、抓拍机、人脸识别相机、读码相机、车载相机、全景细节相机等。As an example, the image acquisition device may be a video camera, a capture machine, a face recognition camera, a code reading camera, a vehicle-mounted camera, a panoramic detail camera, etc.
作为另一种示例,补光器02可以位于图像采集装置内,也可以位于图像采集装置的外部。补光器02可以为图像采集装置的一部分,也可以为独立于图像采集装置的一个器件。当补光器02位于图像采集的外部时,补光器02可以与图像采集装置进行通信连接,可以保证图像采集设备中的图像传感器01的曝光时序与补光器02包括的第一补光装置021的近红外补光时序存在一定的关系,如至少在第一预设曝光的部分曝光时间段内进行近红外补光,在第二预设曝光的曝光时间段内不进行近红外补光。As another example, the light supplement 02 may be located in the image acquisition device or outside the image acquisition device. The light supplement 02 can be a part of the image acquisition device, or can be a device independent of the image acquisition device. When the light fill 02 is located outside the image capture, the light fill 02 can communicate with the image capture device, which can ensure the exposure timing of the image sensor 01 in the image capture device and the first fill light device included in the light fill 02 The timing of the near-infrared supplement light of 021 has a certain relationship. For example, the near-infrared supplementary light is performed at least during a partial exposure period of the first preset exposure, and the near-infrared supplementary light is not performed during the exposure period of the second preset exposure.
另外,需要说明的一点是,第一补光装置021为可以发出近红外光的装置,例如近红外补光灯等,本申请实施例对此不做限定。第一补光装置021可以以频闪方式进行近红外补光,也可以以类似频闪的其他方式进行近红外补光。在一些示例中,当第一补光装置021以频闪方式进行近红外补光时,可以通过手动方式来控制第一补光装置021以频闪方式进行近红外补光,也可以通过软件程序或特定设备来控制第一补光装置021以频闪方式进行近红外补光,本申请实施例对此不做限定。其中,第一补光装置021进行近红外补光的时间段可以与第一预设曝光的曝光时间段重合,也可以大于第一预设曝光的曝光时间段或者小于第一预设曝光的曝光时间段,只要在第一预设曝光的整个曝光时间段或者部分曝光时间段内进行近红外补光,而在第二预设曝光的曝光时间段内不进行近红外补光即可。In addition, it should be noted that the first supplementary light device 021 is a device that can emit near-infrared light, such as a near-infrared supplementary light, which is not limited in the embodiment of the present application. The first light supplement device 021 can perform near-infrared supplement light in a stroboscopic manner, or in other ways similar to stroboscopic. In some examples, when the first light supplement device 021 performs near-infrared supplement light in a stroboscopic manner, the first supplement light device 021 may be manually controlled to perform near-infrared supplement light in a stroboscopic manner, or through a software program Or a specific device controls the first light supplement device 021 to perform near-infrared supplement light in a strobe mode, which is not limited in the embodiment of the present application. The time period during which the first light supplement device 021 performs near-infrared light supplementation may coincide with the exposure time period of the first preset exposure, or may be greater than the exposure time period of the first preset exposure or less than the exposure time period of the first preset exposure. The time period, as long as the near-infrared supplement light is performed during the entire exposure time period or part of the exposure time period of the first preset exposure, and the near-infrared supplement light is not performed during the exposure time period of the second preset exposure.
参见图3,第一预设曝光的曝光时间段和第二预设曝光的曝光时间段循环交替出现,第一补光装置021在第一预设曝光的曝光时间段内产生并发射近红外光,以实现近红外补光,在第二预设曝光的曝光时间段内停止产生近红外光,以实现不进行近红外补光。所谓频闪方式进行近红外补光就是在第一预测曝光的曝光时间段内产生并发射近红外光,以及在与第一预测曝光的曝光时间段相邻的第二预设曝光的曝光时间段内停止产生近红外光。Referring to FIG. 3, the exposure time period of the first preset exposure and the exposure time period of the second preset exposure appear alternately, and the first light supplement device 021 generates and emits near-infrared light during the exposure time period of the first preset exposure. , To realize near-infrared supplementary light, stop generating near-infrared light during the exposure time period of the second preset exposure, so as to realize no near-infrared supplementary light. The so-called stroboscopic approach for near-infrared supplementary light is to generate and emit near-infrared light during the exposure time period of the first predicted exposure, and stop during the exposure time period of the second preset exposure adjacent to the exposure time period of the first predicted exposure Produce near-infrared light.
参见图3,作为一种示例,该多次曝光可以包括奇数次曝光和偶数次曝光,该第一预设曝光可以为偶数次曝光中的一次曝光,第二预设曝光可以为奇数次曝光中的一次曝光。Referring to FIG. 3, as an example, the multiple exposures may include odd exposures and even exposures, the first preset exposure may be one of the even exposures, and the second preset exposure may be the odd exposures. Of an exposure.
作为一种示例,第一预设曝光可以为奇数次曝光中的一次曝光,第二预设曝光可以为偶数次曝光中的一次曝光;或者As an example, the first preset exposure may be one exposure in an odd number of exposures, and the second preset exposure may be one exposure in an even number of exposures; or
作为一种示例,第一预设曝光可以为指定的奇数次曝光中的一次曝光,第二预设曝光可以为除指定的奇数次曝光之外的其他曝光中的一次曝光;或者As an example, the first preset exposure may be one of the specified odd exposures, and the second preset exposure may be one of the exposures except the specified odd exposures; or
作为一种示例,第一预设曝光可以为指定的偶数次曝光中的一次曝光,第二预设曝光可以为除指定的偶数次曝光之外的其他曝光中的一次曝光。As an example, the first preset exposure may be one exposure in a specified even number of exposures, and the second preset exposure may be one exposure in other exposures except the specified even number of exposures.
作为一种示例,第一补光装置021在单位时间长度内的补光次数可以低于图像传感器01在单位时间长度内的曝光次数,其中,每相邻两次补光的补光时间段内,间隔一次或多次曝光。As an example, the number of times of supplementary light in the unit time length of the first supplementary light device 021 may be lower than the number of exposures of the image sensor 01 in the unit time length, wherein the supplementary light times of every two adjacent times of supplementary light , Interval one or more exposures.
作为一种示例,第一预设曝光为第一曝光序列中的一次曝光,第二预设曝光为第二曝光序列中的一次曝光;或者As an example, the first preset exposure is one exposure in the first exposure sequence, and the second preset exposure is one exposure in the second exposure sequence; or
作为一种示例,第一预设曝光为第二曝光序列中的一次曝光,第二预设曝光为第一曝光序列中的一次曝光;As an example, the first preset exposure is one exposure in the second exposure sequence, and the second preset exposure is one exposure in the first exposure sequence;
其中,该多次曝光包括多个曝光序列,第一曝光序列和第二曝光序列为多个曝光序列中的一个曝光序列或者两个曝光序列,每个曝光序列包括N次曝光,N次曝光包括1次第一预设曝光和N-1次第二预设曝光,或者,N次曝光包括1次第二预设曝光和N-1次第二预设曝光,N为大于2的正整数。Wherein, the multiple exposure includes multiple exposure sequences, the first exposure sequence and the second exposure sequence are one exposure sequence or two exposure sequences among the multiple exposure sequences, each exposure sequence includes N exposures, and N exposures include 1 first preset exposure and N-1 second preset exposures, or N exposures include 1 second preset exposure and N-1 second preset exposures, and N is a positive integer greater than 2.
作为一种示例,图像传感器01可以采用全局曝光方式,也可以采用卷帘曝光方式。其中,全局曝光方式是指每一行有效像素的曝光开始时刻均相同,且每一行有效像素的曝光结束时刻均相同。换句话说,全局曝光方式是所有行有效像素同时进行曝光并且同时结束曝光的一种曝光方式。卷帘曝光方式是指不同行有效像素的曝光时间不完全重合,也即是,一行有效像素的曝光开始时刻都晚于上一行有效像素的曝光开始时刻,且一行有效像素的曝光结束时刻都晚于上一行有效像素的曝光结束时刻。另外,卷帘曝光方式中每一行有效像素结束曝光后可以进行数据输出,因此,从第一行有效像素的数据开始输出时刻到最后一行有效像素的数据结束输出时刻之间的时间可以表示为读出时间。As an example, the image sensor 01 may adopt a global exposure method or a rolling shutter exposure method. The global exposure mode means that the exposure start time of each row of effective pixels is the same, and the exposure end time of each row of effective pixels is the same. In other words, the global exposure mode is an exposure mode in which all rows of effective pixels are exposed at the same time and the exposure ends at the same time. Rolling shutter exposure means that the exposure times of different rows of effective pixels do not completely coincide, that is, the exposure start time of a row of effective pixels is later than the exposure start time of the previous row of effective pixels, and the exposure end time of a row of effective pixels is later At the end of the exposure of the effective pixels in the previous row. In addition, in the rolling exposure mode, data can be output after each row of effective pixels is exposed. Therefore, the time from the time when the data of the first row of effective pixels starts to the time when the data of the last row of effective pixels ends can be expressed as reading Time out.
示例性地,参见图4,图4为一种卷帘曝光方式的示意图。从图4可以看出,第1行有效图像在T1时刻开始曝光,在T3时刻结束曝光,第2行有效图像在T2时刻开始曝光,在T4时刻结束曝光,T2时刻相比于T1时刻向后推移了一个时间段,T4时刻相比于T3时刻向后推移了一个时间段。另外,第1行有效图像在T3时刻结束曝光并开始输出数据,在T5时刻结束数据的输出,第n行有效图像在T6时刻结束曝光并开始输出数据,在T7时刻结束数据的输出,则T3~T7时刻之间的时间即为读出时间。For example, refer to FIG. 4, which is a schematic diagram of a rolling shutter exposure method. It can be seen from Figure 4 that the effective image of the first line begins to be exposed at time T1, and the exposure ends at time T3. The effective image of the second line begins to be exposed at time T2, and the exposure ends at time T4. Time T2 is backward compared to time T1. A period of time has passed, and time T4 has moved a period of time backward compared to time T3. In addition, the effective image of the first line ends exposure at time T3 and begins to output data, and the output of data ends at time T5. The effective image of line n ends exposure at time T6 and begins to output data, and the output of data ends at time T7, then T3 The time between ~T7 is the read time.
在图像传感器01采用全局曝光方式进行多次曝光的情况下,对于任意一次近红外补光,近红外补光的时间段与最邻近的第二预设曝光的曝光时间段不存在交集,近红外补光的时间段是第一预设曝光的曝光时间段的子集,或者,近红外补光的时间段与第一预设曝光的曝光时间段存在交集,或者所述第一预设曝光的曝光时间段是近红外补光的子集。这样,即可实现至少在第一预设曝光的部分曝光时间段内进行近红外补光,在第二预设曝光的整个曝光时间段内不进行近红外补光,从而不会对第二预设曝光造成影响。In the case of image sensor 01 using global exposure for multiple exposures, for any one near-infrared fill light, the time period of near-infrared fill light does not overlap with the exposure time period of the nearest second preset exposure. The time period of fill light is a subset of the exposure time period of the first preset exposure, or the time period of near-infrared fill light and the exposure time period of the first preset exposure overlap, or the time period of the first preset exposure The exposure time period is a subset of the near-infrared fill light. In this way, it can be realized that the near-infrared supplementary light is performed at least during a part of the exposure time period of the first preset exposure, and the near-infrared supplementary light is not performed during the entire exposure time period of the second preset exposure. Set the exposure to affect.
例如,参见图5,对于任意一次近红外补光,近红外补光的时间段与最邻近的第二预设曝光的曝光时间段不存在交集,近红外补光的时间段是第一预设曝 光的曝光时间段的子集。参见图6,对于任意一次近红外补光,近红外补光的时间段与最邻近的第二预设曝光的曝光时间段不存在交集,近红外补光的时间段与第一预设曝光的曝光时间段存在交集。参见图7,对于任意一次近红外补光,近红外补光的时间段与最邻近的第二预设曝光的曝光时间段不存在交集,第一预设曝光的曝光时间段是近红外补光的子集。For example, referring to Figure 5, for any one time of near-infrared fill light, the time period of near-infrared fill light does not overlap with the exposure time period of the nearest second preset exposure, and the time period of near-infrared fill light is the first preset A subset of the exposure time period for exposure. Referring to Figure 6, for any one near-infrared fill light, the time period of near-infrared fill light does not overlap with the exposure time period of the nearest second preset exposure, and the time period of near-infrared fill light is equal to that of the first preset exposure. There is an intersection of exposure time periods. Referring to Figure 7, for any one near-infrared fill light, the time period of near-infrared fill light does not overlap with the exposure time period of the nearest second preset exposure, and the exposure time period of the first preset exposure is near-infrared fill light A subset of.
在另一些实施例中,在图像传感器01采用卷帘曝光方式进行多次曝光,对于任意一次近红外补光,近红外补光的时间段与最邻近的所述第二预设曝光的曝光时间段不存在交集;近红外补光的开始时刻不早于第一预设曝光中最后一行有效图像的曝光开始时刻,近红外补光的结束时刻不晚于第一预设曝光中第一行有效图像的曝光结束时刻;或者,近红外补光的开始时刻不早于第一预设曝光之前的最邻近的第二预设曝光的最后一行有效图像的曝光结束时刻且不晚于第一预设曝光中第一行有效图像的曝光结束时刻,近红外补光的结束时刻不早于第一预设曝光中最后一行有效图像的曝光开始时刻且不晚于第一预设曝光之后的最邻近的第二预设曝光的第一行有效图像的曝光开始时刻;或者近红外补光的开始时刻不早于第一预设曝光之前的最邻近的第二预设曝光的最后一行有效图像的曝光结束时刻且不晚于第一预设曝光中第一行有效图像的曝光开始时刻,近红外补光的结束时刻不早于第一预设曝光中最后一行有效图像的曝光结束时刻且不晚于第一预设曝光之后的最邻近的第二预设曝光的第一行有效图像的曝光开始时刻。In other embodiments, the image sensor 01 adopts rolling shutter exposure for multiple exposures. For any one near-infrared fill light, the period of near-infrared fill light is the same as the exposure time of the nearest second preset exposure. There is no intersection between segments; the start time of the near-infrared fill light is no earlier than the exposure start time of the last line of the effective image in the first preset exposure, and the end time of the near-infrared fill light is no later than the first line of the first preset exposure. The exposure end time of the image; or, the start time of the near-infrared fill light is no earlier than the exposure end time of the last line of the effective image of the nearest second preset exposure before the first preset exposure and no later than the first preset exposure The exposure end time of the first line of the effective image in the exposure, the end time of the near-infrared fill light is no earlier than the exposure start time of the last line of the effective image in the first preset exposure and no later than the nearest neighbor after the first preset exposure The exposure start time of the first line of the effective image of the second preset exposure; or the start time of the near-infrared fill light is no earlier than the end of the exposure of the last line of the effective image of the nearest second preset exposure before the first preset exposure Time and no later than the exposure start time of the first line of the effective image in the first preset exposure, and the end time of the near-infrared fill light is no earlier than the exposure end time of the last line of the effective image in the first preset exposure and no later than the first exposure The exposure start time of the first line of the effective image of the nearest second preset exposure after a preset exposure.
例如,参见图8,对于任意一次近红外补光,近红外补光的时间段与最邻近的第二预设曝光的曝光时间段不存在交集,并且,近红外补光的开始时刻不早于第一预设曝光中最后一行有效图像的曝光开始时刻,近红外补光的结束时刻不晚于第一预设曝光中第一行有效图像的曝光结束时刻。参见图9,对于任意一次近红外补光,近红外补光的时间段与最邻近的第二预设曝光的曝光时间段不存在交集,并且,近红外补光的开始时刻不早于第一预设曝光之前的最邻近的第二预设曝光的最后一行有效图像的曝光结束时刻且不晚于第一预设曝光中第一行有效图像的曝光结束时刻,近红外补光的结束时刻不早于第一预设曝光中最后一行有效图像的曝光开始时刻且不晚于第一预设曝光之后的最邻近的第二预设曝光的第一行有效图像的曝光开始时刻。参见图10,对于任意一次近红外补光,近红外补光的时间段与最邻近的第二预设曝光的曝光时间段不存在交集,并且,近红外补光的开始时刻不早于第一预设曝光之前的最邻近的第二预设曝 光的最后一行有效图像的曝光结束时刻且不晚于第一预设曝光中第一行有效图像的曝光开始时刻,近红外补光的结束时刻不早于第一预设曝光中最后一行有效图像的曝光结束时刻且不晚于第一预设曝光之后的最邻近的第二预设曝光的第一行有效图像的曝光开始时刻。图8至图10仅是一种示例,第一预设曝光和第二预设曝光的排序可以不限于这些示例。For example, referring to Figure 8, for any one near-infrared fill light, the time period of near-infrared fill light does not overlap with the exposure time period of the nearest second preset exposure, and the start time of near-infrared fill light is no earlier than The exposure start time of the last line of the effective image in the first preset exposure, and the end time of the near-infrared fill light is no later than the exposure end time of the first line of the effective image in the first preset exposure. Referring to Figure 9, for any one time of near-infrared fill light, the time period of near-infrared fill light does not overlap with the exposure time period of the nearest second preset exposure, and the start time of near-infrared fill light is no earlier than the first The exposure end time of the last effective image line of the nearest second preset exposure before the preset exposure and not later than the exposure end time of the first effective image line in the first preset exposure. The end time of the near-infrared fill light is not It is earlier than the exposure start time of the last line of the effective image in the first preset exposure and not later than the exposure start time of the first line of the effective image of the nearest second preset exposure after the first preset exposure. Referring to FIG. 10, for any one time of near-infrared supplement light, the time period of near-infrared supplement light does not overlap with the exposure time period of the nearest second preset exposure, and the start time of near-infrared supplement light is not earlier than the first The exposure end time of the last line of the effective image of the nearest second preset exposure before the preset exposure and not later than the exposure start time of the first line of the effective image in the first preset exposure, the end time of the near-infrared fill light is not It is earlier than the exposure end time of the last line of the effective image in the first preset exposure and not later than the exposure start time of the first line of the effective image of the nearest second preset exposure after the first preset exposure. 8 to 10 are only an example, and the sorting of the first preset exposure and the second preset exposure may not be limited to these examples.
参见图3,在第一预设曝光的曝光时间段内,第一补光装置021产生并向外界环境中发射近红外光,所以在第一预设曝光的曝光时间段内外界环境中包括环境光和第一补光装置021产生的该近红外光,环境光包括可见光,还可以包括近红外光和红外光等中的至少一种,这样在第一预设曝光的曝光时间段内,被物体反射进入第一滤光片031的光包括第一补光装置021产生的该近红外光和该环境光,第一滤光片031通过该近红外光和该环境光中的可见光和近红外光,并传输至图像传感器01。图像传感器01根据第一预设曝光的曝光参数进行拍摄,能够感应到该环境光中的可见光、近红外光以及第一补光装置021产生的该近红外光,得到第一原始图像信号。在第二预设曝光的曝光时间段内,第一补光装置021停止产生近红外光,所以在第二预设曝光的曝光时间段内外界环境中包括环境光,被物体反射进入第一滤光片031的光包括该环境光,第一滤光片031通过该环境光中的可见光和近红外光,并传输至图像传感器01,图像传感器01根据第二预设曝光的曝光参数进行拍摄,能够感应到外界环境中的环境光中的可见光和近红外光得到第二原始图像信号。Referring to FIG. 3, during the exposure time period of the first preset exposure, the first light supplement device 021 generates and emits near-infrared light to the external environment, so the external environment includes the environment during the exposure time period of the first preset exposure Light and the near-infrared light generated by the first light-filling device 021. The ambient light includes visible light, and may also include at least one of near-infrared light and infrared light. In this way, the light is blocked during the exposure time period of the first preset exposure. The light reflected by the object into the first filter 031 includes the near-infrared light and the ambient light generated by the first light-filling device 021, and the first filter 031 passes the near-infrared light and the visible light and near-infrared of the ambient light. Light and transmitted to the image sensor 01. The image sensor 01 performs shooting according to the exposure parameters of the first preset exposure, and can sense the visible light and the near-infrared light in the ambient light and the near-infrared light generated by the first light supplement device 021 to obtain the first original image signal. During the exposure time period of the second preset exposure, the first light supplement device 021 stops generating near-infrared light, so during the exposure time period of the second preset exposure, the external environment includes ambient light, which is reflected by the object into the first filter The light of the light sheet 031 includes the ambient light, and the first filter 031 passes visible light and near-infrared light in the ambient light and transmits it to the image sensor 01, and the image sensor 01 shoots according to the exposure parameters of the second preset exposure. The visible light and near-infrared light in the ambient light in the external environment can be sensed to obtain the second original image signal.
需要说明的另一点是,由于第一补光装置021在对外部场景进行近红外补光时,入射到物体表面的近红外光可能会被物体反射,从而进入到第一滤光片031中。并且由于通常情况下,环境光可以包括可见光和近红外光,且环境光中的近红外光入射到物体表面时也会被物体反射,从而进入到第一滤光片031中。因此,在进行近红外补光时通过第一滤光片031的近红外光可以包括第一补光装置021进行近红外补光时经物体反射进入第一滤光片031的近红外光,在不进行近红外补光时通过第一滤光片031的近红外光可以包括第一补光装置021未进行近红外补光时经物体反射进入第一滤光片031的近红外光。也即是,在进行近红外补光时通过第一滤光片031的近红外光包括第一补光装置021发出的且经物体反射后的近红外光,以及环境光中经物体反射后的近红外光,在不进行近红外补光时通过第一滤光片031的近红外光包括环境光中经物体反射后的近红外光。以图像采集装置中,滤光组件03可以位于镜头07和图像传感器 01之间,且图像传感器01位于滤光组件03的出光侧的结构特征为例,图像采集装置采集第一原始图像信号和第二原始图像信号的过程为:在图像传感器01进行第一预设曝光时,第一补光装置021进行近红外补光,此时拍摄场景中的环境光和第一补光装置021进行近红外补光时被场景中物体反射的近红外光经由镜头07、第一滤光片031之后,由图像传感器01通过第一预设曝光产生第一原始图像信号;在图像传感器01进行第二预设曝光时,第一补光装置021不进行近红外补光,此时拍摄场景中的环境光经由镜头07、第一滤光片031之后,由图像传感器01通过第二预设曝光产生第二原始图像信号,在图像采集的一个帧周期内可以有M个第一预设曝光和N个第二预设曝光,第一预设曝光和第二预设曝光之间可以有多种组合的排序,在图像采集的一个帧周期中,M和N的取值以及M和N的大小关系可以根据实际需求设置,例如,M和N的取值可相等,也可不相同。Another point that needs to be explained is that, when the first light supplement device 021 performs near-infrared light supplementation on an external scene, the near-infrared light incident on the surface of the object may be reflected by the object and enter the first filter 031. And because under normal circumstances, the ambient light may include visible light and near-infrared light, and near-infrared light in the ambient light is also reflected by the object when it is incident on the surface of the object, thereby entering the first filter 031. Therefore, the near-infrared light that passes through the first filter 031 when performing near-infrared light supplementation may include the near-infrared light that is reflected by the object and enters the first filter 031 when the first light supplement device 021 performs near-infrared light supplementation. The near-infrared light passing through the first filter 031 when the near-infrared light supplement is not performed may include the near-infrared light reflected by the object into the first filter 031 when the first light supplement device 021 is not performing the near-infrared light supplement. That is, the near-infrared light that passes through the first filter 031 when performing near-infrared supplementary light includes the near-infrared light emitted by the first supplementary light device 021 and reflected by the object, and the ambient light reflected by the object Near-infrared light, the near-infrared light passing through the first filter 031 when the near-infrared supplementary light is not performed includes near-infrared light reflected by an object in the ambient light. In the image acquisition device, the filter assembly 03 may be located between the lens 07 and the image sensor 01, and the image sensor 01 is located on the light-emitting side of the filter assembly 03 as an example. The image acquisition device acquires the first original image signal and the first original image signal. The second process of the original image signal is: when the image sensor 01 performs the first preset exposure, the first light supplement device 021 performs near-infrared supplement light, and at this time the ambient light in the shooting scene and the first light supplement device 021 perform near-infrared light After the near-infrared light reflected by objects in the scene passes through the lens 07 and the first filter 031 when filling light, the image sensor 01 generates the first original image signal through the first preset exposure; the second preset is performed on the image sensor 01 During exposure, the first light-filling device 021 does not perform near-infrared light-filling. At this time, after the ambient light in the shooting scene passes through the lens 07 and the first filter 031, the image sensor 01 generates the second original light through the second preset exposure. For image signals, there can be M first preset exposures and N second preset exposures in one frame period of image acquisition, and there can be multiple combinations of sorts between the first preset exposure and the second preset exposure. In a frame period of image acquisition, the values of M and N and the magnitude relationship between M and N can be set according to actual requirements. For example, the values of M and N may be equal or different.
另外,由于环境光中的近红外光的强度低于第一补光装置021发出的近红外光的强度,因此,第一补光装置021进行近红外补光时通过第一滤光片031的近红外光的强度高于第一补光装置021未进行近红外补光时通过第一滤光片031的近红外光的强度。In addition, since the intensity of the near-infrared light in the ambient light is lower than the intensity of the near-infrared light emitted by the first light supplement device 021, the first light supplement device 021 passes through the first filter 031 when performing near-infrared supplement light. The intensity of the near-infrared light is higher than the intensity of the near-infrared light passing through the first filter 031 when the first light supplement device 021 is not performing near-infrared light supplementation.
基于上述描述,第一补光装置021在第一预设曝光的部分曝光时间段内进行近红外补光,在第一预设曝光的曝光时间段内,通过第一滤光片031的近红外光可以包括第一补光装置021进行近红外光补光时经物体反射进入第一滤光片031的近红外光,并且第一滤光片031还可以使环境光中的可见光和近红外光通过。但由于第一补光装置021进行近红外光补光时经物体反射进入第一滤光片031的近红外光的强度较强,而可见光的强度较弱,图像传感器01感应到的近红外光的强度较强。因此,根据第一预设曝光产生并输出的第一原始图像信号主要包括近红外光亮度信息。另外,基于上述描述,在第二预设曝光的整个曝光时间段内第一补光装置021不进行近红外补光,在第二预设曝光的曝光时间段内,通过第一滤光片031的近红外光为环境光中的近红外光。由于没有第一补光装置021进行补光的近红外光,所以此时通过第一滤光片031的近红外光的强度较弱,而可见光的强度较强,图像传感器01可以感应到的可见光的强度较强。因此,根据第二预设曝光产生并输出的第二原始图像信号主要包括可见光亮度信息。Based on the above description, the first light-filling device 021 performs near-infrared light-filling during the partial exposure time period of the first preset exposure, and passes the near-infrared light of the first filter 031 during the exposure time period of the first preset exposure The light may include the near-infrared light reflected by the object into the first filter 031 when the first light supplement device 021 performs near-infrared light supplement light, and the first filter 031 can also make visible light and near-infrared light in the ambient light by. However, since the first light supplement device 021 performs near-infrared light supplementation, the intensity of the near-infrared light reflected by the object and entering the first filter 031 is relatively strong, while the intensity of visible light is relatively weak, the near-infrared light sensed by the image sensor 01 The intensity is strong. Therefore, the first original image signal generated and output according to the first preset exposure mainly includes near-infrared light brightness information. In addition, based on the above description, the first light supplement device 021 does not perform near-infrared supplement light during the entire exposure time period of the second preset exposure, and passes through the first filter 031 during the exposure time period of the second preset exposure. The near-infrared light of is the near-infrared light in the ambient light. Since there is no near-infrared light provided by the first light-filling device 021, the intensity of the near-infrared light that passes through the first filter 031 is weak at this time, while the intensity of visible light is strong, and the visible light that the image sensor 01 can sense The intensity is strong. Therefore, the second original image signal generated and output according to the second preset exposure mainly includes visible light brightness information.
第一补光装置021进行近红外补光的波段范围可以为第二参考波段范围, 第二参考波段范围可以为700纳米~800纳米,或者900纳米~1000纳米等,本申请实施例对此不做限定。另外,入射到第一滤光片031的近红外光的波段范围可以为第一参考波段范围,第一参考波段范围为650纳米~1100纳米,作为一种示例,第一参考波段范围可以为650纳米~1000纳米。其中,需要说明的是:第二参考波段范围可以为700纳米~800纳米表示第二参考波段范围为大于或等于700纳米且小于或等于800纳米的范围,或为大于700纳米且小于800纳米的范围,或为大于或等于700纳米且小于800纳米的范围,或为大于700纳米且小于或等于800纳米的范围。对于本文其他地方出现的类似的范围,其含义与此相同,不再一一说明。The wavelength range of the first light supplement device 021 for near-infrared supplement light may be the second reference wavelength range, which may be 700 nanometers to 800 nanometers, or 900 nanometers to 1000 nanometers, etc. This is not the case in this application. Make a limit. In addition, the wavelength range of the near-infrared light incident on the first filter 031 may be the first reference wavelength range, and the first reference wavelength range is 650 nm to 1100 nm. As an example, the first reference wavelength range may be 650 nm. Nano ~ 1000 nm. Among them, it should be noted that: the second reference waveband range may be 700 nm to 800 nm, which means that the second reference waveband range is greater than or equal to 700 nm and less than or equal to 800 nm, or is greater than 700 nm and less than 800 nm. The range is a range greater than or equal to 700 nanometers and less than 800 nanometers, or a range greater than 700 nanometers and less than or equal to 800 nanometers. For similar scopes appearing elsewhere in this article, the meanings are the same, so we will not explain them one by one.
由于在第一预设曝光的曝光时间段内,通过第一滤光片031的近红外光可以包括第一补光装置021进行近红外光补光时经物体反射进入第一滤光片031的近红外光,因此,通过第一滤光片031的近红外光的中心波长和/或波段宽度可以与第一补光装置021进行近红外补光的中心波长匹配,也即是,第一补光装置021进行近红外补光的中心波长为设定特征波长或者落在设定特征波长范围时,通过第一滤光片031的近红外光的中心波长和/或波段宽度达到约束条件。Since in the exposure time period of the first preset exposure, the near-infrared light passing through the first filter 031 may include the first light-filling device 021 that is reflected by the object and enters the first filter 031 when the near-infrared light is filled. Near-infrared light, therefore, the center wavelength and/or band width of the near-infrared light passing through the first filter 031 can be matched with the center wavelength of the near-infrared light supplemented by the first light supplement device 021, that is, the first light supplement When the center wavelength of the near-infrared complementary light performed by the optical device 021 is the set characteristic wavelength or falls within the set characteristic wavelength range, the center wavelength and/or the band width of the near-infrared light passing through the first filter 031 meet the constraint conditions.
第一补光装置021进行近红外补光的中心波长和/或波段范围可以有多种选择,本申请实施例中,为了使第一补光装置021和第一滤光片031有更好的配合,可以对第一补光装置021进行近红外补光的中心波长进行设计,以及对第一滤光片031的特性进行选择,从而使得在第一补光装置021进行近红外补光的中心波长为设定特征波长或者落在设定特征波长范围时,通过第一滤光片031的近红外光的中心波长和/或波段宽度可以达到约束条件。该约束条件主要是用来约束通过第一滤光片031的近红外光的中心波长尽可能准确,以及通过第一滤光片031的近红外光的波段宽度尽可能窄,从而避免出现因近红外光波段宽度过宽而引入波长干扰。There are multiple choices for the center wavelength and/or wavelength range of the first light supplement device 021 for near-infrared supplement light. In the embodiment of the present application, in order to make the first light supplement device 021 and the first filter 031 better With cooperation, the center wavelength of the near-infrared supplement light of the first light supplement device 021 can be designed, and the characteristics of the first filter 031 can be selected, so that the center of the first light supplement device 021 for the near-infrared light supplement When the wavelength is the set characteristic wavelength or falls within the set characteristic wavelength range, the center wavelength and/or band width of the near-infrared light passing through the first filter 031 can meet the constraint conditions. This constraint is mainly used to restrict the center wavelength of the near-infrared light passing through the first filter 031 as accurately as possible, and the band width of the near-infrared light passing through the first filter 031 as narrow as possible, so as to avoid The infrared light band width is too wide and introduces wavelength interference.
其中,第一补光装置021进行近红外补光的中心波长可以为第一补光装置021发出的近红外光的光谱中能量最大的波长范围内的平均值,也可以理解为第一补光装置021发出的近红外光的光谱中能量超过一定阈值的波长范围内的中间位置处的波长。Wherein, the center wavelength of the near-infrared light supplemented by the first light-filling device 021 may be the average value in the wavelength range of the highest energy in the spectrum of the near-infrared light emitted by the first light-filling device 021, or it may be understood as the first light supplement The wavelength of the near-infrared light emitted by the device 021 at the middle position in the wavelength range where the energy exceeds a certain threshold.
其中,设定特征波长或者设定特征波长范围可以预先设置。作为一种示例,第一补光装置021进行近红外补光的中心波长可以为750±10纳米的波长范围内的任一波长;或者,第一补光装置021进行近红外补光的中心波长为780±10纳 米的波长范围内的任一波长;或者,第一补光装置021进行近红外补光的中心波长为940±10纳米的波长范围内的任一波长。也即是,设定特征波长范围可以为750±10纳米的波长范围、或者780±10纳米的波长范围、或者940±10纳米的波长范围。示例性地,第一补光装置021进行近红外补光的中心波长为940纳米,第一补光装置021进行近红外补光的波长和相对强度之间的关系如图11所示。从图11可以看出,第一补光装置021进行近红外补光的波段范围为900纳米~1000纳米,其中,在940纳米至960之间,近红外光的相对强度最高。Among them, the set characteristic wavelength or the set characteristic wavelength range can be preset. As an example, the center wavelength of the first light supplement device 021 for near-infrared supplement light may be any wavelength within the wavelength range of 750±10 nanometers; or, the center wavelength of the first light supplement device 021 for near-infrared supplement light It is any wavelength within the wavelength range of 780±10 nanometers; or, the center wavelength of the first light supplement device 021 for near-infrared supplement light is any wavelength within the wavelength range of 940±10 nanometers. That is, the set characteristic wavelength range may be a wavelength range of 750±10 nanometers, or a wavelength range of 780±10 nanometers, or a wavelength range of 940±10 nanometers. Exemplarily, the center wavelength of the near-infrared supplement light performed by the first light supplement device 021 is 940 nanometers, and the relationship between the wavelength and the relative intensity of the near-infrared supplement light performed by the first light supplement device 021 is shown in FIG. 11. It can be seen from FIG. 11 that the wavelength range of the first light supplement device 021 for near-infrared supplement light is 900 nanometers to 1000 nanometers, and between 940 nanometers and 960 nanometers, the relative intensity of near-infrared light is the highest.
由于在第一预设曝光的曝光时间段内,通过第一滤光片031的近红外光大部分为第一补光装置021进行近红外补光时经物体反射进入第一滤光片031的近红外光,因此,在一些实施例中,上述约束条件可以包括:通过第一滤光片031的近红外光的中心波长与第一补光装置021进行近红外补光的中心波长之间的差值位于波长波动范围内,作为一种示例,波长波动范围可以为0~20纳米。Since in the exposure time period of the first preset exposure, most of the near-infrared light passing through the first filter 031 is the near-infrared light of the first light supplement device 021 when it is reflected by the object and enters the near-infrared light of the first filter 031. Infrared light, therefore, in some embodiments, the above constraint conditions may include: the difference between the center wavelength of the near-infrared light passing through the first filter 031 and the center wavelength of the near-infrared light that the first light supplement device 021 performs The value lies in the wavelength fluctuation range. As an example, the wavelength fluctuation range may be 0-20 nanometers.
其中,通过第一滤光片031的近红外补光的中心波长可以为第一滤光片031的近红外光通过率曲线中的近红外波段范围内波峰位置处的波长,也可以理解为第一滤光片031的近红外光通过率曲线中通过率超过一定阈值的近红外波段范围内的中间位置处的波长。Among them, the center wavelength of the near-infrared supplement light passing through the first filter 031 can be the wavelength at the peak position in the near-infrared band in the near-infrared light pass rate curve of the first filter 031, or it can be understood as the first A filter 031 is the wavelength at the middle position in the near-infrared waveband whose pass rate exceeds a certain threshold in the near-infrared light pass rate curve.
为了避免通过第一滤光片031的近红外光的波段宽度过宽而引入波长干扰,在一些实施例中,上述约束条件可以包括:第一波段宽度可以小于第二波段宽度。其中,第一波段宽度是指通过第一滤光片031的近红外光的波段宽度,第二波段宽度是指被第一滤光片031阻挡的近红外光的波段宽度。应当理解的是,波段宽度是指光线的波长所处的波长范围的宽度。例如,通过第一滤光片031的近红外光的波长所处的波长范围为700纳米~800纳米,那么第一波段宽度为800纳米减去700纳米,即100纳米。换句话说,通过第一滤光片031的近红外光的波段宽度小于第一滤光片031阻挡的近红外光的波段宽度。In order to avoid the introduction of wavelength interference due to the excessively wide band width of the near-infrared light passing through the first filter 031, in some embodiments, the above constraint conditions may include: the first band width may be smaller than the second band width. The first waveband width refers to the waveband width of the near-infrared light passing through the first filter 031, and the second waveband width refers to the waveband width of the near-infrared light blocked by the first filter 031. It should be understood that the wavelength band width refers to the width of the wavelength range in which the wavelength of light lies. For example, if the wavelength of the near-infrared light passing through the first filter 031 is in the wavelength range of 700 nanometers to 800 nanometers, then the first wavelength band width is 800 nanometers minus 700 nanometers, that is, 100 nanometers. In other words, the wavelength band width of the near-infrared light passing through the first filter 031 is smaller than the wavelength band width of the near-infrared light blocked by the first filter 031.
由上述描述可知,图像传感器01在第二预设曝光的曝光时间段内产生并输出的第二原始图像信号主要包括可见光亮度信息。但由于在第二预设曝光的曝光时间段内,第一滤光片031不仅可以使环境光中的可见光通过,还可以使环境光中经物体反射后进入第一滤光片031的近红外光通过。因此,为了使图像传感器01产生并输出的第二原始图像信号不会包含过多的近红外光亮度信息,使第二原始图像信号的质量更高,需要减少第一滤光片031对可见光的阻挡,为此使第一滤光片031的第一波段宽度可以小于第二滤光片031的第二波段宽 度。其中,第一波段宽度是指通过第一滤光片031的近红外光的波段宽度,第二波段宽度是指被第一滤光片031阻挡的近红外光的波段宽度。应当理解的是,波段宽度是指光线的波长所处的波长范围的宽度。例如,通过第一滤光片031的近红外光的波长所处的波长范围为700纳米~800纳米,那么第一波段宽度为800纳米减去700纳米,即100纳米。换句话说,通过第一滤光片031的近红外光的波段宽度小于第一滤光片031阻挡的近红外光的波段宽度。这样,在第二预设曝光的曝光时间段内,从第一滤光片031通过的近红外的强度相对较弱,而通过的可见光的强度相对较强,图像传感器01可以感应到的近红外光的强度相对较弱,从而使得产生并输出的第二原始图像信号不会包含过多的近红外光亮度信息,进而使得第二原始图像信号的质量更高。It can be seen from the above description that the second original image signal generated and output by the image sensor 01 during the exposure time period of the second preset exposure mainly includes visible light brightness information. However, due to the exposure time period of the second preset exposure, the first filter 031 can not only pass the visible light in the ambient light, but also can make the ambient light reflected by the object enter the near infrared of the first filter 031 The light passes. Therefore, in order to prevent the second original image signal generated and output by the image sensor 01 from containing too much near-infrared light brightness information and to make the quality of the second original image signal higher, it is necessary to reduce the effect of the first filter 031 on visible light. For this reason, the first waveband width of the first filter 031 can be smaller than the second waveband width of the second filter 031. The first waveband width refers to the waveband width of the near-infrared light passing through the first filter 031, and the second waveband width refers to the waveband width of the near-infrared light blocked by the first filter 031. It should be understood that the wavelength band width refers to the width of the wavelength range in which the wavelength of light lies. For example, if the wavelength of the near-infrared light passing through the first filter 031 is in the wavelength range of 700 nanometers to 800 nanometers, the first wavelength band width is 800 nanometers minus 700 nanometers, that is, 100 nanometers. In other words, the wavelength band width of the near-infrared light passing through the first filter 031 is smaller than the wavelength band width of the near-infrared light blocked by the first filter 031. In this way, during the exposure time period of the second preset exposure, the intensity of the near-infrared light passing through the first filter 031 is relatively weak, and the intensity of the visible light passing through is relatively strong, and the near-infrared light that the image sensor 01 can sense The intensity of the light is relatively weak, so that the generated and output second original image signal does not contain too much near-infrared light brightness information, thereby making the quality of the second original image signal higher.
例如,参见图12,图12为第一滤光片031可以通过的光的波长与通过率之间的关系示意图。入射到第一滤光片031的近红外光的波段范围为650纳米~1100纳米,第一滤光片031可以使波长位于380纳米~650纳米的可见光通过,以及波长位于900纳米~1000纳米的近红外光通过,阻挡波长位于650纳米~900纳米的近红外光。也即是,第一波段宽度为1000纳米减去900纳米,即100纳米。第二波段宽度为900纳米减去650纳米,加上1100纳米减去1000纳米,即350纳米。100纳米小于350纳米,即通过第一滤光片031的近红外光的波段宽度小于第一滤光片031阻挡的近红外光的波段宽度。以上关系曲线仅是一种示例,对于不同的滤光片,能够通过滤光片的近红光波段的波段范围可以有所不同,被滤光片阻挡的近红外光的波段范围也可以有所不同。For example, referring to FIG. 12, FIG. 12 is a schematic diagram of the relationship between the wavelength of the light that can pass through the first filter 031 and the pass rate. The wavelength range of the near-infrared light incident on the first filter 031 ranges from 650 nanometers to 1100 nanometers. The first filter 031 can pass visible light with a wavelength between 380 nanometers and 650 nanometers, as well as those with a wavelength between 900 nanometers and 1000 nanometers. Near-infrared light passes through and blocks near-infrared light with a wavelength between 650 nanometers and 900 nanometers. That is, the width of the first band is 1000 nanometers minus 900 nanometers, that is, 100 nanometers. The second band width is 900 nm minus 650 nm, plus 1100 nm minus 1000 nm, or 350 nm. 100 nanometers are smaller than 350 nanometers, that is, the wavelength band width of the near-infrared light passing through the first filter 031 is smaller than the wavelength band width of the near-infrared light blocked by the first filter 031. The above relationship curve is just an example. For different filters, the wavelength range of the near-red light that can pass through the filter can be different, and the wavelength range of the near-infrared light blocked by the filter can also be different. different.
为了使图像传感器01产生并输出的第二原始图像信号不会包含过多的近红外光亮度信息,使第二原始图像信号的质量更高,该约束条件包括:通过第一滤光片031的近红外光的半带宽小于或等于50纳米。其中,半带宽是指通过率大于50%的近红外光的波段宽度。In order to prevent the second original image signal generated and output by the image sensor 01 from containing too much near-infrared light brightness information, and to make the quality of the second original image signal higher, the constraints include: the first filter 031 The half-bandwidth of near-infrared light is less than or equal to 50 nanometers. Among them, the half bandwidth refers to the band width of near-infrared light with a pass rate greater than 50%.
为了使图像传感器01产生并输出的第二原始图像信号不会包含过多的近红外光亮度信息,使第二原始图像信号的质量更高,该约束条件为:第一滤光片031的第三波段宽度可以小于参考波段宽度。其中,第三波段宽度是指通过率大于设定比例的近红外光的波段宽度,作为一种示例,参考波段宽度可以为50纳米~150纳米的波段范围内的任一波段宽度。设定比例可以为30%~50%中的任一比例,当然设定比例还可以根据使用需求设置为其他比例,本申请实施例对此不做限定。换句话说,通过率大于设定比例的近红外光的波段宽度可以小于参 考波段宽度。这样,在第二预设曝光的曝光时间段内,图像传感器01可以感应到的近红外光的强度相对较弱,从而使得产生并输出的第二原始图像信号不会包含过多的近红外光亮度信息,进而使得第二原始图像信号的质量更高。In order to prevent the second original image signal generated and output by the image sensor 01 from containing too much near-infrared light brightness information and to make the quality of the second original image signal higher, the constraint condition is: the first filter 031 The three-band width can be smaller than the reference band width. The third waveband width refers to the waveband width of near-infrared light with a pass rate greater than a set ratio. As an example, the reference waveband width may be any waveband width in the range of 50 nm to 150 nm. The set ratio can be any ratio from 30% to 50%. Of course, the set ratio can also be set to other ratios according to usage requirements, which is not limited in the embodiment of the present application. In other words, the band width of the near-infrared light whose pass rate is greater than the set ratio can be smaller than the reference band width. In this way, during the exposure period of the second preset exposure, the intensity of the near-infrared light that the image sensor 01 can sense is relatively weak, so that the second original image signal generated and output will not contain too much near-infrared light. The brightness information in turn makes the quality of the second original image signal higher.
例如,参见图12,入射到第一滤光片031的近红外光的波段为650纳米~1100纳米,设定比例为30%,参考波段宽度为100纳米。从图12可以看出,在650纳米~1100纳米的近红外光的波段中,通过率大于30%的近红外光的波段宽度明显小于100纳米。For example, referring to FIG. 12, the wavelength band of the near-infrared light incident on the first filter 031 is 650 nanometers to 1100 nanometers, the setting ratio is 30%, and the reference wavelength band width is 100 nanometers. It can be seen from FIG. 12 that in the wavelength band of near-infrared light from 650 nanometers to 1100 nanometers, the band width of near-infrared light with a pass rate greater than 30% is significantly less than 100 nanometers.
由于第一补光装置021至少在第一预设曝光的部分曝光时间段内提供近红外补光,在第二预设曝光的整个曝光时间段内不提供近红外补光,而第一预设曝光和第二预设曝光为图像传感器01的多次曝光中的其中两次曝光,也即是,第一补光装置021在图像传感器01的部分曝光的曝光时间段内提供近红外补光,在图像传感器01的另外一部分曝光的曝光时间段内不提供近红外补光。所以,第一补光装置021在单位时间长度内的补光次数可以低于图像传感器01在该单位时间长度内的曝光次数,其中,每相邻两次补光的间隔时间段内,间隔一次或多次曝光。这样可以减少第一补光装置021的补光次数,从而延长第一补光装置021的使用寿命。Since the first light supplement device 021 provides near-infrared supplementary light at least during a partial exposure period of the first preset exposure, it does not provide near-infrared supplementary light during the entire exposure period of the second preset exposure, and the first preset exposure The exposure and the second preset exposure are two of the multiple exposures of the image sensor 01, that is, the first light supplement device 021 provides near-infrared supplement light during the exposure period of the partial exposure of the image sensor 01, The near-infrared supplementary light is not provided during the exposure time period when another part of the image sensor 01 is exposed. Therefore, the number of times of supplementary light in the unit time length of the first supplementary light device 021 may be lower than the number of exposures of the image sensor 01 in the unit time length, wherein, within the interval of two adjacent times of supplementary light, there is one interval. Or multiple exposures. In this way, the number of light supplements of the first light supplement device 021 can be reduced, thereby prolonging the service life of the first light supplement device 021.
需要说明的是,由于人眼容易将第一补光装置021进行近红外光补光的颜色与交通灯中的红灯的颜色混淆,所以,参见图13,补光器02还可以包括第二补光装置022,第二补光装置022用于进行可见光补光。这样,如果第二补光装置022至少在第一预设曝光的部分曝光时间提供可见光补光,也即是,至少在第一预设曝光的部分曝光时间段内进行近红外补光和可见光补光,这两种光的混合颜色可以区别于交通灯中的红灯的颜色,从而避免了人眼将补光器02进行近红外补光的颜色与交通灯中的红灯的颜色混淆。另外,如果第二补光装置022在第二预设曝光的曝光时间段内提供可见光补光,由于第二预设曝光的曝光时间段内可见光的强度不是特别高,因此,在第二预设曝光的曝光时间段内进行可见光补光时,还可以提高第二原始图像信号中的可见光的亮度,进而保证图像采集的质量。It should be noted that, since the human eye can easily confuse the color of the near-infrared light of the first light supplement device 021 with the color of the red light in the traffic light, referring to FIG. 13, the light supplement 02 may also include a second The light supplement device 022, and the second light supplement device 022 is used to supplement light with visible light. In this way, if the second light supplement device 022 provides visible light supplement light at least during part of the exposure time of the first preset exposure, that is, it performs near-infrared supplement light and visible light supplement light at least during the partial exposure time period of the first preset exposure. Light, the mixed color of the two lights can be distinguished from the color of the red light in the traffic light, so as to avoid the human eye from confusing the color of the light fill 02 for near-infrared fill light with the color of the red light in the traffic light. In addition, if the second light supplement device 022 provides visible light supplement light during the exposure time period of the second preset exposure, since the intensity of visible light is not particularly high during the exposure time period of the second preset exposure, When the visible light supplement is performed during the exposure time period of the exposure, the brightness of the visible light in the second original image signal can also be increased, thereby ensuring the quality of image collection.
在一些实施例中,第二补光装置022可以用于以常亮方式进行可见光补光,其中,至少在第一预设曝光的部分曝光时间段内进行可见光补光,也可以在第二预设曝光的整个曝光时间段内进行可见光补光。当第二补光装置022常亮方式进行可见光补光时,不仅可以避免人眼将第一补光装置021进行近红外补光 的颜色与交通灯中的红灯的颜色混淆,还可以提高第二原始图像信号中的可见光的亮度,进而保证图像采集的质量。或者,第二补光装置022可以用于以频闪方式进行可见光补光,其中,至少在第一预设曝光的整个曝光时间段内不进行可见光补光,在第二预设曝光的曝光时间段内进行可见光补光。或者,第二补光装置022用于以频闪方式进行可见光补光,其中,至少在第一预设曝光的部分曝光时间段内进行可见光补光,在第二预设曝光的整个曝光时间段内不进行可见光补光。In some embodiments, the second light supplement device 022 may be used to perform visible light supplement light in a constant light mode, wherein the visible light supplement light is performed at least during a part of the exposure time period of the first preset exposure, or it may be performed during the second preset exposure. It is assumed that the visible light fill light is performed during the entire exposure time period of the exposure. When the second light supplement device 022 performs visible light supplement light in a constant light mode, it can not only prevent human eyes from confusing the color of the first light supplement device 021 for near-infrared supplement light with the color of the red light in the traffic light, but also can improve the 2. The brightness of the visible light in the original image signal to ensure the quality of image acquisition. Alternatively, the second light supplement device 022 can be used to perform visible light supplement light in a stroboscopic manner, where visible light supplement light is not performed at least during the entire exposure time period of the first preset exposure, and the second preset exposure time Visible light fill light in the segment. Alternatively, the second light supplement device 022 is used to perform visible light supplement light in a stroboscopic manner, wherein the visible light supplement light is performed at least during a partial exposure time period of the first preset exposure, and the visible light supplement light is performed during the entire exposure time period of the second preset exposure. There is no visible light fill light inside.
当第二补光装置022以频闪方式进行可见光补光时,可以避免人眼将第一补光装置021进行近红外补光的颜色与交通灯中的红灯的颜色混淆,或者,可以提高第二原始图像信号中的可见光的亮度,进而保证图像采集的质量,而且还可以减少第二补光装置022的补光次数,从而延长第二补光装置022的使用寿命。When the second light supplement device 022 performs visible light supplement light in a stroboscopic manner, it can prevent human eyes from confusing the color of the first light supplement device 021 for near-infrared supplement light with the color of the red light in the traffic light, or can improve The brightness of the visible light in the second original image signal in turn ensures the quality of image acquisition, and can also reduce the number of times of supplementary light of the second supplementary light device 022, thereby prolonging the service life of the second supplementary light device 022.
作为一种示例,对于上述镜头07,镜头07用于对物体反射的光线进行聚焦;As an example, for the aforementioned lens 07, the lens 07 is used to focus the light reflected by the object;
滤光组件03中的第一滤光片031,用于在第一预设曝光的曝光时间段内从聚焦的光线中过滤出第一补光装置021产生的近红外光以及环境光中的可见光和近红外光,在第二预设曝光的曝光时间段内从聚焦的光线中过滤出环境光中的可见光和近红外光。The first filter 031 in the filter assembly 03 is used to filter out the near-infrared light generated by the first light supplement device 021 and the visible light in the ambient light from the focused light within the exposure time period of the first preset exposure And near-infrared light, the visible light and near-infrared light in the ambient light are filtered out from the focused light within the exposure time period of the second preset exposure.
参见图2,滤光组件03包括第一滤光片031、第二滤光片032和切换部件033;第一滤光片031和第二滤光片032均与切换部件033连接。Referring to FIG. 2, the filter assembly 03 includes a first filter 031, a second filter 032 and a switching component 033; both the first filter 031 and the second filter 032 are connected to the switching component 033.
第一滤光片031,用于通过可见光波段和近红外光波段的光,该近红外光波段的光是第一参考滤段范围内的光;The first filter 031 is used to pass light in the visible light waveband and the near-infrared light waveband, and the light in the near-infrared light waveband is the light in the first reference filter range;
第二滤光片032,用于通过可见光波段的光;The second filter 032 is used to pass light in the visible light band;
在光线较强的外界环境中,第一补光装置021可以停止进行近红外光补光。例如,在白天,光线较强,第一补光装置021可以停止进行近红外光补光。而在光线较弱的外界环境中,第一补光装置021以频闪方式进行近红外补光。例如,在夜晚光线较弱,第一补光装置021以频闪方式进行近红外补光。In an external environment with strong light, the first light supplement device 021 can stop performing near-infrared light supplement light. For example, in the daytime when the light is strong, the first light supplement device 021 may stop performing near-infrared light supplement light. In an external environment with weak light, the first light supplement device 021 performs near-infrared supplement light in a strobe mode. For example, when the light is weak at night, the first supplementary light device 021 performs near-infrared supplementary light in a strobe mode.
所以切换部件033,用于在光线强度较弱的外界环境中将第一滤光片031切换到图像传感器01的入光侧,在光线强度较强的外界环境中将第二滤光片032切换图像传感器01的入光侧。Therefore, the switching component 033 is used to switch the first filter 031 to the light incident side of the image sensor 01 in an external environment with weak light intensity, and to switch the second filter 032 in an external environment with strong light intensity The light incident side of the image sensor 01.
在第二滤光片032切换到图像传感器01的入光侧之后,第二滤光片032使可见光波段的光通过,阻挡近红外光波段的光,图像传感器01,用于通过曝光 产生并输出第三图像信号。After the second filter 032 is switched to the light incident side of the image sensor 01, the second filter 032 allows light in the visible light band to pass and blocks light in the near-infrared light band. The image sensor 01 is used to generate and output through exposure The third image signal.
作为一种实例,参见图1和2,该装置还可以包括镜头07,此时滤光组件03可以位于镜头07和图像传感器01之间,且图像传感器01位于滤光组件03的出光侧。或者,镜头07位于滤光组件03与图像传感器01之间,且图像传感器01位于镜头07的出光侧。作为一种示例,第一滤光片031可以是滤光薄膜,这样,当滤光组件03位于镜头07和图像传感器01之间时,第一滤光片031可以贴在镜头07的出光侧的表面,或者,当镜头07位于滤光组件03与图像传感器01之间时,第一滤光片031可以贴在镜头07的入光侧的表面。As an example, referring to FIGS. 1 and 2, the device may further include a lens 07. In this case, the filter assembly 03 may be located between the lens 07 and the image sensor 01, and the image sensor 01 is located on the light exit side of the filter assembly 03. Alternatively, the lens 07 is located between the filter assembly 03 and the image sensor 01, and the image sensor 01 is located on the light exit side of the lens 07. As an example, the first filter 031 can be a filter film. In this way, when the filter assembly 03 is located between the lens 07 and the image sensor 01, the first filter 031 can be attached to the light emitting side of the lens 07 The surface, or, when the lens 07 is located between the filter assembly 03 and the image sensor 01, the first filter 031 may be attached to the surface of the lens 07 on the light incident side.
切换部件03将第二滤光片032切换到图像传感器01的入光侧或者将第一滤光片031切换到图像传感器01的入光侧;在第二滤光片032切换到图像传感器的入光侧之后,第一补光装置021处于关闭状态;第二滤光片032用于阻挡近红外光波段的光,使可见光波段的光通过;图像传感器01,用于通过曝光产生并输出第三原始图像信号。The switching component 03 switches the second filter 032 to the light incident side of the image sensor 01 or switches the first filter 031 to the light incident side of the image sensor 01; in the second filter 032, it switches to the light incident side of the image sensor. After the light side, the first supplementary light device 021 is in the closed state; the second filter 032 is used to block the light in the near-infrared light band and pass the light in the visible light band; the image sensor 01 is used to generate and output the third light through exposure Original image signal.
需要说明的是,切换部件033用于将第二滤光片032切换到图像传感器01的入光侧,也可以理解为第二滤光片032替换第一滤光片031在图像传感器01的入光侧的位置。在第二滤光片032切换到图像传感器01的入光侧之后,第一补光装置021可以处于关闭状态也可以处于开启状态。It should be noted that the switching component 033 is used to switch the second filter 032 to the light incident side of the image sensor 01, and can also be understood as the second filter 032 replacing the first filter 031 in the image sensor 01. Position on the light side. After the second light filter 032 is switched to the light incident side of the image sensor 01, the first light supplement device 021 may be in the off state or in the on state.
光线强度较强的外界环境可以指外界环境的光线强度大于或等于预设强度阈值,光线强度较弱的外界环境可以指外界环境的光线强度小于预设强度阈值。An external environment with strong light intensity may mean that the light intensity of the external environment is greater than or equal to a preset intensity threshold, and an external environment with weak light intensity may mean that the light intensity of the external environment is less than the preset intensity threshold.
作为一种示例,切换部件033在光线强度较弱的外界环境(如夜晚)中切换第一滤光片031位于镜头07和图像传感器01之间,物体反射的光线传输路径经过镜头07、第一滤光片031和图像传感器01。由于第一滤光片031可以从光线中通过环境光中的可见光和近红外光,以及物体反射的第一补光装置021产生的近红外光,这样在第一预设曝光的曝光时间段内,第一滤光片031可以从镜头07聚焦的光线中通过环境光中被物体反射的可见光和近红外光,以及被物体反射的第一补光装置021产生的近红外光,并将通过的可见光和近红外光传输给图像传感器01。在第二预设曝光的曝光时间段内,第一滤光片031可以从镜头07聚焦的光线中通过环境光中被物体反射的可见光和近红外光,并将过滤出的环境光中可见光和近红外光传输给图像传感器01。As an example, the switching component 033 switches in an external environment with weak light intensity (such as night). The first filter 031 is located between the lens 07 and the image sensor 01, and the light transmission path reflected by the object passes through the lens 07 and the first filter. Filter 031 and image sensor 01. Since the first filter 031 can pass the visible light and the near-infrared light in the ambient light from the light, and the near-infrared light generated by the first light-filling device 021 reflected by the object, it is within the exposure time period of the first preset exposure The first filter 031 can pass the visible light and near-infrared light reflected by the object in the ambient light from the light focused by the lens 07, and the near-infrared light generated by the first light-filling device 021 reflected by the object, and will pass through Visible light and near-infrared light are transmitted to the image sensor 01. In the exposure time period of the second preset exposure, the first filter 031 can pass the visible light and near-infrared light reflected by the object in the ambient light from the light focused by the lens 07, and filter out the visible light and the near-infrared light in the ambient light. The near infrared light is transmitted to the image sensor 01.
作为一种示例,切换部件033在光线强度较强的外界环境(如白天)中切换第二滤光片032位于镜头07和图像传感器01之间,被物体反射的光线传输 路径经过镜头07、第二滤光片032和图像传感器01。由于第二滤光片032可以从光线中通过可见光,这样第二滤光片032可以从镜头07聚焦的光线中通过可见光,并将通过的可见光传输给图像传感器01。As an example, the switching component 033 switches in an external environment with strong light intensity (such as daytime). The second filter 032 is located between the lens 07 and the image sensor 01, and the light transmission path reflected by the object passes through the lens 07 and the first filter. Two filters 032 and image sensor 01. Since the second filter 032 can pass visible light from the light, the second filter 032 can pass the visible light from the light focused by the lens 07 and transmit the passed visible light to the image sensor 01.
在一些实施例中,图像传感器进行多次曝光是指一个帧周期内的多次曝光,也即是,图像传感器01在一个帧周期内进行多次曝光,从而产生并输出至少一帧第一原始图像信号和至少一帧第二原始图像信号。例如,1秒内包括25个帧周期,图像传感器01在每个帧周期内进行多次曝光,从而产生至少一帧第一原始图像信号和至少一帧第二原始图像信号,将一个帧周期内产生的第一原始图像信号和第二原始图像信号称为一组图像信号,这样,25个帧周期内就会产生25组图像信号。其中,第一预设曝光和第二预设曝光可以是一个帧周期内多次曝光中相邻的两次曝光,也可以是一个帧周期内多次曝光中不相邻的两次曝光,本申请实施例对此不做限定。In some embodiments, the multiple exposure performed by the image sensor refers to multiple exposures in one frame period, that is, the image sensor 01 performs multiple exposures in one frame period, thereby generating and outputting at least one frame of the first original The image signal and at least one frame of the second original image signal. For example, 1 second includes 25 frame periods, and the image sensor 01 performs multiple exposures in each frame period, thereby generating at least one frame of the first original image signal and at least one frame of the second original image signal. The generated first original image signal and second original image signal are called a group of image signals, so that 25 groups of image signals are generated within 25 frame periods. Among them, the first preset exposure and the second preset exposure can be two adjacent exposures in multiple exposures in one frame period, or two non-adjacent exposures in multiple exposures in one frame period. The application embodiment does not limit this.
第一原始图像信号是第一预设曝光产生并输出的,第二原始图像信号是第二预设曝光产生并输出的,在产生并输出第一原始图像信号和第二原始图像信号之后,可以对第一原始图像信号和第二原始图像信号进行处理。在某些情况下,第一原始图像信号和第二原始图像信号的用途可能不同,所以在一些实施例中,第一预设曝光与第二预设曝光的至少一个曝光参数可以不同。作为一种示例,该至少一个曝光参数可以包括但不限于曝光时间、模拟增益、数字增益、光圈大小中的一种或多种。其中,曝光增益包括模拟增益和/或数字增益。The first original image signal is generated and output by the first preset exposure, and the second original image signal is generated and output by the second preset exposure. After the first original image signal and the second original image signal are generated and output, The first original image signal and the second original image signal are processed. In some cases, the purposes of the first original image signal and the second original image signal may be different, so in some embodiments, at least one exposure parameter of the first preset exposure and the second preset exposure may be different. As an example, the at least one exposure parameter may include but is not limited to one or more of exposure time, analog gain, digital gain, and aperture size. Wherein, the exposure gain includes analog gain and/or digital gain.
在一些实施例中。可以理解的是,与第二预设曝光相比,在进行近红外补光时,图像传感器01感应到的近红外光的强度较强,相应地产生并输出的第一原始图像信号包括的近红外光的亮度也会较高。但是较高亮度的近红外光不利于外部场景信息的获取。而且在一些实施例中,曝光增益越大,图像传感器01输出的图像信号的亮度越高,曝光增益越小,图像传感器01输出的图像信号的亮度越低,因此,为了保证第一原始图像信号包含的近红外光的亮度在合适的范围内,在第一预设曝光和第二预设曝光的至少一个曝光参数不同的情况下,作为一种示例,第一预设曝光的曝光增益可以小于第二预设曝光的曝光增益。这样,在第一补光装置021进行近红外补光时,图像传感器01产生并输出的第一原始图像信号包含的近红外光的亮度,不会因第一补光装置021进行近红外补光而过高。In some embodiments. It can be understood that, compared with the second preset exposure, the intensity of the near-infrared light sensed by the image sensor 01 is stronger when the near-infrared light is supplemented, and the first original image signal generated and output accordingly includes the near-infrared light. The brightness of infrared light will also be higher. However, near-infrared light with higher brightness is not conducive to the acquisition of external scene information. Moreover, in some embodiments, the greater the exposure gain, the higher the brightness of the image signal output by the image sensor 01, and the smaller the exposure gain, the lower the brightness of the image signal output by the image sensor 01. Therefore, in order to ensure the first original image signal The brightness of the included near-infrared light is within a suitable range. In the case where at least one exposure parameter of the first preset exposure and the second preset exposure are different, as an example, the exposure gain of the first preset exposure may be less than Exposure gain for the second preset exposure. In this way, when the first light supplement device 021 performs near-infrared supplement light, the brightness of the near-infrared light contained in the first original image signal generated and output by the image sensor 01 will not be caused by the first light supplement device 021. And too high.
在另一些实施例中,曝光时间越长,图像传感器01得到的图像信号包括的 亮度越高,并且外部场景中的运动的对象在图像信号中的运动拖尾越长;曝光时间越短,图像传感器01得到的图像信号包括的亮度越低,并且外部场景中的运动的对象在图像信号中的运动拖尾越短。因此,为了保证第一原始图像信号包含的近红外光的亮度在合适的范围内,且外部场景中的运动的对象在第一原始图像信号中的运动拖尾较短。在第一预设曝光和第二预设曝光的至少一个曝光参数不同的情况下,作为一种示例,第一预设曝光的曝光时间可以小于第二预设曝光的曝光时间。这样,在第一补光装置021进行近红外补光时,图像传感器01产生并输出的第一原始图像信号包含的近红外光的亮度,不会因第一补光装置021进行近红外补光而过高。并且较短的曝光时间使外部场景中的运动的对象在第一原始图像信号中出现的运动拖尾较短,从而有利于对运动对象的识别。示例性地,第一预设曝光的曝光时间为40毫秒,第二预设曝光的曝光时间为60毫秒等。In other embodiments, the longer the exposure time, the higher the brightness included in the image signal obtained by the image sensor 01, and the longer the motion trailing of the moving objects in the external scene in the image signal; the shorter the exposure time, the longer the image The image signal obtained by the sensor 01 includes the lower the brightness, and the shorter the motion trail of the moving object in the external scene is in the image signal. Therefore, in order to ensure that the brightness of the near-infrared light contained in the first original image signal is within a proper range, and the moving objects in the external scene have a shorter motion trail in the first original image signal. In the case where at least one exposure parameter of the first preset exposure and the second preset exposure are different, as an example, the exposure time of the first preset exposure may be less than the exposure time of the second preset exposure. In this way, when the first light supplement device 021 performs near-infrared supplement light, the brightness of the near-infrared light contained in the first original image signal generated and output by the image sensor 01 will not be caused by the first light supplement device 021. And too high. In addition, the shorter exposure time makes the motion trailing of the moving object in the external scene appear shorter in the first original image signal, thereby facilitating the recognition of the moving object. Exemplarily, the exposure time of the first preset exposure is 40 milliseconds, the exposure time of the second preset exposure is 60 milliseconds, and so on.
值得注意的是,在一些实施例中,当第一预设曝光的曝光增益小于第二预设曝光的曝光增益时,第一预设曝光的曝光时间不仅可以小于第二预设曝光的曝光时间,还可以等于第二预设曝光的曝光时间。同理,当第一预设曝光的曝光时间小于第二预设曝光的曝光时间时,第一预设曝光的曝光增益可以小于第二预设曝光的曝光增益,也可以等于第二预设曝光的曝光增益。It is worth noting that, in some embodiments, when the exposure gain of the first preset exposure is less than the exposure gain of the second preset exposure, the exposure time of the first preset exposure may not only be less than the exposure time of the second preset exposure , Can also be equal to the exposure time of the second preset exposure. Similarly, when the exposure time of the first preset exposure is less than the exposure time of the second preset exposure, the exposure gain of the first preset exposure may be less than the exposure gain of the second preset exposure, or may be equal to the second preset exposure The exposure gain.
在另一些实施例中,第一原始图像信号和第二原始图像信号的用途可以相同,例如第一原始图像信号和第二原始图像信号都用于智能分析时,为了能使进行智能分析的人脸或目标在运动时能够有同样的清晰度,第一预设曝光与第二预设曝光的至少一个曝光参数可以相同。作为一种示例,第一预设曝光的曝光时间可以等于第二预设曝光的曝光时间,如果第一预设曝光的曝光时间和第二预设曝光的曝光时间不同,会出现曝光时间较长的一路图像信号存在运动拖尾,导致两路图像信号的清晰度不同。同理,作为另一种示例,第一预设曝光的曝光增益可以等于第二预设曝光的曝光增益。In other embodiments, the purpose of the first original image signal and the second original image signal may be the same. For example, when both the first original image signal and the second original image signal are used for intelligent analysis, in order to enable the person performing the intelligent analysis The face or target can have the same sharpness when moving, and at least one exposure parameter of the first preset exposure and the second preset exposure can be the same. As an example, the exposure time of the first preset exposure may be equal to the exposure time of the second preset exposure. If the exposure time of the first preset exposure and the exposure time of the second preset exposure are different, the exposure time will be longer. There is a motion trailing in the image signal of one channel, resulting in different definitions of the two image signals. Similarly, as another example, the exposure gain of the first preset exposure may be equal to the exposure gain of the second preset exposure.
值得注意的是,在一些实施例中,当第一预设曝光的曝光时间等于第二预设曝光的曝光时间时,第一预设曝光的曝光增益可以小于第二预设曝光的曝光增益,也可以等于第二预设曝光的曝光增益。同理,当第一预设曝光的曝光增益等于第二预设曝光的曝光增益时,第一预设曝光的曝光时间可以小于第二预设曝光的曝光时间,也可以等于第二预设曝光的曝光时间。It is worth noting that, in some embodiments, when the exposure time of the first preset exposure is equal to the exposure time of the second preset exposure, the exposure gain of the first preset exposure may be less than the exposure gain of the second preset exposure. It can also be equal to the exposure gain of the second preset exposure. Similarly, when the exposure gain of the first preset exposure is equal to the exposure gain of the second preset exposure, the exposure time of the first preset exposure may be less than the exposure time of the second preset exposure, or may be equal to the second preset exposure The exposure time.
作为一种示例,在本申请实施例中还提供了另一种产生第一原始图像信号 和第二原始图像信号的实现方式,该另一种实现方式为:As an example, another implementation manner for generating the first original image signal and the second original image signal is also provided in the embodiment of the present application, and the other implementation manner is:
在光线强度较弱的外界环境(如在夜晚),第一补光装置021用于持续产生并发射近红外光。切换部件033在第一预设曝光的曝光时间段内驱动第一滤光片031位于镜头07和图像传感器01之间,镜头07对物体反射的光线进行聚焦,第一滤光片031从聚焦的光线中通过环境光中的可见光和近红外光以及被物体反射的第一补光装置021产生的近红外光,图像传感器01根据第一预设曝光的曝光参数对第一滤光片031通过的可见光和近红外光进行感应得到第一原始图像信号。以及切换部件033在第二预设曝光的曝光时间段内驱动第二滤光片032位于镜头07和图像传感器01之间,镜头07对物体反射的光线进行聚焦,第二滤光片032从聚焦的光线中过滤出可见光,图像传感器01根据第二预设曝光的曝光参数对该可见光进行感应得到第二原始图像信号。In an external environment with weak light intensity (such as at night), the first light supplement device 021 is used to continuously generate and emit near-infrared light. The switching component 033 drives the first filter 031 between the lens 07 and the image sensor 01 within the exposure time period of the first preset exposure. The lens 07 focuses the light reflected by the object, and the first filter 031 focuses The light passes through the visible light and near-infrared light in the ambient light and the near-infrared light generated by the first light-filling device 021 reflected by the object, and the image sensor 01 passes the first filter 031 according to the exposure parameters of the first preset exposure The visible light and the near-infrared light are sensed to obtain the first original image signal. And the switching component 033 drives the second filter 032 between the lens 07 and the image sensor 01 within the exposure time period of the second preset exposure, the lens 07 focuses the light reflected by the object, and the second filter 032 focuses The visible light is filtered out of the light, and the image sensor 01 senses the visible light according to the exposure parameter of the second preset exposure to obtain the second original image signal.
由于在第二预设曝光的曝光时间段内,第二滤光片032只让可见光通过,阻挡近可见光通过,这样图像传感器01对该可见光进行感应得到的第二原始图像信号不会出现过度曝光现象,使得基于第二原始图像信号得到的彩色图像不会出现泛白现象。Since in the exposure time period of the second preset exposure, the second filter 032 only allows visible light to pass and blocks near-visible light, so that the second original image signal obtained by the image sensor 01 sensing the visible light will not be overexposed This phenomenon prevents the color image obtained based on the second original image signal from being whitened.
在光线强度较强的外界环境(如在白天),切换部件033驱动第二滤光片032位于镜头07和图像传感器01之间。In an external environment with strong light intensity (such as during the day), the switching component 033 drives the second filter 032 to be located between the lens 07 and the image sensor 01.
对于上述介绍的图像传感器01,图像传感器01包括多个感光通道,该多个感光通道用于感应至少两种不同的可见光波段的光。其中每个感光通道用于感应至少一种颜色的可见光波段的光和近红外波段的光,该至少一种可见光包括红光、绿光、蓝光和黄光等。For the image sensor 01 described above, the image sensor 01 includes a plurality of photosensitive channels, and the plurality of photosensitive channels are used to sense at least two different visible light wavelength bands. Each light-sensitive channel is used to sense at least one color of light in the visible light band and light in the near-infrared band, and the at least one type of visible light includes red light, green light, blue light, yellow light, and the like.
作为一种示例,每个感光通道对应一种颜色的可见光波长范围,即每个感光通道用于感应其对应的一种颜色的可见光波长范围内的可见光和近红外波段的光。例如该多个感光通道包括R感光通道、G感光通道、B感光通道、Y感光通道、W感光通道和C感光通道等中的至少两种;其中,R感光通道用于感应红光波段和近红外波段的光,G感光通道用于感应绿光波段和近红外波段的光,B感光通道用于感应蓝光波段和近红外波段的光,Y感光通道用于感应黄光波段和近红外波段的光,W感光通道用于感应全波段的光,C感光通道用于感应全波段的光。As an example, each photosensitive channel corresponds to a visible light wavelength range of one color, that is, each photosensitive channel is used to sense visible light and near-infrared light in the visible wavelength range of a corresponding color. For example, the multiple photosensitive channels include at least two of the R photosensitive channel, G photosensitive channel, B photosensitive channel, Y photosensitive channel, W photosensitive channel, and C photosensitive channel; wherein, the R photosensitive channel is used to sense the red light band and near Infrared light, G photosensitive channel is used to sense light in the green and near-infrared bands, B photosensitive channel is used to sense blue and near-infrared light, and Y photosensitive channel is used to sense yellow and near-infrared light. For light, the W photosensitive channel is used to sense the full-wavelength light, and the C photosensitive channel is used to sense the full-wavelength light.
由于在一些实施例中,可以用W来表示用于感应全波段的光的感光通道,在另一些实施例中,可以用C来表示用于感应全波段的光的感光通道,所以当 该多个感光通道包括用于感应全波段的光的感光通道时,这个感光通道可以是W感光通道,也可以是C感光通道。也即是,在实际应用中,可以根据使用需求来选择用于感应全波段的光的感光通道。参见图14至17,图像传感器01是一个通道阵列,该通道阵列包括多个感光通道。参见图14,该图像传感器01可以为RGBW传感器,RGBW传感器中包括R感光通道、G感光通道、B感光通道和W感光通道中的至少两种,W感光通道用于全波段的白光和近红外波段的光;或者,参见图15,该图像传感器01可以为RCCB传感器,RCCB传感器中包括R感光通道、C感光通道和B感光通道中的至少两种,C感光通道用于全波段的白光和近红外波段的光;或者,参见图16,该图像传感器01可以为RGB传感器,RGB传感器包括R感光通道、G感光通道和B感光通道中的至少两种;或者,参见图17,该图像传感器01可以为RYYB传感器,RYYB传感器包括包括R感光通道、Y感光通道和B感光通道中的至少两种,Y感光通道用于感应黄光波段和近红外波段的光。Since in some embodiments, W can be used to represent the light-sensing channel used to sense full-wavelength light, in other embodiments, C can be used to represent the light-sensing channel used to sense full-wavelength light, so when there is more When a photosensitive channel includes a photosensitive channel for sensing full-wavelength light, this photosensitive channel may be a W photosensitive channel or a C photosensitive channel. That is, in practical applications, the photosensitive channel for sensing the light of the whole waveband can be selected according to the use requirements. 14 to 17, the image sensor 01 is a channel array, and the channel array includes a plurality of photosensitive channels. Referring to Figure 14, the image sensor 01 may be an RGBW sensor. The RGBW sensor includes at least two of the R photosensitive channel, G photosensitive channel, B photosensitive channel, and W photosensitive channel. The W photosensitive channel is used for full-band white light and near infrared. Or, see Figure 15, the image sensor 01 can be an RCCB sensor, the RCCB sensor includes at least two of the R photosensitive channel, the C photosensitive channel and the B photosensitive channel, and the C photosensitive channel is used for full-band white light and Near-infrared light; or, see Figure 16, the image sensor 01 may be an RGB sensor, the RGB sensor includes at least two of the R photosensitive channel, G photosensitive channel and B photosensitive channel; or, see Figure 17, the image sensor 01 can be a RYYB sensor. The RYYB sensor includes at least two of the R photosensitive channel, the Y photosensitive channel and the B photosensitive channel. The Y photosensitive channel is used to sense light in the yellow light band and the near-infrared band.
在另一些实施例中,有些感光通道也可以仅感应近红外波段的光,而不感应可见光波段的光。作为一种示例,该多个感光通道可以包括R感光通道、G感光通道、B感光通道、IR感光通道中的至少两种。其中,R感光通道用于感应红光波段和近红外波段的光,G感光通道用于感应绿光波段和近红外波段的光,B感光通道用于感应蓝光波段和近红外波段的光,IR感光通道用于感应近红外波段的光。In other embodiments, some photosensitive channels may only sense light in the near-infrared waveband, but not light in the visible light waveband. As an example, the plurality of photosensitive channels may include at least two of R photosensitive channels, G photosensitive channels, B photosensitive channels, and IR photosensitive channels. Among them, the R photosensitive channel is used to sense red light and near-infrared light, the G photosensitive channel is used to sense green light and near-infrared light, and the B photosensitive channel is used to sense blue light and near-infrared light. IR The photosensitive channel is used to sense light in the near-infrared band.
示例地,图像传感器01可以为RGBIR传感器,其中,RGBIR传感器中的每个IR感光通道都可以感应近红外波段的光,而不感应可见光波段的光。For example, the image sensor 01 may be an RGBIR sensor, where each IR photosensitive channel in the RGBIR sensor can sense light in the near-infrared waveband, but not light in the visible light waveband.
其中,当图像传感器01为RGB传感器时,相比于其他图像传感器,如RGBIR传感器等,,RGB传感器采集的RGB信息更完整,RGBIR传感器有一部分的感光通道采集不到可见光,所以RGB传感器采集的图像的色彩细节更准确。Among them, when the image sensor 01 is an RGB sensor, compared to other image sensors, such as RGBIR sensors, the RGB information collected by the RGB sensor is more complete. Some of the photosensitive channels of the RGBIR sensor cannot collect visible light, so the RGB sensor collects The color details of the image are more accurate.
值得注意的是,图像传感器01包括的多个感光通道可以对应多条感应曲线。示例性地,参见图18,图18中的R曲线代表图像传感器01对红光波段的光的感应曲线,G曲线代表图像传感器01对绿光波段的光的感应曲线,B曲线代表图像传感器01对蓝光波段的光的感应曲线,W(或者C)曲线代表图像传感器01感应全波段的光的感应曲线,NIR(Near infrared,近红外光)曲线代表图像传感器01感应近红外波段的光的感应曲线。It should be noted that the multiple photosensitive channels included in the image sensor 01 may correspond to multiple sensing curves. Exemplarily, referring to FIG. 18, the R curve in FIG. 18 represents the sensing curve of the image sensor 01 to light in the red light band, the G curve represents the sensing curve of the image sensor 01 to light in the green light band, and the B curve represents the image sensor 01 For the sensing curve of light in the blue band, the W (or C) curve represents the sensing curve of the image sensor 01 sensing the light in the full band, and the NIR (Near infrared) curve represents the sensing of the image sensor 01 sensing the light in the near infrared band. curve.
对于每个感光通道,该感应通道对应一种颜色的可见光波长范围,该感光 通道对其对应的可见光波长范围内的颜色光的感应量子效率较高,从而使该感光通道可以感应其对应的可见光波长范围内的颜色光。例如,参见图18,对于RGBW传感器,RGBW传感器的通道阵列包括红、绿、蓝、白四种颜色感光通道,红、绿、蓝、白四种颜色感光通道分别为R感光通道、G感光通道、B感光通道和W感光通道。参见图18,R感光通道Red对红色光波段内的红色光的感应量子效率较高,所以R感光通道可以用于感应红色光波段内的红色光;G感光通道Green对绿色光波段内的绿色光的感应量子效率较高,所以G感光通道可以用于感应绿色光波段内的绿色光;B感光通道Blue对蓝色光波段内的蓝色光的感应量子效率较高,所以B感光通道可以用于感应蓝色光波段内的蓝色光;W感光通道W对全波段内的白色光的感应量子效率较高,所以W感光通道可以用于感应全波段内的白色光。For each photosensitive channel, the sensing channel corresponds to the visible light wavelength range of a color, and the photosensitive channel has a high sensing quantum efficiency for the color light in the corresponding visible light wavelength range, so that the photosensitive channel can sense its corresponding visible light Color light in the wavelength range. For example, referring to Figure 18, for the RGBW sensor, the channel array of the RGBW sensor includes four color photosensitive channels of red, green, blue, and white. The four color photosensitive channels of red, green, blue, and white are respectively R photosensitive channel and G photosensitive channel. , B photosensitive channel and W photosensitive channel. Referring to Figure 18, the R photosensitive channel Red has a higher quantum efficiency for sensing red light in the red light band, so the R photosensitive channel can be used to sense red light in the red light band; the G photosensitive channel Green is for green in the green light band The light sensing quantum efficiency is high, so the G photosensitive channel can be used to sense green light in the green light band; the B photosensitive channel Blue has a higher sensing quantum efficiency for blue light in the blue light band, so the B photosensitive channel can be used Sensing blue light in the blue light band; W photosensitive channel W has a high quantum efficiency for sensing white light in the full band, so W photosensitive channel can be used to sense white light in the full band.
对于图像信号处理单元04,图像信号处理单元04用于对第一原始图像信号至少进行第一锐化处理得到灰度图像,对第二原始图像信号至少进行第二锐化处理得到彩色图像,第一锐化处理的强度小于第二锐化处理的强度。For the image signal processing unit 04, the image signal processing unit 04 is used to perform at least a first sharpening process on the first original image signal to obtain a grayscale image, and perform at least a second sharpening process on the second original image signal to obtain a color image. The intensity of one sharpening process is less than the intensity of the second sharpening process.
其中,对图像进行锐化处理会导致图像中的信息损失,第一锐化处理的强度小于第二锐化处理的强度,这样可以减小第一锐化处理的强度,对第一原始图像信号至少进行第一锐化处理得到灰度图像,可以减小灰度图像中的信息损失量,如此基于灰度图像进行智能分析时可以提高智能分析的精度。Among them, the sharpening processing of the image will result in the loss of information in the image. The intensity of the first sharpening processing is less than the intensity of the second sharpening processing, so that the intensity of the first sharpening processing can be reduced, and the first original image signal Performing at least the first sharpening process to obtain a grayscale image can reduce the amount of information loss in the grayscale image, so that the accuracy of intelligent analysis can be improved when performing intelligent analysis based on the grayscale image.
第一处理还包括黑电平校正、Gamma校正、色彩校正、去马赛克或降噪等处理中的至少一个。第二处理还包括黑电平校正、Gamma校正、色彩校正、去马赛克或降噪等处理中的至少一个。The first processing further includes at least one of black level correction, gamma correction, color correction, demosaicing, or noise reduction. The second processing further includes at least one of black level correction, gamma correction, color correction, demosaicing, or noise reduction.
可选的,参见图19,图像信号处理单元04,用于将第一原始图像信号进行预处理之后的图像信号和第二原始图像信号进行预处理之后的图像信号进行融合得到融合后的图像,将融合后的图像确定为彩色图像。Optionally, referring to FIG. 19, the image signal processing unit 04 is configured to fuse the image signal after preprocessing the first original image signal and the image signal after preprocessing the second original image signal to obtain a fused image, The merged image is determined to be a color image.
其中,对第一原始图像信号和第二原始图像信号进行预处理,可以消除图像信号中的噪声。第一原始图像信号在存在近红外补光情况下曝光得到,所以第一原始图像信号的噪声比第二原始图像信号低,第一原始图像信号对应图像的亮度高于第二原始图像信号对应的图像的亮度,将预处理后的两个图像信号进行融合,可以减小彩色图像中的噪声以及增加彩色图像的亮度。Wherein, preprocessing the first original image signal and the second original image signal can eliminate noise in the image signal. The first original image signal is exposed in the presence of near-infrared supplementary light, so the noise of the first original image signal is lower than that of the second original image signal, and the brightness of the image corresponding to the first original image signal is higher than that of the second original image signal. The brightness of the image, by fusing the two image signals after preprocessing, can reduce the noise in the color image and increase the brightness of the color image.
第一原始图像信号和第二原始图像信号分别为两幅图像,图像信号处理单元04可以从第一原始图像信号经预处理之后的图像信号中提取第一边缘图像, 第一边缘图像中包括第一原始图像信号对应图像中的各物体图像的边缘,从第二原始图像信号经预处理之后的图像信号中提取第二边缘图像,第二边缘图像包括第二原始图像信号对应图像中的各物体图像的边缘。然后通过如下第一公式,进行融合得到融合后的图像。The first original image signal and the second original image signal are two images respectively. The image signal processing unit 04 may extract the first edge image from the image signal after the first original image signal is preprocessed, and the first edge image includes the first edge image. An original image signal corresponds to the edge of each object image in the image, and a second edge image is extracted from the image signal after the second original image signal is preprocessed, and the second edge image includes each object in the image corresponding to the second original image signal The edge of the image. Then through the following first formula, the fusion is performed to obtain the fused image.
第一公式为:
Figure PCTCN2020091912-appb-000001
The first formula is:
Figure PCTCN2020091912-appb-000001
在第一公式中:K i,j为第一原始图像信号经预处理之后的图像信号中的像素点,Z i,j为第二原始图像信号经预处理之后的图像信号中的像素点,H i,j为融合后的图像中的像素点,m i,j为第一边缘图像中的像素点,n i,j为第二边缘图像中的像素点,(i,j)为像素点的位置。 In the first formula: K i,j is the pixel point in the image signal after the first original image signal is preprocessed, and Z i,j is the pixel point in the image signal after the second original image signal is preprocessed, H i,j are the pixels in the fused image, mi,j are the pixels in the first edge image, n i,j are the pixels in the second edge image, and (i,j) are the pixels s position.
对于上述分析单元06,分析单元06中包括智能分析算法,分析单元06使用该智能分析算法对该灰度图像进行智能分析得到分析结果或目标子图。例如,该智能分析算法可以为人脸检测算法,分析单元06使用人脸检测算法对该灰度图像进行智能分析得到分析结果,该分析结果是灰度图像是否有人脸图像,或者,该分析结果是检测出的人脸图像。For the above analysis unit 06, the analysis unit 06 includes an intelligent analysis algorithm, and the analysis unit 06 uses the intelligent analysis algorithm to perform intelligent analysis on the gray image to obtain an analysis result or target sub-image. For example, the intelligent analysis algorithm may be a face detection algorithm. The analysis unit 06 uses the face detection algorithm to intelligently analyze the gray image to obtain an analysis result. The analysis result is whether the gray image is a human face image, or the analysis result is The detected face image.
智能分析算法可以是对神经网络进行训练得到的。例如,FastRCNN是一种神经网络,通过对FastRCNN进行训练可以得到人脸检测算法。The intelligent analysis algorithm can be obtained by training a neural network. For example, FastRCNN is a neural network, and face detection algorithms can be obtained by training FastRCNN.
编码压缩单元05可以采用H.264标准或H.265标准对图像信号处理单元2产生的彩色图像序列进行压缩编码得到视频码流。The encoding compression unit 05 may use the H.264 standard or the H.265 standard to compress and encode the color image sequence generated by the image signal processing unit 2 to obtain a video code stream.
接下来对本实施例中的相关部件进行如下简要说明:Next, the relevant components in this embodiment are briefly described as follows:
补光器021以频闪方式进行近红外补光,不排斥同时以某种方式产生可见光补光,具体为:补光器在第二预设曝光的曝光时间段中不进行近红外补光,在第一预设曝光的曝光时间段中进行近红外补光。The light fill 021 performs near-infrared fill light in a stroboscopic manner, and does not exclude the generation of visible light fill light in a certain way at the same time, specifically: the fill light does not perform near-infrared fill light during the exposure period of the second preset exposure. Perform near-infrared fill light in the exposure time period of the first preset exposure.
滤光组件03能够使补光器02所产生的近红外补光通过,同时使可见光通过,而阻挡其它光线。The filter assembly 03 can pass the near-infrared supplement light generated by the light supplement 02, while allowing visible light to pass, while blocking other light.
图像传感器01中的每个像素均能感应近红外光,保证补光下采集的近红外图像具有清晰的细节,帮助提升智能分析效果。Each pixel in the image sensor 01 can sense near-infrared light to ensure that the near-infrared images collected under supplemental light have clear details, and help improve the effect of intelligent analysis.
图像传感器01中的每个像素至少能感应红光、绿光、蓝光其中一种可见光, 或能同时感应所有上述三种可见光,保证采集的彩色视频具有充足的分辨率。Each pixel in the image sensor 01 can sense at least one visible light of red light, green light, and blue light, or can sense all the above three types of visible light at the same time, to ensure that the captured color video has sufficient resolution.
图像传感器01在第一预设曝光与第二预设曝光采用不同的曝光参数,曝光参数包括且不限于曝光时间、模拟增益、数字增益、光圈大小,保证为智能分析所采集的一路图像具有合适的曝光。 Image sensor 01 uses different exposure parameters for the first preset exposure and the second preset exposure. The exposure parameters include but are not limited to exposure time, analog gain, digital gain, and aperture size to ensure that the image collected for intelligent analysis is appropriate Of exposure.
补光器02近红外补光,能量集中于700nm~800nm范围内,或者集中于900nm~1000nm范围内,避开800nm~900nm,以减轻常见850nm红外灯造成的干扰。 Filler 02 near-infrared fill light, the energy is concentrated in the range of 700nm ~ 800nm, or concentrated in the range of 900nm ~ 1000nm, avoiding 800nm ~ 900nm, in order to reduce the interference caused by common 850nm infrared lamps.
补光器02除了近红外补光还产生可见光补光,可以使近红外补光看起来不那么偏红,避免与交通信号灯混淆。In addition to the near-infrared supplementary light, the light supplement 02 also generates visible light supplementary light, which can make the near-infrared supplementary light look less reddish and avoid confusion with traffic lights.
滤光组件03能够使近红外补光通过,具体的,在650nm~1000nm的近红外波段中,通过的波段宽度小于阻挡的波段宽度之和,保证有效利用红外补光的前提下,尽量少受其它光源干扰。The filter component 03 can pass the near-infrared supplementary light. Specifically, in the near-infrared band of 650nm~1000nm, the passed band width is less than the sum of the blocked band widths, so as to ensure the effective use of the infrared supplementary light, as little as possible Interference from other light sources.
滤光组件03能够使近红外补光通过,具体的,在650nm~1000nm的近红外波段中,通过率大于30%的波段宽度小于100nm,保证有效利用红外补光的前提下,尽量少受其它光源干扰。The filter component 03 can pass the near-infrared supplementary light. Specifically, in the near-infrared band from 650nm to 1000nm, the width of the band whose pass rate is greater than 30% is less than 100nm, so as to ensure the effective use of the infrared supplementary light, as little as possible. Light source interference.
滤光组件03具有切换部件033,除了上述第一状态,还能够切换为阻挡近红外光,并使可见光通过的第二状态,使图像采集装置能够方便切换为现有摄像机的图像采集方式,兼容现有使用方式。The filter assembly 03 has a switching component 033. In addition to the above-mentioned first state, it can also be switched to a second state that blocks near-infrared light and allows visible light to pass, so that the image capture device can be easily switched to the image capture mode of the existing camera, which is compatible Existing usage.
图像信号处理单元04,在对第一原始图像信号与第二原始图像信号进行处理时,所进行的处理步骤不同;并且在进行锐化处理时,所采用的处理强度不同,具体的,对第二原始图像信号采用更弱的锐化强度,更适合智能分析的需要。The image signal processing unit 04, when processing the first original image signal and the second original image signal, the processing steps performed are different; and when the sharpening processing is performed, the processing intensity used is different. Specifically, the processing steps are different. 2. The original image signal adopts weaker sharpening intensity, which is more suitable for the needs of intelligent analysis.
图像信号处理单元04,在生成彩色图像时,可对第一原始图像信号与第二原始图像信号进行融合,生成质量更高的彩色图像,更适合视频码流供人眼观看的需要。The image signal processing unit 04, when generating a color image, can fuse the first original image signal and the second original image signal to generate a higher quality color image, which is more suitable for the needs of the video stream for human eyes to watch.
在本申请实施列中,图像采集设备包括:图像传感器、补光器和滤光组件,图像传感器位于滤光组件的出光侧;还包括图像信号处理单元、编码压缩单元和分析单元;补光器包括第一补光装置,通过第一补光装置以频闪方式进行近红外补光,即在图像传感器的多次曝光的第一预设曝光的曝光时间段内进行近红外补光,在多次曝光的第二预设曝光的曝光时间段内不进行近红外补光;滤光组件包括第一滤光片,第一滤光片用于通过可见光和部分近红外光,在第一 预设曝光的曝光时间段内通过第一滤光片的近红外光包括第一补光装置进行近红外补光时经物体反射进入滤光组件的近红外光,在第二预设曝光的曝光时间段内通过第一滤光片的近红外光包括第一补光装置未进行近红外补光时经物体反射进入所述滤光组件的近红外光;使用图像传感器通过多次曝光产生并输出第一原始图像信号和第二原始图像信号,其中,第一原始图像信号是根据第一预设曝光产生的图像信号,第二原始图像信号是根据第二预设曝光产生的图像信号,第一预设曝光和第二预设曝光为多次曝光中的其中两次曝光;使用图像信号处理单元对第一原始图像信号进行第一处理得到灰度图像,对第二原始图像信号进行第二处理得到彩色图像;使用编码压缩单元对彩色图像进行压缩编码得到视频码流;使用分析单元对灰度图像进行智能分析得到分析结果。由于在第一预设曝光的曝光时间段内,第一补光装置进行近红外补光,这样图像传感器在第一预设曝光的曝光时间段内根据第一预设曝光的曝光参数对该外界环境中的环境光和该近红外光进行感应得到第一原始图像信号,可以降低第一原始图像信号中的噪声,对第一原始图像信号进行处理得到灰度图像,灰图图像的噪声也随之降低,基于灰度图像进行分析,可提高分析结果的精度。In the implementation column of this application, the image acquisition device includes: an image sensor, a light supplement and a filter component, the image sensor is located on the light exit side of the filter component; it also includes an image signal processing unit, an encoding compression unit and an analysis unit; It includes a first light-filling device. The near-infrared light-filling is performed by the first light-filling device in a strobe mode, that is, the near-infrared light-filling is performed during the exposure time period of the first preset exposure of the image sensor. The near-infrared light supplement is not performed during the exposure time period of the second preset exposure of the second exposure; the filter assembly includes a first filter, and the first filter is used to pass visible light and part of the near-infrared light. The near-infrared light that passes through the first filter during the exposure time period includes the near-infrared light that is reflected by the object and enters the filter assembly when the first light supplement device performs near-infrared light supplementation, and is in the second preset exposure time period The near-infrared light passing through the first filter includes the near-infrared light reflected by the object and entering the filter assembly when the first light supplement device is not performing near-infrared light supplement; the image sensor is used to generate and output the first light through multiple exposures. The original image signal and the second original image signal, where the first original image signal is an image signal generated according to a first preset exposure, the second original image signal is an image signal generated according to a second preset exposure, and the first preset The exposure and the second preset exposure are two of the multiple exposures; the image signal processing unit is used to perform first processing on the first original image signal to obtain a grayscale image, and to perform the second processing on the second original image signal to obtain a color Image: Use the encoding compression unit to compress and encode the color image to obtain the video stream; use the analysis unit to perform intelligent analysis on the gray image to obtain the analysis result. Since during the exposure time period of the first preset exposure, the first light-filling device performs near-infrared light-filling, so that the image sensor is exposed to the outside world according to the exposure parameters of the first preset exposure during the exposure time period of the first preset exposure. The ambient light in the environment and the near-infrared light are sensed to obtain the first original image signal, which can reduce the noise in the first original image signal, and process the first original image signal to obtain a gray image. The noise of the gray image also varies with The reduction, analysis based on gray image, can improve the accuracy of the analysis results.
参见图20,本申请实施例提供了一种摄像方法,应用于图像采集设备,该图像采集设备可以是图1所示实施例中的任一图像采集装置,也就是说图像采集设备包括图像传感器01、补光器02和滤光组件03,所述图像传感器01位于所述滤光组件03的出光侧,所述补光器02包括第一补光装置,滤光组件03包括第一滤光片。该方法包括:Referring to FIG. 20, an embodiment of the present application provides a camera method, which is applied to an image acquisition device. The image acquisition device may be any image acquisition device in the embodiment shown in FIG. 1, that is, the image acquisition device includes an image sensor 01. The light fill 02 and the filter assembly 03, the image sensor 01 is located on the light exit side of the filter assembly 03, the light fill 02 includes a first light fill device, and the filter assembly 03 includes a first filter sheet. The method includes:
步骤201:图像采集设备通过第一补光装置进行近红外补光,其中第一补光装置至少在图像传感器多次曝光的第一预设曝光的部分曝光时间段内进行近红外补光,在多次曝光的第二预设曝光的曝光时间段内不进行近红外补光,第一预设曝光和第二预设曝光为多次曝光中的其中两次曝光。Step 201: The image acquisition device performs near-infrared light supplementation through the first light-filling device, where the first light-filling device performs near-infrared light supplementation at least during a partial exposure period of the first preset exposure of the image sensor multiple exposures, and The near-infrared fill light is not performed during the exposure time period of the second preset exposure of the multiple exposure, and the first preset exposure and the second preset exposure are two exposures in the multiple exposures.
第一补光装置021为可以发出近红外光的装置,例如近红外补光灯等,本申请实施例对此不做限定。第一补光装置021可以以频闪方式进行近红外补光,也可以以类似频闪的其他方式进行近红外补光。在一些示例中,当第一补光装置021以频闪方式进行近红外补光时,可以通过手动方式来控制第一补光装置021以频闪方式进行近红外补光,也可以通过软件程序或特定设备来控制第一补光装置021以频闪方式进行近红外补光,本申请实施例对此不做限定。其中, 第一补光装置021进行近红外补光的时间段可以与第一预设曝光的曝光时间段重合,也可以大于第一预设曝光的曝光时间段或者小于第一预设曝光的曝光时间段,只要在第一预设曝光的整个曝光时间段或者部分曝光时间段内进行近红外补光,而在第二预设曝光的曝光时间段内不进行近红外补光即可。The first supplementary light device 021 is a device that can emit near-infrared light, such as a near-infrared supplementary light, which is not limited in the embodiment of the present application. The first light supplement device 021 can perform near-infrared supplement light in a stroboscopic manner, or in other ways similar to stroboscopic. In some examples, when the first light supplement device 021 performs near-infrared supplement light in a stroboscopic manner, the first supplement light device 021 may be manually controlled to perform near-infrared supplement light in a stroboscopic manner, or through a software program Or a specific device controls the first light supplement device 021 to perform near-infrared supplement light in a strobe mode, which is not limited in the embodiment of the present application. The time period during which the first light supplement device 021 performs near-infrared light supplementation may coincide with the exposure time period of the first preset exposure, or may be greater than the exposure time period of the first preset exposure or less than the exposure time period of the first preset exposure. The time period, as long as the near-infrared supplement light is performed during the entire exposure time period or part of the exposure time period of the first preset exposure, and the near-infrared supplement light is not performed during the exposure time period of the second preset exposure.
例如,参见图3,第一预设曝光的曝光时间段和第二预设曝光的曝光时间段循环交替出现,图像采集设备在第一预设曝光的曝光时间段内产生并发射近红外光,以实现近红外补光,在第二预设曝光的曝光时间段内停止产生近红外光,以实现不进行近红外补光。所谓频闪方式进行近红外补光就是在第一预测曝光的曝光时间段内产生并发射近红外光,以及在与第一预测曝光的曝光时间段相邻的第二预设曝光的曝光时间段内停止产生近红外光。For example, referring to FIG. 3, the exposure time period of the first preset exposure and the exposure time period of the second preset exposure cyclically alternate, and the image capture device generates and emits near-infrared light during the exposure time period of the first preset exposure, In order to realize near-infrared supplementary light, the generation of near-infrared light is stopped during the exposure time period of the second preset exposure, so that near-infrared supplementary light is not performed. The so-called stroboscopic approach for near-infrared supplementary light is to generate and emit near-infrared light during the exposure time period of the first predicted exposure, and stop during the exposure time period of the second preset exposure adjacent to the exposure time period of the first predicted exposure Produce near-infrared light.
可以通过手动方式来控制第一补光装置021以频闪方式进行近红外补光,也可以通过软件程序或特定设备来控制第一补光装置021以频闪方式进行近红外补光,本申请实施例对此不做限定。其中,第一补光装置021进行近红外补光的时间段可以与第一预设曝光的曝光时间段重合,也可以大于第一预设曝光的曝光时间段或者小于第一预设曝光的曝光时间段,只要在第一预设曝光的整个曝光时间段或者部分曝光时间段内进行近红外补光,而在第二预设曝光的曝光时间段内不进行近红外补光即可。The first light supplement device 021 can be manually controlled to perform near-infrared supplement light in a stroboscopic manner, or the first light supplement device 021 can be controlled to perform near-infrared supplement light in a stroboscopic manner through a software program or a specific device. The embodiment does not limit this. The time period during which the first light supplement device 021 performs near-infrared light supplementation may coincide with the exposure time period of the first preset exposure, or may be greater than the exposure time period of the first preset exposure or less than the exposure time period of the first preset exposure. The time period, as long as the near-infrared supplement light is performed during the entire exposure time period or part of the exposure time period of the first preset exposure, and the near-infrared supplement light is not performed during the exposure time period of the second preset exposure.
在第一预设曝光的曝光时间段内,第一补光装置021产生并向外界环境中发射近红外光,所以在第一预设曝光的曝光时间段内外界环境中包括环境光和第一补光装置021产生的该近红外光,环境光包括可见光,还可以包括近红外光和红外光等中的至少一种,这样在第一预设曝光的曝光时间段内,被物体反射进入图像采集设备中的第一滤光片031的光包括第一补光装置021产生的该近红外光和该环境光,第一滤光片031通过该近红外光和该环境光中的可见光和近红外光。在第二预设曝光的曝光时间段内,第一补光装置021停止产生近红外光,所以在第二预设曝光的曝光时间段内外界环境中包括环境光,被物体反射进入第一滤光片031的光包括该环境光,第一滤光片031通过该环境光中的可见光和近红外光。During the exposure time period of the first preset exposure, the first supplementary light device 021 generates and emits near-infrared light to the external environment, so the external environment includes ambient light and first light during the exposure time period of the first preset exposure. The near-infrared light generated by the light supplement device 021, the ambient light includes visible light, and may also include at least one of near-infrared light and infrared light, etc., so that within the exposure time period of the first preset exposure, the object is reflected into the image The light of the first filter 031 in the collection device includes the near-infrared light and the ambient light generated by the first light supplement device 021, and the first filter 031 passes the near-infrared light and the visible light and near-infrared light in the ambient light. Infrared light. During the exposure time period of the second preset exposure, the first light supplement device 021 stops generating near-infrared light, so during the exposure time period of the second preset exposure, the external environment includes ambient light, which is reflected by the object into the first filter The light of the light sheet 031 includes the ambient light, and the first filter 031 passes visible light and near-infrared light in the ambient light.
另外,由于环境光中的近红外光的强度低于第一补光装置021发出的近红外光的强度,因此,第一补光装置021进行近红外补光时通过第一滤光片031的近红外光的强度高于第一补光装置021未进行近红外补光时通过第一滤光片031的近红外光的强度。In addition, since the intensity of the near-infrared light in the ambient light is lower than the intensity of the near-infrared light emitted by the first light supplement device 021, the first light supplement device 021 passes through the first filter 031 when performing near-infrared supplement light. The intensity of the near-infrared light is higher than the intensity of the near-infrared light passing through the first filter 031 when the first light supplement device 021 is not performing near-infrared light supplementation.
第一补光装置021进行近红外补光的波段范围可以为第二参考波段范围,第二参考波段范围可以为700纳米~800纳米,或者900纳米~1000纳米等,本申请实施例对此不做限定。另外,入射到第一滤光片031的近红外光的波段范围可以为第一参考波段范围,第一参考波段范围为650纳米~1100纳米,作为一种示例,第一参考波段范围可以为650纳米~1000纳米。其中,需要说明的是:第二参考波段范围可以为700纳米~800纳米表示第二参考波段范围为大于或等于700纳米且小于或等于800纳米的范围,或为大于700纳米且小于800纳米的范围,或为大于或等于700纳米且小于800纳米的范围,或为大于700纳米且小于或等于800纳米的范围。对于本文其他地方出现的类似的范围,其含义与此相同,不再一一说明。The wavelength range of the first light supplement device 021 for near-infrared supplement light may be the second reference wavelength range, and the second reference wavelength range may be 700 nanometers to 800 nanometers, or 900 nanometers to 1000 nanometers, etc. This is not the case in this embodiment. Make a limit. In addition, the wavelength range of the near-infrared light incident on the first filter 031 may be the first reference wavelength range, and the first reference wavelength range is 650 nm to 1100 nm. As an example, the first reference wavelength range may be 650 nm. Nano ~ 1000 nm. Among them, it should be noted that: the second reference waveband range may be 700 nm to 800 nm, which means that the second reference waveband range is greater than or equal to 700 nm and less than or equal to 800 nm, or is greater than 700 nm and less than 800 nm. The range is a range greater than or equal to 700 nanometers and less than 800 nanometers, or a range greater than 700 nanometers and less than or equal to 800 nanometers. For similar scopes appearing elsewhere in this article, the meanings are the same, so we will not explain them one by one.
由于在第一预设曝光的曝光时间段内,通过第一滤光片031的近红外光可以包括第一补光装置021进行近红外光补光时经物体反射进入第一滤光片031的近红外光,因此,通过第一滤光片031的近红外光的中心波长和/或波段宽度可以与第一补光装置021进行近红外补光的中心波长匹配,也即是,第一补光装置021进行近红外补光的中心波长为设定特征波长或者落在设定特征波长范围时,通过第一滤光片031的近红外光的中心波长和/或波段宽度达到约束条件。Since in the exposure time period of the first preset exposure, the near-infrared light passing through the first filter 031 may include the first light-filling device 021 that is reflected by the object and enters the first filter 031 when the near-infrared light is filled. Near-infrared light, therefore, the center wavelength and/or band width of the near-infrared light passing through the first filter 031 can be matched with the center wavelength of the near-infrared light supplemented by the first light supplement device 021, that is, the first light supplement When the center wavelength of the near-infrared complementary light performed by the optical device 021 is the set characteristic wavelength or falls within the set characteristic wavelength range, the center wavelength and/or band width of the near-infrared light passing through the first filter 031 meets the constraint conditions.
第一补光装置021进行近红外补光的中心波长和/或波段范围可以有多种选择,本申请实施例中,为了使第一补光装置021和第一滤光片031有更好的配合,可以对第一补光装置021进行近红外补光的中心波长进行设计,以及对第一滤光片031的特性进行选择,从而使得在第一补光装置021进行近红外补光的中心波长为设定特征波长或者落在设定特征波长范围时,通过第一滤光片031的近红外光的中心波长和/或波段宽度可以达到约束条件。该约束条件主要是用来约束通过第一滤光片031的近红外光的中心波长尽可能准确,以及通过第一滤光片031的近红外光的波段宽度尽可能窄,从而避免出现因近红外光波段宽度过宽而引入波长干扰。There are multiple choices for the center wavelength and/or wavelength range of the first light supplement device 021 for near-infrared supplement light. In the embodiment of the present application, in order to make the first light supplement device 021 and the first filter 031 better In cooperation, the center wavelength of the near-infrared supplement light of the first light supplement device 021 can be designed, and the characteristics of the first filter 031 can be selected, so that the center of the first light supplement device 021 for the near-infrared light supplement When the wavelength is the set characteristic wavelength or falls within the set characteristic wavelength range, the center wavelength and/or band width of the near-infrared light passing through the first filter 031 can meet the constraint conditions. This constraint is mainly used to restrict the center wavelength of the near-infrared light passing through the first filter 031 as accurate as possible, and the band width of the near-infrared light passing through the first filter 031 is as narrow as possible, so as to avoid The infrared light band width is too wide and introduces wavelength interference.
其中,第一补光装置021进行近红外补光的中心波长可以为第一补光装置021发出的近红外光的光谱中能量最大的波长范围内的平均值,也可以理解为第一补光装置021发出的近红外光的光谱中能量超过一定阈值的波长范围内的中间位置处的波长。Wherein, the center wavelength of the near-infrared light supplemented by the first light-filling device 021 may be the average value in the wavelength range of the highest energy in the spectrum of the near-infrared light emitted by the first light-filling device 021, or it may be understood as the first light supplement The wavelength of the near-infrared light emitted by the device 021 at the middle position in the wavelength range where the energy exceeds a certain threshold.
其中,设定特征波长或者设定特征波长范围可以预先设置。作为一种示例,第一补光装置021进行近红外补光的中心波长可以为750±10纳米的波长范围内 的任一波长;或者,第一补光装置021进行近红外补光的中心波长为780±10纳米的波长范围内的任一波长;或者,第一补光装置021进行近红外补光的中心波长为940±10纳米的波长范围内的任一波长。也即是,设定特征波长范围可以为750±10纳米的波长范围、或者780±10纳米的波长范围、或者940±10纳米的波长范围。示例性地,第一补光装置021进行近红外补光的中心波长为940纳米,第一补光装置021进行近红外补光的波长和相对强度之间的关系如图11所示。从图11可以看出,第一补光装置021进行近红外补光的波段范围为900纳米~1000纳米,其中,在940纳米至960之间,近红外光的相对强度最高。Among them, the set characteristic wavelength or the set characteristic wavelength range can be preset. As an example, the center wavelength of the first light supplement device 021 for near-infrared supplement light may be any wavelength within the wavelength range of 750±10 nanometers; or, the center wavelength of the first light supplement device 021 for near-infrared supplement light It is any wavelength in the wavelength range of 780±10 nanometers; or, the center wavelength of the first light supplement device 021 for near-infrared supplement light is any wavelength in the wavelength range of 940±10 nanometers. That is, the set characteristic wavelength range may be a wavelength range of 750±10 nanometers, or a wavelength range of 780±10 nanometers, or a wavelength range of 940±10 nanometers. Exemplarily, the center wavelength of the near-infrared supplement light performed by the first light supplement device 021 is 940 nanometers, and the relationship between the wavelength and the relative intensity of the near-infrared supplement light performed by the first light supplement device 021 is shown in FIG. 11. It can be seen from FIG. 11 that the wavelength range of the first light supplement device 021 for near-infrared supplement light is 900 nanometers to 1000 nanometers, and between 940 nanometers and 960 nanometers, the relative intensity of near-infrared light is the highest.
由于在第一预设曝光的曝光时间段内,通过第一滤光片031的近红外光大部分为第一补光装置021进行近红外补光时经物体反射进入第一滤光片031的近红外光,因此,在一些实施例中,上述约束条件可以包括:通过第一滤光片031的近红外光的中心波长与第一补光装置021进行近红外补光的中心波长之间的差值位于波长波动范围内,作为一种示例,波长波动范围可以为0~20纳米。Since in the exposure time period of the first preset exposure, most of the near-infrared light passing through the first filter 031 is the near-infrared light of the first light supplement device 021 when it is reflected by the object and enters the near-infrared light of the first filter 031. Infrared light, therefore, in some embodiments, the above constraint conditions may include: the difference between the center wavelength of the near-infrared light that passes through the first filter 031 and the center wavelength of the near-infrared light that the first light supplement device 021 performs The value lies within the wavelength fluctuation range. As an example, the wavelength fluctuation range may be 0-20 nanometers.
其中,通过第一滤光片031的近红外补光的中心波长可以为第一滤光片031的近红外光通过率曲线中的近红外波段范围内波峰位置处的波长,也可以理解为第一滤光片031的近红外光通过率曲线中通过率超过一定阈值的近红外波段范围内的中间位置处的波长。Among them, the center wavelength of the near-infrared supplement light passing through the first filter 031 can be the wavelength at the peak position in the near-infrared band in the near-infrared light pass rate curve of the first filter 031, or it can be understood as the first A filter 031 is the wavelength at the middle position in the near-infrared waveband whose pass rate exceeds a certain threshold in the near-infrared light pass rate curve.
为了避免通过第一滤光片031的近红外光的波段宽度过宽而引入波长干扰,在一些实施例中,上述约束条件可以包括:第一波段宽度可以小于第二波段宽度。其中,第一波段宽度是指通过第一滤光片031的近红外光的波段宽度,第二波段宽度是指被第一滤光片031阻挡的近红外光的波段宽度。应当理解的是,波段宽度是指光线的波长所处的波长范围的宽度。例如,通过第一滤光片031的近红外光的波长所处的波长范围为700纳米~800纳米,那么第一波段宽度为800纳米减去700纳米,即100纳米。换句话说,通过第一滤光片031的近红外光的波段宽度小于第一滤光片031阻挡的近红外光的波段宽度。In order to avoid the introduction of wavelength interference due to the excessively wide band width of the near-infrared light passing through the first filter 031, in some embodiments, the above constraint conditions may include: the first band width may be smaller than the second band width. The first waveband width refers to the waveband width of the near-infrared light passing through the first filter 031, and the second waveband width refers to the waveband width of the near-infrared light blocked by the first filter 031. It should be understood that the wavelength band width refers to the width of the wavelength range in which the wavelength of light lies. For example, if the wavelength of the near-infrared light passing through the first filter 031 is in the wavelength range of 700 nanometers to 800 nanometers, then the first wavelength band width is 800 nanometers minus 700 nanometers, that is, 100 nanometers. In other words, the wavelength band width of the near-infrared light passing through the first filter 031 is smaller than the wavelength band width of the near-infrared light blocked by the first filter 031.
步骤202:图像采集设备通过第一滤光片031,使可见光和部分近红外光通过。Step 202: The image acquisition device passes the first filter 031 to pass visible light and part of the near-infrared light.
图像采集设备中的滤光组件03包括第一滤光片032、第二滤光片032和切换部件033,第一滤光片031和第二滤光片032均与切换部件033连接;The filter assembly 03 in the image acquisition device includes a first filter 032, a second filter 032, and a switching component 033, and the first filter 031 and the second filter 032 are both connected to the switching component 033;
通过切换部件033将第一滤光片031切换到图像传感器01的入光侧;第一滤光片031用于通过可见光和部分近红外光,其中,在第一预设曝光的曝光时 间段内通过第一滤光片031的近红外光包括第一补光装置021进行近红外补光时经物体反射进入滤光组件03的近红外光,在第二预设曝光的曝光时间段内通过第一滤光片031的近红外光包括第一补光装置021未进行近红外补光时经物体反射进入滤光组件03的近红外光;其中,第一补光装置021进行近红外光补光时通过第一滤光片031的近红外光的强度高于第一补光装置021未进行近红外补光时通过第一滤光片031的近红外光的强度。The first filter 031 is switched to the light incident side of the image sensor 01 through the switching component 033; the first filter 031 is used to pass visible light and part of the near-infrared light, wherein, within the exposure time period of the first preset exposure The near-infrared light passing through the first filter 031 includes the near-infrared light reflected by the object and entering the filter assembly 03 when the first light-filling device 021 performs near-infrared light-filling, and passes through the second preset exposure time period. The near-infrared light of a filter 031 includes the near-infrared light reflected by the object into the filter assembly 03 when the first light-filling device 021 is not performing near-infrared light-filling; wherein, the first light-filling device 021 performs near-infrared light-filling The intensity of the near-infrared light passing through the first filter 031 is higher than the intensity of the near-infrared light passing through the first filter 031 when the first light supplement device 021 does not perform near-infrared light supplementation.
通过切换部件033将第二滤光片032切换到图像传感器01的入光侧;第二滤光片032使可见光波段的光通过,阻挡近红外光波段的光,图像采集设备通过图像传感器01曝光产生并输出第三图像信号。The second filter 032 is switched to the light incident side of the image sensor 01 through the switching component 033; the second filter 032 allows the light in the visible light band to pass and blocks the light in the near-infrared light band, and the image capture device exposes the image sensor 01 The third image signal is generated and output.
步骤203:图像采集设备通过多次曝光产生第一原始图像信号和第二原始图像信号,其中,第一原始图像信号是根据第一预设曝光产生的图像信号,第二原始图像信号是根据第二预设曝光产生的图像信号。Step 203: The image acquisition device generates a first original image signal and a second original image signal through multiple exposures, where the first original image signal is an image signal generated according to the first preset exposure, and the second original image signal is an image signal generated according to the first preset exposure. 2. The image signal generated by the preset exposure.
由于第一补光装置021在第一预设曝光的曝光时间段内进行近红外光补光,所以外部环境中包括第一补光装置021补光的近红外光和环境光,该环境光中包括可见光和近红外光。外部环境中的物体可以将第一补光装置021补光的近红外光反射至图像采集设备,以及将环境光反射至图像采集设备,图像采集设备通过图像传感器01可以对反射的该近红外光和该环境光中的可见光和近红外光进行曝光产生第一原始图像信号。Since the first light supplement device 021 performs near-infrared light supplement light within the exposure time period of the first preset exposure, the external environment includes the near-infrared light and ambient light supplemented by the first light supplement device 021, and the ambient light Including visible light and near-infrared light. Objects in the external environment can reflect the near-infrared light supplemented by the first light-filling device 021 to the image acquisition device, and reflect ambient light to the image acquisition device. The image acquisition device can reflect the reflected near-infrared light through the image sensor 01 Exposing with visible light and near-infrared light in the ambient light generates a first original image signal.
由第一补光装置021在第二预设曝光的曝光时间段内不进行近红外光补光,所以外部环境中包括环境光,该环境光中包括可见光和近红外光。外部环境中的物体可以将环境光反射至图像采集设备,图像采集设备通过图像传感器01可以对反射的该环境光中的可见光和近红外光进行曝光产生第二原始图像信号。The first light supplement device 021 does not perform near-infrared light supplement light during the exposure time period of the second preset exposure, so the external environment includes ambient light, and the ambient light includes visible light and near-infrared light. Objects in the external environment can reflect ambient light to the image acquisition device, and the image acquisition device can expose visible light and near-infrared light in the reflected ambient light through the image sensor 01 to generate a second original image signal.
图像传感器01包括多个感光通道,该多个感光通道用于感应至少两种不同的可见光波段的光。其中每个感光通道用于感应至少一种颜色的可见光波段的光和近红外波段的光,该至少一种可见光包括红光、绿光、蓝光和黄光等。The image sensor 01 includes a plurality of photosensitive channels, and the plurality of photosensitive channels are used to sense at least two different visible light wavelength bands. Each light-sensitive channel is used to sense at least one color of light in the visible light band and light in the near-infrared band, and the at least one type of visible light includes red light, green light, blue light, yellow light, and the like.
作为一种示例,每个感光通道对应一种颜色的可见光波长范围,即每个感光通道用于感应其对应的一种颜色的可见光波长范围内的可见光和近红外波段的光。例如该多个感光通道包括R感光通道、G感光通道、B感光通道、Y感光通道、W感光通道和C感光通道等中的至少两种;其中,R感光通道用于感应红光波段和近红外波段的光,G感光通道用于感应绿光波段和近红外波段的光,B感光通道用于感应蓝光波段和近红外波段的光,Y感光通道用于感应黄光 波段和近红外波段的光,W感光通道用于感应全波段的光,C感光通道用于感应全波段的光。As an example, each photosensitive channel corresponds to a visible light wavelength range of one color, that is, each photosensitive channel is used to sense visible light and near-infrared light in the visible wavelength range of a corresponding color. For example, the multiple photosensitive channels include at least two of R photosensitive channels, G photosensitive channels, B photosensitive channels, Y photosensitive channels, W photosensitive channels, and C photosensitive channels; wherein, the R photosensitive channel is used to sense the red light band and near Infrared light, G photosensitive channel is used to sense light in the green and near-infrared bands, B photosensitive channel is used to sense blue and near-infrared light, and Y photosensitive channel is used to sense yellow and near-infrared light. Light, the W photosensitive channel is used to sense the full-wavelength light, and the C photosensitive channel is used to sense the full-wavelength light.
由于在一些实施例中,可以用W来表示用于感应全波段的光的感光通道,在另一些实施例中,可以用C来表示用于感应全波段的光的感光通道,所以当该多个感光通道包括用于感应全波段的光的感光通道时,这个感光通道可以是W感光通道,也可以是C感光通道。也即是,在实际应用中,可以根据使用需求来选择用于感应全波段的光的感光通道。参见图14至17,图像传感器01是一个通道阵列,该通道阵列包括多个感光通道。参见图14,该图像传感器01可以为RGBW传感器,RGBW传感器中包括R感光通道、G感光通道、B感光通道和W感光通道中的至少两种,W感光通道用于全波段的白光和近红外波段的光;或者,参见图15,该图像传感器01可以为RCCB传感器,RCCB传感器中包括R感光通道、C感光通道和B感光通道中的至少两种,C感光通道用于全波段的白光和近红外波段的光;或者,参见图16,该图像传感器01可以为RGB传感器,RGB传感器包括R感光通道、G感光通道和B感光通道中的至少两种;或者,参见图17,该图像传感器01可以为RYYB传感器,RYYB传感器包括包括R感光通道、Y感光通道和B感光通道中的至少两种,Y感光通道用于感应黄光波段和近红外波段的光。Since in some embodiments, W can be used to represent the light-sensing channel used to sense full-wavelength light, in other embodiments, C can be used to represent the light-sensing channel used to sense full-wavelength light, so when there is more When a photosensitive channel includes a photosensitive channel for sensing light of a full waveband, this photosensitive channel may be a W photosensitive channel or a C photosensitive channel. That is, in practical applications, the photosensitive channel used for sensing the light of the full waveband can be selected according to the use requirements. 14 to 17, the image sensor 01 is a channel array, and the channel array includes a plurality of photosensitive channels. Referring to Figure 14, the image sensor 01 may be an RGBW sensor. The RGBW sensor includes at least two of the R photosensitive channel, G photosensitive channel, B photosensitive channel and W photosensitive channel. The W photosensitive channel is used for full-band white light and near infrared. Or, see Figure 15, the image sensor 01 can be an RCCB sensor. The RCCB sensor includes at least two of the R photosensitive channel, the C photosensitive channel and the B photosensitive channel. The C photosensitive channel is used for full-band white light and Light in the near-infrared band; or, see FIG. 16, the image sensor 01 may be an RGB sensor, and the RGB sensor includes at least two of the R photosensitive channel, the G photosensitive channel, and the B photosensitive channel; or, see FIG. 17, the image sensor 01 can be a RYYB sensor. The RYYB sensor includes at least two of the R photosensitive channel, the Y photosensitive channel, and the B photosensitive channel. The Y photosensitive channel is used to sense light in the yellow light band and the near-infrared band.
在另一些实施例中,有些感光通道也可以仅感应近红外波段的光,而不感应可见光波段的光。作为一种示例,该多个感光通道可以包括R感光通道、G感光通道、B感光通道、IR感光通道中的至少两种。其中,R感光通道用于感应红光波段和近红外波段的光,G感光通道用于感应绿光波段和近红外波段的光,B感光通道用于感应蓝光波段和近红外波段的光,IR感光通道用于感应近红外波段的光。In other embodiments, some photosensitive channels may only sense light in the near-infrared waveband, but not light in the visible light waveband. As an example, the plurality of photosensitive channels may include at least two of R photosensitive channels, G photosensitive channels, B photosensitive channels, and IR photosensitive channels. Among them, the R photosensitive channel is used to sense red light and near-infrared light, the G photosensitive channel is used to sense green light and near-infrared light, and the B photosensitive channel is used to sense blue light and near-infrared light. IR The photosensitive channel is used to sense light in the near-infrared band.
示例地,图像传感器01可以为RGBIR传感器,其中,RGBIR传感器中的每个IR感光通道都可以感应近红外波段的光,而不感应可见光波段的光。For example, the image sensor 01 may be an RGBIR sensor, where each IR photosensitive channel in the RGBIR sensor can sense light in the near-infrared waveband, but not light in the visible light waveband.
其中,当图像传感器01为RGB传感器时,相比于其他图像传感器,如RGBIR传感器等,,RGB传感器采集的RGB信息更完整,RGBIR传感器有一部分的感光通道采集不到可见光,所以RGB传感器采集的图像的色彩细节更准确。Among them, when the image sensor 01 is an RGB sensor, compared to other image sensors, such as RGBIR sensors, the RGB information collected by the RGB sensor is more complete. Some of the photosensitive channels of the RGBIR sensor cannot collect visible light, so the RGB sensor collects The color details of the image are more accurate.
值得注意的是,图像传感器01包括的多个感光通道可以对应多条感应曲线。示例性地,参见图18,图18中的R曲线代表图像传感器01对红光波段的光的感应曲线,G曲线代表图像传感器01对绿光波段的光的感应曲线,B曲线代表 图像传感器01对蓝光波段的光的感应曲线,W(或者C)曲线代表图像传感器01感应全波段的光的感应曲线,NIR(Near infrared,近红外光)曲线代表图像传感器01感应近红外波段的光的感应曲线。It should be noted that the multiple photosensitive channels included in the image sensor 01 may correspond to multiple sensing curves. Exemplarily, referring to FIG. 18, the R curve in FIG. 18 represents the sensing curve of the image sensor 01 to light in the red light band, the G curve represents the sensing curve of the image sensor 01 to light in the green light band, and the B curve represents the image sensor 01 For the sensing curve of light in the blue band, the W (or C) curve represents the sensing curve of the image sensor 01 sensing the light in the full band, and the NIR (Near infrared) curve represents the sensing of the image sensor 01 sensing light in the near infrared band. curve.
对于每个感光通道,该感应通道对应一种颜色的可见光波长范围,该感光通道对其对应的可见光波长范围内的颜色光的感应量子效率较高,从而使该感光通道可以感应其对应的可见光波长范围内的颜色光。例如,参见图18,对于RGBW传感器,RGBW传感器的通道阵列包括红、绿、蓝、白四种颜色感光通道,红、绿、蓝、白四种颜色感光通道分别为R感光通道、G感光通道、B感光通道和W感光通道。参见图18,R感光通道Red对红色光波段内的红色光的感应量子效率较高,所以R感光通道可以用于感应红色光波段内的红色光;G感光通道Green对绿色光波段内的绿色光的感应量子效率较高,所以G感光通道可以用于感应绿色光波段内的绿色光;B感光通道Blue对蓝色光波段内的蓝色光的感应量子效率较高,所以B感光通道可以用于感应蓝色光波段内的蓝色光;W感光通道W对全波段内的白色光的感应量子效率较高,所以W感光通道可以用于感应全波段内的白色光。For each photosensitive channel, the sensing channel corresponds to the visible light wavelength range of a color, and the photosensitive channel has a high sensing quantum efficiency for the color light in the corresponding visible light wavelength range, so that the photosensitive channel can sense its corresponding visible light Color light in the wavelength range. For example, referring to Figure 18, for the RGBW sensor, the channel array of the RGBW sensor includes four color photosensitive channels of red, green, blue, and white. The four color photosensitive channels of red, green, blue and white are respectively R photosensitive channel and G photosensitive channel. , B photosensitive channel and W photosensitive channel. Referring to Fig. 18, the R photosensitive channel Red has a high sensing quantum efficiency for red light in the red light band, so the R photosensitive channel can be used to sense red light in the red light band; G photosensitive channel Green is for green in the green light band The sensing quantum efficiency of light is high, so the G photosensitive channel can be used to sense green light in the green light band; the B photosensitive channel Blue has a higher quantum efficiency for sensing blue light in the blue light band, so the B photosensitive channel can be used Sensing blue light in the blue light band; W photosensitive channel W has a higher quantum efficiency for sensing white light in the full band, so the W photosensitive channel can be used to sense white light in the full band.
作为一种示例,在第一预设曝光的曝光时间段内,图像采集设备基于第一预设曝光的曝光参数进行曝光产生第一原始图像信号;在第二预设曝光的曝光时间段内,图像采集设备基于第二预设曝光的曝光参数进行曝光产生第二原始图像信号。As an example, during the exposure time period of the first preset exposure, the image capture device performs exposure based on the exposure parameters of the first preset exposure to generate the first original image signal; during the exposure time period of the second preset exposure, The image acquisition device performs exposure based on the exposure parameters of the second preset exposure to generate a second original image signal.
对于第一预设曝光的曝光参数和第二预设曝光的曝光参数,该曝光参数包括曝光时间、模拟增益、数字增益、光圈大小中的至少一种。For the exposure parameter of the first preset exposure and the exposure parameter of the second preset exposure, the exposure parameter includes at least one of exposure time, analog gain, digital gain, and aperture size.
其中,第一预设曝光的曝光参数和第二预设曝光的曝光参数可以相同,或者,第一预设曝光的曝光参数和第二预设曝光的至少一个曝光参数可以不同。The exposure parameter of the first preset exposure and the exposure parameter of the second preset exposure may be the same, or the exposure parameter of the first preset exposure and at least one exposure parameter of the second preset exposure may be different.
在第一预设曝光的曝光参数和第二预设曝光的至少一个曝光参数不同的情况下,该至少一个曝光参数为曝光时间、曝光增益、光圈大小中的至少一种,曝光增益包括模拟增益,和/或,数字增益。In the case that the exposure parameter of the first preset exposure and the at least one exposure parameter of the second preset exposure are different, the at least one exposure parameter is at least one of exposure time, exposure gain, and aperture size, and the exposure gain includes analog gain , And/or, digital gain.
第一预设曝光的曝光参数中存在至少一个参数和第二预设曝光的曝光参数中存在至少一个参数不同。作为一种示例,第一预设曝光的曝光增益小于第二预设曝光的曝光增益。在第一预设曝光的曝光时间段内,图像采集设备感应到的近红外光的强度较强,相应地产生并输出的第一原始图像信号包括的近红外光的亮度也会较高。但是较高亮度的近红外光不利于外部场景信息的获取。而 曝光增益越大,图像采集设备曝光产生的图像信号的亮度越高,曝光增益越小,图像采集设备曝光产生的图像信号的亮度越低,因此,为了保证第一原始图像信号包含的近红外光的亮度在合适的范围内,第一预设曝光的曝光增益可以小于第二预设曝光的曝光增益。这样,在图像采集设备进行近红外补光时,图像采集设备曝光产生的第一原始图像信号包含的近红外光的亮度,不会因图像采集设备进行近红外补光而过高。和/或,At least one parameter in the exposure parameter of the first preset exposure is different from at least one parameter in the exposure parameter of the second preset exposure. As an example, the exposure gain of the first preset exposure is smaller than the exposure gain of the second preset exposure. During the exposure time period of the first preset exposure, the intensity of the near-infrared light sensed by the image acquisition device is relatively strong, and accordingly the intensity of the near-infrared light included in the first original image signal generated and output will also be relatively high. However, near-infrared light with higher brightness is not conducive to the acquisition of external scene information. The greater the exposure gain, the higher the brightness of the image signal generated by the exposure of the image capture device, and the smaller the exposure gain, the lower the brightness of the image signal generated by the exposure of the image capture device. Therefore, in order to ensure that the first original image signal contains the near infrared The brightness of the light is within a suitable range, and the exposure gain of the first preset exposure may be smaller than the exposure gain of the second preset exposure. In this way, when the image acquisition device performs near-infrared supplementary light, the brightness of the near-infrared light contained in the first original image signal generated by the image acquisition device exposure will not be too high due to the near-infrared supplementary light performed by the image acquisition device. and / or,
作为一种示例,第一预设曝光的曝光时间小于第二预设曝光的曝光时间。其中曝光时间越长,图像采集设备曝光产生的图像的亮度越高,曝光时间越短,图像采集设备曝光产生的图像信号包括的亮度越低。因此,为了保证第一原始图像信号包含的近红外光的亮度在合适的范围内,使第一预设曝光的曝光时间可以小于第二预设曝光的曝光时间。这样,在图像采集设备进行近红外补光时,图像采集设备曝光产生的第一原始图像信号包含的近红外光的亮度,不会因图像采集设备进行近红外补光而过高。另外,当拍摄运动的物体时,较短的曝光时间不容易使图像信号中出现运动拖尾现象,从而保证了较高的成像质量。As an example, the exposure time of the first preset exposure is less than the exposure time of the second preset exposure. The longer the exposure time, the higher the brightness of the image generated by the exposure of the image capture device, and the shorter the exposure time, the lower the brightness included in the image signal generated by the exposure of the image capture device. Therefore, in order to ensure that the brightness of the near-infrared light contained in the first original image signal is within an appropriate range, the exposure time of the first preset exposure may be shorter than the exposure time of the second preset exposure. In this way, when the image acquisition device performs near-infrared supplementary light, the brightness of the near-infrared light contained in the first original image signal generated by the image acquisition device exposure will not be too high due to the near-infrared supplementary light performed by the image acquisition device. In addition, when shooting moving objects, a shorter exposure time is not easy to cause motion tailing in the image signal, thereby ensuring a higher imaging quality.
作为一种示例,当第一预设曝光的曝光增益小于第二预设曝光的曝光增益时,第一预设曝光的曝光时间不仅可以小于第二预设曝光的曝光时间,还可以等于第二预设曝光的曝光时间。同理,当第一预设曝光的曝光时间小于第二预设曝光的曝光时间时,第一预设曝光的曝光增益不仅可以小于第二预设曝光的曝光增益,还可以等于第二预设曝光的曝光增益。As an example, when the exposure gain of the first preset exposure is less than the exposure gain of the second preset exposure, the exposure time of the first preset exposure may not only be less than the exposure time of the second preset exposure, but may also be equal to the second preset exposure. Exposure time for preset exposure. Similarly, when the exposure time of the first preset exposure is less than the exposure time of the second preset exposure, the exposure gain of the first preset exposure may not only be less than the exposure gain of the second preset exposure, but also be equal to the second preset exposure. Exposure gain for exposure.
作为一种示例,图像采集设备在单位时间长度内的补光次数低于图像采集设备在所述单位时间长度内的曝光次数,其中,每相邻两次补光的间隔时间段内,间隔一次或多次曝光。As an example, the number of times of supplementary light in the unit time length of the image acquisition device is lower than the number of exposures of the image acquisition device in the unit time length, wherein, within the interval of two adjacent supplementary times, there is one interval Or multiple exposures.
在本步骤中,图像采集设备多次曝光操作,可以包括如下两种方式:In this step, the multiple exposure operation of the image capture device can include the following two methods:
第一种方式,图像采集设备采用全局曝光方式进行多次曝光,对于任意一次近红外补光,近红外补光的时间段与最邻近的所述第二预设曝光的曝光时间段不存在交集,近红外补光的时间段是第一预设曝光的曝光时间段的子集,或者,近红外补光的时间段与第一预设曝光的曝光时间段存在交集,或者第一预设曝光的曝光时间段是近红外补光的子集。In the first method, the image acquisition device uses a global exposure method to perform multiple exposures. For any one near-infrared fill light, the time period of the near-infrared fill light does not overlap with the exposure time period of the nearest second preset exposure , The time period of near-infrared supplement light is a subset of the exposure time period of the first preset exposure, or the time period of near-infrared supplement light and the exposure time period of the first preset exposure overlap, or the first preset exposure The exposure time period is a subset of the near-infrared fill light.
第二种方式,图像采集设备采用卷帘曝光方式进行多次曝光,对于任意一次近红外补光,近红外补光的时间段与最邻近的所述第二预设曝光的曝光时间段不存在交集;近红外补光的开始时刻不早于第一预设曝光中最后一行有效图 像的曝光开始时刻,近红外补光的结束时刻不晚于第一预设曝光中第一行有效图像的曝光结束时刻;或者,近红外补光的开始时刻不早于第一预设曝光之前的最邻近的第二预设曝光的最后一行有效图像的曝光结束时刻且不晚于第一预设曝光中第一行有效图像的曝光结束时刻,近红外补光的结束时刻不早于第一预设曝光中最后一行有效图像的曝光开始时刻且不晚于第一预设曝光之后的最邻近的第二预设曝光的第一行有效图像的曝光开始时刻;或者近红外补光的开始时刻不早于第一预设曝光之前的最邻近的第二预设曝光的最后一行有效图像的曝光结束时刻且不晚于所述第一预设曝光中第一行有效图像的曝光开始时刻,近红外补光的结束时刻不早于第一预设曝光中最后一行有效图像的曝光结束时刻且不晚于所述第一预设曝光之后的最邻近的第二预设曝光的第一行有效图像的曝光开始时刻。In the second way, the image capture device uses rolling shutter exposure for multiple exposures. For any one near-infrared fill light, the time period of near-infrared fill light does not exist with the exposure time period of the nearest second preset exposure Intersection; the start time of the near-infrared fill light is no earlier than the exposure start time of the last line of the effective image in the first preset exposure, and the end time of the near-infrared fill light is no later than the exposure of the first line of the effective image in the first preset exposure End time; or, the start time of the near-infrared fill light is no earlier than the exposure end time of the last line of the effective image of the nearest second preset exposure before the first preset exposure and no later than the first preset exposure The exposure end time of one line of effective image, the end time of near-infrared fill light is no earlier than the exposure start time of the last line of effective image in the first preset exposure and no later than the nearest second preset after the first preset exposure Set the exposure start time of the first line of the effective image of the exposure; or the start time of the near-infrared fill light is no earlier than the exposure end time of the last line of the effective image of the nearest second preset exposure before the first preset exposure. Later than the exposure start time of the first line of the effective image in the first preset exposure, the end time of the near-infrared fill light is no earlier than the exposure end time of the last line of the effective image in the first preset exposure and no later than the The exposure start time of the first line of the effective image of the nearest second preset exposure after the first preset exposure.
该多次曝光包括奇数次曝光和偶数次曝光;The multiple exposures include odd exposures and even exposures;
作为一种示例,第一预设曝光为奇数次曝光中的一次曝光,第二预设曝光为偶数次曝光中的一次曝光。As an example, the first preset exposure is one exposure in odd-numbered exposures, and the second preset exposure is one exposure in even-numbered exposures.
作为一种示例,第一预设曝光为偶数次曝光中的一次曝光,第二预设曝光为奇数次曝光中的一次曝光。As an example, the first preset exposure is one exposure in an even number of exposures, and the second preset exposure is one exposure in an odd number of exposures.
作为一种示例,第一预设曝光为指定的奇数次曝光中的一次曝光,第二预设曝光为除指定的奇数次曝光之外的其他曝光中的一次曝光。As an example, the first preset exposure is one exposure in the specified odd-numbered exposures, and the second preset exposure is one exposure in other exposures except the specified odd-numbered exposures.
作为一种示例,第一预设曝光为指定的偶数次曝光中的一次曝光,第二预设曝光为除指定的偶数次曝光之外的其他曝光中的一次曝光。As an example, the first preset exposure is one exposure in the specified even number of exposures, and the second preset exposure is one exposure in other exposures except the specified even number of exposures.
作为一种示例,第一预设曝光为第一曝光序列中的一次曝光,第二预设曝光为第二曝光序列中的一次曝光。As an example, the first preset exposure is one exposure in the first exposure sequence, and the second preset exposure is one exposure in the second exposure sequence.
作为一种示例,第一预设曝光为第二曝光序列中的一次曝光,第二预设曝光为所述第一曝光序列中的一次曝光;As an example, the first preset exposure is one exposure in the second exposure sequence, and the second preset exposure is one exposure in the first exposure sequence;
其中,多次曝光包括多个曝光序列,第一曝光序列和第二曝光序列为多个曝光序列中的一个曝光序列或者两个曝光序列,每个曝光序列包括N次曝光,N次曝光包括1次第一预设曝光和N-1次第二预设曝光,或者,N次曝光包括1次第二预设曝光和N-1次第二预设曝光,N为大于2的正整数。Wherein, multiple exposures include multiple exposure sequences, the first exposure sequence and the second exposure sequence are one exposure sequence or two exposure sequences among the multiple exposure sequences, each exposure sequence includes N exposures, and N exposures include 1. First preset exposure and N-1 second preset exposure, or N exposures include 1 second preset exposure and N-1 second preset exposure, and N is a positive integer greater than 2.
需要说明的是,由于人眼容易将图像采集设备进行近红外光补光的颜色与交通灯中的红灯的颜色混淆,所以,图像采集设备还进行可见光补光。这样,如果图像采集设备至少在第一预设曝光的部分曝光时间提供可见光补光,也即 是,至少在第一预设曝光的部分曝光时间段内进行近红外补光和可见光补光,这两种光的混合颜色可以区别于交通灯中的红灯的颜色,从而避免了人眼将图像采集设备进行近红外补光的颜色与交通灯中的红灯的颜色混淆。另外,如果图像采集设备在第二预设曝光的曝光时间段内提供可见光补光,由于第二预设曝光的曝光时间段内可见光的强度不是特别高,因此,在第二预设曝光的曝光时间段内进行可见光补光时,还可以提高第二原始图像信号中的可见光的亮度,进而保证图像采集的质量。It should be noted that, since the human eye can easily confuse the color of the near-infrared light supplemented by the image acquisition device with the color of the red light in the traffic light, the image acquisition device also performs visible light supplementation. In this way, if the image capture device provides visible light supplemental light at least during a partial exposure time of the first preset exposure, that is, it performs near-infrared supplementary light and visible light supplementary light at least during a partial exposure time period of the first preset exposure. The mixed color of the two lights can be distinguished from the color of the red light in the traffic light, thereby avoiding the human eye from confusing the color of the near-infrared fill light of the image acquisition device with the color of the red light in the traffic light. In addition, if the image capture device provides visible light supplementary light during the exposure time period of the second preset exposure, since the intensity of visible light is not particularly high during the exposure time period of the second preset exposure, the exposure time of the second preset exposure When the visible light supplement is performed within the time period, the brightness of the visible light in the second original image signal can also be increased, thereby ensuring the quality of image collection.
作为一种示例,图像采集设备进行可见光补光的实现方式可以为:As an example, the implementation of visible light supplemental light by the image acquisition device may be:
图像采集设备以常亮方式进行可见光补光;或者The image acquisition device performs visible light supplementation in a constant light mode; or
图像采集设备以频闪方式进行可见光补光,其中,至少在第一预设曝光的部分曝光时间段内进行可见光补光,在第二预设曝光的整个曝光时间段内不进行可见光补光;或者The image acquisition device performs visible light supplementation in a stroboscopic manner, wherein visible light supplementation is performed at least during a partial exposure time period of the first preset exposure, and visible light supplementation is not performed during the entire exposure time period of the second preset exposure; or
图像采集设备以频闪方式进行可见光补光,其中,至少在第一预设曝光的整个曝光时间段内不进行可见光补光,在第二预设曝光的部分曝光时间段内进行可见光补光。The image acquisition device performs visible light supplementation in a stroboscopic manner, where visible light supplementation is not performed at least during the entire exposure time period of the first preset exposure, and visible light supplementation is performed during the partial exposure time period of the second preset exposure.
步骤204:图像采集设备根据第一原始图像信号得到灰度图像,根据第二原始图像信号得到彩色图像。Step 204: The image acquisition device obtains a grayscale image according to the first original image signal, and obtains a color image according to the second original image signal.
在本步骤中,图像采集设备对第一原始图像信号进行第一信号处理得到灰度图像,对第二原始图像信号进行第二信号处理得到彩色图像。In this step, the image acquisition device performs first signal processing on the first original image signal to obtain a grayscale image, and performs second signal processing on the second original image signal to obtain a color image.
第一信号处理至少包括第一锐化处理,第二信号处理至少包括第二锐化处理,第一锐化处理的强度小于第二锐化处理的强度。The first signal processing includes at least a first sharpening process, and the second signal processing includes at least a second sharpening process, and the intensity of the first sharpening process is less than the intensity of the second sharpening process.
第一信号处理还包括黑电平校正、Gamma校正、色彩校正、去马赛克或降噪等处理中的至少一个、第二信号处理还包括黑电平校正、Gamma校正、色彩校正。去马赛克或降噪等处理中的至少一个。The first signal processing further includes at least one of black level correction, gamma correction, color correction, demosaicing, or noise reduction, and the second signal processing further includes black level correction, gamma correction, and color correction. At least one of processing such as demosaicing or noise reduction.
作为一种示例,图像采集设备可以将第一原始图像信号进行预处理之后的图像信号和第二原始图像信号进行预处理之后的图像信号进行融合得到融合后的图像,将融合后的图像进行第二信号处理得到彩色图像。As an example, the image acquisition device may fuse the image signal after preprocessing the first original image signal and the image signal after preprocessing the second original image signal to obtain a fused image, and perform the first fusion image on the fused image. Second, signal processing to obtain a color image.
第一原始图像信号和第二原始图像信号分别为两幅图像,图像采集设备可以从第一原始图像信号经预处理之后的图像信号中提取第一边缘图像,第一边缘图像中包括第一原始图像信号对应图像中的各物体图像的边缘,从第二原始图像信号经预处理之后的图像信号中提取第二边缘图像,第二边缘图像包括第 二原始图像信号对应图像中的各物体图像的边缘。然后图像采集设备通过上述第一公式进行融合得到融合后的图像,将融合后的图像进行第二信号处理得到彩色图像。The first original image signal and the second original image signal are two images respectively. The image acquisition device can extract the first edge image from the image signal after the first original image signal is preprocessed, and the first edge image includes the first original image. The image signal corresponds to the edge of each object image in the image, and the second edge image is extracted from the image signal after the second original image signal is preprocessed. The second edge image includes the image of each object in the image corresponding to the second original image signal. edge. Then, the image acquisition device performs fusion through the above-mentioned first formula to obtain a fused image, and performs a second signal processing on the fused image to obtain a color image.
步骤205:对该彩色图像进行压缩编码,以及对该灰度图像进行智能分析。Step 205: Perform compression coding on the color image, and perform intelligent analysis on the grayscale image.
在本步骤中,可采用SoC芯片中的神经网络计算单元,采用深度学习网络,比如FastRCNN对灰度图像进行智能分析,比如人脸检测等。In this step, the neural network computing unit in the SoC chip can be used, and a deep learning network, such as FastRCNN, can be used to perform intelligent analysis on grayscale images, such as face detection.
在本步骤中,可采用SoC芯片中的编码压缩模块,比如采用H.264的标准将图像序列压缩为视频码流并输出。In this step, the encoding compression module in the SoC chip can be used, for example, the H.264 standard is used to compress the image sequence into a video stream and output.
在本步骤中,对该彩色图像进行压缩编码得到视频码流,以及对该灰度图像进行智能分析得到分析结果或得到目标子图。In this step, the color image is compressed and encoded to obtain a video code stream, and the gray image is intelligently analyzed to obtain an analysis result or a target sub-image.
智能分析是目标检测或人脸检测时,得到目标子图可以为目标图像或人脸图像。例如,在进行车牌检测时,得到的目标子图为车牌图像。When intelligent analysis is target detection or face detection, the obtained target sub-image can be a target image or a face image. For example, when performing license plate detection, the target sub-image obtained is a license plate image.
在本申请实施列中,图像采集设备在第一预设曝光的曝光时间段内进行近红外补光,在第二预设曝光的曝光时间段内不进行近红外补光;这样在第一预设曝光的曝光时间段内图像采集设备对经物体反射进入的近红外光以及环境光中的可见光和近红外光进行曝光得到第一原始图像信号,在第二预设曝光的曝光时间段内图像采集设备对经物体反射的环境光中的可见光和近红外光进行曝光得到第二原始图像信号;然后图像采集设备对第一原始图像信号进行第一信号处理得到灰度图像,对第二原始图像信号进行第二信号处理得到彩色图像,对彩色图像进行压缩编码得到视频码流,对灰度图像进行智能分析得到分析结果。由于在第一预设曝光的曝光时间段内,图像采集设备进行近红外补光,这样图像采集设备在第一预设曝光的曝光时间段内根据第一预设曝光的曝光参数曝光得到第一原始图像信号,可以降低第一原始图像信号中的噪声,对第一原始图像信号进行处理得到灰度图像,灰图图像的噪声也随之降低,基于灰度图像进行分析,可提高分析结果的精度。In the implementation column of this application, the image acquisition device performs near-infrared supplementary light during the exposure time period of the first preset exposure, and does not perform near-infrared supplementary light during the exposure time period of the second preset exposure; Suppose the image acquisition device exposes the near-infrared light reflected by the object and the visible light and near-infrared light in the ambient light to obtain the first original image signal during the exposure time period of the exposure, and the image is in the exposure time period of the second preset exposure The acquisition device exposes the visible light and near-infrared light in the ambient light reflected by the object to obtain the second original image signal; then the image acquisition device performs the first signal processing on the first original image signal to obtain the gray image, and the second original image The second signal processing is performed on the signal to obtain a color image, the color image is compressed and encoded to obtain a video code stream, and the gray image is intelligently analyzed to obtain an analysis result. Since during the exposure time period of the first preset exposure, the image capture device performs near-infrared fill light, so that the image capture device obtains the first exposure according to the exposure parameters of the first preset exposure within the exposure time period of the first preset exposure. The original image signal can reduce the noise in the first original image signal. The first original image signal is processed to obtain a gray image. The noise of the gray image is also reduced. The analysis based on the gray image can improve the analysis result. Accuracy.
本领域技术人员在考虑说明书及实践这里公开的申请后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求指出。After considering the specification and practicing the application disclosed herein, those skilled in the art will easily think of other embodiments of the application. This application is intended to cover any variations, uses, or adaptive changes of this application. These variations, uses, or adaptive changes follow the general principles of this application and include common knowledge or customary technical means in the technical field not disclosed in this application. . The description and embodiments are only regarded as exemplary, and the true scope and spirit of the application are pointed out by the following claims.
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。It should be understood that the present application is not limited to the precise structure that has been described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the application is only limited by the appended claims.

Claims (21)

  1. 一种图像采集装置,其特征在于,包括:图像传感器(01)、补光器(02)和滤光组件(03),所述图像传感器(01)位于所述滤光组件(03)的出光侧;还包括图像信号处理单元(04)、编码压缩单元(05)和分析单元(06);An image acquisition device, which is characterized by comprising: an image sensor (01), a light supplement (02) and a filter component (03), the image sensor (01) is located at the light output of the filter component (03) Side; also includes an image signal processing unit (04), a coding compression unit (05), and an analysis unit (06);
    所述图像传感器(01),用于通过多次曝光产生并输出第一原始图像信号和第二原始图像信号,其中,所述第一原始图像信号是根据第一预设曝光产生的图像信号,所述第二原始图像信号是根据第二预设曝光产生的图像信号,所述第一预设曝光和所述第二预设曝光为所述多次曝光中的其中两次曝光;The image sensor (01) is used to generate and output a first original image signal and a second original image signal through multiple exposures, wherein the first original image signal is an image signal generated according to a first preset exposure, The second original image signal is an image signal generated according to a second preset exposure, and the first preset exposure and the second preset exposure are two of the multiple exposures;
    所述补光器(02)包括第一补光装置(021),所述第一补光装置(021)用于以频闪方式进行近红外补光,其中,至少在所述第一预设曝光的部分曝光时间段内进行近红外补光,在所述第二预设曝光的曝光时间段内不进行近红外补光;The light fill device (02) includes a first light fill device (021), and the first light fill device (021) is used to perform near-infrared fill light in a stroboscopic manner, wherein, at least in the first preset Performing near-infrared supplemental light during a partial exposure time period of the exposure, and not performing near-infrared supplementary light during the exposure time period of the second preset exposure;
    所述滤光组件(03)包括第一滤光片(031),所述第一滤光片(031)使可见光和部分近红外光通过;The filter assembly (03) includes a first filter (031), and the first filter (031) passes visible light and part of near-infrared light;
    所述图像信号处理单元(04),用于根据第一原始图像信号得到灰度图像,根据第二原始图像信号得到彩色图像;The image signal processing unit (04) is configured to obtain a gray image according to the first original image signal, and obtain a color image according to the second original image signal;
    所述编码压缩单元(05),用于对所述彩色图像进行压缩编码;The encoding compression unit (05) is configured to compress and encode the color image;
    所述分析单元(06),用于对所述灰度图像进行智能分析。The analysis unit (06) is used for intelligent analysis of the gray image.
  2. 如权利要求1所述的图像采集装置,其特征在于,The image acquisition device according to claim 1, wherein:
    所述第一预设曝光与所述第二预设曝光的至少一个曝光参数不同,所述至少一个曝光参数为曝光时间、曝光增益、光圈大小中的一种或多种,所述曝光增益包括模拟增益,和/或,数字增益。At least one exposure parameter of the first preset exposure and the second preset exposure is different, the at least one exposure parameter is one or more of exposure time, exposure gain, and aperture size, and the exposure gain includes Analog gain, and/or, digital gain.
  3. 如权利要求2所述的图像采集装置,其特征在于,所述第一预设曝光的曝光增益小于所述第二预设曝光的曝光增益。3. The image capture device of claim 2, wherein the exposure gain of the first preset exposure is smaller than the exposure gain of the second preset exposure.
  4. 如权利要求1所述的图像采集装置,其特征在于,所述第一预设曝光和所述第二预设曝光的至少一个曝光参数相同,所述至少一个曝光参数包括曝光时间、曝光增益、光圈大小中的一种或多种,所述曝光增益包括模拟增益,和/ 或,数字增益。The image acquisition device according to claim 1, wherein at least one exposure parameter of the first preset exposure and the second preset exposure is the same, and the at least one exposure parameter includes exposure time, exposure gain, One or more of the aperture size, the exposure gain includes analog gain, and/or, digital gain.
  5. 如权利要求4所述的图像采集装置,其特征在于,所述第一预设曝光的曝光时间等于所述第二预设曝光的曝光时间。5. The image acquisition device of claim 4, wherein the exposure time of the first preset exposure is equal to the exposure time of the second preset exposure.
  6. 如权利要求1所述的图像采集装置,其特征在于,所述根据第一原始图像信号得到灰度图像,根据第二原始图像信号得到彩色图像,包括:8. The image acquisition device of claim 1, wherein the obtaining a grayscale image according to the first original image signal and obtaining a color image according to the second original image signal comprises:
    对所述第一原始图像信号至少进行第一锐化处理得到灰度图像,对所述第二原始图像信号至少进行第二锐化处理得到彩色图像,所述第一锐化处理的强度小于所述第二锐化处理的强度。Perform at least a first sharpening process on the first original image signal to obtain a grayscale image, perform at least a second sharpening process on the second original image signal to obtain a color image, and the intensity of the first sharpening process is less than The intensity of the second sharpening process.
  7. 如权利要求1所述的图像采集装置,其特征在于,所述根据第二原始图像信号得到彩色图像包括:8. The image acquisition device according to claim 1, wherein said obtaining a color image according to the second original image signal comprises:
    将所述第一原始图像信号进行预处理之后的图像和所述第二原始图像信号进行预处理之后的图像进行融合得到融合后的图像,将融合后的图像确定为所述彩色图像。The image after the preprocessing of the first original image signal and the image after the preprocessing of the second original image signal are fused to obtain a fused image, and the fused image is determined as the color image.
  8. 如权利要求1所述的图像采集装置,其特征在于,所述滤光组件(03)还包括第二滤光片(032)和切换部件(033),所述第一滤光片(031)和所述第二滤光片(032)均与所述切换部件(033)连接;The image acquisition device according to claim 1, wherein the filter assembly (03) further comprises a second filter (032) and a switching component (033), and the first filter (031) And the second filter (032) are both connected to the switching component (033);
    所述切换部件(033),用于将所述第二滤光片(032)切换到所述图像传感器(01)的入光侧;The switching component (033) is used to switch the second filter (032) to the light incident side of the image sensor (01);
    在所述第二滤光片(032)切换到所述图像传感器(01)的入光侧之后,所述第二滤光片(032)使可见光波段的光通过,阻挡近红外光波段的光,所述图像传感器(01),用于通过曝光产生并输出第三图像信号。After the second filter (032) is switched to the light incident side of the image sensor (01), the second filter (032) allows light in the visible light band to pass and blocks light in the near-infrared light band , The image sensor (01) is used to generate and output a third image signal through exposure.
  9. 如权利要求1所述的图像采集装置,其特征在于,入射到所述第一滤光片(031)的近红外光的波段范围为第一参考波段范围,所述第一参考波段范围为650纳米~1100纳米。The image acquisition device according to claim 1, wherein the wavelength range of the near-infrared light incident on the first filter (031) is a first reference wavelength range, and the first reference wavelength range is 650 Nanometer ~ 1100 nm.
  10. 如权利要求1所述的图像采集装置,其特征在于,The image acquisition device according to claim 1, wherein:
    所述第一补光装置(021)进行近红外补光的中心波长为设定特征波长或者落在设定特征波长范围时,通过所述第一滤光片(031)的近红外光的中心波长和/或波段宽度达到约束条件。When the center wavelength of the near-infrared supplement light performed by the first light supplement device (021) is the set characteristic wavelength or falls within the set characteristic wavelength range, the center of the near-infrared light passing through the first filter (031) The wavelength and/or band width meet the constraint conditions.
  11. 如权利要求10所述的图像采集装置,其特征在于,所述第一补光装置(021)进行近红外补光的中心波长为750±10纳米的波长范围内的任一波长;或者The image acquisition device according to claim 10, characterized in that the center wavelength of the near-infrared supplement light performed by the first light supplement device (021) is any wavelength within the wavelength range of 750±10 nanometers;
    所述第一补光装置(021)进行近红外补光的中心波长为780±10纳米的波长范围内的任一波长;或者The center wavelength of the first light supplement device (021) for near-infrared supplement light is any wavelength within the wavelength range of 780±10 nanometers; or
    所述第一补光装置(021)进行近红外补光的中心波长为940±10纳米的波长范围内的任一波长。The center wavelength of the first light supplement device (021) for near-infrared supplement light is any wavelength within the wavelength range of 940±10 nanometers.
  12. 如权利要求10所述的图像采集装置,其特征在于,所述约束条件包括:9. The image acquisition device according to claim 10, wherein the constraint condition comprises:
    通过所述第一滤光片(031)的近红外光的中心波长与所述第一补光装置(021)进行近红外补光的中心波长之间的差值位于波长波动范围内,所述波长波动范围为0~20纳米;或者,The difference between the center wavelength of the near-infrared light passing through the first filter (031) and the center wavelength of the near-infrared light supplemented by the first light-filling device (021) lies within the wavelength fluctuation range, and The wavelength fluctuation range is 0-20 nanometers; or,
    所述约束条件包括:通过所述第一滤光片(031)的近红外光的半带宽小于或等于50纳米;或者,The restriction conditions include: the half bandwidth of the near-infrared light passing through the first filter (031) is less than or equal to 50 nanometers; or,
    所述约束条件包括:第一波段宽度小于第二波段宽度;其中,所述第一波段宽度是指通过所述第一滤光片(031)的近红外光的波段宽度,所述第二波段宽度是指被所述第一滤光片(031)阻挡的近红外光的波段宽度;或者,The restriction conditions include: the width of the first waveband is smaller than the width of the second waveband; wherein, the first waveband width refers to the waveband width of the near-infrared light passing through the first filter (031), and the second waveband The width refers to the wavelength band width of the near infrared light blocked by the first filter (031); or,
    所述约束条件包括:第三波段宽度小于参考波段宽度,所述第三波段宽度是指通过率大于设定比例的近红外光的波段宽度,所述参考波段宽度为50纳米~150纳米的波段范围内的任一波段宽度,所述设定比例为30%~50%的比例范围内的任一比例。The restriction conditions include: the third waveband width is less than the reference waveband width, the third waveband width refers to the waveband width of near-infrared light whose pass rate is greater than a set ratio, and the reference waveband width is a waveband of 50 nanometers to 150 nanometers For any band width within the range, the set ratio is any ratio within the ratio range of 30% to 50%.
  13. 如权利要求1所述的图像采集装置,其特征在于,所述图像传感器(01)包括多个感光通道,每个感光通道用于感应至少一种可见光波段的光,以及感应近红外波段的光。The image acquisition device according to claim 1, wherein the image sensor (01) comprises a plurality of photosensitive channels, and each photosensitive channel is used to sense at least one light in the visible light band, and to sense light in the near-infrared band. .
  14. 如权利要求13所述的图像采集装置,其特征在于,所述多个感光通道用于感应至少两种不同的可见光波段的光。The image acquisition device according to claim 13, wherein the plurality of photosensitive channels are used to sense at least two different visible light wavelength bands.
  15. 如权利要求1-3任一所述的图像采集装置,其特征在于,所述补光器(02)还包括第二补光装置(022);The image acquisition device according to any one of claims 1 to 3, wherein the light supplement device (02) further comprises a second light supplement device (022);
    所述第二补光装置(022)用于以常亮方式进行可见光补光;或者The second light supplement device (022) is used to perform visible light supplement light in a constant light mode; or
    所述第二补光装置(022)用于以频闪方式进行可见光补光,其中,至少在所述第一预设曝光的部分曝光时间段内进行可见光补光,在所述第二预设曝光的整个曝光时间段内不进行可见光补光;或者The second light supplement device (022) is used to perform visible light supplement light in a stroboscopic manner, wherein the visible light supplement light is performed at least during a part of the exposure time period of the first preset exposure, and the visible light supplement is performed in the second preset exposure. No visible light fill is performed during the entire exposure time period of the exposure; or
    所述第二补光装置(022)用于以频闪方式进行可见光补光,其中,至少在所述第一预设曝光的整个曝光时间段内不进行可见光补光,在所述第二预设曝光的部分曝光时间段内进行可见光补光。The second light supplement device (022) is used to perform visible light supplement light in a stroboscopic manner, wherein at least visible light supplement light is not performed during the entire exposure time period of the first preset exposure. It is assumed that the visible light fill light is performed during a part of the exposure time period of the exposure.
  16. 如权利要求1所述的图像采集装置,其特征在于,所述第一补光装置(021)在单位时间长度内的补光次数低于所述图像传感器(01)在所述单位时间长度内的曝光次数,其中,每相邻两次补光的间隔时间段内,间隔一次或多次曝光。The image acquisition device according to claim 1, characterized in that, the number of times of supplementary light in the unit time length of the first light supplement device (021) is lower than that of the image sensor (01) in the unit time length The number of exposures is one or more exposures within the interval between two adjacent fills.
  17. 如权利要求1所述的图像采集装置,其特征在于,The image acquisition device according to claim 1, wherein:
    所述图像传感器采用全局曝光方式进行多次曝光,对于任意一次近红外补光,近红外补光的时间段与最邻近的所述第二预设曝光的曝光时间段不存在交集,近红外补光的时间段是所述第一预设曝光的曝光时间段的子集,或者,近红外补光的时间段与所述第一预设曝光的曝光时间段存在交集,或者所述第一预设曝光的曝光时间段是近红外补光的子集。The image sensor adopts a global exposure mode for multiple exposures. For any one near-infrared supplementary light, the time period of near-infrared supplementary light does not overlap with the exposure time period of the nearest second preset exposure. The time period of light is a subset of the exposure time period of the first preset exposure, or the time period of near-infrared fill light and the exposure time period of the first preset exposure overlap, or the first preset exposure Let the exposure period of exposure be a subset of the near-infrared fill light.
  18. 如权利要求1所述的图像采集装置,其特征在于,The image acquisition device according to claim 1, wherein:
    所述图像传感器采用卷帘曝光方式进行多次曝光,对于任意一次近红外补光,近红外补光的时间段与最邻近的所述第二预设曝光的曝光时间段不存在交集;The image sensor adopts a rolling shutter exposure method to perform multiple exposures. For any one near-infrared supplement light, the time period of the near-infrared supplement light does not overlap with the exposure time period of the nearest second preset exposure;
    近红外补光的开始时刻不早于所述第一预设曝光中最后一行有效图像的曝光开始时刻,近红外补光的结束时刻不晚于所述第一预设曝光中第一行有效图像的曝光结束时刻;The start time of the near-infrared fill light is no earlier than the exposure start time of the last line of the effective image in the first preset exposure, and the end time of the near-infrared fill light is no later than the first line of the effective image in the first preset exposure The end of the exposure;
    或者,or,
    近红外补光的开始时刻不早于所述第一预设曝光之前的最邻近的第二预设曝光的最后一行有效图像的曝光结束时刻且不晚于所述第一预设曝光中第一行有效图像的曝光结束时刻,近红外补光的结束时刻不早于所述第一预设曝光中最后一行有效图像的曝光开始时刻且不晚于所述第一预设曝光之后的最邻近的第二预设曝光的第一行有效图像的曝光开始时刻;或者The start time of the near-infrared fill light is not earlier than the exposure end time of the last line of the effective image of the nearest second preset exposure before the first preset exposure and not later than the first preset exposure. The exposure end time of the line effective image, the end time of the near-infrared fill light is no earlier than the exposure start time of the last line of the effective image in the first preset exposure and no later than the nearest neighbor after the first preset exposure The exposure start time of the first line of the effective image of the second preset exposure; or
    近红外补光的开始时刻不早于所述第一预设曝光之前的最邻近的第二预设曝光的最后一行有效图像的曝光结束时刻且不晚于所述第一预设曝光中第一行有效图像的曝光开始时刻,近红外补光的结束时刻不早于所述第一预设曝光中最后一行有效图像的曝光结束时刻且不晚于所述第一预设曝光之后的最邻近的第二预设曝光的第一行有效图像的曝光开始时刻。The start time of the near-infrared fill light is no earlier than the exposure end time of the last line of the effective image of the nearest second preset exposure before the first preset exposure and no later than the first preset exposure. The exposure start time of the line effective image, the end time of the near-infrared fill light is no earlier than the exposure end time of the last line of the effective image in the first preset exposure and no later than the nearest neighbor after the first preset exposure The exposure start time of the first line of the effective image of the second preset exposure.
  19. 一种摄像方法,其特征在于,应用于图像采集设备,所述图像采集设备包括图像传感器(01)、补光器(02)和滤光组件(03),所述图像传感器(01)位于所述滤光组件(03)的出光侧,所述补光器(02)包括第一补光装置,所述滤光组件(03)包括第一滤光片,所述方法包括:A photographing method, characterized in that it is applied to an image acquisition device, the image acquisition device includes an image sensor (01), a light supplement (02) and a filter component (03), the image sensor (01) is located in the On the light exit side of the light filter assembly (03), the light fill device (02) includes a first light fill device, the light filter assembly (03) includes a first filter, and the method includes:
    所述图像采集设备通过所述第一补光装置进行近红外补光,其中所述第一补光装置至少在所述图像传感器多次曝光的第一预设曝光的部分曝光时间段内进行近红外补光,在所述多次曝光的第二预设曝光的曝光时间段内不进行近红外补光,第一预设曝光和第二预设曝光为多次曝光中的其中两次曝光;The image acquisition device performs near-infrared light supplementation through the first light-filling device, wherein the first light-filling device performs near-infrared light supplementation at least within a partial exposure time period of the first preset exposure of the multiple exposures of the image sensor. Infrared supplementary light, no near-infrared supplementary light is performed during the exposure time period of the second preset exposure of the multiple exposures, and the first preset exposure and the second preset exposure are two of the multiple exposures;
    所述图像采集设备通过所述第一滤光片,使可见光和部分近红外光通过;The image acquisition device passes through the first filter to pass visible light and part of the near-infrared light;
    所述图像采集设备通过所述多次曝光产生第一原始图像信号和第二原始图像信号,其中所述第一原始图像信号是根据所述第一预设曝光产生的图像信号,所述第二原始图像信号是根据所述第二预设曝光产生的图像信号;The image acquisition device generates a first original image signal and a second original image signal through the multiple exposures, wherein the first original image signal is an image signal generated according to the first preset exposure, and the second The original image signal is an image signal generated according to the second preset exposure;
    所述图像采集设备根据所述第一原始图像信号得到灰度图像,根据所述第二原始图像信号得到彩色图像;The image acquisition device obtains a grayscale image according to the first original image signal, and obtains a color image according to the second original image signal;
    所述图像采集设备对所述彩色图像进行压缩编码,以及对所述灰度图像进行智能分析。The image acquisition device compresses and encodes the color image, and performs intelligent analysis on the gray image.
  20. 如权利要求19所述的方法,其特征在于,所述图像采集设备根据第一原始图像信号得到灰度图像,根据第二原始图像信号得到彩色图像,包括:The method of claim 19, wherein the image acquisition device obtains a grayscale image according to the first original image signal and obtains a color image according to the second original image signal, comprising:
    对所述第一原始图像信号至少进行第一锐化处理得到灰度图像,对所述第二原始图像信号至少进行第二锐化处理得到彩色图像,所述第一锐化处理的强度小于所述第二锐化处理的强度。Perform at least a first sharpening process on the first original image signal to obtain a grayscale image, perform at least a second sharpening process on the second original image signal to obtain a color image, and the intensity of the first sharpening process is less than The intensity of the second sharpening process.
  21. 如权利要求19所述的方法,其特征在于,所述图像采集设备根据第二原始图像信号得到彩色图像包括:The method of claim 19, wherein the image acquisition device obtaining a color image according to the second original image signal comprises:
    将所述第一原始图像信号进行预处理之后的图像和所述第二原始图像信号进行预处理之后的图像进行融合得到融合后的图像,将融合后的图像确定为所述彩色图像。The image after the preprocessing of the first original image signal and the image after the preprocessing of the second original image signal are fused to obtain a fused image, and the fused image is determined as the color image.
PCT/CN2020/091912 2019-05-31 2020-05-22 Image collection apparatus and photography method WO2020238806A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910472689.0A CN110493491B (en) 2019-05-31 2019-05-31 Image acquisition device and camera shooting method
CN201910472689.0 2019-05-31

Publications (1)

Publication Number Publication Date
WO2020238806A1 true WO2020238806A1 (en) 2020-12-03

Family

ID=68546291

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/091912 WO2020238806A1 (en) 2019-05-31 2020-05-22 Image collection apparatus and photography method

Country Status (2)

Country Link
CN (1) CN110493491B (en)
WO (1) WO2020238806A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112837538A (en) * 2021-03-27 2021-05-25 深圳市迅朗科技有限公司 License plate cloud recognition camera, image sensor assembly and light supplementing and cleaning method
CN113225876A (en) * 2021-05-28 2021-08-06 浙江大华技术股份有限公司 Light supplementing method and device for monitoring equipment, storage medium and electronic equipment
CN114245042A (en) * 2021-12-16 2022-03-25 重庆紫光华山智安科技有限公司 Light supplementing method, imaging device, electronic equipment and readable storage medium
CN116485660A (en) * 2022-11-22 2023-07-25 北京迁移科技有限公司 Image acquisition method and three-dimensional reconstruction method

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493491B (en) * 2019-05-31 2021-02-26 杭州海康威视数字技术股份有限公司 Image acquisition device and camera shooting method
CN110493492B (en) * 2019-05-31 2021-02-26 杭州海康威视数字技术股份有限公司 Image acquisition device and image acquisition method
CN111216682A (en) * 2019-12-31 2020-06-02 钧捷智能(深圳)有限公司 Face recognition automobile unlocking system
CN114374776B (en) * 2020-10-15 2023-06-23 华为技术有限公司 Camera and control method of camera
CN118102135A (en) * 2020-12-31 2024-05-28 杭州海康威视数字技术股份有限公司 Image sensor, image processing system and image processing method
CN114697586B (en) * 2020-12-31 2023-12-29 杭州海康威视数字技术股份有限公司 Image processing system, near infrared light supplementing control method and device
CN114697584B (en) * 2020-12-31 2023-12-26 杭州海康威视数字技术股份有限公司 Image processing system and image processing method
CN115174820B (en) * 2022-09-06 2022-11-25 安徽科大擎天科技有限公司 Quick adjusting method for automatic exposure of camera

Citations (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1638435A (en) * 2003-09-17 2005-07-13 松下电器产业株式会社 Surveillance video camera
US20060066738A1 (en) * 2004-09-24 2006-03-30 Microsoft Corporation Multispectral digital camera employing both visible light and non-visible light sensing on a single image sensor
CN104954658A (en) * 2014-03-25 2015-09-30 联想(北京)有限公司 Electric device and data processing method
CN107566747A (en) * 2017-09-22 2018-01-09 浙江大华技术股份有限公司 A kind of brightness of image Enhancement Method and device
CN108419062A (en) * 2017-02-10 2018-08-17 杭州海康威视数字技术股份有限公司 Image co-registration equipment and image interfusion method
CN108419061A (en) * 2017-02-10 2018-08-17 杭州海康威视数字技术股份有限公司 Based on multispectral image co-registration equipment, method and imaging sensor
CN109963086A (en) * 2018-07-30 2019-07-02 华为技术有限公司 Be time-multiplexed light filling imaging device and method
CN110493492A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 Image collecting device and image-pickup method
CN110493491A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 A kind of image collecting device and image capture method
CN110490187A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 Car license recognition equipment and method
CN110493494A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 Image fusion device and image interfusion method
CN110490042A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 Face identification device and access control equipment
CN110493495A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 The method of image collecting device and Image Acquisition
CN110490041A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 Human face image collecting device and method
CN110493496A (en) * 2019-06-14 2019-11-22 杭州海康威视数字技术股份有限公司 Image collecting device and method
CN110493533A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 Image collecting device and image-pickup method
CN110493535A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 The method of image collecting device and Image Acquisition
CN110493537A (en) * 2019-06-14 2019-11-22 杭州海康威视数字技术股份有限公司 Image collecting device and image-pickup method
CN110493493A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 Panorama details video camera and the method for obtaining picture signal
CN110493536A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 The method of image collecting device and Image Acquisition
CN110505377A (en) * 2019-05-31 2019-11-26 杭州海康威视数字技术股份有限公司 Image co-registration device and method
CN110505376A (en) * 2019-05-31 2019-11-26 杭州海康威视数字技术股份有限公司 Image collecting device and method
CN110519489A (en) * 2019-06-20 2019-11-29 杭州海康威视数字技术股份有限公司 Image-pickup method and device

Patent Citations (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1638435A (en) * 2003-09-17 2005-07-13 松下电器产业株式会社 Surveillance video camera
US20060066738A1 (en) * 2004-09-24 2006-03-30 Microsoft Corporation Multispectral digital camera employing both visible light and non-visible light sensing on a single image sensor
CN104954658A (en) * 2014-03-25 2015-09-30 联想(北京)有限公司 Electric device and data processing method
CN108419062A (en) * 2017-02-10 2018-08-17 杭州海康威视数字技术股份有限公司 Image co-registration equipment and image interfusion method
CN108419061A (en) * 2017-02-10 2018-08-17 杭州海康威视数字技术股份有限公司 Based on multispectral image co-registration equipment, method and imaging sensor
CN107566747A (en) * 2017-09-22 2018-01-09 浙江大华技术股份有限公司 A kind of brightness of image Enhancement Method and device
CN109963086A (en) * 2018-07-30 2019-07-02 华为技术有限公司 Be time-multiplexed light filling imaging device and method
CN110493494A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 Image fusion device and image interfusion method
CN110505377A (en) * 2019-05-31 2019-11-26 杭州海康威视数字技术股份有限公司 Image co-registration device and method
CN110490187A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 Car license recognition equipment and method
CN110493492A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 Image collecting device and image-pickup method
CN110490042A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 Face identification device and access control equipment
CN110493495A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 The method of image collecting device and Image Acquisition
CN110490041A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 Human face image collecting device and method
CN110493491A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 A kind of image collecting device and image capture method
CN110493533A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 Image collecting device and image-pickup method
CN110493535A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 The method of image collecting device and Image Acquisition
CN110505376A (en) * 2019-05-31 2019-11-26 杭州海康威视数字技术股份有限公司 Image collecting device and method
CN110493493A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 Panorama details video camera and the method for obtaining picture signal
CN110493536A (en) * 2019-05-31 2019-11-22 杭州海康威视数字技术股份有限公司 The method of image collecting device and Image Acquisition
CN110493496A (en) * 2019-06-14 2019-11-22 杭州海康威视数字技术股份有限公司 Image collecting device and method
CN110493537A (en) * 2019-06-14 2019-11-22 杭州海康威视数字技术股份有限公司 Image collecting device and image-pickup method
CN110519489A (en) * 2019-06-20 2019-11-29 杭州海康威视数字技术股份有限公司 Image-pickup method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112837538A (en) * 2021-03-27 2021-05-25 深圳市迅朗科技有限公司 License plate cloud recognition camera, image sensor assembly and light supplementing and cleaning method
CN112837538B (en) * 2021-03-27 2023-12-22 深圳市迅朗科技有限公司 License plate cloud recognition camera and light supplementing method
CN113225876A (en) * 2021-05-28 2021-08-06 浙江大华技术股份有限公司 Light supplementing method and device for monitoring equipment, storage medium and electronic equipment
CN114245042A (en) * 2021-12-16 2022-03-25 重庆紫光华山智安科技有限公司 Light supplementing method, imaging device, electronic equipment and readable storage medium
CN114245042B (en) * 2021-12-16 2023-12-26 重庆紫光华山智安科技有限公司 Light supplementing method, imaging device, electronic equipment and readable storage medium
CN116485660A (en) * 2022-11-22 2023-07-25 北京迁移科技有限公司 Image acquisition method and three-dimensional reconstruction method
CN116485660B (en) * 2022-11-22 2023-11-17 北京迁移科技有限公司 Image acquisition method and three-dimensional reconstruction method

Also Published As

Publication number Publication date
CN110493491A (en) 2019-11-22
CN110493491B (en) 2021-02-26

Similar Documents

Publication Publication Date Title
WO2020238806A1 (en) Image collection apparatus and photography method
WO2020238807A1 (en) Image fusion device and image fusion method
WO2020238903A1 (en) Device and method for acquiring face images
CN107959778B (en) Imaging method and device based on dual camera
CN110490044B (en) Face modeling device and face modeling method
CN101889435B (en) Camera flash module and method for controlling same
CN110706178B (en) Image fusion device, method, equipment and storage medium
WO2020238805A1 (en) Facial recognition apparatus and door access control device
WO2020238905A1 (en) Image fusion device and method
CN110493535B (en) Image acquisition device and image acquisition method
CN110493536B (en) Image acquisition device and image acquisition method
JP5898481B2 (en) Imaging apparatus and focus detection method
CN110493496B (en) Image acquisition device and method
WO2020238970A1 (en) Image denoising device and image denoising method
CN108716983A (en) Optical element detection method and device, electronic equipment, storage medium
CN110490187B (en) License plate recognition device and method
CN107800965B (en) Image processing method, device, computer readable storage medium and computer equipment
WO2020238804A1 (en) Image acquisition apparatus and image acquisition method
CN110493495B (en) Image acquisition device and image acquisition method
CN110493537B (en) Image acquisition device and image acquisition method
US20220174245A1 (en) Systems and methods for creating a full-color image in low light
CN110493493B (en) Panoramic detail camera and method for acquiring image signal
JP2012120132A (en) Imaging apparatus and program
CN110493533B (en) Image acquisition device and image acquisition method
CN110505376B (en) Image acquisition device and method

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

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20812958

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 21/09/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20812958

Country of ref document: EP

Kind code of ref document: A1