Image quality adjustment method and device, display device, and storage medium

By acquiring the image resolution and determining the baseline image quality parameters, the image quality is adjusted to meet the preset relationship, solving the problem of unclear display of source images with the same resolution, and achieving more accurate image quality adjustment and clear display.

CN117692698BActive Publication Date: 2026-11-27HISENSE VISUAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211070141.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-02
Publication Date
2026-11-27
Estimated Expiration
2042-09-02

AI Technical Summary

Technical Problem

Existing technologies are not accurate enough in adjusting the image quality of source materials with the same resolution, resulting in unclear image display, especially flickering in high-frequency components or blurring in low-frequency components.

Method used

By obtaining the resolution of the image to be processed, the corresponding baseline sharpness and baseline image quality parameters are determined and used as the initial image quality parameters. The image quality is then adjusted, and the image quality parameters are adjusted according to the relationship between the sharpness and the baseline sharpness until the preset relationship is met.

Benefits of technology

It improves the accuracy of image quality adjustment for source materials at the same resolution, making the image display clearer.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117692698B_ABST
    Figure CN117692698B_ABST
Patent Text Reader

Abstract

The application provides an embodiment, belongs to display technology, and provides an image quality adjusting method and device, a display device and a storage medium. The resolution corresponding reference definition and reference quality parameter are determined by acquiring a to-be-processed image and a resolution of the to-be-processed image, and the reference quality parameter is used as an initial quality parameter of the to-be-processed image to adjust the quality of the to-be-processed image. After the brightness of the pixels in the adjusted to-be-processed image is extracted and the definition of the to-be-processed image is calculated, the initial quality parameter is adjusted according to the size relationship between the definition and the reference definition until the adjusted definition and the reference definition satisfy a preset relationship. The method provided in the application makes the adjusted image quality more accurate and the image display more clear.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to image processing technology. More specifically, it relates to an image quality adjustment method, apparatus, display device, and storage medium. Background Technology

[0002] With the continuous development of science and technology, users have increasingly higher requirements for the image quality of smart TV displays. The clearer the source material to be played, the better the viewing experience for users.

[0003] Because the source material itself has different resolutions, or even if the source material has the same resolution, the image quality displayed on a smart TV can vary depending on the platform or licensee. Currently, to ensure a good viewing experience, different image quality parameters are set for source material of different resolutions for differentiated playback. However, even with the same image quality parameters, some source material with the same resolution can exhibit significant differences in image quality. For example, flickering may occur in high-frequency components of certain images, or blurring may occur in low-frequency components. Therefore, existing technologies are not accurate enough in adjusting the image quality of source material with the same resolution, resulting in less than clear image display. Summary of the Invention

[0004] The exemplary embodiments of this application provide an image quality adjustment method, apparatus, display device, and storage medium to solve the technical problem in the prior art that the adjustment of image quality of source material with the same resolution is not accurate enough and the image display is not clear enough.

[0005] In a first aspect, an embodiment of this application provides an image quality adjustment method, comprising:

[0006] Obtain the image to be processed and its resolution;

[0007] Based on the resolution, determine the baseline sharpness and baseline image quality parameters corresponding to the resolution, and use the baseline image quality parameters as the initial image quality parameters of the image to be processed;

[0008] Adjust the image quality of the image to be processed based on the initial image quality parameters;

[0009] Extract the pixel brightness from the adjusted image to be processed, and calculate the sharpness of the image to be processed based on the pixel brightness;

[0010] Based on the relationship between the resolution and the reference resolution, the initial image quality parameters are adjusted until the adjusted resolution and the reference resolution satisfy a preset relationship.

[0011] In some possible implementations, the step of extracting the pixel brightness from the adjusted image to be processed and calculating the sharpness of the image to be processed based on the pixel brightness includes:

[0012] Extract the pixel brightness values ​​from the adjusted image to be processed;

[0013] The difference between the brightness values ​​of adjacent pixels is calculated, and adjacent pixels whose difference is greater than a preset first threshold are identified as pixels with sudden brightness changes.

[0014] The sharpness of the image to be processed is calculated based on the pixel brightness value of the pixel with the brightness abrupt change.

[0015] In some possible implementations, calculating the sharpness of the image to be processed based on the pixel brightness values ​​of the pixels with brightness abrupt changes includes:

[0016] The sharpness D(f) of the image to be processed is calculated according to the following formula:

[0017] G x =|L(x,y)-L(x+1,y)|, (G X >T)

[0018] G y =|L(x,y)-L(x,y+1)|, (G y >T)

[0019]

[0020] D(f) = k·G(x, y)

[0021] Among them, G x G represents the pixel brightness value in the x-direction of adjacent pixels with abrupt brightness changes; y The value represents the pixel brightness value in the y-direction of adjacent pixels with abrupt brightness changes; T represents the preset first threshold; and k represents the sharpness coefficient.

[0022] In some possible implementations, adjusting the initial image quality parameters based on the relationship between the sharpness and the reference sharpness includes:

[0023] If the absolute value of the difference between the sharpness and the reference sharpness is less than or equal to a preset relationship, the initial image quality parameters are maintained;

[0024] Alternatively, if the absolute value of the difference between the sharpness and the reference sharpness is greater than the preset relationship, the initial image quality parameters are adjusted according to the sharpness, the reference sharpness, and the reference image quality parameters.

[0025] In some possible implementations, the image quality parameters include: image peak bandwidth and image peak gain;

[0026] The step of adjusting the initial image quality parameters based on the sharpness, the reference sharpness, and the reference image quality parameters includes:

[0027] The initial peak frequency band of the image to be processed is adjusted based on the sharpness, the reference sharpness, and the reference image peak frequency band.

[0028] The initial peak gain of the image to be processed is adjusted based on the sharpness, the reference sharpness, and the reference image peak gain.

[0029] In some possible implementations, the image quality parameters also include: contrast and image brightness;

[0030] The step of adjusting the initial image quality parameters based on the sharpness, the reference sharpness, and the reference image quality parameters includes:

[0031] Calculate the ratio between the baseline sharpness and the sharpness;

[0032] If the ratio is greater than a preset second threshold, the initial contrast of the image to be processed is increased by one step value, and the initial brightness of the image is decreased by one step value.

[0033] If the ratio is less than or equal to the preset second threshold, the initial contrast and initial image brightness of the image to be processed are maintained.

[0034] In some possible implementations, before determining the reference sharpness and reference image quality parameters corresponding to the resolution, the method further includes:

[0035] Acquire baseline images at different resolutions;

[0036] According to the user's instructions, the image quality parameters of the reference image are adjusted to obtain the reference image quality parameters;

[0037] Select a region in the reference image where the low-frequency and high-frequency signals change uniformly;

[0038] Extract the pixel brightness of the image in the region;

[0039] Based on the pixel brightness, the baseline sharpness of the baseline image is calculated, and the baseline image quality parameters and the baseline sharpness corresponding to different resolutions are obtained and stored.

[0040] Secondly, embodiments of this application provide an image quality adjustment device, comprising:

[0041] The acquisition module is used to acquire the image to be processed and its resolution.

[0042] The determining module is used to determine the baseline sharpness and baseline image quality parameters corresponding to the resolution based on the resolution, and to use the baseline image quality parameters as the initial image quality parameters of the image to be processed.

[0043] An adjustment module is used to adjust the image quality of the image to be processed according to the initial image quality parameters;

[0044] The processing module is used to extract the pixel brightness in the adjusted image to be processed, and calculate the sharpness of the image to be processed based on the pixel brightness;

[0045] The adjustment module is further configured to adjust the initial image quality parameters according to the relationship between the sharpness and the reference sharpness, until the adjusted sharpness and the reference sharpness satisfy a preset relationship.

[0046] Thirdly, this application provides a display device, including: at least one processor, and a memory communicatively connected to the processor;

[0047] The memory stores computer-executed instructions;

[0048] The processor executes computer execution instructions stored in the memory to implement the image quality adjustment method according to any one of the first aspects.

[0049] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the image quality adjustment method described in any of the first aspects.

[0050] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the image quality adjustment method as described in any of the first aspects of this application.

[0051] This application provides an image quality adjustment method, apparatus, display device, and storage medium. By acquiring the image to be processed and its resolution, a reference sharpness and reference image quality parameters corresponding to the resolution are determined. These reference image quality parameters are then used as initial image quality parameters to adjust the image quality. Pixel brightness is extracted from the adjusted image, and the sharpness of the image is calculated. Based on the relationship between the adjusted sharpness and the reference sharpness, the initial image quality parameters are adjusted until the adjusted sharpness and the reference sharpness satisfy a preset relationship. This method results in more accurate image quality adjustment and clearer image display.

[0052] These and other aspects of this application will become more apparent in the description of the following embodiments(s). Attached Figure Description

[0053] To more clearly illustrate the implementation methods in the embodiments of this application or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings.

[0054] Figure 1 A flowchart illustrating an image quality adjustment method provided in an embodiment of this application;

[0055] Figure 2 A flowchart illustrating a method for calculating the sharpness of an image to be processed, provided in an embodiment of this application;

[0056] Figure 3 Image pixel brightness curves at different resolution levels;

[0057] Figure 4 A graph showing the brightness difference between adjacent pixels in images at different resolutions;

[0058] Figure 5 A flowchart illustrating yet another image quality adjustment method provided in this application embodiment;

[0059] Figure 6 This is a schematic diagram of the structure of an image quality adjustment device provided in an embodiment of this application;

[0060] Figure 7 This is a schematic diagram of the structure of a display device provided in an embodiment of this application. Detailed Implementation

[0061] To make the objectives, implementation methods and advantages of this application clearer, the exemplary implementation methods of this application will be clearly and completely described below with reference to the accompanying drawings of the exemplary embodiments of this application. Obviously, the described exemplary embodiments are only some embodiments of this application, and not all embodiments.

[0062] Based on the exemplary embodiments described in this application, all other embodiments obtained by those skilled in the art without inventive effort are within the scope of protection of the appended claims. Furthermore, although the disclosures in this application are presented by way of one or more exemplary examples, it should be understood that each aspect of these disclosures can also constitute a complete implementation on its own.

[0063] It should be noted that the brief descriptions of terms in this application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.

[0064] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar or related objects or entities and do not necessarily imply a specific order or sequence, unless otherwise indicated. It should be understood that such terms can be used interchangeably where appropriate, for example, in situations where implementation is possible in a sequence other than those given in the embodiments illustrated or described in this application.

[0065] Furthermore, the terms “including” and “having”, and any variations thereof, are intended to cover but not exclusively include, for example, a product or device that includes a series of components is not necessarily limited to those components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.

[0066] As used in this application, the term "module" refers to any known or subsequently developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code capable of performing the functions associated with that element.

[0067] In this application, the display device is a smart TV (hereinafter referred to as "TV"). As the most frequently used product in the living room, the TV has a large screen that can display image information. When users watch the displayed images on the large screen, the clearer the image quality, the better the viewing experience for the user.

[0068] The films shown on television can be called source material. Different source materials have different resolutions due to differences in production or shooting methods. Different resolutions result in different image display effects on television. Furthermore, even source materials with the same resolution can have different display effects due to differences in the licensing entity or the broadcasting platform on television.

[0069] In existing technologies, to ensure the clarity of television display images, different image quality parameters are set for sources with different resolutions. However, even for sources with the same resolution, the clarity of the displayed image can vary due to differences in licensing providers or playback platforms, even with the same image quality parameters. For example, some licensing providers play images with high clarity, some with average clarity, and some with poor clarity. One possible reason for lower clarity is flickering in high-frequency components of the image, and another is blurring in low-frequency components. High-frequency components refer to areas of sharp brightness or grayscale changes in the image, while low-frequency components refer to areas of gradual brightness or grayscale changes. Therefore, existing technologies are not precise enough in adjusting the image quality of sources with the same resolution, resulting in insufficient image clarity.

[0070] Therefore, in view of the above-mentioned technical problems of the prior art, this application proposes an image quality adjustment method, apparatus, display device, and storage medium. By setting reference image quality parameters and reference sharpness corresponding to different resolutions of a reference image, the reference image quality parameters and reference sharpness are determined according to the resolution of the image to be processed, and the reference image quality parameters are used as the initial image quality parameters of the image to be processed. After adjusting the image quality of the image to be processed according to the initial image quality parameters, the adjusted sharpness is calculated. The initial image quality parameters are then adjusted according to the relationship between the adjusted sharpness and the reference sharpness until the adjusted sharpness and the reference sharpness satisfy a preset relationship. This improves the accuracy of image quality adjustment for source images at the same resolution, resulting in a clearer image display.

[0071] The application scenarios of this application can include adjusting the image quality of display devices. It can be applied to smart TVs, as well as liquid crystal displays, organic light-emitting diode (OLED) displays, projection display devices, etc. It is understood that the image quality adjustment method proposed in this application includes, but is not limited to, the above scenarios, and these scenarios are not intended to limit this application. Furthermore, this application does not limit the specific type or size of the display device.

[0072] Figure 1 This is a flowchart illustrating an image quality adjustment method provided in an embodiment of this application. The executing entity of this method can be an image quality adjustment device or equipment, such as a smart TV with image quality adjustment function. The method in this embodiment can be implemented by software, hardware, or a combination of software and hardware, such as... Figure 1 As shown, the method specifically includes the following steps:

[0073] S101. Obtain the image to be processed and its resolution.

[0074] In this embodiment, taking a television as the execution subject, the process involves acquiring an image to be processed. This image can be a real-time frame from a playing video or a pre-stored image. After acquiring the image, its resolution can be directly obtained according to the background settings.

[0075] S102. Based on the resolution, determine the baseline sharpness and baseline image quality parameters corresponding to the resolution, and use the baseline image quality parameters as the initial image quality parameters of the image to be processed.

[0076] Image quality parameters are parameters that affect the quality of image display. In this application, they include, but are not limited to, the following parameters: peaking band (typically ranging from 0.8 to 30), peak gain (typically ranging from 0.8 to 30), contrast ratio (typically ranging from 120 to 140), and brightness (typically ranging from 120 to 140). Sharpness is achieved by adjusting the brightness component Y in image pixels to ensure the user enjoys a clear viewing experience of the television picture.

[0077] By playing reference video sources at different resolutions, the played video sources are used as the reference for adjusting the image quality of the image to be processed. Therefore, different reference image quality parameters and reference sharpness are obtained at different resolutions. The reference image quality parameters and reference sharpness can be used to adjust the image quality parameters and sharpness of the image to be processed with the same resolution as the reference image.

[0078] It should be noted that the correspondence between the baseline image quality parameters and the baseline resolution at different resolutions has been predetermined and stored in the TV's storage unit. The specific determination method will be described in the following embodiments.

[0079] After obtaining the resolution of the image to be processed, the reference image quality parameters and reference sharpness corresponding to the resolution of the image to be processed can be determined from the pre-stored correspondence between resolution and reference image quality parameters and reference sharpness, and the determined reference image quality parameters are used as the initial image quality parameters for adjustment.

[0080] S103. Adjust the image quality of the image to be processed according to the initial image quality parameters.

[0081] Based on the determined initial image quality parameters, the peak bandwidth, peak gain, contrast, and brightness of the image are adjusted to obtain the image to be processed after image quality adjustment.

[0082] S104. Extract the pixel brightness from the adjusted image to be processed, and calculate the sharpness of the image to be processed based on the pixel brightness.

[0083] An image is composed of pixels. By extracting pixels at different locations in the adjusted image, we can obtain the luminance component Y, blue chromaticity component Cb, and red chromaticity component Cr corresponding to each pixel. The human eye is most sensitive to the luminance component Y of an image. The higher the luminance component Y, the clearer the image is. Therefore, this application mainly calculates the sharpness of the image to be processed based on the luminance component Y.

[0084] S105. Adjust the initial image quality parameters according to the relationship between the sharpness and the reference sharpness until the adjusted sharpness and the reference sharpness meet the preset relationship.

[0085] The sharpness calculated in step S104 is compared with the baseline sharpness determined based on the resolution of the image to be processed. Based on the comparison result, the initial image quality parameters are adjusted until the adjusted sharpness and the baseline sharpness meet a preset relationship. Meeting the preset relationship indicates that the adjusted image quality meets the user's viewing requirements, and the image display is clearer.

[0086] In the above embodiments of this application, by acquiring the image to be processed and its resolution, a reference sharpness and reference image quality parameters corresponding to the resolution are determined. The reference image quality parameters are then used as the initial image quality parameters to adjust the image quality of the image to be processed. After extracting the pixel brightness from the adjusted image to be processed and calculating the sharpness of the image to be processed, the initial image quality parameters are adjusted according to the relationship between the sharpness and the reference sharpness until the adjusted sharpness and the reference sharpness satisfy a preset relationship. The method of this application makes the adjusted image quality more accurate and the image display clearer.

[0087] Furthermore, based on the above embodiments, the process of calculating sharpness in step S104 based on the extracted and adjusted pixel brightness of the image to be processed will be described in detail below through the following embodiments. Figure 2 As shown, Figure 2 This application provides a flowchart illustrating a method for calculating the sharpness of an image to be processed, wherein steps S201-S203 can also be referred to as an edge detection algorithm. The method includes the following steps:

[0088] S201. Extract the pixel brightness values ​​from the adjusted image to be processed.

[0089] For example, Table 1 shows the extracted image pixel brightness values ​​at different levels of sharpness, where "sharpness" represents the image quality display effect. Figure 3 This is a graph showing the pixel brightness of an image at different resolutions.

[0090] Table 1

[0091] Y Pixel 1 Pixel 2 Pixel 3 Pixel 4 Pixel 5 Pixel 6 Pixel 7 Pixel 8 Low clarity 82.75 73 72.75 48.5 48.5 228.2 228 248 Medium clarity 82.75 61.5 61.5 21.25 21.25 248 248 248 High clarity 82.5 51.5 51.5 2.5 2.5 248 248 248

[0092] From Table 1 and Figure 3 As can be seen, the brightness values ​​of pixels 5 and 6 differ significantly, with a difference of 228.2 - 48.5 = 179.7. Therefore, pixels with significantly different brightness values ​​can be considered as edges of the image. These pixels with significantly different brightness values ​​can be called pixels with abrupt brightness changes.

[0093] S202. Calculate the difference between the brightness values ​​of adjacent pixels, and determine the adjacent pixels with a difference greater than a preset first threshold as pixels with sudden brightness changes.

[0094] For example, taking the data in Table 1 as an example, the difference between the brightness values ​​of adjacent pixels in Table 1 is calculated to obtain the brightness difference between adjacent pixels of the image under different levels of clarity, as shown in Table 2. Figure 4 This is a graph showing the brightness difference between adjacent pixels in images at different resolutions.

[0095] Table 2

[0096]

[0097] From Table 2 and Figure 4 As can be seen, the higher the image sharpness, the greater the pixel brightness value between adjacent pixels. Therefore, the image sharpness can be adjusted by increasing the pixel brightness of the pixels at the image edges.

[0098] Adjacent pixels whose brightness difference is greater than a preset first threshold T are identified as pixels with sudden brightness changes.

[0099] It should be noted that the T value varies depending on the resolution of the image. The specific value of T can be set according to the actual situation or based on historical data. The T values ​​in Table 3 are only illustrative examples and do not impose any limitations on this application. As shown in Table 3, Table 3 shows the first threshold T at different resolutions, where 480p, 720p, 1080p, and 4k represent the image resolutions, respectively.

[0100] Table 3

[0101]

[0102]

[0103] S203. Calculate the sharpness of the image to be processed based on the pixel brightness values ​​of pixels with sudden brightness changes.

[0104] The sharpness D(f) of the image to be processed is calculated according to the following formulas (1)-(4):

[0105] G x=|L(x,y)-L(x+1,y)|, (G X >T) (1)

[0106] G y =|L(x,y)-L(x,y+1)|, (G y >T) (2)

[0107]

[0108] D(f)=k·G(x,y) (4)

[0109] Among them, G x G represents the pixel brightness value in the x-direction of adjacent pixels with abrupt brightness changes; y This represents the pixel brightness value in the y-direction of adjacent pixels with abrupt brightness changes; T represents the preset first threshold; and k represents the sharpness coefficient.

[0110] In the above embodiments of this application, pixel brightness values ​​are extracted from the adjusted image to be processed, and the difference between adjacent pixel brightness values ​​is calculated. Adjacent pixels with a difference greater than a preset first threshold are identified as pixels with brightness abrupt changes. Then, the sharpness of the image to be processed is calculated based on the pixel brightness values ​​of the pixels with brightness abrupt changes. This embodiment calculates sharpness by utilizing the pixel brightness of the image, which is most sensitive to user perception, making the image adjusted according to sharpness clearer.

[0111] Furthermore, the following examples illustrate the process of determining the correspondence between baseline image quality parameters and baseline sharpness at different resolutions.

[0112] Specifically,

[0113] S301. Obtain reference images at different resolutions.

[0114] The reference image can be a real-time frame of the video being played, or it can be a pre-stored image, etc.

[0115] S302. Adjust the image quality parameters of the reference image according to the user's instructions to obtain the reference image quality parameters.

[0116] After obtaining the reference image, the peak bandwidth, peak gain, contrast, and brightness are adjusted. When the user considers the displayed image to be in optimal clarity, the current peak bandwidth, peak gain, contrast, and brightness values ​​are determined as reference values, resulting in the reference image peak bandwidth (typically 0.8–30), peak gain (typically 0.8–30), contrast (typically 120–140), and brightness (typically 120–140), etc.

[0117] S303. Select a region in the reference image where the low-frequency signal and high-frequency signal change uniformly.

[0118] In this context, low-frequency signals represent the low-frequency components of the image, while high-frequency signals represent the high-frequency components of the image.

[0119] S304. Extract the pixel brightness of the image in the region.

[0120] S305. Calculate the baseline sharpness of the baseline image based on the pixel brightness, and obtain and store the baseline image quality parameters and baseline sharpness corresponding to different resolutions.

[0121] Steps S304 and S305 are the same as those in the above embodiments for calculating the sharpness of the image to be processed, and will not be repeated here.

[0122] In summary, the correspondence between the baseline image quality parameters and the baseline sharpness at different resolutions can be obtained, as exemplified in Table 4.

[0123] Table 4

[0124] Reference image resolution 480p 720p 1080p 4k Baseline image quality parameters α1 α2 α3 α4 Baseline resolution <![CDATA[C A1 ]]> <![CDATA[C A2 ]]> <![CDATA[C A3 ]]> <![CDATA[C A4 ]]>

[0125] In the above embodiments of this application, reference image quality parameters are obtained by acquiring reference images at different resolutions and adjusting their image quality parameters. A region in the reference image where low-frequency and high-frequency signals change uniformly is selected, and the pixel brightness of the image in this region is extracted. The reference sharpness of the reference image is then calculated based on the pixel brightness. The corresponding reference image quality parameters and reference sharpness at different resolutions are obtained and stored. The method of this embodiment makes the determined reference image quality parameters and reference sharpness more accurate, providing basic data for subsequent image quality adjustment.

[0126] Furthermore, the following embodiment will explain in detail the process in step S105 of adjusting the initial image quality parameters according to the relationship between the sharpness and the reference sharpness until the adjusted sharpness and the reference sharpness meet the preset relationship.

[0127] Assuming the resolution of the image to be processed is 480p, its corresponding baseline image quality parameter can be determined as α1, and the baseline sharpness as C. A1 .

[0128] Using α1 as the initial image quality parameter, the image quality of the image to be processed is adjusted, and the current sharpness C is calculated based on the adjusted image and steps S201-S203. B1 .

[0129] If the clarity is C B1 Compared with the baseline resolution C A1 The absolute value of the difference is less than or equal to the preset relationship, i.e., |C B1 -C A1 |≤5‰, maintaining the initial image quality parameters indicates that the image display effect is relatively good and can meet the user's viewing needs. The preset relationship can be set according to actual conditions; the preset relationship shown in this application is only an example and is not intended to limit this application.

[0130] Or, if the resolution is C B1 Compared with the baseline resolution C A1 The absolute value of the difference is greater than the preset relation, i.e., |C B1 -C A1 If the value is greater than 5‰, the initial image quality parameters are adjusted based on the resolution, baseline resolution, and baseline image quality parameters, indicating that the image display effect does not meet the user's viewing needs at this time.

[0131] Specifically,

[0132] The initial peak bandwidth of the image to be processed is adjusted based on the sharpness, reference sharpness, and reference image peak bandwidth. The initial peak gain of the image to be processed is adjusted based on the sharpness, reference sharpness, and reference image peak gain.

[0133] The initial peak bandwidth and initial peak gain of the image to be processed are adjusted using the following formula (5):

[0134]

[0135] Where α1′ represents the peak frequency band and peak gain of the image to be adjusted, and their values ​​range from 0.8 to 30.

[0136] The ratio between the baseline sharpness and the sharpness is calculated as follows:

[0137] If the ratio is greater than a preset second threshold (e.g., the preset second threshold is 1, meaning it is greater than 1), the initial contrast of the image to be processed is increased by a step value, ranging from 120 to 140. The initial image brightness is decreased by a step value, ranging from 125 to 140. If the ratio is greater than or equal to the preset second threshold (i.e., less than or equal to 1), the initial contrast and initial image brightness of the image to be processed are maintained.

[0138] Repeat the steps in this embodiment until the adjusted sharpness C is achieved. B1 Compared with the baseline resolution C A1 Satisfying the preset relationship, i.e., |C B1 -C A1 |≤5‰.

[0139] It is important to note that for the entire image, in images of the same resolution, some high-frequency components occupy more content, while others occupy more low-frequency components. To avoid the impact of high / low-frequency components on image sharpness, we select areas in the image where the high / low-frequency components change relatively evenly for analysis, in order to reduce errors and make the determined image quality parameters more accurate.

[0140] In the above embodiments of this application, if the absolute value of the difference between the sharpness and the reference sharpness is less than or equal to a preset relationship, the initial image quality parameters are maintained; if it is greater than the preset relationship, the initial image quality parameters are adjusted according to the sharpness, the reference sharpness, and the reference image quality parameters. The method of this embodiment adjusts the image quality parameters more accurately based on the relationship between the sharpness and the reference sharpness, resulting in a clearer image display.

[0141] To facilitate understanding of the methods in this application, the following will be used... Figure 5 To provide a complete and concise summary of the invention described in this application, Figure 5 This is a flowchart illustrating another image quality adjustment method provided in an embodiment of this application. Figure 5 As shown, the method includes the following steps:

[0142] S501. Obtain the reference image A and its resolution RA.

[0143] S502. Adjust the image quality parameters under resolution RA and determine the baseline image quality parameter α1. The image quality parameters include image peak bandwidth, image peak gain, contrast and image brightness.

[0144] S503. Select a region in the reference image A where the high-frequency and low-frequency signals change relatively uniformly, and calculate the reference sharpness C corresponding to the reference image A using an edge detection algorithm. A1 .

[0145] S504. Obtain the image to be processed B and its resolution R. B .

[0146] S505, according to resolution R B Determine the corresponding baseline image quality parameter α1, and use it as the initial image quality parameter α1 to adjust the image quality of image B.

[0147] S506. Select a region in the image B to be processed where the high-frequency and low-frequency signals change relatively uniformly, and calculate the sharpness C of the adjusted image B using an edge detection algorithm. B1 .

[0148] S507, Judgment C B1 With C A1 Does it satisfy the preset relationship?

[0149] S508. If satisfied, maintain the initial image quality parameter α1.

[0150] S509. If not satisfied, based on resolution C B1 Reference resolution C A1 And the initial image quality parameter α1, adjust the image peak bandwidth and image peak gain of the image to be processed, according to the sharpness C B1 Compared with the baseline resolution C A1 The ratio of α1′ to α1′ is used to adjust the contrast and brightness of the image to be processed, thus obtaining the adjusted image quality parameter α1′.

[0151] S510. Adjust the image quality of the image to be processed, B, according to the adjusted image quality parameter α1′.

[0152] S511. Calculate the sharpness C of the adjusted image B using an edge detection algorithm. B1′ .

[0153] S512, Judgment C B1′ With C A1 Does it satisfy the preset relationship?

[0154] S513. If satisfied, maintain the current image quality parameter α1′.

[0155] S514. If not satisfied, repeat steps S509 to S512 until the preset relationship is satisfied.

[0156] For the specific details of each step in this embodiment, please refer to the above embodiments. The implementation principle and technical effect are similar to those of the above embodiments, and will not be repeated here.

[0157] Figure 6 This is a schematic diagram of the structure of an image quality adjustment device provided in an embodiment of this application, as shown below. Figure 6 As shown, the image quality adjustment device provided in this application embodiment includes: an acquisition module 601, a determination module 602, an adjustment module 603, and a processing module 604.

[0158] The acquisition module 601 is used to acquire the image to be processed and its resolution.

[0159] The determination module 602 is used to determine the baseline sharpness and baseline image quality parameters corresponding to the resolution based on the resolution, and to use the baseline image quality parameters as the initial image quality parameters of the image to be processed.

[0160] The adjustment module 603 is used to adjust the image quality of the image to be processed according to the initial image quality parameters.

[0161] The processing module 604 is used to extract the pixel brightness in the adjusted image to be processed and calculate the sharpness of the image to be processed based on the pixel brightness.

[0162] The adjustment module 603 is also used to adjust the initial image quality parameters according to the relationship between the sharpness and the reference sharpness, until the adjusted sharpness and the reference sharpness meet the preset relationship.

[0163] In some possible implementations, processing module 604 can be specifically used for:

[0164] Extract pixel brightness values ​​from the adjusted image to be processed.

[0165] The difference between the brightness values ​​of adjacent pixels is calculated, and adjacent pixels with a difference greater than a preset first threshold are identified as pixels with sudden brightness changes.

[0166] The sharpness of the image to be processed is calculated based on the pixel brightness values ​​of pixels with sudden brightness changes.

[0167] In some possible implementations, the processing module 604 can also be specifically used for:

[0168] The sharpness D(f) of the image to be processed is calculated using the following formula:

[0169] G x =|L(x,y)-L(x+1,y)|, (G X >T)

[0170] G y =|L(x,y)-L(x,y+1)|, (G y >T)

[0171]

[0172] D(f) = k·G(x, y)

[0173] Among them, G x G represents the pixel brightness value in the x-direction of adjacent pixels with abrupt brightness changes; yThis represents the pixel brightness value in the y-direction of adjacent pixels with abrupt brightness changes; T represents the preset first threshold; and k represents the sharpness coefficient.

[0174] In some possible implementations, the adjustment module 603 can be specifically used for:

[0175] If the absolute value of the difference between the sharpness and the baseline sharpness is less than or equal to the preset relationship, the initial image quality parameters are maintained.

[0176] Alternatively, if the absolute value of the difference between the sharpness and the reference sharpness is greater than the preset relationship, the initial image quality parameters are adjusted according to the sharpness, the reference sharpness, and the reference image quality parameters.

[0177] In some possible implementations, the image quality parameters include: image peak bandwidth and image peak gain; the adjustment module 603 can also be specifically used for:

[0178] Adjust the initial peak frequency band of the image to be processed based on the sharpness, reference sharpness, and reference image peak frequency band.

[0179] Adjust the initial peak gain of the image to be processed based on the sharpness, reference sharpness, and reference image peak gain.

[0180] In some possible implementations, image quality parameters include: contrast and image brightness; the adjustment module 603 can also be specifically used for:

[0181] Calculate the ratio between the baseline sharpness and the sharpness.

[0182] If the ratio is greater than the preset second threshold, the initial contrast of the image to be processed is increased by one step value, and the initial brightness of the image is decreased by one step value.

[0183] If the ratio is less than or equal to the preset second threshold, the initial contrast and initial brightness of the image to be processed are maintained.

[0184] In some possible implementations, before determining the baseline sharpness and baseline image quality parameters corresponding to the resolution, the acquisition module 601 can also be specifically used for:

[0185] Obtain baseline images at different resolutions.

[0186] Based on user instructions, the image quality parameters of the reference image are adjusted to obtain the reference image quality parameters.

[0187] Select a region in the reference image where the low-frequency and high-frequency signals change uniformly.

[0188] Extract the pixel brightness of the image in the region.

[0189] Based on pixel brightness, the baseline sharpness of the reference image is calculated, and the corresponding baseline image quality parameters and baseline sharpness at different resolutions are obtained and stored.

[0190] The image quality adjustment device provided in this embodiment is used to execute the aforementioned method embodiment. Its implementation principle and technical effect are similar, and will not be described again.

[0191] Figure 7 This is a schematic diagram of the structure of a display device provided in an embodiment of this application, such as... Figure 7 As shown, the device may include: at least one processor 701 and a memory 702 communicatively connected to the processor 701.

[0192] The memory 702 is used to store programs. Specifically, the program may include program code, which includes computer operation instructions.

[0193] The memory 702 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0194] The processor 701 is used to execute computer execution instructions stored in the memory 702 to implement the method described in the foregoing method embodiments. The processor 701 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.

[0195] Optionally, the refrigerator may also include a communication interface 703. In specific implementations, if the communication interface 703, memory 702, and processor 701 are implemented independently, they can be interconnected via a bus to complete communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc., but this does not imply that there is only one bus or one type of bus.

[0196] Optionally, in a specific implementation, if the communication interface 703, memory 702, and processor 701 are integrated onto a single chip, then the communication interface 703, memory 702, and processor 701 can communicate through an internal interface. It is understandable that... Figure 7 The locations of the devices in this example are for illustrative purposes only and are not intended to be limiting.

[0197] The display device provided in this embodiment is used to execute the method executed in the aforementioned embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.

[0198] This application also provides a computer-readable storage medium, which may include various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. Specifically, the computer-readable storage medium stores computer-executable instructions, which are used by a processor to execute the methods described in the above embodiments.

[0199] This application also provides a program product including executable instructions stored in a readable storage medium. At least one processor of an electronic device can read the executable instructions from the readable storage medium, and the at least one processor executes the executable instructions to cause the electronic device to implement the control methods provided in the various embodiments described above.

[0200] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

[0201] For ease of explanation, the above description has been provided in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Various modifications and variations can be obtained based on the above teachings. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, thereby enabling those skilled in the art to better utilize the embodiments and various different variations of embodiments suitable for specific application considerations.

Claims

1. An image quality adjustment method, characterized in that, include: Obtain the image to be processed and its resolution; Based on the resolution, determine the baseline sharpness and baseline image quality parameters corresponding to the resolution, and use the baseline image quality parameters as the initial image quality parameters of the image to be processed; Adjust the image quality of the image to be processed based on the initial image quality parameters; Extract the pixel brightness values ​​from the adjusted image to be processed, calculate the difference between adjacent pixel brightness values, and identify adjacent pixels with a difference greater than a preset first threshold as pixels with sudden brightness changes. The sharpness of the image to be processed is calculated based on the pixel brightness values ​​of the pixels with brightness abrupt changes. Based on the relationship between the sharpness and the reference sharpness, the initial image quality parameters are adjusted until the difference between the adjusted sharpness and the reference sharpness is less than a preset value; Before determining the baseline sharpness and baseline image quality parameters corresponding to the resolution, the method further includes: Acquire baseline images at different resolutions; According to the user's instructions, the image quality parameters of the reference image are adjusted to obtain the reference image quality parameters; Select a region in the reference image where the low-frequency and high-frequency signals change uniformly; Extract the pixel brightness of the image in the region; Based on the pixel brightness, the baseline sharpness of the baseline image is calculated, and the baseline image quality parameters and the baseline sharpness corresponding to different resolutions are obtained and stored. The step of adjusting the initial image quality parameters based on the relationship between the sharpness and the reference sharpness includes: If the absolute value of the difference between the sharpness and the reference sharpness is less than or equal to a preset relationship, the initial image quality parameters are maintained; Alternatively, if the absolute value of the difference between the sharpness and the reference sharpness is greater than the preset relationship, the initial image quality parameters are adjusted according to the sharpness, the reference sharpness, and the reference image quality parameters.

2. The method according to claim 1, characterized in that, The image quality parameters include: image peak bandwidth and image peak gain; The step of adjusting the initial image quality parameters based on the sharpness, the reference sharpness, and the reference image quality parameters includes: The initial peak frequency band of the image to be processed is adjusted based on the sharpness, the reference sharpness, and the reference image peak frequency band. The initial peak gain of the image to be processed is adjusted based on the sharpness, the reference sharpness, and the reference image peak gain.

3. The method according to claim 2, characterized in that, The image quality parameters also include: contrast ratio and image brightness; The step of adjusting the initial image quality parameters based on the sharpness, the reference sharpness, and the reference image quality parameters includes: Calculate the ratio between the baseline sharpness and the sharpness; If the ratio is greater than a preset second threshold, the initial contrast of the image to be processed is increased by one step value, and the initial brightness of the image is decreased by one step value. If the ratio is less than or equal to the preset second threshold, the initial contrast and initial image brightness of the image to be processed are maintained.

4. A display device, characterized in that, include: At least one processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the image quality adjustment method as described in any one of claims 1 to 3.

5. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the image quality adjustment method as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Image quality adjustment method, smart television and memory medium

    CN108810649A

  • Image-quality adjusting apparatus, image-quality adjusting method, and display apparatus

    CN1841491A