CN110827770B - Regional backlight brightness adjusting method and device for display image and storage medium - Google Patents

Regional backlight brightness adjusting method and device for display image and storage medium Download PDF

Info

Publication number
CN110827770B
CN110827770B CN201911353432.XA CN201911353432A CN110827770B CN 110827770 B CN110827770 B CN 110827770B CN 201911353432 A CN201911353432 A CN 201911353432A CN 110827770 B CN110827770 B CN 110827770B
Authority
CN
China
Prior art keywords
brightness
backlight
image frame
regional
current image
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
CN201911353432.XA
Other languages
Chinese (zh)
Other versions
CN110827770A (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.)
Huizhou Shiwei New Technology Co Ltd
Original Assignee
Huizhou Shiwei New 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 Huizhou Shiwei New Technology Co Ltd filed Critical Huizhou Shiwei New Technology Co Ltd
Priority to CN201911353432.XA priority Critical patent/CN110827770B/en
Publication of CN110827770A publication Critical patent/CN110827770A/en
Application granted granted Critical
Publication of CN110827770B publication Critical patent/CN110827770B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source
    • G09G3/3413Details of control of colour illumination sources

Abstract

The invention discloses a regional backlight brightness adjusting method for displaying images, which comprises the following steps: receiving a current image frame of a video file in a playing state; acquiring regional backlight brightness of the current image frame; receiving a next image frame of the current image frame; carrying out backlight adjustment according to the regional backlight brightness of the current image frame; and displaying the current image frame by the adjusted regional backlight brightness, taking the next image frame as a new current image frame, and returning to the step of obtaining the regional backlight brightness of the current image frame. The invention also discloses a regional backlight brightness adjusting device for displaying images and a storage medium. The invention solves the problem of lag of adjustment of regional backlight relative to display content.

Description

Regional backlight brightness adjusting method and device for display image and storage medium
Technical Field
The present invention relates to the field of backlight, and in particular, to a method and an apparatus for adjusting the brightness of regional backlight of a display image, and a storage medium.
Background
With the continuous development of screen display technology, the backlight display mode with better experience effect, which is local dimming (local dimming), is more energy-saving and is gradually accepted and favored by more and more users. The regional backlight is used for dividing the backlight into a plurality of regions to perform adjustment display of different brightness, and brightness information of the regions is calculated according to brightness information of a display image, so that the brightness of a certain region is controlled, and the backlight brightness of different regions can be adjusted according to different brightness of different regions of the same frame.
The current general area backlight implementation is: the luminance of the area backlight is calculated according to the current display screen, and then the area backlight is adjusted according to the calculated area backlight luminance. Therefore, because the time is needed for the brightness calculation and the brightness adjustment of the area backlight, the currently displayed picture and the area backlight are not displayed simultaneously, the adjustment of the area backlight has a certain delay relative to the display content, when the picture is switched faster, the backlight which changes rapidly can cause the bad effects of inconsistent brightness and darkness, even opposite brightness and flicker and the like of partial pictures, for example, when the current picture is brighter, the area backlight starts to be adjusted brightly, and as a result, the next frame of picture is darker, the phenomenon that the dark picture has too bright backlight can occur.
Therefore, the current area backlight adjusting technology for displaying images has the technical problems that due to the fact that adjustment of the area backlight is delayed relative to display content, the display screen has poor effects of inconsistent brightness and darkness, opposite brightness and darkness, flickering and the like.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a method, a device and a storage medium for adjusting the brightness of regional backlight of a display image, and aims to solve the technical problems of inconsistent brightness and darkness, opposite brightness and flicker and other adverse effects of a display picture caused by large delay of adjustment of the regional backlight relative to display content.
In order to achieve the above object, the present invention provides a method for adjusting the brightness of a backlight of a display image, comprising: receiving a current image frame of a video file in a playing state; acquiring regional backlight brightness of the current image frame; receiving a next image frame of the current image frame; carrying out backlight adjustment according to the regional backlight brightness of the current image frame; and displaying the current image frame by the adjusted regional backlight brightness, taking the next image frame as a new current image frame, and returning to the step of obtaining the regional backlight brightness of the current image frame.
Optionally, the step of obtaining the regional backlight brightness of the current image frame specifically includes: acquiring the regional image brightness of the current image frame in each backlight region; and performing brightness compensation on the brightness of the regional image to obtain regional backlight brightness of the current image frame in each backlight region.
Optionally, the acquiring the area image brightness of the current image frame in each backlight area specifically includes: acquiring the brightness of a pixel point of the current image frame; and calculating the average brightness of the pixel point brightness in each backlight area, and taking each average brightness as the area image brightness of the current image frame in each backlight area.
Optionally, the performing brightness compensation on the brightness of the area image specifically includes: acquiring the regional backlight brightness of the last image frame of the current image frame; and performing brightness compensation on the brightness of the regional image according to the regional backlight brightness of the previous image frame.
Optionally, before the step of receiving the current image frame of the video file in the playing state, the method for adjusting the backlight brightness of the area of the display image further includes: receiving a playing signal for playing the video file; searching a regional backlight brightness adjusting file associated with the video file; and when the regional backlight brightness adjusting file is found, playing the video file.
Optionally, the method for adjusting the backlight brightness of the area displaying the image further includes: and when the regional backlight brightness adjusting file is not found, adjusting the backlight brightness according to a preset backlight adjusting rule.
Optionally, the step of playing the video file when the regional backlight brightness adjustment file is found includes: when the regional backlight brightness adjusting file is found, reading a file header of the regional backlight brightness adjusting file; analyzing the file header, and judging whether the regional backlight brightness adjusting file meets a preset condition according to an analysis result; and when the regional backlight brightness adjusting file meets a preset condition, playing the video file.
In addition, to achieve the above object, the present invention provides an area backlight luminance adjusting apparatus for displaying an image, including: the first receiving module is used for receiving the current image frame; the brightness acquisition module is used for acquiring the regional backlight brightness of the current image frame; a second receiving module, configured to receive a next image frame of the current image frame; the backlight adjusting module is used for adjusting backlight according to the regional backlight brightness of the current image frame; and the image display module is used for displaying the current image frame through the adjusted regional backlight brightness, taking the next image frame as a new current image frame and returning the new current image frame to the brightness acquisition module.
In addition, to achieve the above object, the present invention provides an area backlight luminance adjusting apparatus for displaying an image, including: the system comprises a memory, a processor and a regional backlight brightness adjusting program of a display image, wherein the regional backlight brightness adjusting program of the display image is stored on the memory and can run on the processor, and when being executed by the processor, the regional backlight brightness adjusting program of the display image realizes the steps of the regional backlight brightness adjusting method of the display image.
In addition, to achieve the above object, the present invention further provides a storage medium, on which an area backlight luminance adjusting program of a display image is stored, which when executed by a processor implements the steps of the area backlight luminance adjusting method of a display image as described above.
The regional backlight brightness adjusting method, device and storage medium for displaying images provided by the embodiments of the present invention acquire the regional backlight brightness of the current image frame when receiving the current image frame, wait for receiving the next image frame, perform backlight adjustment and image display according to the regional backlight brightness of the current image frame when receiving the next image frame, and simultaneously use the next image frame as a new current image frame to return to the step of acquiring the regional backlight brightness of the current image frame, so that the acquisition of the regional backlight brightness of the current image frame, the backlight adjustment corresponding to the current image frame and the image display are performed with a frame length time shift, and when displaying the current image frame, the regional backlight brightness of the current image frame is already acquired, the backlight adjustment can be directly performed without waiting for acquiring the regional backlight brightness thereof and then performing the backlight adjustment, the problem of hysteresis of adjustment of regional backlight relative to display content is effectively solved.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for adjusting the brightness of a backlight of an image display area according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a detailed process of step S204 of the method for adjusting backlight brightness of the area of the display image shown in FIG. 2;
FIG. 4 is a flowchart illustrating a detailed process of step S302 of the method for adjusting backlight brightness of the area of the display image shown in FIG. 3;
FIG. 5 is a flowchart illustrating a detailed process of performing brightness compensation on the brightness of the area image in step S304 in the embodiment of the method for adjusting the brightness of the area backlight of the display image in FIG. 3;
FIG. 6 is a flowchart illustrating steps before step S202 of the area backlight brightness adjusting method for displaying an image in FIG. 2;
FIG. 7 is a flowchart illustrating an embodiment of the area backlight brightness adjusting method for displaying an image shown in FIG. 6 after step S604;
FIG. 8 is a flowchart illustrating a detailed process of step S606 in the embodiment of the method for adjusting the backlight brightness of the area displaying the image in FIG. 6;
FIG. 9 is a block diagram of an embodiment of a local backlight brightness adjusting apparatus for displaying images according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, and can also be a mobile terminal device with a display function, such as a smart phone, a tablet computer, an electronic book reader, an MP3(Moving Picture Experts Group Audio Layer III, dynamic video Experts compress standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, dynamic video Experts compress standard Audio Layer 4) player, a portable computer, and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a regional backlight brightness adjustment program for displaying an image.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call up the area backlight brightness adjustment program for displaying an image stored in the memory 1005, and perform the following operations: receiving a current image frame of a video file in a playing state; acquiring regional backlight brightness of the current image frame; receiving a next image frame of the current image frame; carrying out backlight adjustment according to the regional backlight brightness of the current image frame; and displaying the current image frame by the adjusted regional backlight brightness, taking the next image frame as a new current image frame, and returning to the step of obtaining the regional backlight brightness of the current image frame.
Optionally, the step of obtaining the regional backlight brightness of the current image frame specifically includes: acquiring the regional image brightness of the current image frame in each backlight region; and performing brightness compensation on the brightness of the regional image to obtain regional backlight brightness of the current image frame in each backlight region.
Optionally, the acquiring the area image brightness of the current image frame in each backlight area specifically includes: acquiring the brightness of a pixel point of the current image frame; and calculating the average brightness of the pixel point brightness in each backlight area, and taking each average brightness as the area image brightness of the current image frame in each backlight area.
Optionally, the performing brightness compensation on the brightness of the area image specifically includes: acquiring the regional backlight brightness of the last image frame of the current image frame; and performing brightness compensation on the brightness of the regional image according to the regional backlight brightness of the previous image frame.
Optionally, before the step of receiving the current image frame of the video file in the playing state, the method for adjusting the backlight brightness of the area of the display image further includes: receiving a playing signal for playing the video file; searching a regional backlight brightness adjusting file associated with the video file; and when the regional backlight brightness adjusting file is found, playing the video file.
Optionally, the method for adjusting the backlight brightness of the area displaying the image further includes: and when the regional backlight brightness adjusting file is not found, adjusting the backlight brightness according to a preset backlight adjusting rule.
Optionally, the step of playing the video file when the regional backlight brightness adjustment file is found includes: when the regional backlight brightness adjusting file is found, reading a file header of the regional backlight brightness adjusting file; analyzing the file header, and judging whether the regional backlight brightness adjusting file meets a preset condition according to an analysis result; and when the regional backlight brightness adjusting file meets a preset condition, playing the video file.
Referring to fig. 2, an embodiment of a method for adjusting the brightness of a regional backlight of a displayed image includes:
step S202, receiving a current image frame of a video file in a playing state;
the backlight adjusting method of the embodiment adjusts the regional backlight brightness of the terminal according to the image frame when displaying the image, for example, when playing the video, so that the regional backlight brightness can adapt to the picture content of the image frame, and better backlight experience is provided for the user. The method of the embodiment can be directly applied to the terminal, and can be used as an area backlight brightness adjusting mode when the terminal leaves factory and defaults to display an image, or can be used as an area backlight adjusting mode which can be selected by a user in a self-defined way.
When in the backlight adjustment mode of the present embodiment, the terminal receives the current image frame. In this embodiment, a video file is played as an example, where one video file includes a plurality of frames of image frames.
Step S204, obtaining the regional backlight brightness of the current image frame;
in the embodiment of the invention, the display screen backlight adopts local dimming (local dimming), which is divided into a plurality of backlight areas. For example, it may be that the display screen backlight is divided into backlight areas of 16x 16. The skilled person can also perform area division on the display screen backlight according to other division rules. In this embodiment, the regional backlight brightness of the current image frame is obtained by calculation.
Referring to fig. 3, in an embodiment, the step S204 specifically includes:
step S302, obtaining the regional image brightness of the current image frame in each backlight region;
the image brightness is the brightness of the picture in candelas per square meter (cd/m2) or nits. Image brightness is a perceived continuum from a white surface to a black surface, determined by the reflection coefficient, with brightness emphasizing objects and "reflection". In this embodiment, the image frame is divided according to the backlight areas, and the image frame has an area image brightness corresponding to each backlight area. The terminal acquires the regional image brightness of the current image frame in each backlight region.
Referring to fig. 4, in an embodiment, the step S302 specifically includes:
step S402, obtaining the pixel point brightness of the current image frame;
in this embodiment, the area image brightness of the current image frame in a backlight area is the average brightness of the brightness of all pixel points of the current image frame in the backlight area. Specifically, the terminal obtains the pixel brightness of the current image frame in each backlight area.
Step S404, calculating an average brightness of pixel luminance in each backlight area, and taking each average brightness as the area image brightness of the current image frame in each backlight area.
The terminal calculates the regional image brightness of the current image frame in each backlight region. Specifically, the terminal calculates the area image brightness of each backlight area according to the brightness of each pixel point of the current image frame. The method for calculating the area image brightness of a certain backlight area specifically comprises the following steps: the terminal obtains the brightness of all pixel points of the current image frame in the backlight area, calculates the average brightness of the brightness of all the pixel points, and takes the average brightness as the area image brightness of the image frame in the backlight area. In one embodiment, the weighted average of the brightness of all the pixel points may be used as the brightness of the area image of the current image frame in the backlight area, or the brightness of all the pixel points may be calculated according to other calculation rules to obtain the brightness of the area image of the current image frame in the backlight area. Further, in this embodiment, the terminal performs area image brightness calculation on the current image frame in the multiple backlight areas by using multiple threads, so as to obtain area image brightness of the current image frame in each backlight area.
Step S304, performing brightness compensation on the brightness of the area image to obtain the area backlight brightness of the current image frame in each backlight area.
And the terminal respectively performs brightness compensation on the regional image brightness of the current image frame in each backlight region according to a preset brightness compensation rule.
Referring to fig. 5, in an embodiment, the performing brightness compensation on the brightness of the area image specifically includes:
step S502, obtaining the regional backlight brightness of the last image frame of the current image frame;
step S504, performing brightness compensation on the brightness of the area image according to the area backlight brightness of the previous image frame.
And the terminal performs brightness compensation on the regional image brightness of the current image frame according to the regional backlight brightness of the last image frame of the current image frame. Specifically, the terminal performs brightness compensation on the regional image brightness of the current image frame according to a preset compensation rule according to the regional backlight brightness of the previous image frame of the current image frame. In this embodiment, the area backlight luminance of the previous image frame of the current image frame is described as luminance a, the area image luminance of the current image frame is described as luminance S, and the area backlight luminance of the current image frame obtained after the luminance compensation is described as luminance B.
The brightness A comprises the brightness of a plurality of backlight areas, and the terminal correspondingly performs brightness compensation on the brightness S of the current image frame of each backlight area one by one according to the brightness A of each backlight area. The compensation rule may be to query a preset brightness compensation table according to a brightness difference between the brightness S and the brightness a to obtain compensation brightness, and perform brightness compensation on the brightness S by using the compensation brightness. The brightness compensation table comprises a corresponding relation between the regional backlight brightness difference and the compensation brightness. Specifically, the terminal may also calculate a luminance difference between the luminance S and the luminance a, query a luminance compensation table according to the luminance difference, obtain a luminance difference range where the luminance difference is located, obtain a compensation luminance M corresponding to the luminance difference range according to the luminance difference range, and sum the compensation luminance M and the luminance S to obtain an area backlight luminance, i.e., a luminance B, of the current image frame in the backlight area. In other embodiments, the compensation rule may be other setting rules.
By performing brightness compensation on the regional image of the image frame, the brightness difference between two continuously jumping frames is in a proper range, so that the harm to human eyes due to overlarge brightness difference is avoided.
Step S206, receiving a next image frame of the current image frame;
and after acquiring the regional backlight brightness of the current image frame, the terminal waits for receiving the next image frame of the current image frame. After receiving the current image frame, the terminal stores the current image frame in a local storage unit of the terminal. After the regional backlight brightness of the current image frame is obtained, the terminal also stores the regional backlight brightness of the current image frame in a local storage unit of the terminal. The storage unit may be a memory, a cache, and other types of storage. The storage unit may be a separately created storage space for only the current image frame and the regional backlight brightness of the current image frame. In this embodiment, the current image frame and the backlight brightness of the area thereof may be stored in the same storage unit, or may be stored in two different storage units. After receiving the next image frame of the current image frame, the terminal retrieves the current image frame and the backlight brightness of the area thereof from the storage unit to perform step S208.
Step S208, carrying out backlight adjustment according to the regional backlight brightness of the current image frame;
step S210, performing image display on the current image frame through the adjusted area backlight brightness, taking the next image frame as a new current image frame, and returning to step S204.
And the terminal performs backlight adjustment on a display screen of the terminal according to the regional backlight brightness of the current image frame, and adjusts the backlight brightness of the terminal to the regional backlight brightness of the current image frame. And after backlight adjustment is carried out on the terminal, the current image frame is sent to a display screen for image display. The display screen is a display device carried by the terminal. In one embodiment, the display screen may also be an external display device communicatively coupled to the terminal.
And the terminal takes the next image frame as a new current image frame, stores the new current image frame and returns to the step S204 to acquire the regional backlight brightness of the current image frame. In an embodiment, when the terminal performs step S208, the next image frame may be simultaneously used as a new current image frame to perform step S204, that is, when the backlight brightness adjustment and the image display are performed on the current image frame, the regional backlight brightness calculation may be performed on the next image frame simultaneously.
In the embodiment, by acquiring the regional backlight brightness of the current image frame when the current image frame is received, and waiting for receiving the next image frame, when receiving next image frame, the backlight adjustment is carried out according to the regional backlight brightness of the current image frame and the image display is carried out, meanwhile, the next image frame is taken as a new current image frame, the step of obtaining the regional backlight brightness of the current image frame is returned, thereby the acquisition of the regional backlight brightness of the current image frame, the backlight adjustment and the image display corresponding to the current image frame are staggered for one frame length time, so that when the current image frame is displayed, the regional backlight brightness of the current image frame is obtained, the backlight adjustment can be directly carried out, and the backlight adjustment is carried out after the regional backlight brightness is obtained, so that the problem of lag of the regional backlight adjustment relative to the display content is effectively solved.
Referring to fig. 6, in an embodiment, before step S202, the method for adjusting the backlight brightness of the area of the display image further includes:
step S602, receiving a playing signal for playing the video file;
wherein, the playing signal is sent to the terminal by the user. The user can send a playing signal of the designated video file through an input device of the terminal. The input device may be a touch display screen, a mouse, a keyboard of the terminal, or a remote controller communicatively connected to the terminal.
Step S604, searching a regional backlight brightness adjusting file associated with the video file;
in this embodiment, after receiving a play signal for a video file sent by a user, the terminal searches for an area backlight brightness adjustment file associated with the video file. In this embodiment, different video files may correspond to different regional backlight brightness adjustment files, and in other embodiments, different regional backlight brightness adjustment files may also correspond to different types of video files, for example, different regional backlight brightness adjustment files may be corresponding to video duration ranges of video files. In this embodiment, specifically, the area backlight brightness adjustment file and the video file are stored in the same storage path. The terminal can search the regional backlight brightness adjusting file associated with the video file through the storage path of the video file. For example, when the video file name is "file.mp4", the area backlight luminance adjustment file associated therewith may be "file.ld".
Step S606, when the area backlight brightness adjustment file is found, playing the video file.
And when the regional backlight brightness adjusting file is found in the same storage path of the video file, the terminal starts a player to play the video file. In the process of playing the video file, the step S202 is executed according to the regional backlight brightness adjustment file. In this embodiment, the execution flow commands from step S202 to step S210 are written in the area backlight brightness adjustment file.
In this embodiment, the corresponding regional backlight brightness adjustment file is searched before the video file is played, and when the regional backlight brightness adjustment file is searched, the video file is played, so that different video files can adapt to different regional backlight brightness adjustment rules, the optimal backlight brightness adjustment can be performed for different video files, and the backlight adjustment effect is improved.
Referring to fig. 7, in an embodiment, after step S604 shown in fig. 6, the method for adjusting the regional backlight brightness of the display image further includes: step S702, when the regional backlight brightness adjusting file is not found, adjusting the backlight brightness according to a preset backlight adjusting rule.
And when the regional backlight brightness adjusting file is not found, the terminal adjusts the backlight brightness according to a preset backlight adjusting rule. The preset backlight adjustment rule may be a first adjustment mode for performing overall adjustment on the backlight, or may be a second adjustment mode for calculating the regional backlight brightness and then adjusting the regional backlight. Those skilled in the art may set preset backlight adjustment rules in other manners according to requirements, and the embodiment of the present invention is not limited in particular. Wherein, the first regulation mode specifically is: and calculating the average brightness of the current image frame according to the brightness of each pixel point of the current image frame, and adjusting the overall backlight brightness according to the average brightness of the current image frame. The second adjustment mode specifically comprises: and calculating the average brightness of each backlight area according to the brightness of each pixel point of the current image frame, and then adjusting the brightness of each backlight area according to the average brightness of each backlight area.
In the embodiment, a backlight adjusting mode for adjusting the backlight brightness according to the preset backlight adjusting rule when the regional backlight brightness adjusting file is not found is provided, and when the video file lacks the adjusting mode of the specific regional backlight brightness adjusting file, the preset backlight brightness adjusting rule is used for adjusting the backlight, so that the reliability of the backlight adjustment of the video file can be ensured.
Referring to fig. 8, in an embodiment, the step S606 specifically includes:
step S802, when the regional backlight brightness adjusting file is found, reading a file header of the regional backlight brightness adjusting file;
the file header is data with a certain length at the beginning of the regional backlight brightness adjusting file and contains basic parameters of the regional backlight brightness adjusting file. In this embodiment, the basic parameter of the area backlight brightness adjustment file includes the supported screen resolution. For example, the regional backlight brightness adjustment file supports a screen resolution of 8x 8. The basic parameters are packaged in a file header part of the regional backlight brightness adjusting file through a certain format. The format is a file format of the regional backlight brightness adjustment file, such as an ld format.
Step S804, analyzing the file header, and judging whether the regional backlight brightness adjusting file meets a preset condition according to an analysis result;
and the terminal analyzes the file header. Specifically, the terminal decodes the file header to obtain specific data of the file header, and obtains basic parameters of the area backlight brightness adjustment file from the specific data of the file header. And further, judging whether the regional backlight brightness adjusting file meets a preset condition according to the basic parameters. In this embodiment, the preset condition is that the basic parameter conforms to the screen resolution supported by the terminal. For example, if the terminal needs to support the area backlight with the resolution of 32x32 and the area backlight brightness adjustment file only supports the resolution of 8x8, the resolution supported by the terminal cannot be reached, and then the area backlight brightness adjustment file is determined not to meet the preset condition; if the regional backlight brightness adjustment file supports the resolution of 32 × 32, the regional backlight brightness adjustment file is determined to satisfy the preset condition.
Step S806, when the area backlight brightness adjustment file meets a preset condition, playing the video file.
And if the regional backlight brightness adjusting file meets the preset condition, starting a player to play the video file by the terminal. In the process of playing the video file, the step S202 is executed according to the regional backlight brightness adjustment file. In this embodiment, the execution flow commands from step S202 to step S210 are written in the area backlight brightness adjustment file. And if the regional backlight brightness adjusting file does not meet the preset condition, adjusting the backlight brightness according to a preset backlight adjusting rule.
In this embodiment, a proper backlight adjustment rule is selected for the video file to perform backlight adjustment by further matching whether the basic parameter of the area backlight brightness adjustment file of the video file meets the preset condition, when the basic parameter meets the preset condition, backlight adjustment is performed according to the rule in the area backlight brightness adjustment file, and when the basic parameter does not meet the preset condition, backlight adjustment is performed according to the preset backlight adjustment rule, so that the reliability of backlight adjustment is improved.
In addition, referring to fig. 9, an area backlight brightness adjusting device for displaying an image according to an embodiment of the present invention is further provided, where the area backlight brightness adjusting device for displaying an image includes:
a first receiving module 910, configured to receive a current image frame of a video file in a playing state;
a brightness obtaining module 920, configured to obtain a regional backlight brightness of the current image frame;
a second receiving module 930, configured to receive a next image frame of the current image frame;
a backlight adjusting module 940 for adjusting backlight according to the regional backlight brightness of the current image frame;
an image display module 950, configured to perform image display on the current image frame according to the adjusted regional backlight brightness, and return the next image frame to the brightness obtaining module 920 as a new current image frame.
In this embodiment, when the first receiving module receives a current image frame, the brightness obtaining module obtains the regional backlight brightness of the current image frame and waits for receiving a next image frame, and when the second receiving module receives the next image frame, the backlight adjusting module performs backlight adjustment according to the regional backlight brightness of the current image frame, the image display module performs image display on the current image frame, and simultaneously uses the next image frame as a new current image frame to return to the step of obtaining the regional backlight brightness of the current image frame, so that the obtaining of the regional backlight brightness of the current image frame, the backlight adjustment corresponding to the current image frame and the image display are performed with a frame length time offset, and when the current image frame is displayed, the regional backlight brightness of the current image frame is obtained, the backlight adjustment can be directly performed without waiting for obtaining the regional backlight brightness thereof and then performed with backlight adjustment, the problem of hysteresis of adjustment of regional backlight relative to display content is effectively solved.
Optionally, the brightness obtaining module 920 is further configured to obtain area image brightness of the current image frame in each backlight area; and performing brightness compensation on the brightness of the regional image to obtain regional backlight brightness of the current image frame in each backlight region.
Optionally, the brightness obtaining module 920 is further configured to obtain the brightness of a pixel point of the current image frame; and calculating the average brightness of the pixel point brightness in each backlight area, and taking each average brightness as the area image brightness of the current image frame in each backlight area.
Optionally, the brightness obtaining module 920 is further configured to obtain a regional backlight brightness of a previous image frame of the current image frame; and performing brightness compensation on the brightness of the regional image according to the regional backlight brightness of the previous image frame.
Optionally, the area backlight brightness adjusting device for displaying an image further includes: the file searching module is used for receiving a playing signal for playing the video file; searching a regional backlight brightness adjusting file associated with the video file; and when the regional backlight brightness adjusting file is found, playing the video file.
Optionally, the file searching module is further configured to perform backlight brightness adjustment according to a preset backlight adjustment rule when the area backlight brightness adjustment file is not found.
Optionally, the file searching module is further configured to read a file header of the area backlight brightness adjustment file when the area backlight brightness adjustment file is found; analyzing the file header, and judging whether the regional backlight brightness adjusting file meets a preset condition according to an analysis result; and when the regional backlight brightness adjusting file meets a preset condition, playing the video file.
In addition, an embodiment of the present invention further provides a device for adjusting regional backlight brightness of a display image, where the device for adjusting regional backlight brightness of a display image includes: the system comprises a memory, a processor and a regional backlight brightness adjusting program of a display image, wherein the regional backlight brightness adjusting program of the display image is stored on the memory and can run on the processor, and when being executed by the processor, the method realizes the steps of the regional backlight brightness adjusting method embodiment of the display image.
Furthermore, an embodiment of the present invention further provides a storage medium, where a regional backlight brightness adjustment program for displaying an image is stored, and when executed by a processor, the method implements the steps of the above-mentioned method for adjusting regional backlight brightness for displaying an image.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A regional backlight brightness adjusting method for displaying images is characterized by comprising the following steps:
receiving a current image frame of a video file in a playing state;
acquiring the regional image brightness of the current image frame in each backlight region and the regional backlight brightness of the last image frame of the current image frame;
acquiring brightness difference between the regional image brightness of the current image frame and the regional backlight brightness of the previous image frame;
performing brightness compensation on the regional image brightness of the current image frame according to the brightness difference to obtain regional backlight brightness of the current image frame in each backlight region;
receiving a next image frame of the current image frame;
carrying out backlight adjustment according to the regional backlight brightness of the current image frame;
and displaying the current image frame through the adjusted regional backlight brightness, taking the next image frame as a new current image frame, and returning to the step of acquiring the regional image brightness of the current image frame in each backlight region.
2. The method for adjusting regional backlight brightness of a display image according to claim 1, wherein the acquiring the regional image brightness of the current image frame in each backlight region specifically comprises:
acquiring the brightness of a pixel point of the current image frame;
and calculating the average brightness of the pixel point brightness in each backlight area, and taking each average brightness as the area image brightness of the current image frame in each backlight area.
3. The method as claimed in claim 1, wherein the brightness compensation of the area image brightness of the current image frame according to the brightness difference comprises:
inquiring a preset brightness compensation table according to the brightness difference to obtain compensation brightness;
performing brightness compensation on the regional image brightness of the current image frame according to the compensation brightness;
the preset brightness compensation table comprises a corresponding relation between the regional backlight brightness difference and the compensation brightness.
4. The method as claimed in claim 1, wherein the step of receiving the current image frame of the video file in the playing state is preceded by the step of adjusting the brightness of the area backlight of the display image, the method further comprises:
receiving a playing signal for playing the video file;
searching a regional backlight brightness adjusting file associated with the video file;
and when the regional backlight brightness adjusting file is found, playing the video file.
5. The method for adjusting luminance of area backlight of a display image according to claim 4, wherein the method for adjusting luminance of area backlight of a display image further comprises:
and when the regional backlight brightness adjusting file is not found, adjusting the backlight brightness according to a preset backlight adjusting rule.
6. The method according to claim 4, wherein the step of playing the video file when the regional backlight brightness adjustment file is found comprises:
when the regional backlight brightness adjusting file is found, reading a file header of the regional backlight brightness adjusting file;
analyzing the file header, and judging whether the regional backlight brightness adjusting file meets a preset condition according to an analysis result;
and when the regional backlight brightness adjusting file meets a preset condition, playing the video file.
7. An area backlight brightness adjusting apparatus for displaying an image, the apparatus comprising:
the first receiving module is used for receiving the current image frame of the video file in a playing state;
the brightness acquisition module is used for acquiring the regional backlight brightness of the current image frame;
the second receiving module is used for acquiring the regional image brightness of the current image frame in each backlight region and the regional backlight brightness of the last image frame of the current image frame;
the second receiving module is used for acquiring the brightness difference between the regional image brightness of the current image frame and the regional backlight brightness of the previous image frame;
the second receiving module is used for performing brightness compensation on the regional image brightness of the current image frame according to the brightness difference to obtain regional backlight brightness of the current image frame in each backlight region;
the backlight adjusting module is used for adjusting backlight according to the regional backlight brightness of the current image frame;
and the image display module is used for displaying the current image frame through the adjusted regional backlight brightness, taking the next image frame as a new current image frame and returning the new current image frame to the brightness acquisition module.
8. An area backlight brightness adjusting apparatus for displaying an image, the apparatus comprising: memory, processor and a regional backlight brightness adjustment program of a display image stored on the memory and executable on the processor, the regional backlight brightness adjustment program of a display image when executed by the processor implementing the steps of the method of regional backlight brightness adjustment of a display image according to any of claims 1 to 6.
9. A storage medium having stored thereon a regional backlight luminance adjustment program for displaying an image, the regional backlight luminance adjustment program for displaying an image when executed by a processor implementing the steps of the method for regional backlight luminance adjustment for displaying an image according to any one of claims 1 to 6.
CN201911353432.XA 2019-12-24 2019-12-24 Regional backlight brightness adjusting method and device for display image and storage medium Active CN110827770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911353432.XA CN110827770B (en) 2019-12-24 2019-12-24 Regional backlight brightness adjusting method and device for display image and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911353432.XA CN110827770B (en) 2019-12-24 2019-12-24 Regional backlight brightness adjusting method and device for display image and storage medium

Publications (2)

Publication Number Publication Date
CN110827770A CN110827770A (en) 2020-02-21
CN110827770B true CN110827770B (en) 2022-03-01

Family

ID=69546384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911353432.XA Active CN110827770B (en) 2019-12-24 2019-12-24 Regional backlight brightness adjusting method and device for display image and storage medium

Country Status (1)

Country Link
CN (1) CN110827770B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113496503B (en) * 2020-03-18 2022-11-08 广州极飞科技股份有限公司 Point cloud data generation and real-time display method, device, equipment and medium
CN113744696A (en) * 2021-08-17 2021-12-03 惠州视维新技术有限公司 Method and device for adjusting brightness of backlight module and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101281731A (en) * 2008-03-26 2008-10-08 青岛海信电器股份有限公司 Liquid crystal display method
CN101281732A (en) * 2008-03-26 2008-10-08 青岛海信电器股份有限公司 Liquid crystal display method
CN101667418A (en) * 2009-09-25 2010-03-10 深圳丹邦投资集团有限公司 Method for displaying luminance compensation of display screen and system thereof
CN104050934A (en) * 2014-05-28 2014-09-17 京东方科技集团股份有限公司 Backlight adjusting method, backlight adjusting system and display device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101281731A (en) * 2008-03-26 2008-10-08 青岛海信电器股份有限公司 Liquid crystal display method
CN101281732A (en) * 2008-03-26 2008-10-08 青岛海信电器股份有限公司 Liquid crystal display method
CN101667418A (en) * 2009-09-25 2010-03-10 深圳丹邦投资集团有限公司 Method for displaying luminance compensation of display screen and system thereof
CN104050934A (en) * 2014-05-28 2014-09-17 京东方科技集团股份有限公司 Backlight adjusting method, backlight adjusting system and display device

Also Published As

Publication number Publication date
CN110827770A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
CN108053381B (en) Dynamic tone mapping method, mobile terminal and computer-readable storage medium
CN107293265B (en) Display screen picture adjusting method, display terminal and readable storage medium
CN109240577B (en) Screen capturing method and terminal
CN108091288B (en) Display screen uniformity testing method, terminal and computer readable storage medium
CN110827770B (en) Regional backlight brightness adjusting method and device for display image and storage medium
CN110572706B (en) Video screenshot method, terminal and computer-readable storage medium
WO2021082542A1 (en) Regional backlight control method, display, and storage medium
KR20200140709A (en) A Compensating Method of scroll function For A DISPLAY and AN ELECTRONIC DEVICE supporting the same
CN110753266A (en) Video definition adjusting method and device and storage medium
CN108401173B (en) Mobile live broadcast interactive terminal, method and computer readable storage medium
CN113821417A (en) Lamp effect adaptation display processing method, intelligent terminal and storage medium
KR102349376B1 (en) Electronic apparatus and image correction method thereof
CN112423101B (en) Remote display method, device, equipment and computer readable storage medium
CN110602189B (en) File downloading method, server and electronic equipment
CN109104608B (en) Television performance test method, equipment and computer readable storage medium
CN108509126B (en) Picture processing method and mobile terminal
CN108471549B (en) Remote control method and terminal
CN114647468B (en) Screen projection image display method and device, electronic equipment and storage medium
CN115423680A (en) Face makeup migration method, device and computer-readable storage medium
CN114489549B (en) Screen projection image processing method and device, electronic equipment and storage medium
CN112650872A (en) Dynamic picture playing method, device and equipment and computer readable storage medium
CN112788425A (en) Dynamic area display method, device, equipment and computer readable storage medium
CN112905280B (en) Page display method, device, equipment and storage medium
CN110865859B (en) Picture display method and device, electronic equipment and medium
CN110660364A (en) Method and device for adjusting regional backlight and storage medium

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