CN114567813A - Image quality improving method and device, playing equipment and computer readable storage medium - Google Patents

Image quality improving method and device, playing equipment and computer readable storage medium Download PDF

Info

Publication number
CN114567813A
CN114567813A CN202210227536.1A CN202210227536A CN114567813A CN 114567813 A CN114567813 A CN 114567813A CN 202210227536 A CN202210227536 A CN 202210227536A CN 114567813 A CN114567813 A CN 114567813A
Authority
CN
China
Prior art keywords
parameter
image quality
played
default
parameters
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.)
Granted
Application number
CN202210227536.1A
Other languages
Chinese (zh)
Other versions
CN114567813B (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.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202210227536.1A priority Critical patent/CN114567813B/en
Publication of CN114567813A publication Critical patent/CN114567813A/en
Application granted granted Critical
Publication of CN114567813B publication Critical patent/CN114567813B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J1/00Photometry, e.g. photographic exposure meter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • H04N21/4394Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities

Abstract

The invention discloses an image quality improving method, which comprises the following steps: analyzing an input video file to determine a video picture to be played in a preset time period; acquiring preset parameters corresponding to the video picture to be played in the video file in real time, and acquiring ambient illuminance in real time through a light sensor, wherein the preset parameters comprise a content type parameter and a white point parameter; and dynamically adjusting the image quality effect of the video picture to be played according to the preset parameters and the ambient light illumination. The invention also discloses an image quality improving device, playing equipment and a computer readable storage medium. By applying the image quality improving method to the playing equipment, the image quality of the presented video image can be improved in real time, and the film watching experience of a user is enhanced.

Description

Image quality improving method and device, playing equipment and computer readable storage medium
Technical Field
The present invention relates to the field of image display, and in particular, to an image quality improving method and apparatus, a playback device, and a computer-readable storage medium.
Background
The natural environment has the characteristics of High Dynamic Range in brightness, wide color gamut in color and the like, and a set of display standards of the dolby vision HDR (High-Dynamic Range image) are established in order to more vividly restore the optical characteristics of the natural environment on a digital television or other playing display equipment. Dolby vision is an image quality technique introduced by dolby laboratories in the united states, and enhances the image effect by enhancing the brightness and expanding the dynamic range. The method can improve the fidelity of video signals, so that the images are very vivid from the perspective of brightness, color and contrast, and the display standard set of Dolby view HDR comprises two standards of code stream format and playing image quality effect. In order to meet the standard of the playing image quality effect, a digital television or other playing display devices need to perform special image quality debugging to meet the dolby view HDR standard, but at present, the digital television or other playing display devices cannot meet the dolby view HDR standard, so that the displayed image quality is not ideal.
Disclosure of Invention
The invention provides a method and a device for improving image quality, playing equipment and a computer readable storage medium, and aims to solve the technical problem of poor image quality when a digital television or other playing equipment plays and displays a Dolby view film source.
To achieve the above object, the present invention provides an image quality improving method, comprising:
analyzing an input video file to determine a video picture to be played in a preset time period;
acquiring preset parameters corresponding to the video picture to be played in the video file in real time, and acquiring ambient illuminance in real time through a light sensor, wherein the preset parameters comprise a content type parameter and a white point parameter;
and dynamically adjusting the image quality effect of the video picture to be played according to the preset parameters and the ambient light illumination.
Optionally, the step of dynamically adjusting the image quality effect of the video picture to be played according to the preset parameter and the ambient light illuminance includes:
determining default image quality parameters corresponding to the video picture to be played, wherein the default image quality parameters comprise default motion compensation parameters, default noise reduction parameters and default sharpness parameters;
and correcting the default motion compensation parameter, the default noise reduction parameter and the default sharpness parameter in real time according to the content type parameter so as to dynamically adjust the image quality effect of the video picture to be played.
Optionally, the step of correcting the default motion compensation parameter, the default noise reduction parameter, and the default sharpness parameter in real time according to the content type parameter to dynamically adjust the image quality effect of the video frame to be played includes:
acquiring type numerical codes in the content type parameters, and determining a content type mapping table corresponding to the content type parameters;
retrieving the content type mapping table by taking the type numerical codes as key words to obtain target motion compensation parameters, target noise reduction parameters and target sharpness parameters corresponding to the type numerical codes;
and taking the target motion supplementary parameter as the default motion compensation parameter, taking the target noise reduction parameter as the default noise reduction parameter and taking the target sharpness parameter as the default sharpness parameter.
Optionally, the default image quality parameter further includes a default color temperature parameter; the step of dynamically adjusting the image quality effect of the video picture to be played according to the preset parameters and the ambient light illumination further comprises:
acquiring a white point numerical code corresponding to the white point parameter, and determining a white point mapping table corresponding to the white point numerical code;
and retrieving the white point mapping table by taking the white point numerical code as a keyword to obtain a target color temperature parameter corresponding to the white point data code, and taking the target color temperature parameter as the default color temperature parameter to dynamically adjust the image quality effect of the video picture to be played.
Optionally, the default image quality parameter further includes a default brightness parameter; the step of dynamically adjusting the image quality effect of the video picture to be played according to the preset parameters and the ambient light illumination further comprises:
converting the ambient illuminance into an optical sensing value according to the ambient illuminance;
and determining a backlight brightness value corresponding to the light sensing quantity value, and taking the backlight brightness value as a default brightness parameter corresponding to the video picture to be played so as to dynamically adjust the picture quality effect of the video picture to be played.
Optionally, the step of determining a video picture to be played within a preset time period includes:
analyzing the video file to play a current video picture, and determining the playing time corresponding to the current video picture;
and taking the sum of the playing time and a preset time period as a time interval to be played, and acquiring a video picture to be played corresponding to the time interval to be played.
Optionally, the video file comprises a dolby view-IQ video file.
In addition, to achieve the above object, the present invention further provides an image quality improving apparatus, comprising:
the video playing module is used for analyzing the input video file to determine a video picture to be played in a preset time period;
the parameter acquisition module is used for acquiring preset parameters corresponding to the video picture to be played in the video file in real time and acquiring ambient illuminance in real time through a light sensor, wherein the preset parameters comprise a content type parameter and a white point parameter;
and the image quality adjusting module is used for dynamically adjusting the image quality effect of the video picture to be played according to the preset parameters and the ambient light illumination.
In addition, to achieve the above object, the present invention further provides a playback device, which includes a light sensor, a memory, a processor, and an image quality improving program stored in the memory and executable on the processor, wherein: the image quality improvement program realizes the steps of the image quality improvement method when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, wherein an image quality improving program is stored on the computer readable storage medium, and when being executed by a processor, the image quality improving program implements the steps of the image quality improving method.
The method for improving the image quality comprises the steps of firstly analyzing an input video file to determine a video picture to be played in a preset time period, then acquiring preset parameters corresponding to the video picture to be played in the video file in real time, acquiring ambient light intensity in real time through a light sensor, wherein the preset parameters comprise content type parameters and white point parameters, finally dynamically adjusting the image quality effect of the video picture to be played according to the preset parameters and the ambient light intensity, smoothly playing the video file comprising a dolby video source, pre-reading the video file to be played, acquiring a section of video picture to be played and specific parameters corresponding to the video picture, pre-adjusting image quality parameters corresponding to the video picture to be played according to the specific parameters, and waiting for playing the corresponding video picture, the image quality of the video pictures can be adjusted in real time, the image quality adjustment has the optimal effect in a large number of test experiments, the image quality expression capability of the video pictures can be greatly enhanced, and the playing, impression and improvement experience of users can be enhanced.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment of a playback device according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a first embodiment of an image quality improving method according to the present invention;
FIG. 3 is a schematic diagram of a frame of an image quality improving apparatus according to the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment of a playback device according to an embodiment of the present invention.
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 comprise a Display (Display), an input unit such as a control panel, and the optional user interface 1003 may also comprise a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., a WLAN 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. The memory 1005, which is a kind of computer storage medium, may include a picture quality improvement program therein.
Optionally, the terminal may further include a microphone, a speaker, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a wireless module, and the like. Such as light sensors, infrared sensors, distance sensors and other sensors, which are not described in detail herein.
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. 2, fig. 2 is a schematic flow chart of a first embodiment of the image quality improvement method of the present invention, and in this embodiment, the method includes:
step S10, analyzing the input video file to determine the video picture to be played in the preset time period;
step S20, acquiring preset parameters corresponding to the video picture to be played in the video file in real time, and acquiring ambient illuminance in real time through a light sensor, wherein the preset parameters comprise a content type parameter and a white point parameter;
in this embodiment, the video file may be a dolby vision (IQ) video file, and the image mode corresponding to the playing system during playing may be dolby vision-bright. The source of the video file input can be either a network resource or a local resource. The process of parsing the dolby view IQ video file may be: the display device is realized by an SOC (System on Chip) hardware coding and decoding module of the display device, and the display function can be realized by matching with a Dolby View software library. The playback display device in this embodiment includes but is not limited to: television, computer, cell-phone, flat panel, independent display.
Analyzing an input video file to read video data in the video file and play the video file, according to a current video picture of the video file being played, pre-reading a section of video picture to be played of the video file and determining video data corresponding to the video picture in each second or each frame or a preset time interval in the section of video picture to be played, finding and extracting preset video parameters (preset parameters) in the video data, wherein the video parameters can be key value pairs, and the preset time period can be set according to actual needs, such as 2 s. The preset parameters may also be set according to actual needs, and in this embodiment, the preset parameters may include a content type parameter and a white point parameter, and source video parameters reflected in the video data, i.e., a content _ type parameter and a white _ point parameter, including values following the content _ type parameter and the white _ point parameter. The ambient light illumination is obtained by collecting real-time light received by the light sensor in the playing device in unit area of the surface of the light sensor, but the collected ambient light illumination is only an analog signal at the beginning, and the analog signal needs to be converted into a digital signal to obtain a light sensing quantity value corresponding to the ambient light illumination.
In an embodiment, the step of determining a video frame to be played within a preset time period includes:
step a, analyzing the video file to play a current video picture, and determining the playing time corresponding to the current video picture;
and b, taking the sum of the playing time and a preset time period as a time interval to be played, and acquiring a video picture to be played corresponding to the time interval to be played.
Before acquiring a video picture to be played in a video file, a node currently played in the video file, that is, a current video picture and a playing time node in the video file corresponding to the current video picture, for example, 00:10, are determined.
The setting of the preset time period may be configured or adjusted according to actual needs, for example, the preset time period is set to 10s, and the sum of the playing time node corresponding to the current video picture and the preset time period can determine to acquire all the video pictures to be played from the playing time node corresponding to the current video picture to the target playing time node, and the video pictures to be played in each frame in the time interval to be played may be included, for example, when 00:10+10s is 00:20, that is, the pre-reading is 00: all the video pictures to be played in the time interval of 10-00: 20.
And step S30, dynamically adjusting the image quality effect of the video picture to be played according to the preset parameters and the ambient light illumination.
The content type parameter is reflected to the key value data which can be corresponding to content _ type in the source Dolby view IQ video file, and the white point parameter is reflected to the key value data which can be corresponding to white _ poinit in the source Dolby view IQ video file.
The default motion compensation parameter, the default noise reduction parameter and the default sharpness parameter in the default image quality parameters corresponding to the video picture to be played can be adjusted according to the content type parameter setting, and the default color temperature parameter in the default image quality parameters corresponding to the video picture to be played can also be adjusted according to the white point parameter.
Under the coordination of a plurality of adjusted and corrected image quality parameters, the real-time optimal adjustment of the image quality effect of the video image to be played is achieved, and the impression experience of a user is enhanced.
In one embodiment, the default image quality parameter corresponding to the video frame to be played comprises a default brightness parameter; the step S30 includes:
step c, converting the ambient illuminance into an optical sensing value according to the ambient illuminance;
and d, determining a backlight brightness value corresponding to the light sensing quantity value, and taking the backlight brightness value as a default brightness parameter corresponding to the video picture to be played so as to dynamically adjust the picture quality effect of the video picture to be played.
In this embodiment, the playing and displaying device includes a light sensing device (light sensor) and a corresponding light sensing module, after the light sensing device obtains the ambient light intensity, the ambient light intensity is converted into a light sensing measurement value which can be processed by the processor and the playing system according to a preset algorithm, a corresponding backlight brightness value is obtained by further looking up a table according to a specific light sensing measurement value, and then it can be determined whether the currently set display brightness value (default brightness parameter) is equal to the backlight brightness value corresponding to the light sensing measurement value, if the currently set brightness value is not equal to the backlight brightness value corresponding to the light sensing measurement value, the currently set display brightness value is replaced by the backlight brightness value corresponding to the light sensing measurement value, that is, the currently set display brightness value is adjusted to the backlight brightness value corresponding to the light sensing measurement value; in addition, an absolute value of a difference between a currently set display brightness value and a backlight brightness value corresponding to the light sensing quantity value can be obtained by calculation, whether the absolute value is greater than a preset difference threshold value or not is judged, and if the absolute value is greater than the preset difference threshold value, the currently set display brightness value is replaced by the backlight brightness value corresponding to the light sensing measurement value; and if the absolute value is less than or equal to a preset difference threshold value, keeping the currently set display brightness value. It should be noted that, here, the brightness adjustment is performed on the display brightness corresponding to the video picture to be played, the obtained backlight brightness or light sensing quantity value corresponding to the light sensing quantity value may be cached first, and the backlight brightness corresponding to the light sensing measurement value is applied to the playing display device when the video picture to be played is analyzed and played, in addition, the adjustment strategy for adjusting the default brightness parameter to the backlight brightness value corresponding to the light sensing measurement value may be a gradual adjustment according to a preset adjustment frequency, for example, the backlight brightness is increased or decreased by 5 (the backlight brightness range is [0,100]) every 0.2s, so as to prevent the user from experiencing the eyes, and simultaneously, the damage to the eyes due to sudden and sudden decrease or sudden increase of the backlight brightness caused by the occurrence of an acquisition failure of the light sensing device can also be avoided.
To further intuitively understand the manner in which the specific configuration in this embodiment adjusts the display brightness, reference may be made to table 1 below
Light sensation measurement [0,30000] Set backlight brightness value [40,100]]
[0,10) 40
[10,40) 70
[40,120) 80
[120,200) 90
[200,30000] 100
TABLE 1
In table 1, two items of photo sensing value and backlight brightness value are included, wherein the range of the photo sensing value is [0,30000] and the unit is (Lux) Lux, which means the luminous flux of the received visible light per unit area. The range of the corresponding backlight brightness value is [40,100], the backlight brightness value can be changed according to the actual requirement, or other ranges, 40 here only represents the backlight brightness which can be observed by human eyes and is displayed by the display, and 100 represents the maximum brightness capability which can be represented by the display.
The most preferred corresponding configuration relationship between the light sensing measurement value and the backlight brightness value is provided in the table, and when the light sensing measurement value ranges from [0,10 ], the backlight brightness can be adjusted to 40; when the range of the light sensing magnitude value is [10,40), the backlight brightness can be adjusted to 70; when the range of the light sensing magnitude value is [40,120 ], the backlight brightness can be adjusted to 80; when the range of the light sensing magnitude value is [120,200), the backlight brightness can be adjusted to 90; when the light sensing magnitude value ranges from [200,30000 ], the backlight brightness may be adjusted to 100.
By implementing the embodiment, the display brightness corresponding to the video picture to be played by the playing device can be timely adjusted in real time, and the eye comfort level and the video watching experience of the video picture quality of a user during the video watching can be increased.
The method for improving the image quality comprises the steps of firstly analyzing an input video file to determine a video picture to be played in a preset time period, then acquiring preset parameters corresponding to the video picture to be played in the video file in real time, acquiring ambient light intensity in real time through a light sensor, wherein the preset parameters comprise content type parameters and white point parameters, finally dynamically adjusting the image quality effect of the video picture to be played according to the preset parameters and the ambient light intensity, smoothly playing the video file comprising a dolby video source, pre-reading the video file to be played, acquiring a section of video picture to be played and specific parameters corresponding to the video picture, pre-adjusting image quality parameters corresponding to the video picture to be played according to the specific parameters, and waiting for playing the corresponding video picture, the image quality of the video pictures can be adjusted in real time, the image quality adjustment has the optimal effect in a large number of test experiments, the image quality expression capability of the video pictures can be greatly enhanced, and the playing, impression and improvement experience of users can be enhanced.
Further, a second embodiment of the image quality improvement method is provided based on the first embodiment of the image quality improvement method of the present invention, and in this embodiment, the step S30 includes:
step e, determining default image quality parameters corresponding to the video picture to be played, wherein the default image quality parameters comprise default motion compensation parameters, default noise reduction parameters and default sharpness parameters;
and f, correcting the default motion compensation parameter, the default noise reduction parameter and the default sharpness parameter in real time according to the content type parameter so as to dynamically adjust the image quality effect of the video picture to be played.
The video file is an aggregate of various video data, such as text data and audio data in a conventional video file, and with the rapid development of communication technology, video related technologies can be well developed and popularized, in particular, a dolby view IQ with an ultrahigh image quality is a video file, and the dolby view IQ file contains various parameters related to video image quality processing. Because the parameters related to the video image quality processing do not directly participate in the adjustment of the video image quality, and the default image quality parameters refer to the image processing parameters preset by the playing system corresponding to the playing display device, the preset parameters are not directly related to the default image quality parameters, and the sources are different in content.
In this embodiment, a default motion compensation parameter, a default noise reduction parameter, and a default sharpness parameter for an image quality parameter of a video frame to be played, which are preset in a playing system, are determined, and the default motion compensation parameter, the default noise reduction parameter, and the default sharpness parameter are adjusted and corrected according to a content _ type parameter in video data.
In one embodiment, the step f includes:
step g, acquiring a type numerical code in the content type parameter, and determining a content type mapping table corresponding to the content type parameter;
step h, the type numerical code is used as a keyword to retrieve the content type mapping table so as to obtain a target motion compensation parameter, a target noise reduction parameter and a target sharpness parameter corresponding to the type numerical code;
and i, taking the target motion supplementary parameter as the default motion compensation parameter, taking the target noise reduction parameter as the default noise reduction parameter and taking the target sharpness parameter as the default sharpness parameter.
The type value coding in the content _ type parameter in the video data, that is, the value in the content _ type parameter, is obtained, for example, the complete one content _ type parameter is content _ type ═ 1, where the value is not limited to an integer, but may also be a character string or other data type. The type value codes can be converted into text keywords to be retrieved in a content type mapping table corresponding to the determined content type parameters, target motion compensation parameters, target noise reduction parameters and target sharpness parameters corresponding to the type value codes in the content type mapping table are obtained, the retrieved image quality parameters are used for replacing the current image quality parameters in real time, the retrieved image quality parameters can be cached firstly, and when a video picture at a corresponding time point is played, image quality adjustment and improvement are performed by using the image quality parameters corresponding to the video picture.
The content type mapping table may be as shown in table 2, as follows:
Content_type description Memc[0,3] Nr[0,3] Sharpness[0,255]
0 default 0 2 0
1 movie 0 0 0
2 game 0 0 0
3 sport 3 1 12
4 User_define 2 2 26
5-15 reserved
TABLE 2
In table 2, 5 items may be included, respectively: content _ type (Content type parameter), description (identification text), Memc (motion compensation parameter), Nr (noise reduction parameter), Sharpness (Sharpness parameter). The Content _ type corresponds to a value of 0 to 15, and can be represented by other types of data than integers. The description corresponds to default, movie, game, sport, User _ definition, reserved. The range of Memc is a predetermined [0,3], i.e. low, medium, high, ultrahigh motion compensation, respectively. Similarly, the range of Nr is preset [0,3 ]. Sharpness is the standard range [0,255 ].
When Content _ type is 0, the corresponding description is default, that is, the default image quality parameter, specifically, the motion compensation parameter is set to 0, the noise reduction parameter is set to 2, and the sharpness parameter is set to 0.
When Content _ type is 1, the corresponding description is a movie, that is, the video file belongs to a video type of a movie, specifically, the motion compensation parameter is set to 0, the noise reduction parameter is set to 0, and the sharpness parameter is set to 0.
When Content _ type is 2, the corresponding description is a game, that is, the video file belongs to a video type of the game, specifically, the motion compensation parameter is set to 0, the noise reduction parameter is set to 0, and the sharpness parameter is set to 0. For other Content _ type values 3-15 in the table, the table can be referred to, and details are not repeated herein. It should be noted that Content _ type is 5-15, and the corresponding motion compensation parameter, noise reduction parameter, and sharpness parameter can be customized by the source or the user, so as to further improve the image quality of the video file and meet the diversified viewing requirements of the user.
In the embodiment, the image quality of the video is adjusted in real time through the Content _ type parameter of the video file, so that the Dolby View IQ video file presents a real original image quality when being played on the playing and displaying device, and the viewing experience of a user is enhanced.
In another embodiment, the default image quality parameters further include default color temperature parameters; the step S30 further includes:
step j, acquiring a white point numerical code corresponding to the white point parameter, and determining a white point mapping table corresponding to the white point numerical code;
and k, retrieving the white point mapping table by taking the white point numerical code as a keyword to obtain a target color temperature parameter corresponding to the white point data code, and taking the target color temperature parameter as the default color temperature parameter to dynamically adjust the image quality effect of the video picture to be played.
The white point parameter is a white point _ point parameter in the source video file, and the white point value code corresponding to the white point parameter refers to a value corresponding to the white point _ point, for example, the white point _ point is 1, and the value, that is, the white point value code may be of any data type other than an integer type, which is not limited herein.
And converting the white point numerical codes into keyword texts to be searched in the corresponding white point mapping table, acquiring target color temperature parameters corresponding to the white point data codes from the keyword texts, and adjusting the currently set default color temperature parameters by using the target color temperature parameters.
Specifically, reference may be made to table 3, as follows:
Figure BDA0003536581210000111
Figure BDA0003536581210000121
TABLE 3
Table 3 is a preferred example of color temperature adjustment for playing a10 bit dolby view IQ video. Table 3 includes two parameters, White _ point and Color _ temperature, where the Color temperature corresponding to the dolby IQ video is default to offset [511,511,511], and when White _ point is 0-3, the compensation value gain [508,476,412] is used to adjust the default value of offset [511,511,511] of the Color temperature of the playback system to gain [508,476,412 ]; when White point is 4-7, the offset value gain [492,488,452 ]; when White point is 8-11, the offset value gain [488,488,480 ]; when White point is 12-15, the offset value gain [476,488,496 ]. It should be noted that the parameter arrays in the compensation value gain and the default value offset correspond to R (red light), G (green light), and B (blue light), respectively.
In the embodiment, the image quality of the video is adjusted in real time by the White _ point parameter of the video file, the original color and color temperature of the video file are reduced to the maximum extent, the image quality is further improved, and the viewing experience of a user is enhanced.
In addition, referring to fig. 3, the present invention further provides an image quality improving apparatus, including:
the video playing module A10 is used for analyzing the input video file to determine the video pictures to be played in the preset time period;
a parameter obtaining module a20, configured to obtain preset parameters corresponding to the video picture to be played in the video file in real time, and obtain ambient illuminance in real time through a light sensor, where the preset parameters include a content type parameter and a white point parameter;
and the image quality adjusting module A30 is configured to dynamically adjust the image quality effect of the video picture to be played according to the preset parameter and the ambient light illumination.
Optionally, the image quality adjustment module a30 is further configured to:
determining default image quality parameters corresponding to the video image to be played, wherein the default image quality parameters comprise default motion compensation parameters, default noise reduction parameters and default sharpness parameters;
and correcting the default motion compensation parameter, the default noise reduction parameter and the default sharpness parameter in real time according to the content type parameter so as to dynamically adjust the image quality effect of the video picture to be played.
Optionally, the image quality adjustment module a30 is further configured to:
acquiring type numerical codes in the content type parameters, and determining a content type mapping table corresponding to the content type parameters;
retrieving the content type mapping table by taking the type numerical codes as keywords to obtain target motion compensation parameters, target noise reduction parameters and target sharpness parameters corresponding to the type numerical codes;
and taking the target motion supplementary parameter as the default motion compensation parameter, taking the target noise reduction parameter as the default noise reduction parameter and taking the target sharpness parameter as the default sharpness parameter.
Optionally, the image quality adjustment module a30 is further configured to:
acquiring a white point numerical code corresponding to the white point parameter, and determining a white point mapping table corresponding to the white point numerical code;
and retrieving the white point mapping table by taking the white point numerical code as a keyword to obtain a target color temperature parameter corresponding to the white point data code, and taking the target color temperature parameter as the default color temperature parameter to dynamically adjust the image quality effect of the video picture to be played.
Optionally, the parameter obtaining module a20 is further configured to:
converting the ambient illuminance into an optical sensing value according to the ambient illuminance;
and determining a backlight brightness value corresponding to the light sensing quantity value, and taking the backlight brightness value as a default brightness parameter corresponding to the video picture to be played so as to dynamically adjust the picture quality effect of the video picture to be played.
Optionally, the video playing module a10 is further configured to:
analyzing the video file to play a current video picture, and determining the playing time corresponding to the current video picture;
and taking the sum of the playing time and a preset time period as a time interval to be played, and acquiring a video picture to be played corresponding to the time interval to be played.
The specific implementation of the image quality improving apparatus of the present invention is substantially the same as that of the above-mentioned embodiments of the image quality improving method, and is not described herein again.
In addition, the present invention further provides a playback device, where the playback device includes a light sensor, a memory, a processor, and a picture quality improvement program stored in the memory and executable on the processor, and the processor implements the steps of the picture quality improvement method according to the above embodiment when executing the picture quality improvement program.
The specific implementation of the playing device of the present invention is substantially the same as the embodiments of the above image quality improving method, and will not be described herein again.
In addition, the present invention further provides a computer readable storage medium, wherein the computer readable storage medium includes a picture quality improvement program, and the picture quality improvement program implements the steps of the picture quality improvement method according to the above embodiments when executed by a processor.
The specific implementation of the computer readable storage medium of the present invention is substantially the same as the embodiments of the image quality improving method described above, and will not be described herein again.
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 playback device, 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.
In the present invention, the terms "first", "second", "third", "fourth" and "fifth" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance, and those skilled in the art can understand the specific meanings of the above terms in the present invention according to specific situations.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although the embodiment of the present invention has been shown and described, the scope of the present invention is not limited thereto, it should be understood that the above embodiment is illustrative and not to be construed as limiting the present invention, and that those skilled in the art can make changes, modifications and substitutions to the above embodiment within the scope of the present invention, and that these changes, modifications and substitutions should be covered by 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 (10)

1. An image quality improving method is characterized by comprising the following steps:
analyzing an input video file to determine a video picture to be played in a preset time period;
acquiring preset parameters corresponding to the video picture to be played in the video file in real time, and acquiring ambient illuminance in real time through a light sensor, wherein the preset parameters comprise a content type parameter and a white point parameter;
and dynamically adjusting the image quality effect of the video picture to be played according to the preset parameters and the ambient light illumination.
2. The method of claim 1, wherein the step of dynamically adjusting the image quality of the video frame to be played according to the preset parameters and the ambient light illumination comprises:
determining default image quality parameters corresponding to the video picture to be played, wherein the default image quality parameters comprise default motion compensation parameters, default noise reduction parameters and default sharpness parameters;
and correcting the default motion compensation parameter, the default noise reduction parameter and the default sharpness parameter in real time according to the content type parameter so as to dynamically adjust the image quality effect of the video picture to be played.
3. The method of claim 2, wherein the step of correcting the default motion compensation parameter, the default noise reduction parameter, and the default sharpness parameter in real time according to the content type parameter to dynamically adjust the quality of the video picture to be played comprises:
acquiring type numerical codes in the content type parameters, and determining a content type mapping table corresponding to the content type parameters;
retrieving the content type mapping table by taking the type numerical codes as key words to obtain target motion compensation parameters, target noise reduction parameters and target sharpness parameters corresponding to the type numerical codes;
and taking the target motion supplementary parameter as the default motion compensation parameter, taking the target noise reduction parameter as the default noise reduction parameter and taking the target sharpness parameter as the default sharpness parameter.
4. The image quality improvement method according to claim 2, wherein the default image quality parameters further comprise default color temperature parameters; the step of dynamically adjusting the image quality effect of the video picture to be played according to the preset parameters and the ambient light illumination further comprises:
acquiring a white point numerical code corresponding to the white point parameter, and determining a white point mapping table corresponding to the white point numerical code;
and retrieving the white point mapping table by taking the white point numerical code as a keyword to obtain a target color temperature parameter corresponding to the white point data code, and taking the target color temperature parameter as the default color temperature parameter to dynamically adjust the image quality effect of the video picture to be played.
5. The image quality improvement method according to claim 2, wherein the default image quality parameters further comprise default brightness parameters; the step of dynamically adjusting the image quality effect of the video picture to be played according to the preset parameters and the ambient light illumination further comprises:
converting the ambient illuminance into an optical sensing value according to the ambient illuminance;
and determining a backlight brightness value corresponding to the light sensing quantity value, and taking the backlight brightness value as a default brightness parameter corresponding to the video picture to be played so as to dynamically adjust the picture quality effect of the video picture to be played.
6. The method of claim 1, wherein the step of determining the video frame to be played within a predetermined time period comprises:
analyzing the video file to play a current video picture, and determining the playing time corresponding to the current video picture;
and taking the sum of the playing time and a preset time period as a time interval to be played, and acquiring a video picture to be played corresponding to the time interval to be played.
7. The image quality improvement method according to claim 1, wherein the video file comprises a dolby view-IQ video file.
8. An image quality improving apparatus, comprising:
the video playing module is used for analyzing the input video file to determine a video picture to be played in a preset time period;
the parameter acquisition module is used for acquiring preset parameters corresponding to the video picture to be played in the video file in real time and acquiring ambient illuminance in real time through a light sensor, wherein the preset parameters comprise a content type parameter and a white point parameter;
and the image quality adjusting module is used for dynamically adjusting the image quality effect of the video picture to be played according to the preset parameters and the ambient light illumination.
9. A playback device, comprising a light sensor, a memory, a processor, and a picture quality improving program stored in the memory and executable on the processor, wherein: the image quality improvement program when executed by the processor implements the image quality improvement method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein a picture quality improvement program is stored on the computer-readable storage medium, and when executed by a processor, the picture quality improvement program implements the steps of the picture quality improvement method according to any one of claims 1 to 7.
CN202210227536.1A 2022-03-08 2022-03-08 Image quality improving method, device, playing equipment and computer readable storage medium Active CN114567813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210227536.1A CN114567813B (en) 2022-03-08 2022-03-08 Image quality improving method, device, playing equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210227536.1A CN114567813B (en) 2022-03-08 2022-03-08 Image quality improving method, device, playing equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114567813A true CN114567813A (en) 2022-05-31
CN114567813B CN114567813B (en) 2024-03-22

Family

ID=81717151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210227536.1A Active CN114567813B (en) 2022-03-08 2022-03-08 Image quality improving method, device, playing equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114567813B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116033130A (en) * 2022-12-02 2023-04-28 稻兴光学(厦门)有限公司 Color temperature adjusting method and system for laser projection picture

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160360145A1 (en) * 2013-12-27 2016-12-08 Le Holdings (Beijing) Co., Ltd. Image quality adjustment method and system
US20160366444A1 (en) * 2015-06-09 2016-12-15 Microsoft Technology Licensing, Llc Metadata describing nominal lighting conditions of a reference viewing environment for video playback
CN108712674A (en) * 2018-05-17 2018-10-26 深圳创维-Rgb电子有限公司 Video playing control method, playback equipment and storage medium
CN111050212A (en) * 2019-12-16 2020-04-21 深圳Tcl新技术有限公司 Video playing method, device and storage medium
WO2021042655A1 (en) * 2019-09-04 2021-03-11 海信视像科技股份有限公司 Sound and picture synchronization processing method and display device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160360145A1 (en) * 2013-12-27 2016-12-08 Le Holdings (Beijing) Co., Ltd. Image quality adjustment method and system
US20160366444A1 (en) * 2015-06-09 2016-12-15 Microsoft Technology Licensing, Llc Metadata describing nominal lighting conditions of a reference viewing environment for video playback
CN108712674A (en) * 2018-05-17 2018-10-26 深圳创维-Rgb电子有限公司 Video playing control method, playback equipment and storage medium
WO2021042655A1 (en) * 2019-09-04 2021-03-11 海信视像科技股份有限公司 Sound and picture synchronization processing method and display device
CN111050212A (en) * 2019-12-16 2020-04-21 深圳Tcl新技术有限公司 Video playing method, device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116033130A (en) * 2022-12-02 2023-04-28 稻兴光学(厦门)有限公司 Color temperature adjusting method and system for laser projection picture
CN116033130B (en) * 2022-12-02 2024-01-30 稻兴光学(厦门)有限公司 Color temperature adjusting method and system for laser projection picture

Also Published As

Publication number Publication date
CN114567813B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
CN108810649B (en) Image quality adjusting method, intelligent television and storage medium
US11750785B2 (en) Video signal processing method and apparatus
US10692465B2 (en) Transitioning between video priority and graphics priority
US20090009525A1 (en) Color Adjustment Device and Method
JP2006279969A (en) Method for generating user preference data and recording medium
CN114866809B (en) Video conversion method, apparatus, device, storage medium, and program product
US20220237754A1 (en) Image processing method and apparatus
CN113507598B (en) Video picture display method, device, terminal and storage medium
WO2021218924A1 (en) Dynamic range mapping method and apparatus
CN107592517B (en) Skin color processing method and device
US20200068183A1 (en) Method for processing a digital image, device, terminal equipment and associated computer program
CN111064942A (en) Image processing method and apparatus
US10542242B2 (en) Display device and method for controlling same
US20070242898A1 (en) Image processing apparatus, image processing method, and image processing program
CN114567813B (en) Image quality improving method, device, playing equipment and computer readable storage medium
JP2003123072A (en) Image kind identification method and device, and image processing program
US10861420B2 (en) Image output apparatus, image output method, for simultaneous output of multiple images
JP2020109914A (en) Information processing device and information processing method
AU2016373020B2 (en) Method of processing a digital image, device, terminal equipment and computer program associated therewith
US20220327672A1 (en) Hdr tone mapping based on creative intent metadata and ambient light
CN112383818A (en) Intelligent television system and intelligent control method thereof
CN114827484B (en) Video image quality enhancement method, device, equipment and storage medium
CN103986922B (en) Image processing method
US11869174B2 (en) Image processing apparatus, display apparatus, image processing method, and non-transitory computer readable medium
US20230186440A1 (en) Display apparatus and operating method thereof

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