Exposure control method and device, electronic equipment and storage medium

A technology for exposure control and exposure parameters, which is applied in the field of image processing and can solve problems such as inaccurate exposure control.

Active Publication Date: 2021-08-31
ZHEJIANG DAHUA TECH
View PDF13 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Embodiments of the present invention provide an exposure control method, device, electronic equipment, and storage medium to solve the problem of inaccurate exposure control in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Exposure control method and device, electronic equipment and storage medium
  • Exposure control method and device, electronic equipment and storage medium
  • Exposure control method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0062] figure 1 A schematic diagram of the exposure control process provided by the embodiment of the present invention, the process includes the following steps:

[0063] S101: Perform face detection on the image through a face detection algorithm to obtain a face area.

[0064] S102: Determine the pixel average value of the Y, U, V three channels of the human face area, and determine the brightness value on the RGB domain according to the pixel average value of the Y, U, V three channels.

[0065] S103: Determine an exposure parameter adjustment amount according to the brightness value on the RGB domain and a preset target brightness value, and perform exposure control based on the exposure parameter adjustment amount.

[0066] The exposure control method provided by the embodiment of the present invention is applied to an electronic device, and the electronic device may be a PC, a tablet computer, etc., or an image acquisition device such as a camera. If the electronic de...

Embodiment 2

[0073] Face detection is performed on the image through the face detection algorithm, and the obtained face area is a rectangular area of ​​the face, and the face generally only occupies the middle part of the rectangular area. If the brightness statistics are performed on the pixels in the entire rectangular area, the brightness of the background pixels will be introduced, which will increase the statistical brightness error and cause inaccurate exposure control. In order to solve the above-mentioned technical problems, on the basis of the above-mentioned embodiments, in the embodiment of the present invention, the face detection is performed on the image through the face detection algorithm, and the obtained face area includes:

[0074] Use the face detection algorithm to detect the face of the image to obtain the rectangular area of ​​the face;

[0075] An area of ​​a preset size in the central part of the rectangular area of ​​the human face is used as the area of ​​the hu...

Embodiment 3

[0079] In order to make the determination of the brightness value on the RGB domain more accurate, on the basis of the above-mentioned embodiments, in the embodiment of the present invention, the determination of the brightness on the RGB domain according to the pixel average value of the three channels of Y, U and V Values ​​include:

[0080] According to the pixel average of the Y, U, and V three channels and the YUV to RGB formula, the G value of the RGB domain is obtained;

[0081] Determine the first multiple relationship between the G value bit of the RGB domain and the Gamma table value domain bit, and determine the G' value corresponding to the G value of the RGB domain according to the first multiple relationship;

[0082] Using the G' value as an input value, look up the Index value corresponding to the G' value in the Gamma table;

[0083] Determine the second multiple relationship between the Index value bit and the bit used by the exposure algorithm to calculate ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an exposure control method and device, electronic equipment and a storage medium, and the method comprises the steps: carrying out the face detection of an image through a face detection algorithm to obtain a face region; determining a pixel average value of three channels of Y, U and V of the face area, and determining a brightness value on an RGB domain according to the pixel average value of the three channels of Y, U and V; determining an exposure parameter adjustment amount according to the brightness value on the RGB domain and a preset target brightness value, and performing exposure control based on the exposure parameter adjustment amount. According to the embodiment of the invention, the exposure parameter adjustment amount is determined according to the brightness value on the RGB domain and the preset target brightness value, and exposure control is carried out based on the exposure parameter adjustment amount, so the accuracy of exposure control is improved; meanwhile, the problem of relatively low accuracy of exposure adjustment caused by the fact that exposure parameters actually act on the Raw domain is avoided.

Description

technical field [0001] The present invention relates to the technical field of image processing, in particular to an exposure control method, device, electronic equipment and storage medium. Background technique [0002] The current face exposure algorithm can be roughly divided into two types according to the source of brightness statistics data, which are face exposure based on Raw domain and YUV domain. The face exposure based on the Raw domain has the problem of large statistical errors in face brightness, and the face exposure based on the YUV domain has the problem of insufficient accuracy of exposure adjustment due to the separation of the brightness statistics domain and the exposure parameter scope. Compare the statistical brightness of the YUV domain with the set threshold to determine whether to adjust the exposure and the adjustment amount. Since the exposure parameters actually affect the Raw domain, the adjustment amount obtained by the YUV domain cannot repres...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04N5/235H04N5/232
CPCH04N23/611H04N23/70
Inventor 陈铨陈靖宇
Owner ZHEJIANG DAHUA TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products