CN117692698A - Image quality adjusting method, device, display equipment and storage medium - Google Patents

Image quality adjusting method, device, display equipment and storage medium Download PDF

Info

Publication number
CN117692698A
CN117692698A CN202211070141.1A CN202211070141A CN117692698A CN 117692698 A CN117692698 A CN 117692698A CN 202211070141 A CN202211070141 A CN 202211070141A CN 117692698 A CN117692698 A CN 117692698A
Authority
CN
China
Prior art keywords
image
definition
image quality
processed
adjusting
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.)
Pending
Application number
CN202211070141.1A
Other languages
Chinese (zh)
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.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual 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 Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202211070141.1A priority Critical patent/CN117692698A/en
Publication of CN117692698A publication Critical patent/CN117692698A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

Embodiments of the present application relate to display technology, and provide a method and apparatus for adjusting image quality, a display device, and a storage medium. And determining the reference definition and the reference image quality parameter corresponding to the resolution by acquiring the image to be processed and the resolution thereof, and adjusting the image quality of the image to be processed by taking the reference image quality parameter as the initial image quality parameter of the image to be processed. And extracting pixel brightness in the adjusted image to be processed, calculating the definition of the image to be processed, and adjusting the initial image quality parameter according to the size relation between the definition and the reference definition until the adjusted definition and the reference definition meet the preset relation. The method of the application enables the regulated image quality to be more accurate and the image display to be clearer.

Description

Image quality adjusting method, device, display equipment and storage medium
Technical Field
The present application relates to image processing techniques. And more particularly, to an image quality adjustment method, apparatus, display device, and storage medium.
Background
With the continuous development of science and technology, the requirements of users on the image quality of the images displayed by the intelligent television are higher and higher, the clearer the film source to be played is displayed, and the better the film watching effect of the users is.
The image quality effect displayed on the intelligent television is different due to the fact that the resolution of the film sources to be played is different, or the film sources with the same resolution are played through different platforms or license plate parties. At present, in order to ensure the viewing effect of users, different image quality parameters are set for different resolution sources to perform differentiated playback, but even if the same image quality parameters are set for some sources with the same resolution, the image quality effects have large differences, for example, flickering occurs at high frequency components of some images or image blurring occurs at low frequency components of the images. Therefore, the prior art is not accurate enough to adjust the image quality of the image of the same resolution film source, and the image display is not clear enough.
Disclosure of Invention
The exemplary embodiments of the present application provide an image quality adjustment method, an image quality adjustment device, a display device, and a storage medium, which are used for solving the technical problems in the prior art that adjustment of image quality of a same resolution film source is not accurate enough and image display is not clear enough.
In a first aspect, an embodiment of the present application provides an image quality adjustment method, including:
acquiring an image to be processed and resolution thereof;
determining a reference definition and a reference image quality parameter corresponding to the resolution according to the resolution, and taking the reference image quality parameter as an initial image quality parameter of the image to be processed;
adjusting the image quality of the image to be processed according to the initial image quality parameters;
extracting pixel brightness in the adjusted image to be processed, and calculating definition of the image to be processed according to the pixel brightness;
and adjusting the initial image quality parameter according to the size relation between the definition and the reference definition until the adjusted definition and the reference definition meet a preset relation.
In some possible implementations, the extracting the pixel brightness in the adjusted image to be processed, and calculating the sharpness of the image to be processed according to the pixel brightness includes:
extracting pixel brightness values in the adjusted image to be processed;
calculating the difference value of the adjacent pixel brightness values, and determining adjacent pixel points with the difference value larger than a preset first threshold value as brightness abrupt change pixel points;
and calculating the definition of the image to be processed according to the pixel brightness value of the brightness abrupt change pixel point.
In some possible implementations, the calculating the sharpness of the image to be processed according to the pixel brightness value of the abrupt brightness pixel point includes:
the sharpness D (f) of the image to be processed is calculated according to the following formula:
G x =|L(x,y)-L(x+1,y)|,(G X >T)
G y =|L(x,y)-L(x,y+1)|,(G y >T)
D(f)=k·G(x,y)
wherein G is x Representing pixel brightness values of adjacent brightness abrupt pixel points in the x direction; g y Representing pixel brightness values of adjacent brightness abrupt pixel points in the y direction; t represents the preset first threshold value; k represents a sharpness coefficient.
In some possible implementations, the adjusting the initial image quality parameter according to a magnitude relation between the sharpness and the reference sharpness includes:
if the absolute value of the difference value between the definition and the reference definition is smaller than or equal to a preset relation, maintaining the initial image quality parameter;
or if the absolute value of the difference value between the definition and the reference definition is larger than the preset relation, adjusting the initial image quality parameter according to the definition, the reference definition and the reference image quality parameter.
In some possible implementations, the image quality parameters include: image peak frequency band, image peak gain;
and adjusting the initial image quality parameter according to the definition, the reference definition and the reference image quality parameter, including:
according to the definition, the reference definition and the reference image peak frequency band, adjusting an initial image peak frequency band of the image to be processed;
and adjusting the initial image peak gain of the image to be processed according to the definition, the reference definition and the reference image peak gain.
In some possible implementations, the image quality parameters further include: contrast, image brightness;
and adjusting the initial image quality parameter according to the definition, the reference definition and the reference image quality parameter, including:
calculating a ratio between the reference sharpness and the sharpness;
if the ratio is larger than a preset second threshold value, increasing the initial contrast of the image to be processed by a step value, and reducing the brightness of the initial image by a step value;
and if the ratio is smaller than or equal to the preset second threshold value, maintaining the initial contrast and the initial image brightness of the image to be processed.
In some possible implementations, before determining the reference definition and the reference image quality parameter corresponding to the resolution, the method further includes:
acquiring reference images under different resolutions;
according to the user instruction, adjusting the image quality parameters of the reference image to obtain the reference image quality parameters;
selecting a region with uniform change of a low-frequency signal and a high-frequency signal in the reference image;
extracting pixel brightness of the image in the region;
and calculating the reference definition of the reference image according to the pixel brightness to obtain and store the corresponding reference image quality parameters and the reference definition under different resolutions.
In a second aspect, an embodiment of the present application provides an image quality adjustment apparatus, including:
the acquisition module is used for acquiring the image to be processed and the resolution ratio thereof;
the determining module is used for determining reference definition and reference image quality parameters corresponding to the resolution according to the resolution, and taking the reference image quality parameters as initial image quality parameters of the image to be processed;
the adjusting module is used for adjusting the image quality of the image to be processed according to the initial image quality parameter;
the processing module is used for extracting the pixel brightness in the adjusted image to be processed and calculating the definition of the image to be processed according to the pixel brightness;
the adjusting module is further configured to adjust the initial image quality parameter according to a magnitude relation between the definition and the reference definition, until the adjusted definition and the reference definition satisfy a preset relation.
In a third aspect, the present application provides a display device, including: at least one processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the image quality adjustment method according to any one of the first aspects.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, in which computer-executable instructions are stored, which when executed by a processor, implement the image quality adjustment method according to any one of the first aspects.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the image quality adjustment method according to any one of the first aspects of the present application.
The application provides an image quality adjusting method, an image quality adjusting device, a display device and a storage medium. And determining the reference definition and the reference image quality parameter corresponding to the resolution by acquiring the image to be processed and the resolution thereof, and adjusting the image quality of the image to be processed by taking the reference image quality parameter as the initial image quality parameter of the image to be processed. And extracting pixel brightness in the adjusted image to be processed, calculating the definition of the image to be processed, and adjusting the initial image quality parameter according to the size relation between the definition and the reference definition until the adjusted definition and the reference definition meet the preset relation. The method of the application enables the regulated image quality to be more accurate and the image display to be clearer.
These and other aspects of the application will be apparent from and elucidated with reference to the embodiment(s) described hereinafter.
Drawings
In order to more clearly illustrate the embodiments of the present application or the implementation in the related art, a brief description will be given below of the drawings required for the embodiments or the related art descriptions, and it is apparent that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings for those of ordinary skill in the art.
Fig. 1 is a flow chart of an image quality adjustment method according to an embodiment of the present application;
fig. 2 is a flowchart of a method for calculating sharpness of an image to be processed according to an embodiment of the present application;
FIG. 3 is a graph of image pixel brightness at different degrees of sharpness;
FIG. 4 is a graph of adjacent pixel luminance difference values of images at different degrees of sharpness;
fig. 5 is a flowchart of another image quality adjustment method according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an image quality adjusting device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a display device according to an embodiment of the present application.
Detailed Description
For purposes of clarity, embodiments and advantages of the present application, the following description will make clear and complete the exemplary embodiments of the present application, with reference to the accompanying drawings in the exemplary embodiments of the present application, it being apparent that the exemplary embodiments described are only some, but not all, of the examples of the present application.
Based on the exemplary embodiments described herein, all other embodiments that may be obtained by one of ordinary skill in the art without making any inventive effort are within the scope of the claims appended hereto. Furthermore, while the disclosure is presented in the context of an exemplary embodiment or embodiments, it should be appreciated that the various aspects of the disclosure may, separately, comprise a complete embodiment.
It should be noted that the brief description of the terms in the present application is only for convenience in understanding the embodiments described below, and is not intended to limit the embodiments of the present application. Unless otherwise indicated, these terms should be construed in their ordinary and customary meaning.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between similar or similar objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated (Unless otherwise indicated). It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are, for example, capable of operation in sequences other than those illustrated or otherwise described herein.
Furthermore, the terms "comprise" and "have," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to those elements expressly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The term "module" as used in this application refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and/or software code that is capable of performing the function associated with that element.
In the application, the display device takes an intelligent television (hereinafter referred to as a television) as an example, the television is used as a most frequent product in a living room, the television is provided with a large screen capable of displaying image information, and when a user views a display image through the large screen, the clearer the displayed image quality is, the better the viewing effect of the user is.
Films played on televisions can be called film sources, different film sources have different resolutions due to different manufacturing modes or shooting modes, the resolutions are different, and the display effects of images in televisions are different. In addition, even in the case of the same resolution film source, the display effect is different due to the difference in the license plate side of distribution or the playback platform in the television.
In the prior art, in order to ensure the definition of the television display image, different image quality parameters are set for the film sources with different resolutions, but for the film sources with the same resolution, the definition of the display image in the television is different even if the set image quality parameters are the same due to the difference of license plate parties or playing platforms. For example, some license plate parties may play images with a higher sharpness, some license plate parties may play images with a generally poorer sharpness. One possible cause is flickering of the high frequency component in the image, another possible cause is blurring of the image at the low frequency component of the image, and so on. The high-frequency component refers to a region in the image in which the brightness or gray level is changed drastically, and the low-frequency component refers to a region in the image in which the brightness or gray level is changed gently. Therefore, the prior art is not accurate enough to adjust the image quality of the image of the same resolution film source, and the image display is not clear enough.
Therefore, in order to solve the above-mentioned problems of the prior art, the present application provides an image quality adjustment method, an image quality adjustment device, a display device and a storage medium. And determining the reference image quality parameter and the reference definition according to the resolution of the image to be processed by setting the reference image quality parameter and the reference definition corresponding to the reference image under different resolutions, and taking the reference image quality parameter as the initial image quality parameter of the image to be processed. And adjusting the image quality of the image to be processed according to the initial image quality parameters, calculating the adjusted definition, and adjusting the initial image quality parameters according to the size relation between the definition and the reference definition until the adjusted definition and the reference definition meet the preset relation. Therefore, the image quality adjustment accuracy of the film source under the same resolution is improved, and the image display is clearer.
The application scene of the application can be for adjusting the image quality of the display device, and can be applied to a smart television, a liquid crystal display, an Organic Light-Emitting Diode (OLED) display, a projection display device and the like. It will be appreciated that the image quality adjustment method proposed in the present application includes, but is not limited to, the above scenario, which is not to be construed as limiting the present application. In addition, the type, size, etc. of the specific display device are not limited in this application.
Fig. 1 is a schematic flow chart of an image quality adjustment method provided in the embodiment of the present application, where an execution body of the method may be an image quality adjustment device or apparatus, for example, may be a smart tv with an image quality adjustment function, and the method in the embodiment may be implemented by software, hardware, or a combination of software and hardware, as shown in fig. 1, and the method specifically includes the following steps:
s101, acquiring an image to be processed and resolution thereof.
In this embodiment, the executing body is a television, and obtains an image to be processed, where the obtained image to be processed may be one of real-time images of a video to be played, or may be a pre-stored image. After the image to be processed is acquired, the resolution can be directly acquired according to background settings.
S102, determining reference definition and reference image quality parameters corresponding to the resolution according to the resolution, and taking the reference image quality parameters as initial image quality parameters of the image to be processed.
The image quality parameter is a parameter affecting the image display quality, and includes, but is not limited to, the following parameters: the image peak band is usually 08 to 30 in value range, the image peak gain is usually 08 to 30 in value range, the Contrast is usually 120 to 140 in value range, the image Brightness is usually 120 to 140 in value range, and the like. Definition is to adjust the component Y of the image pixel indicating brightness to make the user watch TV picture to reach the definition satisfying visual enjoyment.
By playing the reference slice source under different resolutions, the played slice source is used as a reference for subsequently adjusting the image quality of the image to be processed, so that different reference image quality parameters and reference definition corresponding to different resolutions can be obtained, and the reference image quality parameters and the reference definition can be used for adjusting the image quality parameters and definition of the image to be processed with the same resolution as the reference image.
Note that the correspondence relationship between the reference image quality parameter and the reference definition at different resolutions has been predetermined and stored in the storage unit of the television, wherein a specific determination manner will be described in the following embodiments.
After the resolution of the image to be processed is obtained, the reference image quality parameter and the reference definition corresponding to the resolution of the image to be processed can be determined from the pre-stored corresponding relation between the resolution and the reference image quality parameter and the reference definition, and the determined reference image quality parameter is used as the initial image quality parameter for adjustment.
S103, adjusting the image quality of the image to be processed according to the initial image quality parameters.
And adjusting the image peak frequency band, the image peak gain, the contrast and the image brightness according to the determined initial image quality parameters to obtain the image to be processed after the image quality adjustment.
S104, extracting pixel brightness in the adjusted image to be processed, and calculating definition of the image to be processed according to the pixel brightness.
The image is composed of pixels, and pixel points at different positions in the adjusted image are extracted, so that a brightness component Y, a blue chrominance component Cb and a red chrominance component Cr corresponding to each pixel point can be obtained. The human eye is most sensitive to the perception of the luminance component Y of the image, and the higher the luminance component Y is, the clearer the image is relatively, so that the definition of the image to be processed is calculated mainly according to the luminance component Y in the application.
S105, according to the size relation between the definition and the reference definition, adjusting the initial image quality parameter until the adjusted definition and the reference definition meet the preset relation.
And (3) comparing the definition calculated in the step S104 with a reference definition determined according to the resolution of the image to be processed, and adjusting the initial image quality parameter according to the comparison result until the adjusted definition and the reference definition meet the preset relationship. The preset relation is met, the adjusted image quality is shown to meet the requirement of the user on the watching effect, and the image display is clearer.
In the above embodiments of the present application, the image quality of the image to be processed is adjusted by acquiring the image to be processed and the resolution thereof, determining the reference definition and the reference image quality parameter corresponding to the resolution, and using the reference image quality parameter as the initial image quality parameter of the image to be processed. And extracting pixel brightness in the adjusted image to be processed, calculating the definition of the image to be processed, and adjusting the initial image quality parameter according to the size relation between the definition and the reference definition until the adjusted definition and the reference definition meet the preset relation. The method of the application enables the regulated image quality to be more accurate and the image display to be clearer.
Further, on the basis of the above-described embodiment, the process of calculating sharpness from the pixel brightness of the extracted adjusted image to be processed in the above-described step S104 is described in detail below by the following embodiment. As shown in fig. 2, fig. 2 is a flowchart of a method for calculating sharpness of an image to be processed according to an embodiment of the present application, wherein steps S201 to S203 may also be referred to as an edge detection algorithm, and the method includes the following steps:
s201, extracting pixel brightness values in the adjusted image to be processed.
Illustratively, table 1 is an extracted image pixel brightness value at different degrees of sharpness, wherein "sharpness" indicates a quality display effect of an image, and fig. 3 is a graph of image pixel brightness at different degrees of sharpness.
TABLE 1
Y Pixel 1 Pixel 2 Pixel 3 Pixel 4 Pixel 5 Pixel 6 Pixel 7 Pixel 8
Low definition 82.75 73 72.75 48.5 48.5 228.2 228 248
In the degree of clarity 82.75 61.5 61.5 21.25 21.25 248 248 248
High definition 82.5 51.5 51.5 2.5 2.5 248 248 248
As can be seen from table 1 and fig. 3, the difference in pixel luminance value between the pixel 5 and the pixel 6 is large, and the difference in luminance is 228.2-48.5=179.7, and therefore, a pixel point having a large difference in luminance value between adjacent pixels can be regarded as an edge of an image, wherein a pixel point having a large difference in luminance value between adjacent pixels can be referred to as a luminance abrupt pixel point.
S202, calculating the difference value of the brightness values of adjacent pixels, and determining the adjacent pixels with the difference value larger than a preset first threshold value as brightness abrupt change pixels.
Taking the data in table 1 as an example, the luminance values of adjacent pixels in table 1 are subjected to difference calculation to obtain the luminance differences of adjacent pixels of the images under different degrees of sharpness, as shown in table 2, and fig. 4 is a graph of the luminance differences of adjacent pixels of the images under different degrees of sharpness.
TABLE 2
As can be seen from table 2 and fig. 4, the higher the sharpness, the greater the pixel brightness value between adjacent pixel points. Accordingly, the sharpness of the image display can be adjusted by increasing the pixel brightness of the pixel points at the edge of the image.
And determining adjacent pixel points with the difference value of the adjacent pixel brightness values larger than a preset first threshold value T as brightness abrupt pixel points.
It should be noted that the T values corresponding to the resolutions of the different images are different, and the specific values of the T values may be set according to the actual situation or according to the historical data, and the T values in table 3 are only for illustration and not limiting the application. As shown in table 3, table 3 is a first threshold T at different resolutions, where 480p, 720p, 1080p, and 4k represent resolutions of images, respectively.
TABLE 3 Table 3
S203, calculating the definition of the image to be processed according to the pixel brightness value of the brightness abrupt change pixel point.
The sharpness D (f) of the image to be processed is calculated according to the following formulas (1) - (4):
G x =|L(x,y)-L(x+1,y)|,(G X >T) (1)
G y =|L(x,y)-L(x,y+1)|,(G y >T) (2)
D(f)=k·G(x,y) (4)
wherein G is x Pixel brightness value representing adjacent brightness abrupt change pixel point in x direction;G y Representing pixel brightness values of adjacent brightness abrupt pixel points in the y direction; t represents a preset first threshold value; k represents a sharpness coefficient.
In the above embodiment of the present application, the pixel brightness value in the adjusted image to be processed is extracted, and the difference value is calculated for the adjacent pixel brightness value, and the adjacent pixel point with the difference value greater than the preset first threshold value is determined as the brightness abrupt pixel point, so that the definition of the image to be processed is calculated according to the pixel brightness value of the brightness abrupt pixel point. The present embodiment makes the image adjusted according to the sharpness clearer by calculating the sharpness by using the pixel brightness of the image that is perceived as most sensitive by the user.
Further, a process of determining correspondence between the reference image quality parameter and the reference sharpness at different resolutions will be described below by way of the following examples.
In particular, the method comprises the steps of,
s301, acquiring reference images under different resolutions.
The reference image may be one of real-time images of a video to be played, or may be a pre-stored image.
And S302, adjusting the image quality parameters of the reference image according to the user instruction to obtain the reference image quality parameters.
After the reference image is acquired, adjusting the image peak frequency band, the image peak gain, the Contrast and the image Brightness thereof, when the user considers that the display image reaches the optimal clear state, determining the corresponding values of the current image peak frequency band, the image peak gain, the Contrast and the image Brightness thereof as reference values to obtain the reference image peak frequency band peaking_band, wherein the value range is usually 08-30, the reference image peak gain peaking_gain, the value range is usually 08-30, the reference Contrast control, the value range is usually 120-140, the reference image Brightness Brightness, the value range is usually 120-140, and the like.
S303, selecting a region with uniform change of the low-frequency signal and the high-frequency signal in the reference image.
Wherein the low frequency signal represents a low frequency component in the image and the high frequency signal represents a high frequency component in the image.
S304, extracting pixel brightness of the image in the region.
And S305, calculating the reference definition of the reference image according to the pixel brightness, and obtaining and storing the corresponding reference image quality parameters and the reference definition under different resolutions.
The manner of calculating the sharpness of the image to be processed in step S304 and step S305 is the same as that of the above embodiment, and the detailed description is not repeated here.
In summary, the correspondence between the reference image quality parameter and the reference sharpness at different resolutions can be obtained, and is exemplified as shown in table 4.
TABLE 4 Table 4
Reference image resolution 480p 720p 1080p 4k
Reference image quality parameter α1 α2 α3 α4
Reference definition C A1 C A2 C A3 C A4
In the above embodiment of the present application, the reference image quality parameters are obtained by acquiring the reference images with different resolutions and adjusting the image quality parameters thereof, selecting the regions in which the low-frequency signals and the high-frequency signals in the reference image change uniformly, extracting the pixel brightness of the images in the regions, calculating the reference definition of the reference image according to the pixel brightness, and obtaining and storing the corresponding reference image quality parameters and reference definition with different resolutions. The method of the embodiment ensures that the determined reference image quality parameters and the reference definition are more accurate, and provides basic data for the adjustment of the image quality of the subsequent image.
Further, the process of adjusting the initial image quality parameter according to the magnitude relation between the definition and the reference definition in step S105 until the adjusted definition and the reference definition satisfy the preset relation is described in detail in the following examples.
Assuming that the resolution of the image to be processed is 480p, the corresponding reference image quality parameter is determined to be alpha 1, and the reference definition is determined to be C A1
Taking alpha 1 as an initial image quality parameter, adjusting the image quality of the image to be processed, and calculating the current definition as C according to the adjusted image and the steps S201-S203 B1
If the definition C B1 And reference definition C A1 The absolute value of the difference is less than or equal to a preset relationship, i.e., |C B1 -C A1 The content is less than or equal to 5 per mill, and the initial image quality parameter is maintained, so that the display effect of the image is better at the moment, and the viewing requirement of a user can be met. The preset relationship may be set according to actual situations, and the preset relationship shown in the application is only for illustration and is not limited by the application.
Or, if definition C B1 And reference definition C A1 The absolute value of the difference is greater than the preset relationship, i.e., |C B1 -C A1 The I is more than 5 per mill, and the initial picture is adjusted according to the definition, the reference definition and the reference picture quality parametersAnd the quality parameter indicates that the display effect of the image at the moment does not meet the watching requirement of the user.
In particular, the method comprises the steps of,
and adjusting the initial image peak frequency band of the image to be processed according to the definition, the reference definition and the reference image peak frequency band. And adjusting the initial image peak gain of the image to be processed according to the definition, the reference definition and the reference image peak gain.
Adjusting an initial image peak frequency band and an initial image peak gain of the image to be processed by using the following formula (5):
wherein α1' represents an image peak frequency band and an image peak gain to be adjusted, and the range of values thereof is 08 to 30 respectively.
Calculating the ratio between the reference definition and the definition, i.e.
If the ratio is greater than a preset second threshold, for example, the preset second threshold is 1, that is, greater than 1, the initial contrast of the image to be processed is increased by a step value, and the value range is 120-140. The brightness of the initial image is reduced by one step value, and the range of the value is 125-140. If the ratio is greater than or equal to a preset second threshold, namely less than or equal to 1, maintaining the initial contrast and the initial image brightness of the image to be processed.
Repeating the steps in the examples until the adjusted sharpness C B1 And reference definition C A1 Satisfy a preset relationship of |C B1 -C A1 |≤5‰。
It should be noted that, for the whole image, the high frequency component occupies more content in the image with the same resolution, and the low frequency component occupies more content, so as to avoid the influence of the high/low frequency component on the image definition, a place with relatively uniform variation of the high/low frequency component in the image is selected for analysis, so as to reduce the error, thereby making the determined image quality parameters more accurate.
In the above embodiment of the present application, if the absolute value of the difference between the definition and the reference definition is determined to be less than or equal to the preset relationship, the initial image quality parameter is maintained, and if the absolute value is greater than the preset relationship, the initial image quality parameter is adjusted according to the definition, the reference definition and the reference image quality parameter. According to the method, the image quality parameters of the image adjusted according to the size relation between the definition and the reference definition are more accurate, and the image display is clearer.
In order to facilitate understanding of the method of the present application, the following is a complete brief description of the invention of the present application by fig. 5, and fig. 5 is a schematic flow chart of another image quality adjustment method provided in an embodiment of the present application. As shown in fig. 5, the method comprises the steps of:
s501, a reference image a and a resolution RA thereof are acquired.
S502, adjusting image quality parameters under resolution RA, and determining a reference image quality parameter alpha 1, wherein the image quality parameters comprise an image peak frequency band, an image peak gain, contrast and image brightness.
S503, selecting a region with relatively uniform change of high-frequency signals and low-frequency signals in the reference image A, and calculating the reference definition C corresponding to the reference image A through an edge detection algorithm A1
S504, obtaining an image B to be processed and resolution ratio R thereof B
S505 according to resolution R B The reference image quality parameter α1 corresponding thereto is determined, and the image quality of the image B is adjusted using this as the initial image quality parameter α1.
S506, selecting a region with uniform change of high-frequency signals and low-frequency signals in the image B to be processed, and calculating definition C of the adjusted image B to be processed through an edge detection algorithm B1
S507, judging C B1 And C A1 Whether a preset relationship is satisfied.
And S508, if the initial image quality parameter alpha 1 is met, maintaining the initial image quality parameter.
S509, if not, according to definition C B1 Reference definition C A1 Initially, it isThe initial image quality parameter alpha 1, the image peak frequency band and the image peak gain of the image to be processed are regulated according to the definition C B1 And reference definition C A1 The contrast and the brightness of the image to be processed are regulated to obtain the regulated image quality parameter alpha 1'.
S510, adjusting the image quality of the image B to be processed according to the adjusted image quality parameter alpha 1'.
S511, calculating the definition C of the adjusted image B to be processed by an edge detection algorithm B1′
S512, judge C B1′ And C A1 Whether a preset relationship is satisfied.
S513, if satisfied, the current image quality parameter α1' is maintained.
And S514, if the relation is not satisfied, repeating the steps S509 to S512 until the preset relation is satisfied.
The specific content corresponding to each step in this embodiment is referred to the above embodiment, and the implementation principle and technical effects are similar to those of the above embodiment, and are not repeated here.
Fig. 6 is a schematic structural diagram of an image quality adjusting device according to an embodiment of the present application, and as shown in fig. 6, the image quality adjusting device according to an embodiment of the present application includes: an acquisition module 601, a determination module 602, an adjustment module 603, and a processing module 604.
An acquiring module 601, configured to acquire an image to be processed and a resolution thereof.
The determining module 602 is configured to determine, according to the resolution, a reference definition and a reference image quality parameter corresponding to the resolution, and take the reference image quality parameter as an initial image quality parameter of the image to be processed.
The adjusting module 603 is configured to adjust the image quality of the image to be processed according to the initial image quality parameter.
The processing module 604 is configured to extract pixel brightness in the adjusted image to be processed, and calculate sharpness of the image to be processed according to the pixel brightness.
The adjusting module 603 is further configured to adjust the initial image quality parameter according to the magnitude relation between the definition and the reference definition until the adjusted definition and the reference definition satisfy a preset relation.
In some possible implementations, the processing module 604 may be specifically configured to:
and extracting the pixel brightness value in the adjusted image to be processed.
And calculating the difference value of the brightness values of the adjacent pixels, and determining the adjacent pixels with the difference value larger than a preset first threshold value as brightness abrupt change pixels.
And calculating the definition of the image to be processed according to the pixel brightness value of the brightness abrupt change pixel point.
In some possible implementations, the processing module 604 may be further specifically configured to:
the sharpness D (f) of the image to be processed is calculated according to the following formula:
G x =|L(x,y)-L(x+1,y)|,(G X >T)
G y =|L(x,y)-L(x,y+1)|,(G y >T)
D(f)=k·G(x,y)
wherein G is x Representing pixel brightness values of adjacent brightness abrupt change pixel points in the x direction; g y Representing pixel brightness values of adjacent brightness abrupt pixel points in the y direction; t represents a preset first threshold value; k represents a sharpness coefficient.
In some possible implementations, the adjustment module 603 may be specifically configured to:
if the absolute value of the difference value between the definition and the reference definition is smaller than or equal to the preset relation, maintaining the initial image quality parameter.
Or if the absolute value of the difference value between the definition and the reference definition is larger than the preset relation, adjusting the initial image quality parameter according to the definition, the reference definition and the reference image quality parameter.
In some possible implementations, the image quality parameters include: image peak frequency band, image peak gain; the adjustment module 603 may also be specifically configured to:
and adjusting the initial image peak frequency band of the image to be processed according to the definition, the reference definition and the reference image peak frequency band.
And adjusting the initial image peak gain of the image to be processed according to the definition, the reference definition and the reference image peak gain.
In some possible implementations, the image quality parameters include: contrast, image brightness; the adjustment module 603 may also be specifically configured to:
the ratio between the reference sharpness and sharpness is calculated.
If the ratio is larger than a preset second threshold value, the initial contrast of the image to be processed is increased by a step value, and the brightness of the initial image is reduced by a step value.
If the ratio is smaller than or equal to a preset second threshold value, maintaining the initial contrast and the initial brightness of the image to be processed.
In some possible implementations, before determining the reference sharpness and the reference image quality parameter corresponding to the resolution, the obtaining module 601 may be further specifically configured to:
reference images at different resolutions are acquired.
And adjusting the image quality parameters of the reference image according to the user instruction to obtain the reference image quality parameters.
And selecting a region with uniform change of the low-frequency signal and the high-frequency signal in the reference image.
Pixel brightness of an image in the region is extracted.
And calculating the reference definition of the reference image according to the pixel brightness, and obtaining and storing corresponding reference image quality parameters and reference definition under different resolutions.
The image quality adjusting device provided in this embodiment is used for executing the foregoing method embodiment, and its implementation principle and technical effects are similar, and will not be described again.
Fig. 7 is a schematic structural diagram of a display device according to an embodiment of the present application, as shown in fig. 7, the device may include: at least one processor 701, a memory 702 communicatively coupled to the processor 701.
A memory 702 for storing programs. In particular, the program may include program code including computer-operating instructions.
The memory 702 may comprise high-speed RAM memory or may further comprise non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor 701 is configured to execute computer-executable instructions stored in the memory 702 to implement the methods described in the foregoing method embodiments. The processor 701 may be a central processing unit (Central Processing Unit, abbreviated as CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, abbreviated as ASIC), or one or more integrated circuits configured to implement embodiments of the present application.
Optionally, the refrigerator may further include a communication interface 703. In a specific implementation, if the communication interface 703, the memory 702, and the processor 701 are implemented independently, the communication interface 703, the memory 702, and the processor 701 may be connected to each other and perform communication with each other through buses. The bus may be an industry standard architecture (Industry Standard Architecture, abbreviated ISA) bus, an external device interconnect (Peripheral Component, abbreviated PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated EISA) bus, among others. Buses may be divided into address buses, data buses, control buses, etc., but do not represent only one bus or one type of bus.
Alternatively, in a specific implementation, if the communication interface 703, the memory 702, and the processor 701 are implemented on a single chip, the communication interface 703, the memory 702, and the processor 701 may complete communication through internal interfaces. It will be appreciated that the locations of the various devices in fig. 7 are merely exemplary and not limiting.
The display device provided in this embodiment is configured to execute the method executed in the foregoing embodiment, and its implementation principle is similar to that of the technical effect, and will not be described in detail.
The present application also provides a computer-readable storage medium, which may include: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, etc., may store program codes, and in particular, the computer-readable storage medium stores therein computer-executable instructions for the processor to execute the methods in the above embodiments.
The present application also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the electronic device may read the execution instructions from the readable storage medium, and execution of the execution instructions by the at least one processor causes the electronic device to implement the control methods provided by the various embodiments described above.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (10)

1. An image quality adjustment method, comprising:
acquiring an image to be processed and resolution thereof;
determining a reference definition and a reference image quality parameter corresponding to the resolution according to the resolution, and taking the reference image quality parameter as an initial image quality parameter of the image to be processed;
adjusting the image quality of the image to be processed according to the initial image quality parameters;
extracting pixel brightness in the adjusted image to be processed, and calculating definition of the image to be processed according to the pixel brightness;
and adjusting the initial image quality parameter according to the size relation between the definition and the reference definition until the adjusted definition and the reference definition meet a preset relation.
2. The method of claim 1, wherein the extracting the adjusted pixel intensities in the image to be processed and calculating the sharpness of the image to be processed from the pixel intensities comprises:
extracting pixel brightness values in the adjusted image to be processed;
calculating the difference value of the adjacent pixel brightness values, and determining adjacent pixel points with the difference value larger than a preset first threshold value as brightness abrupt change pixel points;
and calculating the definition of the image to be processed according to the pixel brightness value of the brightness abrupt change pixel point.
3. The method according to claim 2, wherein calculating the sharpness of the image to be processed based on the pixel brightness values of the abrupt brightness change pixels comprises:
the sharpness D (f) of the image to be processed is calculated according to the following formula:
G x =|L(x,y)-L(x+1,y)|,(G x >T)
G y =|L(x,y)-L(x,y+1)|,(G y >T)
D(f)=k·G(x,y)
wherein G is x Representing pixel brightness values of adjacent brightness abrupt pixel points in the x direction; g y Representing pixel brightness values of adjacent brightness abrupt pixel points in the y direction; t represents the preset first threshold value; k represents a sharpness coefficient.
4. A method according to claim 2 or 3, wherein said adjusting said initial image quality parameter according to a magnitude relation between said sharpness and said reference sharpness comprises:
if the absolute value of the difference value between the definition and the reference definition is smaller than or equal to a preset relation, maintaining the initial image quality parameter;
or if the absolute value of the difference value between the definition and the reference definition is larger than the preset relation, adjusting the initial image quality parameter according to the definition, the reference definition and the reference image quality parameter.
5. The method of claim 4, wherein the image quality parameters include: image peak frequency band, image peak gain;
and adjusting the initial image quality parameter according to the definition, the reference definition and the reference image quality parameter, including:
according to the definition, the reference definition and the reference image peak frequency band, adjusting an initial image peak frequency band of the image to be processed;
and adjusting the initial image peak gain of the image to be processed according to the definition, the reference definition and the reference image peak gain.
6. The method of claim 5, wherein the image quality parameters further comprise: contrast, image brightness;
and adjusting the initial image quality parameter according to the definition, the reference definition and the reference image quality parameter, including:
calculating a ratio between the reference sharpness and the sharpness;
if the ratio is larger than a preset second threshold value, increasing the initial contrast of the image to be processed by a step value, and reducing the brightness of the initial image by a step value;
and if the ratio is smaller than or equal to the preset second threshold value, maintaining the initial contrast and the initial image brightness of the image to be processed.
7. The method of claim 1, wherein prior to determining the reference sharpness and reference image quality parameters corresponding to the resolution, further comprising:
acquiring reference images under different resolutions;
according to the user instruction, adjusting the image quality parameters of the reference image to obtain the reference image quality parameters;
selecting a region with uniform change of a low-frequency signal and a high-frequency signal in the reference image;
extracting pixel brightness of the image in the region;
and calculating the reference definition of the reference image according to the pixel brightness to obtain and store the corresponding reference image quality parameters and the reference definition under different resolutions.
8. An image quality adjusting apparatus, comprising:
the acquisition module is used for acquiring the image to be processed and the resolution ratio thereof;
the determining module is used for determining reference definition and reference image quality parameters corresponding to the resolution according to the resolution, and taking the reference image quality parameters as initial image quality parameters of the image to be processed;
the adjusting module is used for adjusting the image quality of the image to be processed according to the initial image quality parameter;
the processing module is used for extracting the pixel brightness in the adjusted image to be processed and calculating the definition of the image to be processed according to the pixel brightness;
the adjusting module is further configured to adjust the initial image quality parameter according to a magnitude relation between the definition and the reference definition, until the adjusted definition and the reference definition satisfy a preset relation.
9. A display device, characterized by comprising: at least one processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored in the memory to implement the image quality adjustment method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, which when executed by a processor, are configured to implement the image quality adjustment method according to any one of claims 1 to 7.
CN202211070141.1A 2022-09-02 2022-09-02 Image quality adjusting method, device, display equipment and storage medium Pending CN117692698A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211070141.1A CN117692698A (en) 2022-09-02 2022-09-02 Image quality adjusting method, device, display equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211070141.1A CN117692698A (en) 2022-09-02 2022-09-02 Image quality adjusting method, device, display equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117692698A true CN117692698A (en) 2024-03-12

Family

ID=90135813

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211070141.1A Pending CN117692698A (en) 2022-09-02 2022-09-02 Image quality adjusting method, device, display equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117692698A (en)

Similar Documents

Publication Publication Date Title
RU2713869C1 (en) Converting a tone curve for images with an expanded dynamic range
CN111447425B (en) Display method and display device
RU2647636C2 (en) Video display control with extended dynamic range
US8009905B2 (en) System, medium, and method with noise reducing adaptive saturation adjustment
US20160100147A1 (en) Image forming apparatus, image forming method, image processing apparatus and image processing method thereof
US11100888B2 (en) Methods and apparatuses for tone mapping and inverse tone mapping
US9165346B2 (en) Method and apparatus for reducing image noise
US20120093433A1 (en) Dynamic Adjustment of Noise Filter Strengths for use with Dynamic Range Enhancement of Images
US9355327B2 (en) Image processing apparatus and imaging apparatus with noise correction function and signal level correction function
US10332481B2 (en) Adaptive display management using 3D look-up table interpolation
US10771785B2 (en) Image encoding apparatus, method of controlling the same, and storage medium
CN110310231B (en) Device and method for converting first dynamic range video into second dynamic range video
US20080137984A1 (en) Smart grey level magnifier for digital display
JP2013041565A (en) Image processor, image display device, image processing method, computer program, and recording medium
Eilertsen The high dynamic range imaging pipeline
WO2017159182A1 (en) Display control device, display apparatus, television receiver, control method for display control device, control program, and recording medium
US6847408B1 (en) Method and apparatus for reducing noise in an image sequence
JP2008219289A (en) Video correction device, video display device, imaging apparatus and video correction program
CN117692698A (en) Image quality adjusting method, device, display equipment and storage medium
US20220188994A1 (en) Image processing apparatus and image processing method
JP2020145553A (en) Image processing apparatus, image processing method and program
JP7417908B2 (en) Image processing method, image processing system, and image processing device
JP5303399B2 (en) Moving picture bit depth reduction apparatus and program
KR101634652B1 (en) Method and apparatus for intensificating contrast in image
US20220130053A1 (en) Image processing method, image processing device, and recording 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