Image display method and device, electronic equipment, storage medium and program product
By adjusting the display parameters of the display screen when the folding screen is unfolded and optimizing the image display effect, the problems of poor image display and heavy workload in the existing technology are solved, and efficient and low-power image display optimization is achieved.
Patent Information
- Application Number
- CN202410437534.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-11
- Publication Date
- 2025-10-21
AI Technical Summary
When a foldable screen electronic device is in the unfolded state, the image display effect is poor. Existing technologies improve the effect by increasing the underlying output image size of the image acquisition module or adjusting the acquisition parameters, but this leads to increased power consumption, stability issues and excessive workload.
By detecting the status of the foldable screen and adjusting the display parameters of the display to the preset target display parameters in large-screen display mode, including PPI, brightness, color gamut and sharpness, the image display effect is optimized without the need for pixel-level processing or debugging each image acquisition module for different modes.
It improves image display effects, reduces power consumption and processing time, reduces workload, enhances intelligence and stability, and avoids functional problems.
Smart Images

Figure CN120823779A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of image display technology, and in particular to an image display method and device, electronic equipment, storage medium, and program product. Background Art
[0002] With the rapid development of technology, electronic devices are adopting a variety of display screen sizes to achieve richer functions and more convenient operation. Some devices even allow the screen size to be switched during use, such as foldable phones and displays that support switching between local and global display. However, when the display is in large-screen mode, such as when the foldable screen is unfolded or the display is in global display, there is a problem of poor image display quality. Summary of the Invention
[0003] To overcome the problems existing in the related art, the present disclosure provides an image display method and device, an electronic device, a storage medium, and a program product.
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided an image display method, the method comprising:
[0005] Get the image to be displayed;
[0006] In response to the display screen being in the large-screen display mode, adjusting the display parameters of the display screen to preset target display parameters;
[0007] The display screen is controlled to display the image with the adjusted display parameters in a large-screen display mode.
[0008] In some embodiments, the display screen is a folding screen, and the method further includes:
[0009] detecting a state of the folding screen;
[0010] In response to the folding screen being in the unfolded state, determining that the folding screen is in the large-screen display mode.
[0011] In some embodiments, the method further comprises:
[0012] controlling the display screen to display a preset image in the large-screen display mode based on a plurality of preset display parameters;
[0013] Based on the image display effects of the display screen under various display parameters, the display parameters that meet preset display effect conditions are determined as the target display parameters.
[0014] In some embodiments, the method further comprises:
[0015] Determining a first acquisition parameter of a first image acquisition module;
[0016] The step of obtaining an image to be displayed includes:
[0017] In response to detecting an instruction to start a camera application, a preview image to be displayed is captured based on the first image capture module and the first capture parameters.
[0018] In some embodiments, the determining of the first acquisition parameter of the first image acquisition module includes:
[0019] The first acquisition parameter is determined based on a second acquisition parameter of a second image acquisition module other than the first image acquisition module, wherein a difference between the first acquisition parameter and the second acquisition parameter is less than a preset difference threshold.
[0020] In some embodiments, in response to the display screen being in the large-screen display mode, adjusting the display parameters of the display screen includes:
[0021] In response to the display screen being in the large-screen display mode, adjusting at least one of the following parameters of the display screen:
[0022] Adjust the PPI of the display screen, where the PPI is the number of pixels per inch.
[0023] adjusting the brightness of the display screen;
[0024] adjusting the color gamut of the display screen;
[0025] adjusting the contrast of the display screen;
[0026] Adjust the sharpness of the display screen.
[0027] According to a second aspect of an embodiment of the present disclosure, there is provided an image display method and apparatus, the apparatus comprising:
[0028] an acquisition unit configured to acquire an image to be displayed;
[0029] an adjusting unit configured to adjust a display parameter of the display screen to a preset target display parameter in response to the display screen being in a large-screen display mode;
[0030] The first control unit is configured to control the display screen to display the image with adjusted display parameters in the large-screen display mode.
[0031] In some embodiments, the display screen is a folding screen, and the device further includes:
[0032] a detection unit configured to detect a state of the folding screen;
[0033] The first determining unit is configured to determine that the folding screen is in the large-screen display mode in response to the folding screen being in the unfolded state.
[0034] In some embodiments, the apparatus further comprises:
[0035] a second control unit configured to control the display screen to display a preset image in the large-screen display mode based on a plurality of preset display parameters;
[0036] The second determining unit is configured to determine the display parameters that meet the preset display effect conditions as the target display parameters based on the image display effects of the display screen under various display parameters.
[0037] In some embodiments, the apparatus further comprises:
[0038] a third determining unit, configured to determine a first acquisition parameter of the first image acquisition module;
[0039] The acquisition unit is further configured to, in response to detecting an instruction to start a camera application, acquire a preview image to be displayed based on the first image acquisition module and using the first acquisition parameters.
[0040] In some embodiments, the third determination unit is further configured to determine the first acquisition parameter based on a second acquisition parameter of a second image acquisition module outside the first image acquisition module, wherein the difference between the first acquisition parameter and the second acquisition parameter is less than a preset difference threshold.
[0041] In some embodiments, the adjustment unit is further configured to adjust at least one of the following parameters of the display screen in response to the display screen being in the large-screen display mode:
[0042] Adjust the PPI of the display screen, where the PPI is the number of pixels per inch.
[0043] adjusting the brightness of the display screen;
[0044] adjusting the color gamut of the display screen;
[0045] adjusting the contrast of the display screen;
[0046] Adjust the sharpness of the display screen.
[0047] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0048] processor;
[0049] memory for storing computer programs or instructions;
[0050] The processor executes the computer program or instructions to implement the steps of any one of the methods in the first aspect of the embodiments of the present disclosure.
[0051] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, which stores a computer program or instructions. When the computer program or instructions in the storage medium are executed by a processor, the steps of any one of the methods described in the first aspect of the embodiment of the present disclosure are implemented.
[0052] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, comprising a computer program or instructions, which, when executed by a processor, implement the steps of any one of the methods described in the first aspect of an embodiment of the present disclosure.
[0053] The technical solutions provided by the embodiments of the present disclosure may have the following beneficial effects:
[0054] Since the display parameters of the display screen have an important influence on the image display effect presented by the display screen, this solution adjusts the display screen parameters in the large-screen display mode of the display screen to preset target display parameters, so that the effect of displaying the image with the adjusted display parameters in the large-screen display mode is better than the display effect before the display parameters are adjusted. Compared with the method in the related art of improving the image display effect of the display screen by increasing the size of the camera's bottom output image or re-adjusting the image display effect of the expanded screen, on the one hand, the image display effect is improved from the perspective of adjusting the display parameters of the display without performing pixel-level processing on the image, thereby reducing the aforementioned functional or stability problems, and reducing the processing time and power consumption of the electronic device; on the other hand, this solution only needs to determine the preset target display parameters of the display screen with better display effect. By switching the determined preset target display parameters of the display screen, the image display effect in the large-screen display mode of the display screen can be improved. There is no need to debug each image acquisition module for different display modes, thereby greatly reducing the workload and the solution is more intelligent.
[0055] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0057] Figure 1 This is a structural example block diagram of a foldable screen mobile phone.
[0058] Figure 2A This is an example of the bottom-layer output size of a foldable screen mobile phone.
[0059] Figure 2BThis is an example of how to modify the display image size on a foldable phone.
[0060] Figure 3 This is a comparison chart of two effect debugging methods for folding screen mobile phones.
[0061] Figure 4 The figure is a flowchart of an image display method according to an exemplary embodiment.
[0062] Figure 5 The figure is a comparative example diagram showing image display effects before and after adjusting display parameters of a display according to an exemplary embodiment.
[0063] Figure 6 is a principle diagram of an image display method according to an exemplary embodiment.
[0064] Figure 7 is a block diagram of an image display device according to an exemplary embodiment.
[0065] Figure 8 The figure is a structural block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0066] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
[0067] Generally, common electronic devices in our lives include mobile phones, tablets, vehicles, computers, etc. Based on the demand for more and more complex displays, some electronic devices that can switch the display size of the display screen have appeared on the market. For example, a single display screen can support local display and global display, and electronic devices with foldable screens (such as foldable screen mobile phones) can be folded for single-screen display or unfolded for multi-screen display.
[0068] Figure 1 This is a structural example diagram of a folding screen mobile phone, such as Figure 1 As shown, the folding screen mobile phone includes an outer screen L1 and an inner screen L2. Figure 1 The right display screen of the phone is the external screen L1, which is used to display images when the phone is folded; Figure 1 The entire large-size display screen on the back of the middle and outer screens L1 is the inner screen L2. When the folding screen of the mobile phone is unfolded, the inner screen L2 is used to display images. The display size of the inner screen is about twice that of the outer screen.
[0069] Figure 2A This is an example of the bottom-level image size of a folding screen mobile phone, such as Figure 2A As shown, when the inner screen is unfolded and the outer screen is folded, the size of the image output by the camera of the mobile phone is basically the same. In order to meet the requirement of displaying the image on the inner screen in the unfolded state, the related technology 1 can enlarge the collected image.
[0070] Figure 2B This is an example of how to modify the display image size on a foldable phone. Figure 2B As shown, since the inner screen is approximately twice the size of the outer screen in the unfolded state, but the camera output size remains the same, the image can be magnified, for example, by a factor of two, and displayed on the inner screen. However, when an image of the same size is magnified, the number of pixels does not increase. This results in each pixel covering a larger display area, reducing the image's display resolution. Consequently, when the inner screen is unfolded, the user experiences reduced detail and clarity in the magnified image, resulting in poor image quality. Furthermore, image magnification is processed at the pixel level, requiring a large number of pixels to be processed, which can lead to high power consumption and long processing times. If the time required to process each frame exceeds the device's sustained frame rate, video frame drops may occur. The increased power consumption caused by the increased image size can also cause device overheating, impacting the stability of the electronic device and potentially leading to functional issues. Furthermore, when the image acquisition module's underlying output image size changes, additional effort is required to modify the software camera mode to adapt to the image size, ensuring coordination between hardware and software.
[0071] Another approach in related technology 2 involves calibrating the image acquisition module in the hope of improving image display quality through higher-quality output. Taking the aforementioned foldable phone as an example, this involves calibrating the image acquisition parameters for the phone's unfolded inner screen. This involves adjusting the image quality of the captured images from the lens in the image acquisition module, such as color correction, noise reduction, sharpening, color balance, and white balance. This approach improves image quality from the source by adjusting the image quality parameters for images captured when the inner screen is unfolded. However, due to the large number of image acquisition modules in foldable phones, a large number of lenses require calibration, including wide-angle, ultra-wide-angle, and telephoto lenses. Furthermore, the calibration process requires not only calibrating the unfolded inner screen but also the folded outer screen to meet its display requirements, doubling the workload. After calibrating the image quality, software developers must encode the image quality parameters for both the inner and outer screens, and testers must perform separate image quality tests for both the inner and outer screens, all of which increase the workload.
[0072] Figure 3This is a comparison chart of two effect debugging methods for foldable screen mobile phones. Figure 3 As shown, T1 is a related art method in which the image size of the bottom output image of the image acquisition module is increased so that the image is magnified and displayed in the expanded state of the inner screen, as shown in FIG. Figure 3 As shown, the aforementioned functional and stability problems may be introduced, such as a significant increase in power consumption when taking photos, an increase of about 30%, a drop in the continuous shooting frame rate from 30 frames per second to about 26 frames per second, and a significant increase in the photo-taking time. T2 is related technology 2, which improves the display effect when the inner screen is unfolded by adjusting the image acquisition parameters of the folding screen. As mentioned above, the two sets of image acquisition quality parameters of the unfolded inner screen and the folded outer screen of the folding screen are adjusted. The whole process involves adjustment, and the workload of personnel in the software, testing and other links increases, and the investment in R&D resources becomes larger.
[0073] The image display solutions of the above two electronic devices when the inner screen of the folding screen is unfolded cannot simultaneously meet user needs and current actual R&D investment conditions, and there is still a lot of room for improvement.
[0074] In this regard, the present disclosure provides an image display method. Figure 4 FIG. 1 is a flow chart of an image display method according to an exemplary embodiment, which is applied to an electronic device including a display screen. Figure 4 As shown, the method mainly includes the following steps:
[0075] In step S41, an image to be displayed is obtained;
[0076] In step S42, in response to the display screen being in the large-screen display mode, adjusting the display parameters of the display screen to preset target display parameters;
[0077] In step S43, the display screen is controlled to display the image with the adjusted display parameters in the large-screen display mode.
[0078] The image display method provided in the embodiments of the present disclosure may be executed by an electronic device including a display screen, wherein the electronic device may be a user equipment (UE), a mobile device, a user terminal, a mobile phone, a tablet computer, a personal digital assistant (PDA), a handheld device, a computing device, an in-vehicle device, a wearable device, etc. In some possible implementations, the image display method may be implemented by a processor invoking computer-readable instructions stored in a memory.
[0079] In step S41, the electronic device obtains an image to be displayed. The image to be displayed may be a digital image file stored in the electronic device, such as a picture, icon, or video frame. These images may be images acquired by an image acquisition module in the electronic device, or images downloaded from a network or transferred to an image library of the electronic device by other means. In the disclosed embodiment, the image to be displayed may also be an image to be previewed and displayed upon activation of a camera application of the electronic device, but this is not limited in the disclosed embodiment.
[0080] In step S42, the electronic device adjusts the display parameters of the display screen to preset target display parameters in response to the display screen being in large-screen display mode. The large-screen display mode refers to the electronic device displaying at a display size greater than a preset display size threshold when supporting multiple display sizes. In the large-screen mode, the display size is not the minimum value of the display size supported by the electronic device. In some embodiments, the electronic device may include a single display screen, and the large-screen display mode may be a full-screen display mode. Correspondingly, in a non-large-screen display mode, the electronic device may perform partial display on a single display screen. In other embodiments, the electronic device may also be a folding screen, and the folding screen may also be two or more display screens. The large-screen display mode may be to display using at least two screens unfolded. Correspondingly, in a non-large-screen display mode, the electronic device may display using one of the display screens when the folding screen is in a folded state.
[0081] In an embodiment of the present disclosure, when the electronic device detects that the display screen is in the large-screen display mode, it adjusts the display parameters of the display screen to the preset target display parameters so that the display screen can display images based on the adjusted display parameters in step S43. The preset target display parameters refer to the display parameters of the display that are set in advance to meet the user's image display requirements. Setting the preset target display parameters can make the display parameters more quickly adjusted. The display effect of the image can be the clarity, color saturation, color reproduction, contrast or noise of the image. In some embodiments, the display effect of the image can be improved by adjusting at least one of the following parameters of the display screen: adjusting the PPI of the display screen, where the PPI is the number of pixels per inch; adjusting the brightness of the display screen; adjusting the color gamut of the display screen; adjusting the contrast of the display screen; and adjusting the sharpness of the display screen. Generally, the higher the PPI value, the more pixels there are per unit area, and the better the image details and sharpness. Therefore, a high-PPI display screen can usually provide better sharpening effects; a high-brightness and high-contrast display screen can better highlight the details and layering of the image, enhancing the visual effect; sharpness is to compensate for the outline of the image, enhance the edges of the image and the grayscale jump parts. Setting the appropriate display sharpness will also make the image display clear. In addition, the sharpness of the display screen is also related to factors such as PPI, brightness and contrast in the display parameters.
[0082] In some embodiments, under experimental conditions, display parameters with better display effects when the electronic device is in large-screen display mode can be determined, so that the actual display can be performed based on the better display parameters; in other embodiments, the electronic device may also include an evaluation algorithm for the display parameters of the display screen. For example, after the electronic device obtains the image to be displayed, it temporarily simulates the display parameters of the display screen based on the image, and then the evaluation algorithm for the display parameters of the display screen can display the simulated display parameters and evaluate the display effect.
[0083] It should be noted that the adjustment of the display parameters of the display screen in the large-screen display mode in the disclosed embodiment does not affect the display parameters of the display screen in the non-large-screen mode. In addition, in the disclosed embodiment, when the electronic device adjusts the display parameters of the display screen in the large-screen display mode, if it affects the folding and unfolding switching of the display screen, killing background processes, turning the display screen off or on, etc., the electronic device can restore the display parameters of the display screen to the display parameters before the adjustment to maintain the stability of the electronic device's operation.
[0084] In the embodiment of the present disclosure, the effect of displaying an image with the adjusted display parameters in the large-screen display mode is better than the effect of displaying an image before the display parameters are adjusted. For example, if the display parameter is the sharpness of the display, the sharpness is closely related to factors such as the resolution, pixel density, color gamut, and contrast of the display. Figure 5FIG. 1 is a comparative example diagram showing image display effects before and after adjusting display parameters of a display according to an exemplary embodiment. Figure 5 As shown in FIG. 1 , the effect of the image P1 displayed using the display parameters before the display screen is adjusted is worse than the effect of the image P2 displayed using the display parameters after the display screen is adjusted. The clarity of the image shown in P2 is better than the clarity of the image shown in P1. The sharpness of the display before adjustment can be 0, and the sharpness of the display after adjustment is 60% as shown in the figure. For example, in this case, the preset target display parameters can be set to Figure 5 The sharpness is 60%. It is understandable that since the display parameters of the display screen have a significant impact on the image display effect presented by the display screen, this solution adjusts the display parameters of the display screen in the large-screen display mode to the preset target display parameters, so that the image display effect with the adjusted display parameters in the large-screen display mode is better than the display effect before the display parameters are adjusted. Compared with the related art method of improving the image display effect of the display screen by increasing the size of the camera bottom output image or re-adjusting the image display effect of the expanded screen, on the one hand, the image display effect is improved from the perspective of adjusting the display parameters of the display without performing pixel-level processing on the image, thereby reducing the aforementioned functional or stability problems, and reducing the processing time and power consumption of the electronic device; on the other hand, this solution only needs to determine the preset target display parameters of the display screen with better display effect. By switching the determined preset target display parameters of the display screen, the image display effect of the display screen in the large-screen display mode can be improved. There is no need to debug each image acquisition module for different display modes, thereby greatly reducing the workload and the solution is more intelligent.
[0085] In some embodiments, the display screen is a folding screen, and the method further includes:
[0086] detecting a state of the folding screen;
[0087] In response to the folding screen being in the unfolded state, determining that the folding screen is in the large-screen display mode.
[0088] The display screen in the embodiment of the present disclosure is a folding screen, including two or more screens. The state of the folding screen includes the unfolded state and the folded state, as described above. Figure 1 As shown, the unfolded state refers to the state when the inner screen L2 of the foldable screen mobile phone is unfolded, and the folded state refers to the state when only the outer screen L1 is used. It should be noted that in the embodiment of the present disclosure, when the display screen includes more than two screens, the unfolded state can be at least two adjacent screens unfolded.
[0089] In the embodiment of the present disclosure, the electronic device can detect the current state of the folding screen through built-in sensors and software algorithms. For example, a folding screen mobile phone is usually equipped with some sensors, such as Hall sensors, pressure sensors, etc., which can detect the opening and closing state of the display screen, the folding angle, etc. When the screen is folded or unfolded, the sensor will detect the corresponding physical changes and transmit the signal to the processor for processing. For example, the software algorithm in the folding screen mobile phone will also monitor and judge the state of the display screen. By analyzing information such as the geometric shape, size and angle of the display screen, the software algorithm can accurately determine the current state of the display screen.
[0090] In the embodiment of the present disclosure, since the display screen size of the folding screen in the unfolded state is relatively large, the electronic device can determine the display mode of the folding screen in the unfolded state as the large-screen display mode.
[0091] It can be understood that in the disclosed embodiments, the electronic device detects the state of the foldable screen and, when the foldable screen is in the unfolded state, determines the foldable screen's display mode to be the large-screen display mode. This solution is simple and effective. Furthermore, the disclosed embodiment applies the image display optimization solution to foldable screens, enabling foldable screen electronic devices, which frequently switch screens during use, to optimize image display functions in the foldable screen's large-screen display mode in the simplest and most effective manner.
[0092] In some embodiments, the method further comprises:
[0093] controlling the display screen to display a preset image in the large-screen display mode based on a plurality of preset display parameters;
[0094] Based on the image display effects of the display screen under various display parameters, the display parameters that meet preset display effect conditions are determined as the target display parameters.
[0095] In the embodiment of the present disclosure, the target display parameters are determined based on the image display effect of the display screen under each preset display parameter. Taking the display parameter as an example of the sharpness of the display screen, the sharpness level in the display parameter can be: 0% (default intensity), 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, 100%, etc. The larger the value of the sharpness level, the stronger the sharpening and the higher the image clarity. In the embodiment of the present disclosure, a configuration file including the display parameters of the above-mentioned different sharpening levels can be set, and the tester configures the above-mentioned configuration file including different sharpening intensities into the mobile phone to test the display effect of the mobile phone display.
[0096] In the disclosed embodiments, the electronic device determines display parameters that meet preset display effect conditions as target display parameters, where the preset display effect conditions can be understood as image display conditions that meet the characteristics of the display screen and the needs of the user. By using preset display effect conditions, such as whether the image clarity of each lens can be enhanced, whether the brightness and color of the image quality are affected, whether noise in the image quality is increased, whether the fonts in the image display are strongly edged with black and white, and whether the fonts in message pop-up windows are over-sharpened, etc., target display parameters that meet the user's usage needs, such as the target sharpness level, can be effectively determined.
[0097] It should be noted that the above process of determining the target display parameters can be determined based on the tester's viewing of the displayed image. For example, the tester can determine the display parameters with the best image display effect based on the image displayed by the display parameters with different sharpening intensities, and inform the electronic device of the display parameters in the form of voice instructions or control operations so that the electronic device determines the display parameters as the target display parameters. In addition, in the embodiment of the present disclosure, when determining the target display parameters, display parameters that do not increase the noise in the image quality, do not cause the fonts in the picture to have strong black and white edges, and do not cause the fonts of the message pop-up window to be over-sharpened can be determined as the target display parameters.
[0098] It can be understood that the embodiment of the present disclosure determines the display parameters that meet the preset display effect conditions as the target display parameters based on the image display effect of the display screen under various display parameters, so that the electronic device can display the image based on the display parameters with better display effect when in the actual large-screen display mode, and display an image that better meets user needs and has a high display effect.
[0099] In some embodiments, the method further comprises:
[0100] Determining a first acquisition parameter of a first image acquisition module;
[0101] The step of obtaining an image to be displayed includes:
[0102] In response to detecting an instruction to start a camera application, a preview image to be displayed is captured based on the first image capture module and the first capture parameters.
[0103] In an embodiment of the present disclosure, an electronic device determines first acquisition parameters of a first image acquisition module. An image acquisition module is an electronic component used to capture images, typically consisting of a camera, an image sensor, a signal processing circuit, and other components. It converts images from a real scene into digital signals, which are then processed, analyzed, and stored by a computer or other device. Acquisition parameters refer to parameters that the image acquisition module needs to set during the image acquisition process, such as the aforementioned color correction, noise reduction, sharpening, color balance, and white balance.
[0104] In an embodiment of the present disclosure, the electronic device, in response to detecting an instruction to start a camera application, captures a preview image to be displayed based on a first image capture module and first capture parameters. Based on the solution of the embodiment of the present disclosure, the preview image can present a better display effect in the large-screen display mode based on the display parameters of the adjusted display screen.
[0105] For example, in an embodiment of the present disclosure, the electronic device can identify the status of the camera application and the expanded screen, and then switch the display screen sharpening intensity. If the camera application is started and the screen is expanded (large screen display mode), the variable Flag = 1 that triggers the display screen sharpening enhancement function can be set. Under this variable value, the electronic device will automatically call the optimal sharpening intensity parameter A of the display screen (for example, 60%); if the application is not started and the screen is expanded, the display screen sharpening enhancement function will not be triggered. At this time, the state Flag = 0, and the electronic device will automatically call the default sharpening intensity parameter B of the display screen (for example, 0%).
[0106] It can be understood that the embodiment of the present disclosure supports improving the display effect of the preview image in the large-screen mode, which is more intelligent.
[0107] In some embodiments, determining the first acquisition parameter of the first image acquisition module includes:
[0108] The first acquisition parameter is determined based on a second acquisition parameter of a second image acquisition module other than the first image acquisition module, wherein a difference between the first acquisition parameter and the second acquisition parameter is less than a preset difference threshold.
[0109] In the embodiment of the present disclosure, the difference between the acquisition parameters of different image acquisition modules in the electronic device is less than a preset difference threshold. Since the size of the difference reflects the difference in image quality, for example, the lens of some acquisition modules is too sharp or too blurred, resulting in a large difference in image clarity. Therefore, by making the difference between the above-mentioned acquisition parameters less than the preset difference threshold, the electronic device can make the images acquired by different image acquisition modules display in a balanced effect in the large-screen mode, thereby reducing the problem of large differences in image display effects caused by some image acquisition modules being too sharp or too blurred.
[0110] It should be noted that in the embodiment of the present disclosure, the difference between the first acquisition parameter and the second acquisition parameter is less than the preset difference threshold. The first acquisition parameter and the second acquisition parameter may both be parameters that enable the image acquisition module to capture images of better quality, so as to further improve the image display effect on the basis of optimizing the image display effect based on the display parameters of the adjusted display screen.
[0111] It can be understood that in the embodiment of the present disclosure, the acquisition parameters are determined based on the fact that the difference between the acquisition parameters of different image acquisition modules is less than a preset difference threshold, so that the images captured by each image acquisition module have a balanced picture quality effect, and can reduce the display impact caused by the differences between different image acquisition modules on the basis of optimizing the image display effect based on the display parameters of the adjusted display screen.
[0112] Figure 6 FIG. 1 is a schematic diagram showing a method for displaying an image according to an exemplary embodiment. Figure 6 As shown, the entire schematic diagram includes 4 modules. The M1 module is responsible for setting the sharpening intensity of the display screen, where the sharpening intensity is the display parameter. The electronic device can preset multiple display parameters to control the display screen to display a preset image in the large-screen display mode to determine the target display parameters; the M2 module is responsible for determining the appropriate display screen sharpening intensity, that is, determining the target display parameters; the M3 module is responsible for fine-tuning the image acquisition module, even if the difference between the acquisition parameters of each image acquisition module is less than the preset difference threshold. In addition, the acquisition parameters of the image acquisition module (such as the first acquisition parameter) can also be adjusted to capture high-quality images; the M4 module is responsible for switching the display screen sharpening intensity to the target display parameter.
[0113] Figure 7 FIG. 1 is a block diagram of an image display device according to an exemplary embodiment. Figure 7 As shown, the device 700 mainly includes:
[0114] An acquisition unit 701 is configured to acquire an image to be displayed;
[0115] an adjusting unit 702 configured to adjust a display parameter of the display screen to a preset target display parameter in response to the display screen being in a large-screen display mode;
[0116] The first control unit 703 is configured to control the display screen to display the image with the adjusted display parameters in the large-screen display mode.
[0117] In some embodiments, the display screen is a folding screen, and the device further includes:
[0118] a detection unit configured to detect a state of the folding screen;
[0119] The first determining unit is configured to determine that the folding screen is in the large-screen display mode in response to the folding screen being in the unfolded state.
[0120] In some embodiments, the apparatus further comprises:
[0121] a second control unit configured to control the display screen to display a preset image in the large-screen display mode based on a plurality of preset display parameters;
[0122] The second determining unit is configured to determine the display parameters that meet the preset display effect conditions as the target display parameters based on the image display effects of the display screen under various display parameters.
[0123] In some embodiments, the apparatus further comprises:
[0124] a third determining unit, configured to determine a first acquisition parameter of a first image acquisition module of an image to be acquired;
[0125] The acquisition unit 701 is further configured to, in response to detecting an instruction to start a camera application, acquire a preview image to be displayed based on the first image acquisition module and using the first acquisition parameters.
[0126] In some embodiments, the third determination unit is further configured to determine the first acquisition parameter based on a second acquisition parameter of a second image acquisition module outside the first image acquisition module, wherein the difference between the first acquisition parameter and the second acquisition parameter is less than a preset difference threshold.
[0127] In some embodiments, the adjusting unit 702 is further configured to adjust at least one of the following parameters of the display screen in response to the display screen being in the large-screen display mode:
[0128] Adjust the PPI of the display screen, where the PPI is the number of pixels per inch.
[0129] adjusting the brightness of the display screen;
[0130] adjusting the color gamut of the display screen;
[0131] adjusting the contrast of the display screen;
[0132] Adjust the sharpness of the display screen.
[0133] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0134] Figure 8 FIG1 is a block diagram of an electronic device 800 according to an exemplary embodiment. For example, the device 800 may be a smart phone, a smart speaker, a tablet device, a wearable device, etc.
[0135] Reference Figure 8 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0136] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with at least one of display, phone calls, data communications, camera operation, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 802 may include one or more modules to facilitate interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
[0137] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include at least one of the following: instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, and videos. The memory 804 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 memory, flash memory, magnetic disk, or optical disk.
[0138] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 can include at least one of the following: a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 800.
[0139] The multimedia component 808 includes a screen that provides an output interface between the device 800 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 touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
[0140] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), which is configured to receive external audio signals when the device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0141] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as a keyboard, click wheel, and buttons. These buttons may include, but are not limited to, a home button, volume buttons, a start button, and a lock button.
[0142] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800. The sensor assembly 814 can also detect changes in the position of the device 800 or a component thereof, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and changes in the temperature of the device 800. The sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 can also include an optical sensor, such as a complementary metal oxide semiconductor (CMOS) or charge coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 can also include, but is not limited to, at least one of the following: an accelerometer, a gyroscope, a magnetic sensor, a pressure sensor, and a temperature sensor.
[0143] The communication component 816 is configured to facilitate communication between the device 800 and other devices in a wired or wireless manner. The device 800 can access a wireless network based on a communication standard, such as Wi-Fi, 4G, 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0144] In an exemplary embodiment, the device 800 can 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.
[0145] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including executable instructions or a computer program. The instructions or computer program can be executed by the processor 820 of the apparatus 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0146] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to perform any of the above-mentioned image display methods of the embodiments of the present disclosure. For example, the method includes:
[0147] Get the image to be displayed;
[0148] In response to the display screen being in the large-screen display mode, adjusting the display parameters of the display screen to preset target display parameters;
[0149] The display screen is controlled to display the image with the adjusted display parameters in a large-screen display mode.
[0150] The present disclosure provides a computer program product comprising a computer program or executable instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer program or executable instructions from the computer-readable storage medium and executes the computer program or executable instructions, causing the computer device to perform any of the aforementioned image display methods of the present disclosure.
[0151] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the claims.
[0152] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. An image display method, characterized in that: The method comprises: Get the image to be displayed; In response to the display screen being in the large-screen display mode, adjusting the display parameters of the display screen to preset target display parameters; The display screen is controlled to display the image with the adjusted display parameters in a large-screen display mode.
2. The method according to claim 1, characterized in that The display screen is a folding screen, and the method further includes: detecting a state of the folding screen; In response to the folding screen being in the unfolded state, determining that the folding screen is in the large-screen display mode.
3. The method according to claim 1 or 2, characterized in that The method further comprises: controlling the display screen to display a preset image in the large-screen display mode based on a plurality of preset display parameters; Based on the image display effects of the display screen under various display parameters, the display parameters that meet preset display effect conditions are determined as the target display parameters.
4. The method according to claim 1 or 2, characterized in that The method further comprises: Determining a first acquisition parameter of a first image acquisition module; The step of obtaining an image to be displayed includes: In response to detecting an instruction to start a camera application, a preview image to be displayed is captured based on the first image capture module and the first capture parameters.
5. The method according to claim 4, characterized in that The determining of the first acquisition parameter of the first image acquisition module includes: The first acquisition parameter is determined based on a second acquisition parameter of a second image acquisition module other than the first image acquisition module, wherein a difference between the first acquisition parameter and the second acquisition parameter is less than a preset difference threshold.
6. The method according to claim 1, characterized in that In response to the display screen being in the large-screen display mode, adjusting the display parameters of the display screen includes: In response to the display screen being in the large-screen display mode, adjusting at least one of the following parameters of the display screen: Adjust the PPI of the display screen, where the PPI is the number of pixels per inch. adjusting the brightness of the display screen; adjusting the color gamut of the display screen; adjusting the contrast of the display screen; Adjust the sharpness of the display screen.
7. An image display device, characterized in that: include: an acquisition unit configured to acquire an image to be displayed; an adjusting unit configured to adjust a display parameter of the display screen to a preset target display parameter in response to the display screen being in a large-screen display mode; The control module is configured to control the display screen to display the image with the adjusted display parameters in the large-screen display mode.
8. An electronic device, characterized in that: include: processor; memory for storing computer programs or instructions; The processor executes the computer program or instructions to implement the steps of the method according to any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium storing a computer program or instruction, characterized in that: When the computer program or instructions in the storage medium are executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.