Image display method and device, storage medium and electronic equipment

By converting the image on the terminal device to a grayscale image and enhancing the frequency intensity of the spectral image, the problem of insufficient image clarity on the terminal device screen is solved, and a highly efficient improvement in image display effect is achieved.

CN121963656APending Publication Date: 2026-05-01BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Filing Date
2024-10-29
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

How to display high-resolution images on the limited screen of a terminal device to meet users' high requirements for image quality and display effect.

Method used

The image displayed on the terminal device screen is converted into a grayscale image, Fourier transform is performed to obtain a spectrum image, the frequency intensity is enhanced, and the image is converted into a high-definition image in RGB color space through inverse Fourier transform.

Benefits of technology

It improves image clarity, enhances the user's visual experience, and achieves efficient image updates without the user's awareness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121963656A_ABST
    Figure CN121963656A_ABST
Patent Text Reader

Abstract

The invention provides an image display method and device, a storage medium and electronic equipment, and the method comprises the steps: converting a first image displayed on a screen of terminal equipment into a gray image, and then carrying out the Fourier transform operation of the gray image, and obtaining a first frequency spectrum image corresponding to the gray image. And enhancing the frequency intensity of each frequency in the first frequency spectrum image to obtain a second frequency spectrum image. And performing inverse Fourier transform operation on the second frequency spectrum image to obtain a gray level image corresponding to the second frequency spectrum image, and converting the gray level image corresponding to the second frequency spectrum image into a second image in an RGB color space. And updating the image displayed on the screen of the terminal device from the first image to the second image. According to the image display method provided by the embodiment of the invention, by enhancing the frequency intensity of each frequency in the frequency spectrum image corresponding to the brightness channel, the definition of image display can be improved, and the visual experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of terminal display technology, and in particular to an image display method and apparatus, storage medium and electronic device. Background Technology

[0002] With the continuous development of digital image processing technology, users have increasingly higher requirements for image quality and display effects. Therefore, how to display high-resolution images on the limited screens of terminal devices has become an urgent technical problem to be solved. Summary of the Invention

[0003] In view of the above, embodiments of this disclosure provide an image display method and apparatus, a storage medium and an electronic device.

[0004] According to a first aspect of this disclosure, an image display method is proposed, the method comprising:

[0005] After converting the first image displayed on the screen of the terminal device into a grayscale image, a Fourier transform operation is performed on the grayscale image to obtain the first spectrum image corresponding to the grayscale image;

[0006] By enhancing the frequency intensity of each frequency in the first spectral image, a second spectral image is obtained;

[0007] Perform an inverse Fourier transform operation on the second spectrum image to obtain a grayscale image corresponding to the second spectrum image. After converting the grayscale image corresponding to the second spectrum image into a second image in the RGB color space, update the image displayed on the screen of the terminal device from the first image to the second image.

[0008] In conjunction with any embodiment provided in this disclosure, enhancing the frequency intensity of each frequency in the first spectral image includes any one of the following:

[0009] When it is determined that the proportion of low-frequency regions in the first spectrum image is greater than a first threshold, the frequency intensity of each frequency in the first spectrum image is enhanced; wherein, the magnitude of the enhancement of frequency intensity is negatively correlated with the magnitude of the frequency, and the ratio of the sum of the frequency intensity of each frequency in the low-frequency region to the sum of the frequency intensity of each frequency in the first spectrum image is a second threshold.

[0010] When it is determined that the proportion of low-frequency regions in the first spectrum image is less than a third threshold, the frequency intensity of each frequency in the first spectrum image is enhanced; wherein, the magnitude of the enhancement of the frequency intensity is positively correlated with the magnitude of the frequency, and the third threshold is less than or equal to the first threshold.

[0011] In conjunction with any embodiment provided in this disclosure, when the third threshold is not equal to the first threshold, after obtaining the first spectral image corresponding to the grayscale image, the method further includes:

[0012] When it is determined that the proportion of low-frequency regions in the first spectrum image is between the third threshold and the first threshold, the first image continues to be displayed on the screen of the terminal device.

[0013] In conjunction with any embodiment provided in this disclosure, after performing an inverse Fourier transform operation on the second spectral image to obtain a grayscale image corresponding to the second spectral image, the method further includes:

[0014] When it is determined that there is a target pixel in the grayscale image corresponding to the second spectrum image with a pixel value greater than a preset pixel threshold, the pixel value of the target pixel is adjusted to the preset pixel threshold.

[0015] In any embodiment provided by this disclosure, the third image and the first image are displayed sequentially on the screen of the terminal device;

[0016] The process of enhancing the frequency intensity of each frequency in the first spectral image to obtain a second spectral image includes:

[0017] When it is determined that the spectral distribution similarity between the first spectral image and the spectral image corresponding to the third image is less than or equal to a preset similarity threshold, the frequency intensity of each frequency in the first spectral image is enhanced to obtain the second spectral image.

[0018] In conjunction with any of the embodiments provided in this disclosure, the method further includes;

[0019] When it is determined that the spectral distribution similarity between the first spectral image and the spectral image corresponding to the third image is greater than the preset similarity threshold, the first image continues to be displayed on the screen of the terminal device.

[0020] According to a second aspect of this disclosure, an image display apparatus is provided, the apparatus comprising:

[0021] The image conversion module is used to convert the first image displayed on the screen of the terminal device into a grayscale image, and then perform a Fourier transform operation on the grayscale image to obtain a first spectral image corresponding to the grayscale image.

[0022] A frequency intensity enhancement module is used to enhance the frequency intensity of each frequency in the first spectrum image to obtain a second spectrum image.

[0023] The image update module is used to perform an inverse Fourier transform operation on the second spectrum image to obtain a grayscale image corresponding to the second spectrum image, and after converting the grayscale image corresponding to the second spectrum image into a second image in the RGB color space, update the image displayed on the screen of the terminal device from the first image to the second image.

[0024] In conjunction with any embodiment provided in this disclosure, the frequency intensity enhancement module, when used to enhance the frequency intensity of each frequency in the first spectrum image, includes any one of the following:

[0025] When it is determined that the proportion of low-frequency regions in the first spectrum image is greater than a first threshold, the frequency intensity of each frequency in the first spectrum image is enhanced; wherein, the magnitude of the enhancement of frequency intensity is negatively correlated with the magnitude of the frequency, and the ratio of the sum of the frequency intensity of each frequency in the low-frequency region to the sum of the frequency intensity of each frequency in the first spectrum image is a second threshold.

[0026] When it is determined that the proportion of low-frequency regions in the first spectrum image is less than a third threshold, the frequency intensity of each frequency in the first spectrum image is enhanced; wherein, the magnitude of the enhancement of the frequency intensity is positively correlated with the magnitude of the frequency, and the third threshold is less than or equal to the first threshold.

[0027] In conjunction with any embodiment provided in this disclosure, when the third threshold is not equal to the first threshold, the image display device may further include:

[0028] A first image display module is configured to continue displaying the first image on the screen of the terminal device when it is determined that the proportion of the low-frequency region in the first spectrum image is between the third threshold and the first threshold.

[0029] In conjunction with any embodiment provided in this disclosure, the image display device may further include:

[0030] The pixel value adjustment module is used to adjust the pixel value of the target pixel to the preset pixel threshold when it is determined that there is a target pixel in the grayscale image corresponding to the second spectrum image with a pixel value greater than the preset pixel threshold.

[0031] In any embodiment provided by this disclosure, the third image and the first image are displayed sequentially on the screen of the terminal device.

[0032] The frequency intensity enhancement module, when used to enhance the frequency intensity of each frequency in the first spectrum image to obtain a second spectrum image, includes:

[0033] When it is determined that the spectral distribution similarity between the first spectral image and the spectral image corresponding to the third image is less than or equal to a preset similarity threshold, the frequency intensity of each frequency in the first spectral image is enhanced to obtain the second spectral image.

[0034] In conjunction with any embodiment provided in this disclosure, the image display device may further include:

[0035] The second image display module is used to continue displaying the first image on the screen of the terminal device when it is determined that the spectral distribution similarity between the first spectral image and the spectral image corresponding to the third image is greater than the preset similarity threshold.

[0036] According to a third aspect of this disclosure, a computer-readable storage medium is provided, the machine-readable storage medium storing machine-readable instructions, which, when invoked and executed by a processor, cause the processor to implement an image display method according to any embodiment of this disclosure.

[0037] According to a fourth aspect of this disclosure, an electronic device is provided, comprising:

[0038] processor;

[0039] Memory used to store processor-executable instructions;

[0040] The processor is configured to perform an image display method according to any embodiment of the present disclosure.

[0041] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:

[0042] In the image display method, apparatus, storage medium, and electronic device provided in this disclosure, after converting a first image displayed on the screen of a terminal device into a grayscale image, a Fourier transform operation is performed on the grayscale image to obtain a first spectrum image corresponding to the grayscale image. The frequency intensity of each frequency in the first spectrum image is enhanced to obtain a second spectrum image. An inverse Fourier transform operation is performed on the second spectrum image to obtain a grayscale image corresponding to the second spectrum image. After converting the grayscale image corresponding to the second spectrum image into a second image in the RGB color space, the image displayed on the screen of the terminal device is updated from the first image to the second image. In the image display method provided in this disclosure, by enhancing the frequency intensity of each frequency in the spectrum image corresponding to the luminance channel, the clarity of the image display can be improved, enhancing the user's visual experience.

[0043] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0044] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0045] Figure 1 This is a flowchart illustrating an image display method according to an exemplary embodiment of the present disclosure;

[0046] Figure 2 This is a schematic diagram of a low-frequency region in a spectrum image according to an exemplary embodiment of the present disclosure;

[0047] Figure 3 This is a flowchart illustrating another image display method according to an exemplary embodiment of the present disclosure;

[0048] Figure 4 This is a schematic diagram of the structure of an image display device according to an exemplary embodiment of the present disclosure;

[0049] Figure 5 This is a schematic diagram of the structure of an electronic device according to an exemplary embodiment of the present disclosure. Detailed Implementation

[0050] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. In the following description relating to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements.

[0051] With the continuous development of digital image processing technology, users have increasingly higher requirements for image quality and display effects. Based on this, this disclosure provides an image display method. In this method, the terminal device can improve the clarity of the image display by enhancing the frequency intensity of each frequency in the spectrum image corresponding to the luminance channel. The image display method of this disclosure embodiment will now be described in detail with reference to the accompanying drawings.

[0052] Figure 1 This is a flowchart illustrating an image display method according to an exemplary embodiment of the present disclosure. In specific implementations, this method can be executed by a terminal device, including but not limited to smartphones, tablets, and other devices. Figure 1 As shown, the exemplary embodiment method may include the following steps:

[0053] In step 101, after converting the first image displayed on the screen of the terminal device into a grayscale image, a Fourier transform operation is performed on the grayscale image to obtain the first spectral image corresponding to the grayscale image.

[0054] In this example, to reduce the impact on the colors of the image displayed on the terminal device's screen, after acquiring the first image displayed on the screen (assuming the width of the first image is M and the height is N), the terminal device can convert the first image into a grayscale image. That is, the first image is converted from the RGB (Red, Green, Blue) color space to a color space with Munsell's three elements. For example, it can be converted from the RGB color space to the YUV (Luminance, Chrominance (Blue-Yellow) Chrominance (Red-Cyan)) color space, and only the Y channel, i.e., the luminance channel, is acquired.

[0055] Taking the pixel values ​​of the pixel at position (x, y) in the first image as R(x, y), G(x, y), B(x, y), the transformation formula for converting this pixel from the RGB color space to the YUV color space is as follows:

[0056] Y(x,y)=0.299·R(x,y)+0.587·G(x,y)+0.114·B(x,y) (1)

[0057] U(x,y)=-0.1687·R(x,y)-0.3313·G(x,y)+0.5·B(x,y)+128 (2)

[0058] V(x,y)=0.5·R(x,y)-0.4187·G(x,y)-0.0813·B(x,y)+128 (3)

[0059] In practical applications, each pixel in the first image can be converted from the RGB color space to the YUV color space based on the aforementioned transformation formula, and then the pixel value of the Y channel corresponding to each pixel can be obtained to obtain the grayscale image corresponding to the first image.

[0060] Furthermore, a Fourier transform operation can be performed on the grayscale image to obtain the first spectrum image corresponding to the grayscale image. Taking the pixel at position (x, y) in the aforementioned first image as an example, f(x, y) = the aforementioned Y(x, y), and a Fourier transform operation can be performed on the pixel using the following formula (4):

[0061]

[0062] Where u and v are coordinate parameters, and j is the imaginary unit.

[0063] After the Fourier transform operation, the pixel values ​​R(x,y), G(x,y), and B(x,y) can be converted into the complex frequency values ​​F(u,v) = R(u,v) + jI(u,v), where R(u,v) is the real part and I(u,v) is the imaginary part.

[0064] In practical applications, to facilitate the calculation of the specific distribution of the spectrum, the modulus |F(u,v)| of the aforementioned complex frequency value F(u,v) can be further calculated, and the frequency intensity corresponding to this frequency value can be calculated based on the following formula (5):

[0065] G(u,v)=c·log|F(u,v)| (5)

[0066] In practical applications, a Fourier transform operation can be performed on each pixel in the grayscale image based on the aforementioned steps to obtain a first spectral image corresponding to the grayscale image. The size of this first spectral image is the same as that of the aforementioned first image, with a width of M and a height of N, and the frequency corresponding to the position closer to the center of the spectrum is lower.

[0067] In an optional example, suppose the third image and the aforementioned first image are displayed sequentially on the screen of the terminal device. After obtaining the first spectral image of the first image, the spectral distribution similarity between the first spectral image and the spectral image corresponding to the third image can be calculated. For example, methods such as Mean Squared Error (MSE) and Structural Similarity Index (SSIM) can be used to calculate the spectral distribution similarity between the two spectra.

[0068] When the calculated spectral distribution similarity is greater than a preset similarity threshold, it indicates that the first image has not changed significantly from the third image. In this case, the terminal device maintains the current screen without processing, i.e., continues to display the first image, thereby reducing computation and power consumption. Conversely, when the calculated spectral distribution similarity is less than or equal to the preset similarity threshold, it indicates that the first image has changed significantly from the third image. In this case, subsequent steps are executed to adjust the spectral distribution of the first image.

[0069] In step 102, the frequency intensity of each frequency in the first spectrum image is enhanced to obtain a second spectrum image.

[0070] In an optional example, a low-frequency region can be pre-assumed, which shares the same center and aspect ratio as the aforementioned first spectral image. For example, it could be as follows: Figure 2 As shown, the area of ​​this low-frequency region in the first spectral image is R. Then, the value of R can be calculated as follows:

[0071] In practical implementation, the first sum G of the frequency intensities of each frequency in the first spectrum image can be calculated firstly based on the following formula (6). sum :

[0072]

[0073] Then, calculate the first sum G. sum Multiplying this by a pre-set second threshold T, for example, 50%, yields the second sum G of the frequency intensities of each frequency in the aforementioned low-frequency region. low .

[0074] Finally, the area proportion R of the aforementioned low-frequency region is calculated based on the following equation (7):

[0075]

[0076] From the previous information, we know that the proportion of the low-frequency region in the first spectrum image is R, the width of the first spectrum image is M, and the height is N. Therefore, we can obtain the width of the low-frequency region as follows: Gao Wei

[0077] Optionally, when the proportion of low-frequency regions in the first spectrum image is greater than a first threshold, i.e., the calculated R is greater than the first threshold, for example, greater than 50%, it indicates that the first spectrum image is dominated by low-frequency signals. In this case, the frequency intensity of each frequency in the first spectrum image can be enhanced. The magnitude of the enhancement of frequency intensity is negatively correlated with the frequency magnitude; that is, the lower the frequency, the greater the enhancement of its frequency intensity. For example, the frequency intensity of each frequency in the first spectrum image can be enhanced based on the following formula (8):

[0078]

[0079] In this context, α and γ are numbers greater than 0. In practical applications, the values ​​of α and γ can be set by relevant personnel based on the actual situation. This disclosure does not impose specific limitations on the values ​​of α and γ.

[0080] d is the distance between any frequency point in the first spectrum image and the center of the aforementioned low-frequency region, which can be obtained by the following formula (9):

[0081]

[0082] Among them, M c N c These are the horizontal and vertical coordinates of the center of the low-frequency region, respectively.

[0083] d maxThe farthest distance between each frequency point in the first spectrum image and the center of the aforementioned low-frequency region can be obtained using the following formula (10):

[0084]

[0085] In summary, the lower the frequency, the smaller the distance from the center of the low-frequency region, i.e., the smaller d, and the larger C(u,v), i.e., the greater the increase in frequency intensity.

[0086] Optionally, when the proportion of low-frequency regions in the first spectrum image is less than the third threshold, i.e., the calculated R is less than the third threshold, for example, less than 50%, it indicates that the first spectrum image is dominated by high-frequency signals. In this case, the frequency intensity of each frequency in the first spectrum image can be enhanced. The magnitude of the enhancement of the frequency intensity is positively correlated with the frequency magnitude, i.e., the higher the frequency, the greater the enhancement of the frequency intensity. For example, the frequency intensity of each frequency in the first spectrum image can be enhanced based on the following formula (11):

[0087]

[0088] Wherein, β is a number greater than 0. In practical applications, the value of β can be set by relevant personnel based on the actual situation. This disclosure does not impose specific limitations on the value of β.

[0089] In summary, the higher the frequency, the greater the distance from the center of the low-frequency region, i.e., the larger d is, the larger C(u,v) is, which means the greater the increase in frequency intensity.

[0090] Optionally, when the aforementioned third threshold is not equal to the first threshold, for example, when the aforementioned first threshold is 60% and the third threshold is 40%, the current screen can be kept unprocessed when the proportion of the low-frequency region in the first spectrum image is determined to be between the third threshold and the first threshold, that is, between 40% and 60%, thereby reducing the amount of computation and reducing the power consumption of the terminal device.

[0091] In this step, when it is determined that the first spectrum image is dominated by low-frequency signals, the focus can be on enhancing the frequency intensity of the low-frequency signals, thereby improving the smoothness of the image and increasing the clarity of the image display. Conversely, when it is determined that the first spectrum image is dominated by high-frequency signals, the focus can be on enhancing the frequency intensity of the high-frequency signals, thereby enhancing the details in the image and increasing the clarity of the image display.

[0092] In step 103, an inverse Fourier transform operation is performed on the second spectrum image to obtain a grayscale image corresponding to the second spectrum image. After converting the grayscale image corresponding to the second spectrum image into a second image in the RGB color space, the image displayed on the screen of the terminal device is updated from the first image to the second image.

[0093] In an optional example, after performing an inverse Fourier transform on the second spectral image to obtain the corresponding grayscale image, it can be further determined whether there are target pixels in the grayscale image with pixel values ​​greater than a preset pixel threshold, such as 255. If such a target pixel is found to exist, its pixel value is adjusted to the aforementioned preset pixel threshold. Thus, the pixel values ​​of the Y channel can be obtained.

[0094] Then, based on the calculated pixel values ​​of the Y channel and the aforementioned pixel values ​​of the U and V channels, a second image in the RGB color space can be obtained, and the image displayed on the screen of the terminal device can be updated from the aforementioned first image to the second image.

[0095] In the image display method provided in this embodiment, after converting the first image displayed on the screen of the terminal device into a grayscale image and performing a Fourier transform operation on the grayscale image to obtain a first spectrum image corresponding to the grayscale image, the frequency distribution in the first spectrum image can be analyzed by an algorithm, and the image clarity can be dynamically adjusted based on different frequency distributions, thereby significantly improving the subjective visual effect and viewing comfort. Furthermore, this example method runs quickly in practical applications without being noticed by the user, and can update the first image displayed on the screen to a second image with higher clarity without the user's awareness.

[0096] Figure 3 This is a flowchart illustrating another image display method according to an exemplary embodiment of this disclosure. In this embodiment, the same steps as in the foregoing embodiments will be briefly described and will not be detailed further; however, please refer to any of the foregoing embodiments for specific details. Figure 3 As shown, the exemplary embodiment method may include the following steps:

[0097] In step 301, after converting the first image displayed on the screen of the terminal device into a grayscale image, a Fourier transform operation is performed on the grayscale image to obtain the first spectral image corresponding to the grayscale image.

[0098] In step 302, it is determined whether the first image is the first image displayed after the terminal device is turned on this time.

[0099] If so, proceed to step 304.

[0100] If not, proceed to step 303.

[0101] In step 303, it is determined whether the spectral distribution similarity between the first spectral image and the spectral image corresponding to the third image previously displayed on the terminal device is greater than a preset similarity threshold.

[0102] If so, proceed to step 305.

[0103] If not, proceed to step 304.

[0104] In step 304, it is determined whether the proportion of low-frequency regions in the first spectral image is greater than a first threshold.

[0105] If so, proceed to step 306.

[0106] If not, proceed to step 307.

[0107] In step 305, the process ends.

[0108] In step 306, the frequency intensity of each frequency in the first spectral image is enhanced, wherein the magnitude of the enhancement of the frequency intensity is negatively correlated with the magnitude of the frequency.

[0109] In step 307, it is determined whether the proportion of low-frequency regions in the first spectral image is less than a third threshold.

[0110] The third threshold is less than the first threshold.

[0111] If so, proceed to step 308.

[0112] If not, proceed to step 305.

[0113] In step 308, the frequency intensity of each frequency in the first spectrum image is enhanced to obtain a second spectrum image, wherein the magnitude of the enhancement of the frequency intensity is positively correlated with the magnitude of the frequency.

[0114] In step 309, an inverse Fourier transform operation is performed on the second spectral image to obtain a grayscale image corresponding to the second spectral image.

[0115] In step 310, it is determined whether there are target pixels in the grayscale image whose pixel values ​​are greater than a preset pixel threshold.

[0116] The preset pixel threshold for the forward speed can be 255.

[0117] If it exists, proceed to step 311.

[0118] If it does not exist, proceed to step 312.

[0119] In step 311, the pixel value of the target pixel is adjusted to the preset pixel threshold.

[0120] In step 312, after converting the grayscale image corresponding to the second spectrum image into a second image in the RGB color space, the image displayed on the screen of the terminal device is updated from the first image to the second image.

[0121] In the image display method provided in this embodiment, when it is determined that the frequency signal in the first spectrum image is mainly low-frequency, the focus can be on enhancing the frequency intensity of the low-frequency signal, thereby improving the smoothness of the image and increasing the clarity of the image display. Conversely, when it is determined that the frequency signal in the first spectrum image is mainly high-frequency, the focus can be on enhancing the frequency intensity of the high-frequency signal, thereby enhancing the details in the image and increasing the clarity of the image display.

[0122] For the foregoing method embodiments, in order to simplify the description, they are all described as a series of actions. However, those skilled in the art should know that this disclosure is not limited to the described order of actions, because according to this disclosure, some steps may be performed in other orders or simultaneously.

[0123] Figure 4 This is a schematic diagram illustrating the structure of an image display device according to an exemplary embodiment of the present disclosure, such as... Figure 4 As shown, the image display device may include:

[0124] The image conversion module 41 is used to perform a Fourier transform operation on the grayscale image after converting the first image displayed on the screen of the terminal device into a grayscale image, so as to obtain a first spectrum image corresponding to the grayscale image.

[0125] The frequency intensity enhancement module 42 is used to enhance the frequency intensity of each frequency in the first spectrum image to obtain a second spectrum image.

[0126] The image update module 43 is used to perform an inverse Fourier transform operation on the second spectrum image to obtain a grayscale image corresponding to the second spectrum image, and after converting the grayscale image corresponding to the second spectrum image into a second image in the RGB color space, update the image displayed on the screen of the terminal device from the first image to the second image.

[0127] Optionally, the frequency intensity enhancement module 42, when used to enhance the frequency intensity of each frequency in the first spectrum image, includes any one of the following:

[0128] When it is determined that the proportion of low-frequency regions in the first spectrum image is greater than a first threshold, the frequency intensity of each frequency in the first spectrum image is enhanced; wherein, the magnitude of the enhancement of frequency intensity is negatively correlated with the magnitude of the frequency, and the ratio of the sum of the frequency intensity of each frequency in the low-frequency region to the sum of the frequency intensity of each frequency in the first spectrum image is a second threshold.

[0129] When it is determined that the proportion of low-frequency regions in the first spectrum image is less than a third threshold, the frequency intensity of each frequency in the first spectrum image is enhanced; wherein, the magnitude of the enhancement of the frequency intensity is positively correlated with the magnitude of the frequency, and the third threshold is less than or equal to the first threshold.

[0130] Optionally, when the third threshold is not equal to the first threshold, in Figure 4 Based on the module shown, the image display device may further include:

[0131] A first image display module is configured to continue displaying the first image on the screen of the terminal device when it is determined that the proportion of the low-frequency region in the first spectrum image is between the third threshold and the first threshold.

[0132] Optional, in Figure 4 Based on the module shown, the image display device may further include:

[0133] The pixel value adjustment module is used to adjust the pixel value of the target pixel to the preset pixel threshold when it is determined that there is a target pixel in the grayscale image corresponding to the second spectrum image with a pixel value greater than the preset pixel threshold.

[0134] Optionally, the third image and the first image are displayed sequentially on the screen of the terminal device.

[0135] The frequency intensity enhancement module 42, when used to enhance the frequency intensity of each frequency in the first spectrum image to obtain a second spectrum image, includes:

[0136] When it is determined that the spectral distribution similarity between the first spectral image and the spectral image corresponding to the third image is less than or equal to a preset similarity threshold, the frequency intensity of each frequency in the first spectral image is enhanced to obtain the second spectral image.

[0137] Optional, in Figure 4 Based on the module shown, the image display device may further include:

[0138] The second image display module is used to continue displaying the first image on the screen of the terminal device when it is determined that the spectral distribution similarity between the first spectral image and the spectral image corresponding to the third image is greater than the preset similarity threshold.

[0139] For the apparatus embodiment, since it basically corresponds to the method embodiment, the relevant parts can be referred to in the description of the method embodiment.

[0140] Accordingly, this disclosure provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute an image display method according to any embodiment of this disclosure.

[0141] Figure 5 This is a schematic diagram illustrating the structure of an electronic device 600 according to an exemplary embodiment of the present disclosure. For example, the electronic device 500 may be a terminal device, including but not limited to smartphones, tablet computers, and other devices.

[0142] Reference Figure 5 The electronic device 500 may include one or more of the following components: processing component 502, memory 504, power supply component 506, multimedia component 508, audio component 510, input / output (I / O) interface 512, sensor component 514, and communication component 516.

[0143] Processing component 502 typically controls the overall operation of electronic device 500, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 502 may include one or more processors 520 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 502 may include one or more modules to facilitate interaction between processing component 502 and other components. For example, processing component 502 may include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502.

[0144] Memory 504 is configured to store various types of data to support the operation of device 500. Examples of this data include instructions for any application or method operating on electronic device 500, contact data, phonebook data, messages, pictures, videos, etc. Memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0145] Power supply component 506 provides power to various components of electronic device 500. Power supply component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 500.

[0146] Multimedia component 508 includes a screen that provides an output interface between the aforementioned electronic device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 508 includes a front-facing camera and / or a rear-facing camera. When the electronic device 500 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0147] Audio component 510 is configured to output and / or input audio signals. For example, audio component 510 includes a microphone (MIC) configured to receive external audio signals when electronic device 500 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 504 or transmitted via communication component 516. In some embodiments, audio component 510 also includes a speaker for outputting audio signals.

[0148] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0149] Sensor assembly 514 includes one or more sensors for providing state assessments of various aspects of electronic device 500. For example, sensor assembly 514 can detect the on / off state of electronic device 500, the relative positioning of components such as the display and keypad of electronic device 500, changes in position of electronic device 500 or a component of electronic device 500, the presence or absence of user contact with electronic device 500, orientation or acceleration / deceleration of electronic device 500, and temperature changes of electronic device 500. Sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 514 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0150] Communication component 516 is configured to facilitate wired or wireless communication between electronic device 500 and other devices. Electronic device 500 can access wireless networks based on communication standards, such as WiFi, 10G or 5G, 10G LTE, 5G NR, or combinations thereof. In one exemplary embodiment, communication component 516 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the aforementioned communication component 516 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0151] In an exemplary embodiment, the electronic device 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.

[0152] In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as a memory 504 including instructions, which, when executed by a processor 520 of an electronic device 500, enables the electronic device 500 to perform the image display method of any embodiment of the present disclosure.

[0153] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. An image display method, characterized in that, The method includes: After converting the first image displayed on the screen of the terminal device into a grayscale image, a Fourier transform operation is performed on the grayscale image to obtain the first spectrum image corresponding to the grayscale image; By enhancing the frequency intensity of each frequency in the first spectral image, a second spectral image is obtained; Perform an inverse Fourier transform operation on the second spectrum image to obtain a grayscale image corresponding to the second spectrum image. After converting the grayscale image corresponding to the second spectrum image into a second image in the RGB color space, update the image displayed on the screen of the terminal device from the first image to the second image.

2. The method according to claim 1, characterized in that, Enhancing the frequency intensity of each frequency in the first spectral image includes any one of the following: When it is determined that the proportion of low-frequency regions in the first spectrum image is greater than a first threshold, the frequency intensity of each frequency in the first spectrum image is enhanced; wherein, the magnitude of the enhancement of frequency intensity is negatively correlated with the magnitude of the frequency, and the ratio of the sum of the frequency intensity of each frequency in the low-frequency region to the sum of the frequency intensity of each frequency in the first spectrum image is a second threshold. When it is determined that the proportion of low-frequency regions in the first spectrum image is less than a third threshold, the frequency intensity of each frequency in the first spectrum image is enhanced; wherein, the magnitude of the enhancement of the frequency intensity is positively correlated with the magnitude of the frequency, and the third threshold is less than or equal to the first threshold.

3. The method according to claim 2, characterized in that... When the third threshold is not equal to the first threshold, after obtaining the first spectral image corresponding to the grayscale image, the method further includes: When it is determined that the proportion of low-frequency regions in the first spectrum image is between the third threshold and the first threshold, the first image continues to be displayed on the screen of the terminal device.

4. The method according to claim 1, characterized in that, After performing an inverse Fourier transform operation on the second spectral image to obtain the grayscale image corresponding to the second spectral image, the method further includes: When it is determined that there is a target pixel in the grayscale image corresponding to the second spectrum image with a pixel value greater than a preset pixel threshold, the pixel value of the target pixel is adjusted to the preset pixel threshold.

5. The method according to claim 1, characterized in that, The terminal device displays the third image and the first image sequentially on its screen; The process of enhancing the frequency intensity of each frequency in the first spectral image to obtain a second spectral image includes: When it is determined that the spectral distribution similarity between the first spectral image and the spectral image corresponding to the third image is less than or equal to a preset similarity threshold, the frequency intensity of each frequency in the first spectral image is enhanced to obtain the second spectral image.

6. The method according to claim 5, characterized in that, The method further includes; When it is determined that the spectral distribution similarity between the first spectral image and the spectral image corresponding to the third image is greater than the preset similarity threshold, the first image continues to be displayed on the screen of the terminal device.

7. An image display device, characterized in that, The device includes: The image conversion module is used to convert the first image displayed on the screen of the terminal device into a grayscale image, and then perform a Fourier transform operation on the grayscale image to obtain a first spectral image corresponding to the grayscale image. A frequency intensity enhancement module is used to enhance the frequency intensity of each frequency in the first spectrum image to obtain a second spectrum image. The image update module is used to perform an inverse Fourier transform operation on the second spectrum image to obtain a grayscale image corresponding to the second spectrum image, and after converting the grayscale image corresponding to the second spectrum image into a second image in the RGB color space, update the image displayed on the screen of the terminal device from the first image to the second image.

8. The apparatus according to claim 7, characterized in that, The frequency intensity enhancement module, when used to enhance the frequency intensity of each frequency in the first spectrum image, includes any one of the following: When it is determined that the proportion of low-frequency regions in the first spectrum image is greater than a first threshold, the frequency intensity of each frequency in the first spectrum image is enhanced; wherein, the magnitude of the enhancement of frequency intensity is negatively correlated with the magnitude of the frequency, and the ratio of the sum of the frequency intensity of each frequency in the low-frequency region to the sum of the frequency intensity of each frequency in the first spectrum image is a second threshold. When it is determined that the proportion of low-frequency regions in the first spectrum image is less than a third threshold, the frequency intensity of each frequency in the first spectrum image is enhanced; wherein, the magnitude of the enhancement of the frequency intensity is positively correlated with the magnitude of the frequency, and the third threshold is less than or equal to the first threshold.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the program implements the steps of the method described in any one of claims 1-6.

10. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the steps of the method according to any one of claims 1-6.