A video brightness adjustment method and electronic equipment
A brightness adjustment and brightness technology, applied in the video field, can solve the problems of affecting real-time video interaction, non-adjustable light source size, inconvenience, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0081] Embodiment 1 is a video brightness adjustment method provided by the embodiment of the present invention, refer to figure 1 As shown, the method includes:
[0082] 101. Acquire the brightness of the current video frame.
[0083] Specifically, if the color space of the current video frame is YUV (also known as YCrCb, where "Y" stands for brightness (Luminance or Luma), that is, the grayscale value; and "U" and "V" represent the color degree (Chrominance or Chroma), the effect is to describe the color and saturation of the image, and is used to specify the color of the pixel), then the data of the current video frame is obtained, and the mean value of the brightness of all pixels in the current video frame is obtained as the brightness of the current video frame;
[0084] If the color space of the current video frame is RGB (R, Red, means red, G, Green, means green, B, Blue, means blue), then convert the color space of the current video frame to YUV, and get the current ...
Embodiment 2
[0101] Embodiment 2 is a video brightness adjustment method provided by the embodiment of the present invention, refer to figure 2 As shown, the method includes:
[0102] 201. Determine whether the color space of the current video frame is YUV or RGB, if the color space of the current video frame is YUV, then perform step 202, and if the color space of the current video frame is RGB, then perform step 203.
[0103] Specifically, the color space information of the current video frame is obtained from the video format information of the current video frame, and the color space information may be the color space description field included in the description field of the current video frame. The method is not limited;
[0104] According to the color space information of the current video frame, it is judged whether the color space of the current video frame is YUV or RGB. In the judgment process, it is realized by matching the color space description field with the pre-stored de...
Embodiment 3
[0154] Embodiment 3 is an electronic device provided by the embodiment of the present invention, refer to image 3 As shown, the electronic equipment includes:
[0155] Brightness acquisition module 301, used to acquire the brightness of the current video frame;
[0156] The adjustment parameter acquisition module 302 is used to obtain the brightness adjustment parameter of the current video frame according to the brightness of the current video frame and the brightness adjustment parameter of the previous video frame;
[0157] The adjusted brightness obtaining module 303 is configured to generate the adjusted brightness of each pixel of the current video frame according to the mapping formula corresponding to the brightness adjustment parameter of the current video frame.
[0158] Optionally, the brightness acquisition module 301 is specifically used for:
[0159] If the color space of the current video frame is YUV, the data of the current video frame is obtained, and the me...
PUM

Abstract
Description
Claims
Application Information

- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com