CN112492224A - Adaptive scene light supplement method and device for video camera - Google Patents

Adaptive scene light supplement method and device for video camera Download PDF

Info

Publication number
CN112492224A
CN112492224A CN202011282741.5A CN202011282741A CN112492224A CN 112492224 A CN112492224 A CN 112492224A CN 202011282741 A CN202011282741 A CN 202011282741A CN 112492224 A CN112492224 A CN 112492224A
Authority
CN
China
Prior art keywords
brightness
light
scene
image
determining
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202011282741.5A
Other languages
Chinese (zh)
Inventor
胡钊
王旭耀
雷波
曾德祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Bosma Intelligent Technology Co ltd
Original Assignee
Guangzhou Bosma Intelligent Technology Co ltd
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 Guangzhou Bosma Intelligent Technology Co ltd filed Critical Guangzhou Bosma Intelligent Technology Co ltd
Priority to CN202011282741.5A priority Critical patent/CN112492224A/en
Publication of CN112492224A publication Critical patent/CN112492224A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • 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
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

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

Abstract

The embodiment of the application discloses a self-adaptive scene light supplement method and device based on a video camera. The technical means provided by the embodiment of the application aims to determine the current shooting scene by acquiring the preview image of the current shooting scene acquired by a video camera and identifying the preview image; determining a light intensity mode corresponding to a current shooting scene, and determining a difference value between brightness information of the light intensity mode and brightness information of the preview image; and controlling the light supplementing lamp according to the difference value to adapt to a light intensity mode corresponding to the current shooting scene. By adopting the technical means, the intensity of the light supplement lamp can be adjusted according to the light intensity modes corresponding to different shooting scenes so as to meet the requirements of various shooting scenes on brightness distribution, thereby shooting images meeting the requirements of users and improving the user experience.

Description

Adaptive scene light supplement method and device for video camera
Technical Field
The embodiment of the application relates to the technical field of cameras, in particular to a self-adaptive scene light supplementing method and device for a video camera.
Background
Under the low-illumination environment, the traditional camera supplements a light source for a shooting object by turning on a camera lamp, so that the problems that an area with insufficient light cannot be effectively imaged or the noise of an image is very high and the image quality is very poor are avoided. However, the brightness intensity of the traditional camera lamp is fixed, and the shooting requirements under different environments cannot be met. Although the light entering the lens can be adjusted by adjusting the aperture to control the light flux of the lens, the aperture has a limited adjustment range and may not meet the shooting requirement in a specific scene.
Disclosure of Invention
The embodiment of the application provides a self-adaptive scene light supplement method and device for a video camera, which can meet the shooting requirement in a specific scene and improve the user experience.
In a first aspect, an embodiment of the present application provides an adaptive scene fill-in method for a camcorder, including:
acquiring a preview image of a current shooting scene acquired by a camera, identifying the preview image, and determining the current shooting scene;
determining a light intensity mode corresponding to a current shooting scene, and determining a difference value between brightness information of the light intensity mode and brightness information of the preview image;
and controlling the light supplementing lamp according to the difference value to adapt to a light intensity mode corresponding to the current shooting scene.
Further, the step of acquiring a preview image of a current shooting scene acquired by a camera, identifying the preview image, and determining the current shooting scene includes:
acquiring a preview image of a current shooting scene acquired by a camera;
inputting the preview image into a preset scene recognition model to obtain a shooting scene in the preview image, and determining the type of the current shooting scene, wherein the scene recognition model is used for associating the preview image with the shooting scene.
Further, the step of determining a light intensity mode corresponding to the current shooting scene and determining a difference between the brightness information of the light intensity mode and the brightness information of the preview image includes:
determining a light intensity mode corresponding to the current shooting scene according to a corresponding relation between a preset shooting scene type and the light intensity mode, and acquiring expected brightness distribution corresponding to the light intensity mode;
extracting brightness components of the preview image to obtain the brightness distribution of the preview image;
and comparing the expected brightness distribution with the brightness distribution to obtain a brightness difference value between the expected brightness distribution and the brightness distribution.
Further, the step of comparing the desired luminance distribution with the luminance distribution to obtain a luminance difference value therebetween includes:
dividing the preview image into a plurality of sub-images according to a preset image preview area distribution format;
and obtaining the brightness average value of each sub-image, and comparing an expected brightness value with the brightness average value to obtain a brightness difference value corresponding to each sub-image, wherein the expected brightness value is the brightness average value in each sub-area after the expected brightness distribution is divided according to the image preview area distribution format.
Further, the controlling the light supplement lamp according to the difference value to adapt to the light intensity mode corresponding to the current shooting scene includes:
judging whether the brightness difference value is within a preset difference value range or not;
if the brightness difference value is within a preset difference value range, keeping the illumination intensity of the current light supplement lamp;
if the brightness difference is larger than a preset difference range, increasing the illumination intensity of the current light supplement lamp;
and if the brightness difference value is smaller than a preset difference value range, reducing the illumination intensity of the current light supplement lamp.
Further, the light filling lamp is an array LED light filling lamp, and if the difference is greater than the preset difference range, the step of increasing the illumination intensity of the current light filling lamp includes:
determining a distribution area of an image preview area corresponding to the sub-image larger than the difference range;
determining a light supplement lamp array area for increasing illumination intensity according to the corresponding relation between the distribution area of the preset image preview area and the light supplement lamp array area;
and comparing the brightness difference value with the upper limit value of the difference value range, and determining the illumination intensity increase value of the light supplement lamp array area.
Further, if the brightness difference is smaller than a preset difference range, the step of reducing the illumination intensity of the current light supplement lamp includes:
determining a distribution area of an image preview area corresponding to the sub-image smaller than the difference range;
determining a light supplement lamp array area for reducing the illumination intensity according to the corresponding relation between the distribution area of the preset image preview area and the light supplement lamp array area;
and comparing the brightness difference with the lower limit value of the difference range, and determining the illumination intensity reduction value of the light supplement lamp array area.
In a second aspect, an embodiment of the present application provides an adaptive scene fill-in device for a camcorder, including:
the scene recognition module is configured to acquire a preview image of a current shooting scene acquired by the video camera, recognize the preview image and determine the current shooting scene;
the brightness comparison module is configured to determine a light intensity mode corresponding to a current shooting scene and determine a difference value between brightness information of the light intensity mode and brightness information of the preview image;
and the light supplementing control module is configured to control the light supplementing lamp according to the difference value so as to adapt to a light intensity mode corresponding to the current shooting scene.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory and one or more processors;
the memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the adaptive scene fill lighting method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions for performing the adaptive scene fill method according to the first aspect when executed by a computer processor.
The method comprises the steps of obtaining a preview image of a current shooting scene collected by a video camera, identifying the preview image, and determining the current shooting scene; determining a light intensity mode corresponding to a current shooting scene, and determining a difference value between brightness information of the light intensity mode and brightness information of the preview image; and controlling the light supplementing lamp according to the difference value to adapt to a light intensity mode corresponding to the current shooting scene. By adopting the technical means, the intensity of the light supplement lamp can be adjusted according to the light intensity modes corresponding to different shooting scenes so as to meet the requirements of various shooting scenes on brightness distribution, thereby shooting images meeting the requirements of users and improving the user experience.
Drawings
Fig. 1 is a flowchart of a method for supplementing light to a camera-based adaptive scene according to an embodiment of the present disclosure;
fig. 2 is a flowchart of shooting scene recognition in the first embodiment of the present application;
fig. 3 is a flowchart of luminance distribution acquisition in the first embodiment of the present application;
fig. 4 is a flowchart of luminance difference calculation in the first embodiment of the present application;
fig. 5 is a flowchart illustrating an illumination intensity adjustment process of a fill-in light according to a first embodiment of the present disclosure;
fig. 6 is a flowchart illustrating an illumination intensity enhancement of a fill-in light according to a first embodiment of the present disclosure;
fig. 7 is a flowchart illustrating a process of reducing illumination intensity of a fill-in light according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an adaptive scene light supplement device based on a camcorder according to a second embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The application provides a self-adaptive scene light supplement method and device for a video camera, and aims to acquire a preview image of a current shooting scene acquired by the video camera, identify the preview image and determine the current shooting scene; determining a light intensity mode corresponding to a current shooting scene, and determining a difference value between brightness information of the light intensity mode and brightness information of the preview image; and controlling the light supplementing lamp according to the difference value to adapt to a light intensity mode corresponding to the current shooting scene. Compared with a traditional light supplementing mode, the light entering the lens is adjusted by adjusting the aperture, so that the light passing amount of the lens is controlled, but the adjusting range of the aperture is limited, and the shooting requirement under a specific scene cannot be met. Therefore, the adaptive scene light supplementing method and device provided by the embodiment of the application are provided to meet the shooting requirements of various shooting scenes and improve the user experience.
The first embodiment is as follows:
fig. 1 is a flowchart of an adaptive scene fill-in method based on a camcorder according to an embodiment of the present application. Referring to fig. 1, the adaptive scene fill-in method includes:
s110, acquiring a preview image of a current shooting scene acquired by a camera, identifying the preview image, and determining the current shooting scene;
for example, a camcorder is a device integrating camera shooting and video recording, and is more convenient, smaller and adaptive to various lenses than a conventional camcorder. The embodiment of the application is a self-adaptive scene light supplement method based on a video camera, and the function of the video camera is more comprehensive and humanized through the method. The preview image of the current shooting scene collected by the camera can be displayed in the image preview area, and a user can check the current preview image through the image preview area.
Specifically, referring to fig. 2, fig. 2 is a flowchart of shooting scene recognition in the first embodiment of the present application. The shooting scene recognition process comprises the following steps:
s1101, acquiring a preview image of a current shooting scene acquired by a video camera;
s1102, inputting the preview image into a preset scene recognition model to obtain a shooting scene in the preview image, and determining the type of the current shooting scene, wherein the scene recognition model is used for associating the preview image with the shooting scene.
Illustratively, to identify a shooting scene in the preview image, the preview image is input into a preset scene recognition model, and since the scene recognition model is obtained by training a neural network model in advance through a large number of training samples, the scene recognition model is used for associating the preview image with the shooting scene, and based on this, the shooting scene in the preview image can be obtained. And determining the type of the shooting scene in the preview image based on the corresponding relation between the preset shooting scene and the type. It is understood that the training samples of the training scene recognition model include sample images and corresponding captured scenes.
S120, determining a light intensity mode corresponding to the current shooting scene, and determining a difference value between the brightness information of the light intensity mode and the brightness information of the preview image;
for example, different luminance distribution requirements exist for different shooting scenes, i.e., different shooting scenes correspond to different light intensity patterns. The correspondence between the shooting scene and the light intensity pattern may be established in advance based on the luminance distribution of the commonly used shooting scene. However, since there are many specific shooting scenes, the shooting scenes can be classified, so that the corresponding relationship between different shooting scene types and light intensity modes is established, and a lot of operation space is saved compared with the corresponding relationship between the shooting scenes and the light intensity modes.
Specifically, referring to fig. 3, fig. 3 is a flowchart of luminance distribution acquisition in the first embodiment of the present application. The luminance distribution acquisition process includes:
s1201, determining a light intensity mode corresponding to the current shooting scene according to a corresponding relation between a preset shooting scene type and the light intensity mode, and acquiring expected brightness distribution corresponding to the light intensity mode;
s1202, extracting brightness components of the preview image to obtain the brightness distribution of the preview image;
s1203, comparing the expected brightness distribution with the brightness distribution to obtain a brightness difference value between the expected brightness distribution and the brightness distribution.
For example, the expected luminance distribution corresponding to the light intensity pattern of the shot scene may be regarded as the standard luminance distribution of the preview image, and the luminance difference between the standard luminance distribution and the actual luminance distribution is obtained by comparing the standard luminance distribution and the actual luminance distribution, so that the illumination pattern of the fill-in lamp can be specifically adjusted according to the luminance difference.
Specifically, referring to fig. 4, fig. 4 is a flowchart of calculating a luminance difference value in the first embodiment of the present application. The luminance difference value calculation process comprises the following steps:
s12031, dividing the preview image into a plurality of sub-images according to a preset image preview area distribution format;
s12032, obtaining the brightness average value of each sub-image, and comparing an expected brightness value with the brightness average value to obtain a brightness difference value corresponding to each sub-image, wherein the expected brightness value is the brightness average value in each sub-area after the expected brightness distribution is divided according to the image preview area distribution format.
For example, since the brightness distribution is not uniformly distributed in the whole preview image, if only the average brightness difference between the expected brightness distribution and the actual brightness distribution is obtained, the light intensity mode of the current shooting scene cannot be satisfied when the illumination mode of the fill-in light is subsequently adjusted. Based on the method, the preview area image is divided into a plurality of sub-images according to a preset image preview area distribution format, and the image preview area distribution format can be set according to requirements. The average brightness difference value of the expected brightness distribution and the actual brightness distribution of each sub-image is obtained, so that the brightness difference value of the preview image is obtained, and the average brightness difference value of each area is determined by the sub-image corresponding to the area.
And S130, controlling the light supplement lamp according to the difference value to adapt to the light intensity mode corresponding to the current shooting scene.
For example, after the difference is determined, the illumination mode of the fill-in light may be adjusted to adapt to the illumination mode corresponding to the current shooting scene, that is, the illumination intensity of the fill-in light is adjusted, so that the brightness distribution in the preview image is consistent with the expected brightness distribution of the illumination mode. However, since the operability of keeping the luminance difference value to be zero is extremely low, and the luminance difference value to be zero and the luminance difference value to be small cannot be distinguished under the observation of naked eyes. Therefore, a difference value range can be set, when the luminance difference value is within the range, that is, it is characterized that the actual luminance distribution and the standard luminance distribution coincide. Specifically, referring to fig. 5, fig. 5 is a flowchart illustrating adjusting the illumination intensity of the fill-in light lamp according to a first embodiment of the present application. The light supplement lamp illumination intensity adjusting process comprises the following steps:
s1301, judging whether the brightness difference value is within a preset difference value range;
for example, whether the average brightness difference value corresponding to each sub-image is within a preset difference value range is judged, so that the subsequent light supplement lamp can be correspondingly adjusted according to the average brightness difference value of each sub-image.
S1302, if the brightness difference value is within a preset difference value range, keeping the illumination intensity of the current light supplement lamp;
illustratively, as described above, since the operability for keeping the luminance difference value at zero is extremely low, and under the observation of the naked eye, the luminance difference value at zero and the luminance difference value at small cannot be distinguished. Therefore, a difference value range can be set, when the luminance difference value is within the range, that is, it is characterized that the actual luminance distribution and the standard luminance distribution coincide. The preview image is a brightness difference value obtained according to the sub-image, and the brightness difference value is matched with the brightness difference value of the sub-image, the array LED light supplement lamp is adopted, the light supplement lamp is also divided into a plurality of array areas according to the distribution format of the image preview area, and the corresponding relation between the distribution area of the image preview area and the light supplement lamp array area is established, so that one sub-image corresponds to one light supplement lamp array area.
Furthermore, when the actual brightness distribution of a certain sub-image is consistent with the corresponding standard brightness distribution, the area of the light supplement lamp array corresponding to the sub-image does not need to be adjusted.
S1303, if the brightness difference value is larger than a preset difference value range, increasing the illumination intensity of the current light supplement lamp;
for example, when the actual luminance distribution of a certain sub-image is not consistent with the corresponding standard luminance distribution, only the light supplement lamp array area corresponding to the sub-image needs to be adjusted.
Further, when the luminance difference value of a certain sub-image is greater than the difference range, that is, the expected luminance value of the sub-image is greater than the actual luminance average value, the light intensity of the current shooting scene needs to be supplemented. Therefore, the illumination intensity of the fill-in lamp array region corresponding to the sub-image needs to be increased. Specifically, referring to fig. 6, fig. 6 is a flowchart illustrating a process of enhancing the illumination intensity of the fill-in light according to a first embodiment of the present application. The light supplement lamp illumination intensity enhancing process comprises the following steps:
s13031, determining the distribution area of the image preview area corresponding to the sub-image larger than the difference range;
s13032, determining a supplementary lighting lamp array area for increasing the illumination intensity according to the corresponding relation between the preset distribution area of the image preview area and the supplementary lighting lamp array area;
and S13033, comparing the brightness difference value with the upper limit value of the difference range, and determining the illumination intensity increase value of the light supplement lamp array area.
For example, after determining a sub-image with insufficient brightness, determining a distribution area of an image preview area corresponding to the sub-image, and determining a fill-in light array area that needs to increase illumination intensity according to a preset correspondence between the distribution area of the image preview area and the fill-in light array area. And then, comparing the average brightness difference value of the sub-images with the upper limit value of the difference range, and determining the illumination intensity increase value of the light filling lamp array area, so as to adjust the illumination intensity of the light filling lamp array area to meet the brightness distribution area of the sub-images. The embodiment of the application divides a preview image into a plurality of sub-images, and correspondingly adjusts the corresponding light supplement lamp array area based on the brightness distribution of the sub-images, so that the problem that the brightness distribution difference value of the whole preview image is difficult to obtain is solved, the light supplement lamps are also divided into a plurality of array areas, the brightness distribution of each sub-image is adjusted in a targeted manner, the intensity of the light supplement lamps is adjusted more carefully, and the brightness requirement of a shooting scene can be met better.
And S1304, if the brightness difference value is smaller than a preset difference value range, reducing the illumination intensity of the current light supplement lamp.
Further, when the luminance difference value of a certain sub-image is smaller than the difference range, that is, the desired luminance value of the sub-image is smaller than the actual luminance average value, the light intensity of the current shooting scene needs to be weakened. Therefore, the illumination intensity of the fill-in lamp array region corresponding to the sub-image needs to be reduced. Specifically, referring to fig. 7, fig. 7 is a flowchart illustrating a process of reducing the illumination intensity of the fill-in light according to a first embodiment of the present application. The light supplement lamp illumination intensity reducing process comprises the following steps:
s13041, determining the distribution area of the image preview area corresponding to the sub-image smaller than the difference range;
s13042, determining a supplementary lighting lamp array area for reducing the illumination intensity according to the corresponding relation between the preset distribution area of the image preview area and the supplementary lighting lamp array area;
and S13043, comparing the brightness difference value with the lower limit value of the difference range, and determining the illumination intensity reduction value of the light supplement lamp array area.
For example, after determining a sub-image with too high brightness, a distribution area of an image preview area corresponding to the sub-image is determined, and a fill-in light array area requiring reduction of illumination intensity is determined according to a preset correspondence between the distribution area of the image preview area and the fill-in light array area. And then, comparing the average brightness difference value of the sub-images with the lower limit value of the difference range, and determining the illumination intensity reduction value of the light supplement lamp array area, so as to adjust the illumination intensity of the light supplement lamp array area to meet the brightness distribution area of the sub-images. The embodiment of the application divides a preview image into a plurality of sub-images, and correspondingly adjusts the corresponding light supplement lamp array area based on the brightness distribution of the sub-images, so that the problem that the brightness distribution difference value of the whole preview image is difficult to obtain is solved, the light supplement lamps are also divided into a plurality of array areas, the brightness distribution of each sub-image is adjusted in a targeted manner, the intensity of the light supplement lamps is adjusted more carefully, and the brightness requirement of a shooting scene can be met better.
Furthermore, when the brightness of the preview image is adjusted through the fill-in light, the brightness of the preview image can be adjusted together with the aperture, and accordingly, the brightness adjustment range of the preview image is wider.
In summary, in the embodiment of the present application, the preview image of the current shooting scene acquired by the camera is acquired, and the preview image is identified, so as to determine the current shooting scene; determining a light intensity mode corresponding to a current shooting scene, and determining a difference value between brightness information of the light intensity mode and brightness information of the preview image; and controlling the light supplementing lamp according to the difference value to adapt to a light intensity mode corresponding to the current shooting scene. By adopting the technical means, the intensity of the light supplement lamp can be adjusted according to the light intensity modes corresponding to different shooting scenes so as to meet the requirements of various shooting scenes on brightness distribution, thereby shooting images meeting the requirements of users and improving the user experience.
Example two:
based on the foregoing embodiment, fig. 8 is a schematic structural diagram of a flowchart of an adaptive scene fill-in method based on a camcorder according to a second embodiment of the present application. Referring to fig. 8, the adaptive scene light supplement apparatus provided in this embodiment specifically includes: a scene recognition module 21, a brightness comparison module 22 and a fill light control module 23.
The scene recognition module 21 is configured to acquire a preview image of a current shooting scene acquired by a camera, recognize the preview image, and determine the current shooting scene;
a brightness comparison module 22 configured to determine a light intensity mode corresponding to the current shooting scene, and determine a difference between brightness information of the light intensity mode and brightness information of the preview image;
and the light supplementing control module 23 is configured to control the light supplementing lamp according to the difference value to adapt to a light intensity mode corresponding to the current shooting scene.
Acquiring a preview image of a current shooting scene acquired by a camera, and identifying the preview image to determine the current shooting scene; determining a light intensity mode corresponding to a current shooting scene, and determining a difference value between brightness information of the light intensity mode and brightness information of the preview image; and controlling the light supplementing lamp according to the difference value to adapt to a light intensity mode corresponding to the current shooting scene. By adopting the technical means, the intensity of the light supplement lamp can be adjusted according to the light intensity modes corresponding to different shooting scenes so as to meet the requirements of various shooting scenes on brightness distribution, thereby shooting images meeting the requirements of users and improving the user experience.
The adaptive scene light supplement device provided by the second embodiment of the present application can be used to implement the adaptive scene light supplement method provided by the first embodiment, and has corresponding functions and beneficial effects.
Example three:
an embodiment of the present application provides an electronic device, and with reference to fig. 9, the electronic device includes: a processor 31, a memory 32, a communication module 33, an input device 34, and an output device 35. The number of processors in the electronic device may be one or more, and the number of memories in the electronic device may be one or more. The processor, memory, communication module, input device, and output device of the electronic device may be connected by a bus or other means.
The memory 32 is a computer-readable storage medium, and can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the adaptive scene supplementary lighting method according to any embodiment of the present application (for example, a scene recognition module, a brightness comparison module, and a supplementary control module in the adaptive scene supplementary lighting device). The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication module 33 is used for data transmission.
The processor 31 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory, so as to implement the above-mentioned adaptive scene supplementary lighting method.
The input device 34 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 35 may include a display device such as a display screen.
The electronic device provided by the foregoing embodiment can be used to implement the adaptive scene supplementary lighting method provided by the foregoing embodiment, and has corresponding functions and beneficial effects.
Example four:
embodiments of the present application further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform an adaptive scene fill-in method, where the adaptive scene fill-in method includes: acquiring a preview image of a current shooting scene acquired by a camera, identifying the preview image, and determining the current shooting scene; determining a light intensity mode corresponding to a current shooting scene, and determining a difference value between brightness information of the light intensity mode and brightness information of the preview image; and controlling the light supplementing lamp according to the difference value to adapt to a light intensity mode corresponding to the current shooting scene.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations, e.g., in different computer systems connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing computer-executable instructions provided in the embodiments of the present application is not limited to the adaptive scene supplementary lighting method described above, and may also perform related operations in the adaptive scene supplementary lighting method provided in any embodiments of the present application.
The adaptive scene light supplement device, the storage medium, and the electronic device provided in the foregoing embodiments may execute the adaptive scene light supplement method provided in any embodiment of the present application, and reference may be made to the adaptive scene light supplement method provided in any embodiment of the present application without detailed technical details described in the foregoing embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (10)

1. An adaptive scene light supplement method for a video camera is characterized by comprising the following steps:
acquiring a preview image of a current shooting scene acquired by a camera, identifying the preview image, and determining the current shooting scene;
determining a light intensity mode corresponding to a current shooting scene, and determining a difference value between brightness information of the light intensity mode and brightness information of the preview image;
and controlling the light supplementing lamp according to the difference value to adapt to a light intensity mode corresponding to the current shooting scene.
2. The method of claim 1, wherein the step of obtaining a preview image of a current shot scene captured by a camera, identifying the preview image, and determining the current shot scene comprises:
acquiring a preview image of a current shooting scene acquired by a camera;
inputting the preview image into a preset scene recognition model to obtain a shooting scene in the preview image, and determining the type of the current shooting scene, wherein the scene recognition model is used for associating the preview image with the shooting scene.
3. The method of claim 1, wherein the step of determining a light intensity pattern corresponding to the current captured scene and determining a difference between the brightness information of the light intensity pattern and the brightness information of the preview image comprises:
determining a light intensity mode corresponding to the current shooting scene according to a corresponding relation between a preset shooting scene type and the light intensity mode, and acquiring expected brightness distribution corresponding to the light intensity mode;
extracting brightness components of the preview image to obtain the brightness distribution of the preview image;
and comparing the expected brightness distribution with the brightness distribution to obtain a brightness difference value between the expected brightness distribution and the brightness distribution.
4. The method of claim 3, wherein the step of comparing the desired luminance distribution with the luminance distribution to obtain a luminance difference therebetween comprises:
dividing the preview image into a plurality of sub-images according to a preset image preview area distribution format;
and obtaining the brightness average value of each sub-image, and comparing an expected brightness value with the brightness average value to obtain a brightness difference value corresponding to each sub-image, wherein the expected brightness value is the brightness average value in each sub-area after the expected brightness distribution is divided according to the image preview area distribution format.
5. The method according to claim 4, wherein the controlling the fill-in light according to the difference to adapt to the light intensity mode corresponding to the current shooting scene comprises:
judging whether the brightness difference value is within a preset difference value range or not;
if the brightness difference value is within a preset difference value range, keeping the illumination intensity of the current light supplement lamp;
if the brightness difference is larger than a preset difference range, increasing the illumination intensity of the current light supplement lamp;
and if the brightness difference value is smaller than a preset difference value range, reducing the illumination intensity of the current light supplement lamp.
6. The method according to claim 5, wherein the fill-in light is an array LED fill-in light, and the step of increasing the illumination intensity of the current fill-in light if the difference is greater than a preset difference range comprises:
determining a distribution area of an image preview area corresponding to the sub-image larger than the difference range;
determining a light supplement lamp array area for increasing illumination intensity according to the corresponding relation between the distribution area of the preset image preview area and the light supplement lamp array area;
and comparing the brightness difference value with the upper limit value of the difference value range, and determining the illumination intensity increase value of the light supplement lamp array area.
7. The method according to claim 6, wherein the step of reducing the illumination intensity of the current fill-in lamp if the brightness difference is smaller than a preset difference range comprises:
determining a distribution area of an image preview area corresponding to the sub-image smaller than the difference range;
determining a light supplement lamp array area for reducing the illumination intensity according to the corresponding relation between the distribution area of the preset image preview area and the light supplement lamp array area;
and comparing the brightness difference with the lower limit value of the difference range, and determining the illumination intensity reduction value of the light supplement lamp array area.
8. An adaptive scene light supplement device for a camcorder is characterized by comprising:
the scene recognition module is configured to acquire a preview image of a current shooting scene acquired by the video camera, recognize the preview image and determine the current shooting scene;
the brightness comparison module is configured to determine a light intensity mode corresponding to a current shooting scene and determine a difference value between brightness information of the light intensity mode and brightness information of the preview image;
and the light supplementing control module is configured to control the light supplementing lamp according to the difference value so as to adapt to a light intensity mode corresponding to the current shooting scene.
9. An electronic device, comprising:
a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the adaptive scene fill method of any of claims 1-7.
10. A storage medium containing computer-executable instructions for performing the adaptive scene fill method of any one of claims 1-7 when executed by a computer processor.
CN202011282741.5A 2020-11-16 2020-11-16 Adaptive scene light supplement method and device for video camera Pending CN112492224A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011282741.5A CN112492224A (en) 2020-11-16 2020-11-16 Adaptive scene light supplement method and device for video camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011282741.5A CN112492224A (en) 2020-11-16 2020-11-16 Adaptive scene light supplement method and device for video camera

Publications (1)

Publication Number Publication Date
CN112492224A true CN112492224A (en) 2021-03-12

Family

ID=74931289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011282741.5A Pending CN112492224A (en) 2020-11-16 2020-11-16 Adaptive scene light supplement method and device for video camera

Country Status (1)

Country Link
CN (1) CN112492224A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113326894A (en) * 2021-06-23 2021-08-31 中国农业银行股份有限公司 Image instrument
CN114051085A (en) * 2021-11-09 2022-02-15 普天鸿雁物联网技术有限公司 Method and device for controlling camera light supplement
CN115107834A (en) * 2022-07-18 2022-09-27 西南交通大学 Vehicle-mounted monitoring system for running track of wheel set of railway vehicle
CN115225827A (en) * 2022-07-12 2022-10-21 深圳市权志信息技术有限公司 Full-color monitoring camera light supplementing method and terminal
CN115278092A (en) * 2021-04-29 2022-11-01 北京小米移动软件有限公司 Image acquisition method, image acquisition device and storage medium
WO2023134743A1 (en) * 2022-01-13 2023-07-20 达闼机器人股份有限公司 Method for adjusting intelligent lamplight device, and robot, electronic device, storage medium and computer program

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104700426A (en) * 2015-04-02 2015-06-10 厦门美图之家科技有限公司 Method and system for judging whether image is too dark or too bright
CN106027916A (en) * 2016-07-18 2016-10-12 广东欧珀移动通信有限公司 Light compensation-based photographing method, and terminal
CN106210550A (en) * 2015-05-06 2016-12-07 小米科技有限责任公司 Mode regulating method and device
CN108337433A (en) * 2018-03-19 2018-07-27 广东欧珀移动通信有限公司 A kind of photographic method, mobile terminal and computer readable storage medium
TWI645373B (en) * 2017-11-13 2018-12-21 瑞昱半導體股份有限公司 Auto exposure control method and electronic device using the same
CN109819155A (en) * 2017-11-20 2019-05-28 瑞昱半导体股份有限公司 Automatic exposure control method and the electronic device for using it
CN109936698A (en) * 2017-12-18 2019-06-25 杭州海康威视数字技术股份有限公司 A kind of automatic exposure control method, device, electronic equipment and storage medium
CN110033418A (en) * 2019-04-15 2019-07-19 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN110418069A (en) * 2019-07-29 2019-11-05 深圳传音控股股份有限公司 Light supplement control method, mobile terminal and computer readable storage medium
CN111447374A (en) * 2020-05-13 2020-07-24 重庆紫光华山智安科技有限公司 Light supplement adjusting method and device, electronic equipment and storage medium
CN111491108A (en) * 2019-01-28 2020-08-04 杭州海康威视数字技术股份有限公司 Exposure parameter adjusting method and device
CN111885304A (en) * 2020-07-16 2020-11-03 深圳传音控股股份有限公司 Photographing method, mobile terminal and computer storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104700426A (en) * 2015-04-02 2015-06-10 厦门美图之家科技有限公司 Method and system for judging whether image is too dark or too bright
CN106210550A (en) * 2015-05-06 2016-12-07 小米科技有限责任公司 Mode regulating method and device
CN106027916A (en) * 2016-07-18 2016-10-12 广东欧珀移动通信有限公司 Light compensation-based photographing method, and terminal
TWI645373B (en) * 2017-11-13 2018-12-21 瑞昱半導體股份有限公司 Auto exposure control method and electronic device using the same
CN109819155A (en) * 2017-11-20 2019-05-28 瑞昱半导体股份有限公司 Automatic exposure control method and the electronic device for using it
CN109936698A (en) * 2017-12-18 2019-06-25 杭州海康威视数字技术股份有限公司 A kind of automatic exposure control method, device, electronic equipment and storage medium
CN108337433A (en) * 2018-03-19 2018-07-27 广东欧珀移动通信有限公司 A kind of photographic method, mobile terminal and computer readable storage medium
CN111491108A (en) * 2019-01-28 2020-08-04 杭州海康威视数字技术股份有限公司 Exposure parameter adjusting method and device
CN110033418A (en) * 2019-04-15 2019-07-19 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN110418069A (en) * 2019-07-29 2019-11-05 深圳传音控股股份有限公司 Light supplement control method, mobile terminal and computer readable storage medium
CN111447374A (en) * 2020-05-13 2020-07-24 重庆紫光华山智安科技有限公司 Light supplement adjusting method and device, electronic equipment and storage medium
CN111885304A (en) * 2020-07-16 2020-11-03 深圳传音控股股份有限公司 Photographing method, mobile terminal and computer storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278092A (en) * 2021-04-29 2022-11-01 北京小米移动软件有限公司 Image acquisition method, image acquisition device and storage medium
CN113326894A (en) * 2021-06-23 2021-08-31 中国农业银行股份有限公司 Image instrument
CN114051085A (en) * 2021-11-09 2022-02-15 普天鸿雁物联网技术有限公司 Method and device for controlling camera light supplement
WO2023134743A1 (en) * 2022-01-13 2023-07-20 达闼机器人股份有限公司 Method for adjusting intelligent lamplight device, and robot, electronic device, storage medium and computer program
CN115225827A (en) * 2022-07-12 2022-10-21 深圳市权志信息技术有限公司 Full-color monitoring camera light supplementing method and terminal
CN115107834A (en) * 2022-07-18 2022-09-27 西南交通大学 Vehicle-mounted monitoring system for running track of wheel set of railway vehicle
CN115107834B (en) * 2022-07-18 2024-09-17 西南交通大学 Vehicle-mounted monitoring system for running track of railway vehicle wheel set

Similar Documents

Publication Publication Date Title
CN112492224A (en) Adaptive scene light supplement method and device for video camera
US10924677B2 (en) Electronic device and method for providing notification related to image displayed through display and image stored in memory based on image analysis
CN101350933B (en) Method for regulating lighteness of filmed display screen based on image inductor
CN109547701A (en) Image capturing method, device, storage medium and electronic equipment
CN104754239A (en) Photographing method and device
US6665015B1 (en) Image sensing apparatus with simulated images for setting sensing condition
CN116416122B (en) Image processing method and related device
US20220329729A1 (en) Photographing method, storage medium and electronic device
CN114596620B (en) Light supplement control method, device and equipment for face recognition equipment and storage medium
CN103905740A (en) Method and device for improving automatic exposure effect realized through manual adjustment
CN108540636A (en) A kind of photographic method and device based on dual camera
CN116645527A (en) Image recognition method, system, electronic device and storage medium
CN114424520A (en) Image processing method and electronic device supporting the same
CN104994280A (en) Method for processing preview image and user terminal
US10386701B1 (en) Mobile device enabling collaboration with flashes of other devices and method thereof
TW201824185A (en) Image processing method and device, electronic device, and computer readable storage medium
CN104767934A (en) Information processing method and electronic equipment
WO2023131028A1 (en) Image processing method and related device
CN112740264A (en) Design for processing infrared images
CN105430292A (en) Method and device for improving effect of photographing against light
CN112887593B (en) Image acquisition method and device
CN114998957B (en) Automatic exposure data processing method, device, equipment and system
CN115118888B (en) Intelligent mirror using method, intelligent mirror, electronic equipment and storage medium
CN113923375B (en) Method, device and equipment for supplementing light for shooting and storage medium
CN117135438B (en) Image processing method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210312