CN110248141B - Video image brightness adjusting method, device, equipment and readable storage medium - Google Patents

Video image brightness adjusting method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN110248141B
CN110248141B CN201910498428.6A CN201910498428A CN110248141B CN 110248141 B CN110248141 B CN 110248141B CN 201910498428 A CN201910498428 A CN 201910498428A CN 110248141 B CN110248141 B CN 110248141B
Authority
CN
China
Prior art keywords
brightness
picture
target area
scene picture
scene
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.)
Active
Application number
CN201910498428.6A
Other languages
Chinese (zh)
Other versions
CN110248141A (en
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 Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen Information Technology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen Information 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 Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shizhen Information Technology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201910498428.6A priority Critical patent/CN110248141B/en
Publication of CN110248141A publication Critical patent/CN110248141A/en
Application granted granted Critical
Publication of CN110248141B publication Critical patent/CN110248141B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems

Landscapes

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

Abstract

The invention discloses a video image brightness adjusting method, a device, equipment and a readable storage medium, wherein the method comprises the following steps: receiving a scene picture collected by a camera; detecting the brightness uniformity of the scene picture; when the brightness uniformity of the scene picture is judged to be non-uniform, the scene picture is partitioned to obtain at least two picture areas; extracting a target area from the picture area and detecting the brightness of the target area; according to the brightness of the target area, adjusting the light sensitivity of a light sensor corresponding to the target area in the camera so as to improve the visual effect of the target area; and outputting the scene picture collected by the camera after the light sensitivity is adjusted. The invention can automatically adjust the brightness of the target area in the scene picture, so that the whole scene picture has better visual effect.

Description

Video image brightness adjusting method, device, equipment and readable storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a method, a device and equipment for adjusting the brightness of a video picture and a readable storage medium.
Background
The remote conference is a conference which is held across areas by utilizing a modern communication means. In a teleconference, terminal equipment connected through a network is required to be arranged at two ends or multiple ends of a participated conference, local conference scene (including conference rooms and participants generally) pictures are collected by the terminal equipment through a camera, and then the conference scene pictures are transmitted to other ends through the network, so that the participants in different areas can watch the conference scenes in other areas in real time.
In the process of implementing the invention, the inventor finds that when the camera simultaneously captures lights of people, a window in a conference room and the conference room, in order to avoid the situation that the light and the window are over-exploded to cause the picture to be too bright, the DSP (digital signal processing) can expose and reduce the whole picture. However, this may result in the face in the conference being underexposed and the face image being too dark, which may result in the face not being clearly seen, and thus the effect of the video conference is affected.
Disclosure of Invention
The embodiment of the invention provides a video image brightness adjusting method, a video image brightness adjusting device, video image brightness adjusting equipment and a readable storage medium, which can automatically adjust the brightness of a target area in a scene image, so that the whole scene image has a better visual effect.
The embodiment of the invention provides a picture brightness adjusting method, which comprises the following steps:
receiving a scene picture collected by a camera;
detecting the brightness uniformity of the scene picture;
when the brightness uniformity of the scene picture is judged to be non-uniform, the scene picture is partitioned to obtain at least two picture areas;
extracting a target area from the picture area and detecting the brightness of the target area;
according to the brightness of the target area, adjusting the light sensitivity of a light sensor corresponding to the target area in the camera so as to improve the visual effect of the target area; and
and outputting the scene picture collected by the camera after the light sensitivity is adjusted.
Preferably, the detecting the brightness uniformity of the scene picture specifically includes:
acquiring a brightness average value of a plurality of sampling positions of the scene picture; wherein the sampling location comprises at least a field of view center of the scene picture;
respectively calculating the ratio of the brightness average value of the other sampling positions except the center of the view field to the brightness average value of the center of the view field;
and determining the brightness uniformity of the scene picture according to the calculated ratio.
Preferably, each sampling position corresponds to a picture area of the scene picture.
Preferably, when the brightness uniformity of the scene picture is judged to be non-uniform, the partitioning is performed on the scene picture to obtain at least two picture areas:
when the scene picture brightness is judged to be non-uniform according to the brightness uniformity, acquiring a brightness average value of each sampling position; wherein each sampling position corresponds to a sub-region of the scene picture;
and combining the sub-regions corresponding to the adjacent sampling positions with the approximate brightness average value to obtain at least two picture regions after the combination is completed.
Preferably, the method further comprises the following steps:
and calculating the brightness of the non-target area in the picture area, and carrying out exposure adjustment on the non-target area with the brightness exceeding a preset value so as to reduce the brightness of the non-target area.
Preferably, the target area is a picture area containing a human face or a picture area containing a fixed object associated with a person in a conference room. Preferably, the method further comprises the following steps:
and when the brightness uniformity of the scene picture is judged according to the brightness uniformity, adjusting the exposure of the whole scene picture according to the brightness of the scene picture.
The embodiment of the invention also provides a video image brightness adjusting device, which comprises:
a scene picture receiving unit for receiving a scene picture collected by the camera;
the brightness uniformity detection unit is used for detecting the brightness uniformity of the scene picture;
the partition unit is used for partitioning the scene picture to obtain at least two picture areas when the brightness uniformity of the scene picture is judged to be non-uniform;
a brightness detection unit for extracting a target area from the screen area and detecting brightness of the target area;
the adjusting unit is used for adjusting the light sensitivity of a light sensor corresponding to the target area in the camera according to the brightness of the target area so as to improve the visual effect of the target area;
and the output unit is used for outputting the scene picture acquired by the camera after the light sensitivity is adjusted.
Preferably, the luminance uniformity detecting unit specifically includes:
the brightness average value calculation module is used for acquiring the brightness average value of a plurality of sampling positions of the scene picture; wherein the sampling location comprises at least a field of view center of the scene picture;
the comparison calculation module is used for respectively calculating the ratio of the brightness average value of the other sampling positions except the center of the view field to the brightness average value of the center of the view field;
and the brightness uniformity calculation module is used for determining the brightness uniformity of the scene picture according to the calculated ratio.
Preferably, each sampling position corresponds to a picture area of the scene picture.
Preferably, the partition unit specifically includes:
the brightness average value obtaining module is used for obtaining the brightness average value of each sampling position when the brightness of the scene picture is judged to be uneven according to the brightness uniformity; wherein each sampling position corresponds to a sub-region of the scene picture;
and the merging module is used for merging the sub-regions corresponding to the adjacent sampling positions with the approximate brightness average value so as to obtain at least two picture regions after merging.
Preferably, the method further comprises the following steps:
and the first exposure adjusting unit is used for calculating the brightness of a non-target area in the picture area and performing exposure adjustment on the non-target area with the brightness exceeding a preset value so as to reduce the brightness of the non-target area.
Preferably, the target area is a picture area containing a human face or a picture area containing a fixed object associated with a person in a conference room.
Preferably, the method further comprises the following steps:
and the second exposure adjusting unit is used for adjusting the exposure of the whole scene picture according to the brightness of the scene picture when the brightness uniformity of the scene picture is judged.
The embodiment of the present invention further provides a video image brightness adjusting device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processing, and when the processor executes the computer program, the video image brightness adjusting method as described above is implemented.
The embodiment of the present invention further provides a computer-readable storage medium, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processing, and when the processor executes the computer program, the method for adjusting brightness of a video picture as described above is implemented.
In the above embodiment, the brightness uniformity of the scene is checked first, and after the brightness of the scene is determined to be non-uniform, the target area in the scene is detected, and when the brightness of the target area is too low or high, the brightness of the target area is adjusted, so that the target area can be observed more clearly and obviously, and the visual effect of the whole scene is improved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for adjusting brightness of a video frame according to a first embodiment of the present invention.
Fig. 2 is a schematic diagram of an arrangement of sampling locations provided by a first embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a video frame brightness adjusting apparatus according to a second embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a first embodiment of the present invention provides a method for adjusting brightness of a video frame, which can be performed by a video frame brightness adjusting apparatus, and at least includes the following steps:
and S101, receiving a scene picture collected by a camera.
In this embodiment, the video image brightness adjusting device (hereinafter, referred to as a device) may be formed by two or more physical entities, or may be formed by one physical entity. Generally speaking, the device has image acquisition and data transmission functions, in other words, the device should have a camera and a network transmission module suitable for data transmission. For example, the device may be a personal computer, a mobile phone, a tablet computer, or a smart interactive tablet, etc.
For convenience of understanding, the smart interactive tablet is exemplarily described as the device in the present embodiment. The intelligent interactive panel can be an integrated device which controls the content displayed on the display panel and realizes man-machine interaction operation through a touch technology, and integrates one or more functions of a projector, an electronic whiteboard, a curtain, a sound box, a television, a video conference terminal and the like. In general, the display screen of the smart interactive tablet may be a capacitive screen, a resistive screen, or an electromagnetic screen. The user can perform touch operation on the intelligent interaction panel through a finger or a touch pen.
In this embodiment, the intelligent interactive device is generally integrated with at least one camera, and through the camera, the intelligent interactive device can acquire a picture of a scene in a predetermined field of view. For example, when the smart interactive tablet is set in a conference room, it may capture and obtain a scene picture of the conference room, when the smart interactive tablet is set in a classroom, it may capture and obtain a scene picture of the classroom, and so on.
In this embodiment, taking the intelligent interactive tablet as an example, when the intelligent interactive tablet is disposed in a conference room, the intelligent interactive tablet can obtain a scene picture of the conference room through the camera, generally speaking, the scene picture includes people in the conference room and objects located on walls, windows, lamps, tables and chairs of the conference room, and the specific placement position depends on the layout and decoration of the conference room.
S102, detecting the brightness uniformity of the scene picture.
In this embodiment, the overall or local brightness of the conference room may be changed due to the difference in the on state of the light in the conference room, the position of the window, the irradiation direction of the sun, and the irradiation intensity. Generally, the brightness is high at the position where the light or the sunlight can be irradiated and the window position, and is low at some corner positions. In addition, in the case of a person in a conference room, if the face of the person is not well illuminated by the light and sunlight (such as the case of back-to-window or back-to-light), the brightness of the face of the person is low, and if the face of the person is over against the light or the face is over against the sunlight, the brightness of the face of the person is high, which may cause the face of the person to be difficult to see.
As shown in fig. 2, in the present embodiment, for example, the brightness uniformity of the scene picture can be detected as follows:
firstly, acquiring a brightness average value of a plurality of sampling positions of the scene picture; wherein the sampling position comprises at least a field of view center of the scene picture.
And at each sampling position, selecting an area by using a sampling frame, acquiring the brightness of each pixel point in the area, and averaging the brightness to obtain the average brightness value of the sampling position.
For the brightness of each pixel point, the RGB value of each pixel point can be obtained first, and then the brightness of the pixel point is calculated through the RGB value of each pixel point. Wherein, the brightness L ═ R (0.299 × R) + (0.587 × G) + (0.114 × B).
Wherein, in the present embodiment, the sampling position includes at least the center of the field of view of the scene picture (E position in fig. 2). In addition, the four corners of the scene picture can be selected from the sampling positions, of course, the specific setting of several sampling positions and the coordinates of each sampling position in the scene picture can be determined according to the actual situation and the need, for example, the sampling positions can be determined according to the distribution of important information in the imaging composition of the position where the camera is placed, and the invention is not particularly limited.
Then, the ratios of the average values of the luminances of the remaining sampling positions except the center of the field of view to the average value of the luminances of the center of the field of view are calculated, respectively.
For example, as shown in fig. 2, in the present embodiment, the average value of the brightness at the sampling position a is represented as IAThe average value of the brightness of the sampling position B is IBThe average value of the brightness of the sampling position C is ICThe average value of the brightness of the sampling position D is IDThe average value of the brightness of the sampling position E is IEThen I will beA、IB、IC、IDAre each independently of IEAfter comparison, four corresponding ratios can be obtained.
And finally, determining the brightness uniformity of the scene picture according to the calculated ratio.
In this embodiment, the luminance uniformity of the scene picture can be obtained according to the ratio. It is obvious that if the four ratios are all close to 1, the scene picture has higher brightness uniformity, and if the four ratios are different greatly (for example, the ratios are obviously lower than 1 or higher than 1), the brightness uniformity of the scene picture is lower, wherein the brightness of the sampling position obviously lower than 1 is lower, and the brightness of the sampling position obviously higher than 1 is higher.
In the present embodiment, the luminance uniformity I can be calculated, for example, as follows:
Figure BDA0002089390140000101
wherein i ═ (a, B, C, D);
it is apparent that the closer I is to 0, the higher the luminance uniformity, and conversely, the lower the luminance uniformity.
Of course, there may be other methods for calculating the brightness uniformity, and the present invention is not described herein.
S103, when the brightness uniformity of the scene picture is judged to be uneven, the scene picture is partitioned to obtain at least two picture areas.
In this embodiment, if the brightness of the scene is not uniform, it indicates that there are some relatively bright areas and/or some relatively dark areas in the scene at this time, in this case, if the overall exposure of the scene is adjusted, when the exposure is increased, although the brightness of the dark areas is increased, the brightness of the bright areas is too high; on the other hand, if the exposure level is reduced as a whole, although the brightness of the lighter area is reduced, the darker area is too dark, and thus the visual requirement of people cannot be met. Therefore, in this embodiment, the whole scene picture is partitioned to obtain at least two picture areas.
For example, in a meeting room scene, the lower two thirds of the scene picture is an area containing people, and the upper one third of the scene picture is an area containing the ceiling and lights, so that the whole scene picture can be divided into the lower two thirds of the scene picture and the upper two thirds of the scene picture.
Of course, the scene picture may be partitioned according to the actual brightness distribution of the scene picture or according to an image processing algorithm, and these schemes are within the scope of the present invention.
S104, extracting a target area from the picture area, and detecting the brightness of the target area.
S105, adjusting the light sensitivity of a light sensor corresponding to the target area in the camera according to the brightness of the target area so as to improve the visual effect of the target area.
In this embodiment, the target area is determined according to actual situations, and is generally an area that needs to be focused in the entire scene of the screen or an area where an object that needs to be focused exists. For example, in a conference room as an example, since an object to be focused on is generally a person, the target area should be a screen area including the person.
In this embodiment, since the target area is an area that needs to be focused, if the brightness of the target area is too low or too high, the visual effect of the whole scene screen may be poor. For example, there may be a problem that the human face is not clearly seen due to too low or too high brightness, and therefore, the brightness of the target area needs to be adjusted to improve the visual effect of the target area.
When adjusting, firstly, judging whether the brightness of the target area is in a preset brightness range, if the brightness is smaller than the lower limit of the brightness range, the brightness of the target area needs to be increased, and if the brightness is larger than the upper limit of the brightness range, the brightness of the target area needs to be decreased.
Wherein the brightness of the target area can be adjusted by adjusting the exposure level. When adjusting the exposure of the target area, the exposure may be adjusted to a fixed value to make the brightness of the target area within the brightness range, or the exposure of the target area may be appropriately increased or decreased according to the brightness of the current scene picture to make the brightness of the entire scene picture more uniform or natural, for example, the average value of the brightness of the target area and the brightness of the brightest or darkest picture area may be used as the adjusted brightness of the target area, and the invention is not limited in particular.
In this embodiment, during exposure adjustment, the exposure can be adjusted by adjusting the light sensitivity of each light sensor in the camera, specifically, the camera includes a plurality of light sensors, and each light sensor corresponds to one pixel point on the collected scene picture. After the target area is obtained, the intelligent interaction panel can obtain corresponding light sensors according to the target area, and then adjust the light sensitivity of the light sensors according to the brightness of the target area, wherein if the target area is too bright, the light sensitivity of the corresponding light sensors is reduced, and otherwise, if the target area is too dark, the light sensitivity of the light sensors is increased.
And S106, outputting and outputting the scene picture acquired by the camera after the light sensitivity is adjusted.
In the embodiment, in the subsequent acquisition process, the scene picture is acquired by the camera after the light sensitivity is adjusted, so that the target area can keep a better visual effect. The adjusted scene picture collected by the camera can be output to terminal equipment at other ends of the video conference.
In summary, in the embodiment, after the brightness of the scene picture is determined to be non-uniform, the target area including the important object in the scene picture is detected, and when the brightness of the target area is too low or high, the brightness of the target area is adjusted, so that the target area can be observed more clearly, and the visual effect of the whole scene picture is improved. Because only the exposure degree of the target area is adjusted, the brightness of other areas of the scene picture is not influenced, and the problem of overexposure or underexposure after the synchronous adjustment of other areas is avoided.
Based on the above embodiments, in a preferred embodiment of the present invention, each sampling position corresponds to one picture area of a scene picture.
In this embodiment, each sampling position corresponds to one picture area of the scene picture, for example, if the whole scene picture is divided into equal parts, the picture area corresponding to each sampling position is an equal divided area, where the equal division may be horizontal equal division, vertical equal division, or equal division in a grid manner, and the present invention is not limited in particular.
In addition, the sampling positions are not necessarily divided equally, for example, the sampling positions may be distributed on the ceiling, the window, the floor, the center of the conference room, and the like, and the picture area corresponding to each sampling position is determined according to the scene corresponding to the sampling position, which are also within the protection scope of the present invention.
On the basis of the foregoing embodiment, in a preferred embodiment of the present invention, the step S103 specifically includes:
when the scene picture brightness is judged to be non-uniform according to the brightness uniformity, acquiring a brightness average value of each sampling position; wherein each sampling position corresponds to a sub-region of the scene picture;
and combining the sub-regions corresponding to the adjacent sampling positions with the approximate brightness average value to obtain at least two picture regions after the combination is completed.
In the above embodiments, in order to obtain better brightness uniformity of the scene picture, more sampling positions may be set, but when the number of sampling positions is too large, there are many partitions of the scene picture, resulting in many picture areas and many target areas, which is relatively complicated to process.
For this reason, in the present embodiment, each sampling position corresponds to one sub-area of the scene picture, and if the average value of the brightness of the adjacent sampling areas is close, the corresponding sub-areas are combined. After all the combinations are completed, a plurality of corresponding picture areas can be obtained. Obviously, it can be seen that the average values of the brightness of the merged sub-regions are relatively close, so that there is a greater possibility that the combined sub-regions belong to the same category, and the combined sub-regions are merged for processing, so that the processing efficiency can be improved, and the data size and complexity of the processing can be reduced.
On the basis of the above embodiment, in a preferred embodiment of the present invention, the method further includes:
and calculating the brightness of the non-target area in the picture area, and carrying out exposure adjustment on the non-target area with the brightness exceeding a preset value so as to reduce the brightness of the non-target area.
In the embodiment, if the brightness of the non-target area in the screen area is too high, the scene screen is also inconsistent or the visual effect is not good, so the brightness of the non-target area can be reduced to obtain a better visual effect.
Similarly, when the brightness of the non-target area is calculated, the brightness of each pixel point of the non-target area is obtained, and then the brightness of the non-target area is obtained by averaging the brightness of all the pixels.
Similarly, when exposure adjustment is performed, the light sensors corresponding to the non-target areas are obtained, and then the brightness of the non-target areas is reduced by reducing the light sensitivity of the light sensors.
On the basis of the above embodiment, in a preferred embodiment of the present invention, the target area is a picture area including a human face or a picture area including a fixed object associated with a person in a conference room.
If the target area containing the face is to be detected, the image area containing the face can be detected through a face detection algorithm, and the image areas are set as the target area.
The face detection algorithm may adopt face detection based on a Cascade classifier, such as Viola Jones, npd (normalized Pixel difference), etc., face detection based on dpm (deformable part models), and a method based on a neural network, such as DDFD, RCNN (Region-CNN), etc., and the present invention is not limited specifically.
In another case, stationary items associated with a person, such as a chair, may also be detected. Since the conference participants are usually seated on chairs in the conference room scene, the corresponding participants can be detected by detecting the chairs. Moreover, it is also an advantage of detecting fixed objects associated with people that if only human faces are detected, if people enter and exit, the detection needs to be performed again to determine the target area, that is, each frame of scene picture needs to be detected, and the chair is usually stationary, so that the target area does not change even if people enter and exit.
Similar to face detection, templates of related fixed objects can be obtained through training, and then the positions of the fixed objects in a scene picture are obtained through template matching, so that a target area is obtained.
On the basis of the above embodiment, in a preferred embodiment of the present invention, the method further includes:
and when the brightness uniformity of the scene picture is judged according to the brightness uniformity, adjusting the exposure of the whole scene picture according to the brightness of the scene picture.
In this embodiment, if the brightness uniformity of the entire scene is high, the brightness of the entire scene can be adjusted according to the average brightness value, and since the brightness uniformity of the scene is high, the situation that a partial area is too bright or a partial area is too dark after the adjustment generally does not occur.
When the overall brightness of the scene picture is adjusted, the light sensitivity of the light sensor is changed, and the exposure time or the aperture size can be adjusted.
Referring to fig. 3, a second embodiment of the present invention further provides a video frame brightness adjusting apparatus, including:
a scene receiving unit 210 for receiving a scene captured by the camera;
a brightness uniformity detecting unit 220 for detecting brightness uniformity of the scene picture;
a partitioning unit 230, configured to partition the scene picture to obtain at least two picture areas when the brightness uniformity of the scene picture is determined to be non-uniform;
a brightness detection unit 240 for extracting a target area from the screen area and detecting brightness of the target area;
the adjusting unit 250 is configured to adjust light sensitivity of a light sensor in the camera corresponding to the target area according to the brightness of the target area, so as to improve a visual effect of the target area;
and the output unit 260 is used for outputting the scene picture acquired by the camera after the light sensitivity is adjusted.
Preferably, the brightness uniformity detecting unit 220 specifically includes:
the brightness average value calculation module is used for acquiring the brightness average value of a plurality of sampling positions of the scene picture; wherein the sampling location comprises at least a field of view center of the scene picture;
the ratio calculation module is used for respectively calculating the ratio of the brightness average value of the other sampling positions except the center of the view field to the brightness average value of the center of the view field;
and the brightness uniformity calculation module is used for determining the brightness uniformity of the scene picture according to the calculated ratio.
Preferably, each sampling position corresponds to a picture area of the scene picture.
Preferably, the partition unit 230 specifically includes:
the brightness average value obtaining module is used for obtaining the brightness average value of each sampling position when the brightness of the scene picture is judged to be uneven according to the brightness uniformity; wherein each sampling position corresponds to a sub-region of the scene picture;
and the merging module is used for merging the sub-regions corresponding to the adjacent sampling positions with the approximate brightness average value so as to obtain at least two picture regions after merging.
Preferably, the method further comprises the following steps:
and the first exposure adjusting unit is used for calculating the brightness of a non-target area in the picture area and performing exposure adjustment on the non-target area with the brightness exceeding a preset value so as to reduce the brightness of the non-target area.
Preferably, the target area is a picture area containing a human face or a picture area containing a fixed object associated with a person in a conference room.
Preferably, the method further comprises the following steps:
and the second exposure adjusting unit is used for adjusting the exposure of the whole scene picture according to the brightness of the scene picture when the brightness uniformity of the scene picture is judged.
A third embodiment of the present invention provides a video image brightness adjusting apparatus, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processing, wherein the processor, when executing the computer program, implements the video image brightness adjusting method according to any of the above embodiments.
The fourth embodiment of the present invention also provides a computer-readable storage medium including a stored computer program. When the computer program runs, the device where the computer-readable storage medium is located is controlled to execute the video image brightness adjusting method in any of the above embodiments.
Illustratively, the computer programs described in the third and fourth embodiments of the present invention may be partitioned into one or more modules, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program in the video picture brightness adjusting device. For example, the device described in the second embodiment of the present invention.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc., and the processor is a control center of the video picture brightness adjusting method, and various interfaces and lines are used to connect the whole parts for implementing the video picture brightness adjusting method.
The memory may be used to store the computer programs and/or modules, and the processor may implement various functions of the internet-of-things based item tracking method by operating or executing the computer programs and/or modules stored in the memory and calling data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, a text conversion function, etc.), and the like; the storage data area may store data (such as audio data, text message data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein the implemented module, if implemented in the form of a software functional unit and sold or used as a stand-alone product, can be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (9)

1. A video image brightness adjusting method is used for obtaining clear human face display in a video image during a teleconference, and is characterized by comprising the following steps:
receiving a scene picture collected by a camera;
detecting the brightness uniformity of the scene picture;
when the brightness uniformity of the scene picture is judged to be non-uniform, the scene picture is partitioned to obtain at least two picture areas;
extracting a target area from the picture area and detecting the brightness of the target area; wherein the target area is a picture area of a fixed article related to a person in the conference room;
according to the brightness of the target area, adjusting the light sensitivity of a light sensor corresponding to the target area in the camera so as to improve the visual effect of the target area; and
and outputting the scene picture collected by the camera after the light sensitivity is adjusted.
2. The method as claimed in claim 1, wherein said detecting the brightness uniformity of the scene picture specifically comprises:
acquiring a brightness average value of a plurality of sampling positions of the scene picture; wherein the sampling location comprises at least a field of view center of the scene picture;
respectively calculating the ratio of the brightness average value of the other sampling positions except the center of the view field to the brightness average value of the center of the view field;
and determining the brightness uniformity of the scene picture according to the calculated ratio.
3. The method of claim 2, wherein each sampling location corresponds to a picture region of the scene picture.
4. The method according to claim 2, wherein when the brightness uniformity of the scene image is determined to be non-uniform, the partitioning of the scene image to obtain at least two image areas is specifically:
when the scene picture brightness is judged to be non-uniform according to the brightness uniformity, acquiring a brightness average value of each sampling position; wherein each sampling position corresponds to a sub-region of the scene picture;
and combining the sub-regions corresponding to the adjacent sampling positions with the approximate brightness average value to obtain at least two picture regions after the combination is completed.
5. The video picture brightness adjustment method according to claim 1, further comprising:
and calculating the brightness of the non-target area in the picture area, and carrying out exposure adjustment on the non-target area with the brightness exceeding a preset value so as to reduce the brightness of the non-target area.
6. The video picture brightness adjustment method according to claim 1, further comprising:
and when the brightness uniformity of the scene picture is judged according to the brightness uniformity, adjusting the exposure of the whole scene picture according to the brightness of the scene picture.
7. A video picture brightness adjustment apparatus for obtaining a clear human face display in a video picture at a teleconference, comprising:
a scene picture receiving unit for receiving a scene picture collected by the camera;
the brightness uniformity detection unit is used for detecting the brightness uniformity of the scene picture;
the partition unit is used for partitioning the scene picture to obtain at least two picture areas when the brightness uniformity of the scene picture is judged to be non-uniform;
a brightness detection unit for extracting a target area from the screen area and detecting brightness of the target area; wherein the target area is a picture area of a fixed article related to a person in the conference room;
the adjusting unit is used for adjusting the light sensitivity of a light sensor corresponding to the target area in the camera according to the brightness of the target area so as to improve the visual effect of the target area;
and the output unit is used for outputting the scene picture acquired by the camera after the light sensitivity is adjusted.
8. A video picture brightness adjustment apparatus comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the video picture brightness adjustment method according to any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the video picture brightness adjustment method according to any one of claims 1 to 6 when executing the computer program.
CN201910498428.6A 2019-06-10 2019-06-10 Video image brightness adjusting method, device, equipment and readable storage medium Active CN110248141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910498428.6A CN110248141B (en) 2019-06-10 2019-06-10 Video image brightness adjusting method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910498428.6A CN110248141B (en) 2019-06-10 2019-06-10 Video image brightness adjusting method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN110248141A CN110248141A (en) 2019-09-17
CN110248141B true CN110248141B (en) 2021-06-04

Family

ID=67886487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910498428.6A Active CN110248141B (en) 2019-06-10 2019-06-10 Video image brightness adjusting method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110248141B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112009216A (en) * 2020-08-24 2020-12-01 的卢技术有限公司 Active illumination control system in vehicle
CN113347369B (en) * 2021-06-01 2022-08-19 中国科学院光电技术研究所 Deep space exploration camera exposure adjusting method, adjusting system and adjusting device thereof
CN113643674B (en) * 2021-08-13 2022-09-30 深圳创维-Rgb电子有限公司 Display device, screen brightness adjusting method and device thereof and readable storage medium
CN113873209A (en) * 2021-09-26 2021-12-31 京东方科技集团股份有限公司 Image quality adjusting method, image quality adjusting module, display system and computer readable medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102243760A (en) * 2010-05-13 2011-11-16 鸿富锦精密工业(深圳)有限公司 Image black spot search system and method

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4104936B2 (en) * 2002-08-28 2008-06-18 株式会社東芝 Backlight correction control apparatus and backlight correction control method
FR2857481A1 (en) * 2003-07-08 2005-01-14 Thomson Licensing Sa METHOD AND DEVICE FOR DETECTING FACES IN A COLOR IMAGE
US8823829B2 (en) * 2010-09-16 2014-09-02 Canon Kabushiki Kaisha Image capture with adjustment of imaging properties at transitions between regions
US8605199B2 (en) * 2011-06-28 2013-12-10 Canon Kabushiki Kaisha Adjustment of imaging properties for an imaging assembly having light-field optics
CN103957362B (en) * 2014-05-05 2017-06-06 广东欧珀移动通信有限公司 A kind of method and system of adjust automatically camera exposure effect
CN104243827A (en) * 2014-09-23 2014-12-24 深圳市中兴移动通信有限公司 Shooting method and device
CN104902177B (en) * 2015-05-26 2018-03-02 广东欧珀移动通信有限公司 A kind of Intelligent photographing method and terminal
CN107690804B (en) * 2015-10-28 2020-08-25 华为技术有限公司 Image processing method and user terminal
CN105744177A (en) * 2016-02-17 2016-07-06 广州视睿电子科技有限公司 Video exhibition stand light control method and system
JP6923754B2 (en) * 2017-06-09 2021-08-25 華為技術有限公司Huawei Technologies Co.,Ltd. Image capture method and equipment
CN107438163B (en) * 2017-07-31 2020-07-07 努比亚技术有限公司 Photographing method, terminal and computer readable storage medium
CN109410813B (en) * 2018-10-24 2021-11-23 海信视像科技股份有限公司 Adjusting method and device of touch whiteboard
CN109587407A (en) * 2018-12-14 2019-04-05 广州华多网络科技有限公司 Exposure amount adjustment method, device and the computer equipment of image taking
CN109696240A (en) * 2018-12-26 2019-04-30 信利光电股份有限公司 Detection method, device and the readable storage medium storing program for executing of the semiconductor laser overall situation uniformity

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102243760A (en) * 2010-05-13 2011-11-16 鸿富锦精密工业(深圳)有限公司 Image black spot search system and method

Also Published As

Publication number Publication date
CN110248141A (en) 2019-09-17

Similar Documents

Publication Publication Date Title
CN110248141B (en) Video image brightness adjusting method, device, equipment and readable storage medium
CN105453134B (en) The method and apparatus that dynamic range for image strengthens
CN107426470B (en) Camera module and electronic device
US7652716B2 (en) Computer-controlled lighting for video communication
CN106981054B (en) Image processing method and electronic equipment
US10673998B2 (en) Camera assembly and mobile electronic device
DE102020200310A1 (en) Method and system for reducing haze for image processing
CN112312035B (en) Exposure parameter adjusting method, exposure parameter adjusting device and electronic equipment
CN113163128A (en) Image exposure method and electronic device
CN111901519B (en) Screen light supplement method and device and electronic equipment
US10349022B2 (en) Image processing apparatus, projector, image processing method, and storage medium storing image processing program
CN108965837B (en) Projection environment brightness control method and system and terminal equipment
CN115297257A (en) Method, device and equipment for acquiring multiple paths of video streams
CN115052097B (en) Shooting method and device and electronic equipment
CN107454340B (en) Image synthesis method and device based on high dynamic range principle and mobile terminal
KR101373631B1 (en) System for composing images by real time and method thereof
CN114332124A (en) Ambient light control device based on image content and control method thereof
US20220261970A1 (en) Methods, systems and computer program products for generating high dynamic range image frames
CN116208733A (en) Video conference interaction method and device
WO2023001373A1 (en) Device and method for processing image data
CN111340931A (en) Scene processing method and device, user side and storage medium
CN114827477B (en) Method, device, electronic equipment and medium for time-lapse photography
US11954836B2 (en) Method for processing image, electronic device, and storage medium
CN116363148B (en) Image processing method, device, chip and storage medium
US20240282020A1 (en) Light Compensations for Virtual Backgrounds

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
GR01 Patent grant
GR01 Patent grant