CN115083343A - Display apparatus and resolution adjusting method - Google Patents
Display apparatus and resolution adjusting method Download PDFInfo
- Publication number
- CN115083343A CN115083343A CN202210624789.2A CN202210624789A CN115083343A CN 115083343 A CN115083343 A CN 115083343A CN 202210624789 A CN202210624789 A CN 202210624789A CN 115083343 A CN115083343 A CN 115083343A
- Authority
- CN
- China
- Prior art keywords
- area
- image
- display
- graphic
- resolution
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000012545 processing Methods 0.000 claims abstract description 30
- 238000001514 detection method Methods 0.000 claims description 5
- 230000003321 amplification Effects 0.000 abstract 1
- 238000003199 nucleic acid amplification method Methods 0.000 abstract 1
- 239000010410 layer Substances 0.000 description 30
- 238000010586 diagram Methods 0.000 description 25
- 230000006870 function Effects 0.000 description 12
- 238000004891 communication Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 9
- 230000008859 change Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 6
- 230000003993 interaction Effects 0.000 description 6
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000012792 core layer Substances 0.000 description 1
- 238000011982 device technology Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/22—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
- G09G3/30—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
- G09G3/32—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
- G09G3/3208—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/001—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes using specific devices not provided for in groups G09G3/02 - G09G3/36, e.g. using an intermediate record carrier such as a film slide; Projection systems; Display of non-alphanumerical information, solely or in combination with alphanumerical information, e.g. digital display on projected diapositive as background
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/36—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2340/00—Aspects of display data processing
- G09G2340/04—Changes in size, position or resolution of an image
- G09G2340/0407—Resolution change, inclusive of the use of different resolutions for different screen areas
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Crystallography & Structural Chemistry (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Some embodiments of the present application provide a display apparatus and a resolution adjusting method. The display equipment acquires the image information of the image to be displayed and determines the scaling according to the image resolution of the image to be displayed and the display resolution output by the display. The display area may be determined based on the image information. Wherein the display area includes at least one of a graphic area and a text area, the graphic area including: a first graphic region that is not overlaid with the text region, and/or a second graphic region that is overlaid with the text region. The display device can respectively perform scaling processing on all the display areas according to the scaling to obtain a target image, and controls the display to display the target image. Instead of only taking all the display areas as a whole picture for amplification, each display area is determined and processed respectively, so that the definition of the image is improved, and the use experience of a user is increased.
Description
Technical Field
The present application relates to the field of display device technologies, and in particular, to a display device and a resolution adjustment method.
Background
According to the requirements of users, a plurality of application programs can be installed in the display equipment. After a user starts a certain application program, the application program can generate a corresponding UI interface, and the display equipment can display the UI interface, so that the user can control the application program to realize corresponding functions according to the UI interface. The application program will typically generate a fixed resolution UI interface that the display device will display. The display device may support displaying pictures of different resolutions. Therefore, when the user feels that the resolution of the UI interface is low, resulting in an insufficiently clear picture, the resolution displayed by the display device may be increased, and the display device may adjust the resolution of the UI interface to be large, so that the UI interface becomes clear.
In the related art, when the resolution of the UI interface is increased, the display device may take the entire UI interface as a picture, increase the resolution of the picture, and display the picture with the increased resolution. However, since the UI interface may include a plurality of display areas, such as a plurality of graphics or texts, the UI interface is enlarged as a whole as a picture, and the enlarged picture is blurred, so that some display areas in the UI interface are also blurred, which causes the definition of the UI interface to be reduced, and seriously affects the user experience of the user.
Disclosure of Invention
Some embodiments of the present application provide a display apparatus and a resolution adjustment method. The problem that in the related art, when the resolution of the UI is increased, the definition of the UI is reduced, and the use experience of a user is seriously influenced is solved.
In a first aspect, some embodiments of the present application provide a display device comprising a display and a controller. Wherein the display is configured to display a user interface; the controller is configured to perform the steps of:
acquiring image information of an image to be displayed, and determining a scaling according to the first resolution and the second resolution; the first resolution is the image resolution of the image to be displayed, and the second resolution is the display resolution output by the display;
determining a display area of the image to be displayed according to the image information, wherein the display area comprises at least one of a graphic area and a text area, and the graphic area comprises: the first graphic area does not have coverage with the text area, and/or the second graphic area does have coverage with the text area;
based on the scaling, carrying out scaling processing on the display area to obtain a target image;
and controlling a display to display the target image.
In a second aspect, some embodiments of the present application provide a resolution adjustment method, applied to a display device, including:
acquiring image information of an image to be displayed, and determining a scaling according to a first resolution and a second resolution; the first resolution is the image resolution of the image to be displayed, and the second resolution is the display resolution output by the display;
determining a display area of the image to be displayed according to the image information, wherein the display area comprises at least one of a graphic area and a text area, and the graphic area comprises: the first graphic area does not have coverage with the text area, and/or the second graphic area does have coverage with the text area;
based on the scaling, carrying out scaling processing on the display area to obtain a target image;
and controlling a display to display the target image.
As can be seen from the above technical solutions, some embodiments of the present application provide a display device and a resolution adjusting method. The display device may obtain image information of an image to be displayed, and determine a scaling according to an image resolution of the image to be displayed and a display resolution output by the display. The display area may be determined based on the image information. Wherein the display area includes at least one of a graphic area and a text area, the graphic area including: a first graphic region that is not overlaid with the text region, and/or a second graphic region that is overlaid with the text region. The display device can respectively perform scaling processing on all display areas according to the scaling to obtain a target image, and controls the display to display the target image. Not only all display areas are amplified as a whole picture, but each display area is determined and processed respectively, so that the definition of the image is improved, and the use experience of a user is improved.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any creative effort.
FIG. 1 illustrates a usage scenario of a display device according to some embodiments;
fig. 2 illustrates a block diagram of a hardware configuration of the control apparatus 100 according to some embodiments;
fig. 3 illustrates a hardware configuration block diagram of the display apparatus 200 according to some embodiments;
FIG. 4 illustrates a software configuration diagram in the display device 200 according to some embodiments;
FIG. 5 illustrates a schematic diagram of an application interface in a display device 200, according to some embodiments;
FIG. 6 illustrates a schematic diagram of a UI generated by a target application in some embodiments;
FIG. 7 illustrates a schematic diagram of a display setup interface in some embodiments;
FIG. 8 illustrates an interaction flow diagram for components of a display device in some embodiments;
FIG. 9 illustrates a schematic diagram of an image to be displayed in some embodiments;
FIG. 10 shows a schematic view of an image to be displayed in some embodiments;
FIG. 11 shows a schematic of an image containing only a target graphics region in some embodiments;
FIG. 12 illustrates a schematic of a first image added to a blank image at a second resolution in some embodiments;
FIG. 13 is a schematic diagram of two frames before and after an image to be displayed in some embodiments;
FIG. 14 is a schematic diagram of two frames before and after an image to be displayed in some embodiments;
FIG. 15 is a schematic diagram showing two frames of images to be displayed before and after in some embodiments;
FIG. 16 shows a flow diagram of one embodiment of a resolution adjustment method.
Detailed Description
To make the objects, embodiments and advantages of the present application clearer, the following description of exemplary embodiments of the present application will clearly and completely describe the exemplary embodiments of the present application with reference to the accompanying drawings in the exemplary embodiments of the present application, and it is to be understood that the described exemplary embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
All other embodiments, which can be derived by a person skilled in the art from the exemplary embodiments described herein without inventive step, are intended to be within the scope of the claims appended hereto. In addition, while the disclosure herein has been presented in terms of one or more exemplary examples, it should be appreciated that aspects of the disclosure may be implemented solely as a complete embodiment. It should be noted that the brief descriptions of the terms in the present application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between similar or analogous objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises" and "comprising," as well as any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or device that comprises a list of elements is not necessarily limited to all of the elements explicitly listed, but may include other elements not expressly listed or inherent to such product or device.
The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and/or software code that is capable of performing the functionality associated with that element.
Fig. 1 illustrates a usage scenario of a display device according to some embodiments, as shown in fig. 1, a user may operate the display device 200 through a mobile terminal 300 and a control apparatus 100. The control apparatus 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication, bluetooth protocol communication, wireless or other wired method to control the display device 200. The user may input a user command through a key on a remote controller, voice input, control panel input, etc. to control the display apparatus 200. In some embodiments, mobile terminals, tablets, computers, laptops, and other smart devices may also be used to control the display device 200.
In some embodiments, the mobile terminal 300 may install a software application with the display device 200 to implement connection communication through a network communication protocol for the purpose of one-to-one control operation and data communication. The audio and video contents displayed on the mobile terminal 300 can also be transmitted to the display device 200, so that the display device 200 with the synchronous display function can also perform data communication with the server 400 through multiple communication modes. The display device 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display apparatus 200. The display device 200 may be a liquid crystal display, an OLED display, a projection display device. The display apparatus 200 may additionally provide an intelligent network tv function that provides a computer support function in addition to the broadcast receiving tv function.
Fig. 2 illustrates a block diagram of a hardware configuration of the control apparatus 100 according to some embodiments. As shown in fig. 2, the control device 100 includes a controller 110, a communication interface 130, a user input/output interface 140, a memory, and a power supply. The control apparatus 100 may receive an input operation instruction of a user and convert the operation instruction into an instruction recognizable and responsive to the display device 200, serving as an interaction intermediary between the user and the display device 200. The communication interface 130 is used for communicating with the outside, and includes at least one of a WIFI chip, a bluetooth module, NFC, or an alternative module. The user input/output interface 140 includes at least one of a microphone, a touch pad, a sensor, a key, or an alternative module.
Fig. 3 illustrates a hardware configuration block diagram of a display device 200 according to some embodiments. As shown in fig. 3, the display apparatus 200 includes at least one of a tuner demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface 280. The controller includes a central processor, a video processor, an audio processor, a graphic processor, a RAM, a ROM, and first to nth interfaces for input/output. The display 260 may be at least one of a liquid crystal display, an OLED display, a touch display, and a projection display, and may also be a projection device and a projection screen. The display is used for displaying a user interface. The user interface may be a target image, such as various media assets acquired from a network signal source, including video, pictures, and other content. The user interface may also be some UI interface of the display device. The user may view content such as assets in the display. The tuner demodulator 210 receives a broadcast television signal through a wired or wireless reception manner, and demodulates an audio/video signal, such as an EPG data signal, from a plurality of wireless or wired broadcast television signals. The detector 230 is used to collect signals of the external environment or interaction with the outside. The controller 250 and the modem 210 may be located in different separate devices, that is, the modem 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display apparatus 200. The user may input a user command through a Graphical User Interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the Graphical User Interface (GUI). Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that the user can receive. A commonly used presentation form of the User Interface is a Graphical User Interface (GUI), which refers to a User Interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in the display screen of the electronic device, where the control may include at least one of an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc. visual interface elements.
Fig. 4 illustrates a software configuration diagram in the display device 200 according to some embodiments, as shown in fig. 4, the system is divided into four layers, which are an Application (Application) layer (abbreviated as "Application layer"), an Application Framework (Application Framework) layer (abbreviated as "Framework layer"), an Android runtime (Android runtime) and system library layer (abbreviated as "system runtime layer"), and a kernel layer, respectively, from top to bottom. The inner core layer comprises at least one of the following drivers: audio drive, display driver, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (like fingerprint sensor, temperature sensor, pressure sensor etc.) and power drive etc..
In some embodiments, after the user controls the display device to power on, the controller may control the display to display the user interface. At this time, the user interface may be a system main interface of the display device, for example, some UI interfaces in the display device. A plurality of function controls can be arranged in the main interface of the system, and a user can realize the corresponding functions of the controls by clicking one control. For example, an "application" control may be set in the system main interface, and after the user clicks the control, the controller may control the display to display an application interface, where the application interface is used to display a situation of an application APP installed in the application layer.
Fig. 5 illustrates a schematic diagram of an application interface in the display device 200 according to some embodiments, and as shown in fig. 5, an application layer containing at least one application may display a corresponding icon control in the display, such as: the system comprises a live television application icon control, a video on demand application icon control, a media center application icon control, an application center icon control, a game application icon control and the like. The live television application program can provide live television through different signal sources. A video-on-demand application may provide video from different storage sources. Unlike live television applications, video on demand provides video displays from some storage source. The media center application program can provide various applications for playing multimedia contents. The application program center can provide and store various application programs. The user may determine the applications already installed in the display device, i.e., the functions supported by the display device, from the application interface. The user can select and start a certain application APP to implement the function of the application. It should be noted that the application installed on the display device may be a system application or a third-party application.
In some embodiments, after a user starts a certain target application program, the controller may control the display to display a main interface of the target application program, and the user may control the target application program through the main interface to implement a corresponding function. The target application may generate a UI interface by itself, such as the main interface of the target application. In the UI interface, a plurality of display elements may be included, and the display elements may be graphic elements such as some graphic controls or background patterns, and the display elements may also be text elements such as some text controls or introduction text, etc. In the embodiment of the present application, the display elements are referred to as display regions, the graphic elements are referred to as graphic regions, and the text elements are referred to as text regions. The target application program can determine which display areas are contained in the UI by itself and at what position the display areas are arranged. The UI interface style is not limited in the embodiment of the present application. FIG. 6 illustrates a schematic diagram of a UI generated by a target application in some embodiments. As shown in fig. 6, 610 and 620 are text controls, each of which is a text field. 630 is a graphical area.
After the target application generates the UI interface, the UI interface may be sent to the controller. The controller may control the display to directly display the UI interface, and at this time, the user interface is a UI interface generated by the target application. The user can control the target application program to realize the corresponding function according to the UI interface, for example, by clicking a certain control in the UI interface, the target application program is controlled to realize the function of the control.
The target application program can generate the UI interfaces frame by frame, namely sequentially generating the UI interface images of each frame according to a preset frame rate, wherein the image to be displayed is adopted to refer to the UI interface image generated by the target application program in the embodiment of the application. The target application program sends each frame of image to be displayed to the controller in sequence, and the controller can control the display to display each frame of image to be displayed in sequence.
It should be noted that, when controlling the display to display an image, the controller needs to determine the resolution of the image to be displayed on the display first, so as to control the display to display the image according to the resolution of the image.
When the target application generates the image to be displayed, the image is generated frame by frame at a fixed resolution, for example, each frame of the image to be displayed is generated at 2K (1920 × 1080) resolution and sent to the controller. Each application will correspond to a fixed resolution. The fixed resolution may be the same for all applications installed in the display device.
The controller may cause the display to display the fixed resolution image. The controller can set the resolution to be displayed of the display to be the fixed resolution, so that the resolution of the image output by the display and the resolution of the image received by the controller are the same, and the effect of displaying the image to be displayed can be relatively displayed. In the embodiment of the present application, the resolution to be displayed in the display refers to a resolution to be output and displayed by the display, that is, a resolution of an image to be displayed in the display, and may also be considered as a resolution of a user interface in the display.
In some embodiments, the user can also set the resolution of the image to be displayed by the display, so as to control the display to output different image effects. It should be noted that the image resolution refers to the precision of the screen image, i.e. the number of pixels in the image displayed on the display, and is generally expressed by (the number of horizontal pixels × the number of vertical pixels). For example, 2K (1920 × 1080) resolution refers to: the number of horizontal pixels of the image is 1920, and the number of vertical pixels of the image is 1080. Because the points, lines and surfaces in the image are all composed of pixels, the larger the image resolution is, the more pixel points representing the image displayed in the display are, the more information the image can display is, so that the finer the image picture is, and the clearer the image is. Generally, the size of the display screen has a certain influence on the display effect of the image resolution. When the resolution of an image is constant, that is, when the resolution displayed on the display is constant, the smaller the size of the display, the sharper the image becomes. Conversely, when the size of the display is fixed, the higher the resolution displayed by the display, the sharper the image.
There will be a fixed physical resolution for the display. The physical resolution represents the maximum image resolution that the display is capable of outputting to display. For example, for a display with a resolution of 4K (3840 × 2160), i.e., a physical resolution of 4K (3840 × 2160), the display is capable of outputting a maximum resolution of 4K (3840 × 2160). At the same time, the display may output and display an image resolution of 4K (3840 × 2160) or less, for example, an image with a resolution of 2K (1920 × 1080). The controller may control the display to output images at different resolutions within the physical resolution. Generally, the larger the physical resolution of the display, the larger its size.
It should be noted that, in the case that the user does not set the resolution of the display output, after the target application program sends the image to be displayed to the controller, the controller generally keeps the resolution of the display output consistent with the resolution of the image to be displayed. However, for a display with a larger physical resolution, the size of the display is generally larger, and if the resolution of the image to be displayed is smaller, the definition of the image to be displayed in the display is lower, so that the display effect is poorer, and the viewing experience of the user is seriously affected. At this time, the display apparatus needs to improve the definition of the displayed image to be displayed. On the premise that the size of the display cannot be changed, the resolution of an image to be displayed in the display can be adjusted, namely the resolution of the display output display of the display is adjusted. The controller can increase the resolution output by the display, and the definition of the image to be displayed is improved by increasing the resolution of the image to be displayed.
In some embodiments, the controller may set the resolution of the user interface, i.e., the resolution of the display output display, on its own.
The controller may determine a physical resolution of the display and obtain an image resolution of the image to be displayed sent by the target application. When the image resolution of the image to be displayed is obtained, the controller can directly detect the target application program and determine the set fixed resolution, wherein the set fixed resolution is the image resolution of the image to be displayed. Or after receiving the image to be displayed sent by the target application program, the controller may detect the image to be displayed, for example, determine the image resolution of the image to be displayed according to the image information of the image to be displayed.
The controller may calculate a ratio of the physical resolution of the display and the image resolution of the image to be displayed, and determine whether the ratio is greater than a preset threshold, which may be a threshold set by a user, for example, 4.
Considering that the physical resolution of the display is fixed, if the ratio is less than or equal to the preset threshold, it indicates that the image resolution of the image to be displayed is relatively high, and it can be considered that the definition of the display when displaying the image to be displayed is relatively high, so that the image to be displayed can be directly displayed according to the image resolution of the image to be displayed. At this time, the controller may adjust the resolution of the display output display to the image resolution of the image to be displayed, and directly display the image to be displayed.
If the ratio is greater than the preset threshold, it is indicated that the image resolution of the image to be displayed is small, and the definition of the display in displaying the image to be displayed is considered to be low, at this time, the image to be displayed cannot be directly displayed, and the image resolution of the image to be displayed needs to be adjusted so as to improve the definition of the image to be displayed. The controller can directly adjust the resolution ratio output and displayed by the display to the physical resolution ratio of the display, thereby improving the definition of the image to be displayed to the maximum extent. At this time, the controller adjusts the resolution of the user interface to the physical resolution of the display, and simultaneously, the image resolution of the image to be displayed needs to be enlarged to reach the physical resolution of the display.
For example, the physical resolution of the display is 4K (3840 × 2160). It can be considered that the definition of the image to be displayed is sufficient when the image resolution of the image to be displayed reaches 2K (1920 × 1080), and the preset threshold value is set to (3840 × 2160)/(1920 × 1080) ═ 4. The controller may acquire the image resolution F of the image to be displayed sent by the target application program, and calculate the ratio of the physical resolution 4K to the image resolution F of the image to be displayed. The definition is considered to be sufficient only when the ratio is greater than or equal to 4, that is, the image resolution F of the image to be displayed is greater than or equal to 2K (1920 × 1080), at which time the controller may adjust the resolution of the user interface to the image resolution F, and simultaneously the controller controls the display to directly display the image to be displayed.
In some embodiments, the controller may also set a resolution threshold while detecting the resolution of the current user interface. The controller does not change the resolution of the user interface if the resolution of the current user interface reaches the resolution threshold. And meanwhile, the image resolution of the image to be displayed is adjusted to the resolution of the current user interface. If the resolution of the current user interface does not reach the resolution threshold, the controller needs to reset the resolution of the user interface, may directly set the resolution threshold, may randomly set a resolution in a range from the resolution threshold to the physical resolution of the display, and may also notify the user to determine the resolution, which is not limited in the embodiment of the present application. After resetting the resolution of the user interface, the controller may adjust the image resolution of the image to be displayed to the resolution of the new user interface.
In some embodiments, the user may also actively set the resolution of the user interface, i.e., the resolution of the display output display. For example, the to-be-displayed image sent by the target application program is already displayed in the display, and the user may feel that the definition of the to-be-displayed image is low in the viewing process, at this time, the user may select a target resolution as the resolution of the user interface, and the controller may adjust the image resolution of the to-be-displayed image to the target resolution to improve the definition of the user interface.
The user may find the display setting interface in the system setting UI interface of the display device and set the resolution of the user interface in the display setting interface. FIG. 7 illustrates a schematic diagram of a display setup interface in some embodiments. As shown in fig. 7, the display setting interface includes a user interface resolution control, a brightness control, a color temperature control, a contrast control, and a factory reset control. The user can click the user interface resolution control, and the controller controls the display to display the user interface resolution condition. The user interface resolution case includes the resolution of the current user interface and all resolutions that can be set. The user may select a target resolution to which the controller updates the resolution of the user interface.
In some embodiments, for an image to be displayed sent by the target application, when the image resolution of the image to be displayed is different from the resolution of the user interface set in the display device, the controller may adjust the image resolution of the image to be displayed to the resolution of the user interface. In the embodiment of the application, the first resolution is used for indicating the image resolution of the image to be displayed sent by the target application program, and the second resolution is used for indicating the resolution of the user interface currently set in the display device, namely the display resolution output by the display.
Note that, in the case where the first resolution and the second resolution are different, there may be the following cases. The target application program may generate the image to be displayed at a fixed resolution, i.e., at a first resolution, and the resolution of the generated image to be displayed is also the first resolution. However, when the target application has not been started, the resolution (second resolution) of the user interface currently set in the display device is already different from the first resolution. Therefore, after the target application program is started, starting from the sent first frame of image to be displayed, the first resolution of the image to be displayed is different from the second resolution of the user interface. At this time, it is necessary to adjust the resolution of each frame of image to be displayed, starting from the first frame of image to be displayed, so that the adjusted resolution of the image to be displayed is the second resolution. In the embodiment of the application, the target image is adopted to refer to the adjusted image to be displayed, so that the image resolution of the target image is the second resolution.
In some embodiments, the initial resolution of the user interface set in the display device, and the first resolution, are the same when the target application has not been launched. Therefore, after the target application program is started, the image resolution (first resolution) of the transmitted image to be displayed is the same as the initial resolution of the user interface, and the controller can control the display to directly display the image to be displayed. However, during the operation of the target application, the user may feel the image unclear and may adjust the resolution of the user interface. The user may send an instruction to adjust the user interface resolution, from which the controller may determine the target resolution, i.e., the second resolution, indicated by the user. In response to the instruction, the controller may adjust the resolution of the user interface to a second resolution such that the second resolution is updated to a resolution of the user interface currently set in the display device. Since the resolution (second resolution) of the current user interface is different from the image resolution (first resolution) of the image to be displayed, resolution adjustment needs to be performed on the image to be displayed to obtain the target image.
In some embodiments, the controller may determine whether a resolution adjustment of the image to be displayed is required.
The controller may first determine the first resolution and the second resolution. When the first resolution is determined, the controller may directly detect the target application program, and determine a fixed resolution set in the target application program, where the fixed resolution is an image resolution of an image to be displayed sent by the target application program, that is, the first resolution. The controller may also detect the image to be displayed after the target application starts sending the image to be displayed, and determine an image resolution of the image to be displayed, that is, the first resolution. In determining the second resolution, the controller may directly determine the second resolution of the user interface in a system setting of the display device, which may be in a display setting parameter.
The controller may determine whether the first resolution and the second resolution are the same. If the two images are the same, the resolution adjustment of the image to be displayed is not needed, and the display can be controlled to directly display the image to be displayed. If the image resolution is different from the first resolution, the controller needs to adjust the resolution of the image to be displayed, the target image is obtained by adjusting the image resolution of the image to be displayed to the second resolution, and the display can be controlled to display the target image.
In the related art, when the resolution of the UI interface generated by the application is increased, the display device usually takes the entire UI interface as a picture, enlarges the whole picture, increases the resolution of the picture, and displays the picture with the increased resolution on the display. However, it is contemplated that the UI interface may include multiple display areas, such as multiple graphics or text, each of which may be a separate display area. If the whole UI interface is enlarged as a picture, all the display areas are taken as a whole, each display area is a part of the picture, and the picture is subjected to conventional enlargement operation. For graphics, the effect of sharpness may not be significant for magnification as a picture. However, for text content, the text content is amplified as a picture, which may cause the situation of blur, burr and the like of the amplified text, thereby seriously affecting the definition of the text content, causing the definition to be reduced and seriously affecting the user experience due to the fuzzy UI interface as a whole.
In order to solve the above problem, in the embodiment of the present application, when the resolution of the image to be displayed is adjusted, each display area may be processed separately, and is not simply amplified as a whole picture, so that it is ensured that the definition of the finally obtained target image is higher, and the viewing experience of the user is improved.
FIG. 8 illustrates a flow diagram for interaction of components of a display device in some embodiments. As shown in fig. 8, includes:
and S81, acquiring image information of the image to be displayed, and determining the scaling according to the first resolution and the second resolution. The first resolution is an image resolution of an image to be displayed, and the second resolution is a display resolution output by the display.
And S82, determining the display area of the image to be displayed according to the image information. Wherein the display area includes at least one of a graphic area and a text area, the graphic area including: a first graphic region that is not overlaid with the text region, and/or a second graphic region that is overlaid with the text region.
And S83, zooming the display area based on the zooming ratio to obtain the target image.
And S84, controlling the display to display the target image.
In some embodiments, when the resolution of the image to be displayed is adjusted, the controller may first acquire image information of the image to be displayed.
The controller may sequentially acquire image information of each frame of the image to be displayed frame by frame. It should be noted that the image to be displayed generated by the target application program may include a plurality of display regions, and these display regions may only include text regions, may only include graphics regions, or may include both text regions and graphics regions. According to different types of display areas in the image to be displayed, different types of image information can be contained in the image information of the image to be displayed. In the embodiment of the application, the image information corresponding to the graphic area is referred to by the graphic area information, and the image information corresponding to the text area is referred to by the text area information.
Thus, for image information of a frame of an image to be displayed, it includes graphic region information and/or text region information. The image information may represent all display areas included in the image to be displayed.
The graphic area information comprises graphic data and graphic area position information, wherein the graphic data is specific graphic content corresponding to the graphic area, and the graphic area position information is position coordinates of the graphic area in the image to be displayed.
The text area information comprises text data and text area position information, wherein the text data is specific text content corresponding to the text area, and the text area position information is position coordinates of the text area in the image to be displayed.
Thus, the overall image condition of the image to be displayed can be determined from the image information.
It should be noted that, for the display regions, whether the graphic region or the text region, each display region may be a rectangular region. Within the respective rectangular area, graphical content or textual content is presented.
Each display area may include an outline of the display area and internal display content. For graphic areas, the graphic content is generally rectangular in shape as a whole, but there are also some graphic content of a special shape, such as a circle. For a graphic area with a rectangular graphic content as a whole, the graphic content is the whole graphic area, and the outline of the graphic area is the outline of the graphic content. The graphics area position information of such a graphics area may thus contain only one type of position information, i.e. the position coordinates of the graphics area in the image to be displayed.
However, for a graphic area with a specific shape of the graphic content as a whole, the graphic content is included, and a filling area other than the graphic content is also included, and the filling area may be a transparent area. The outline of the graphic area is not the outline of the graphic content, and the graphic area position information of the graphic area contains two kinds of position information, one is the position coordinate of the whole graphic area in the image to be displayed, and the other is the position coordinate of the graphic content in the graphic area.
For the text area, the text area is rectangular, and the text content is displayed in the outline of the rectangle. The text area may include text content and a filled area outside the text content, which may be a transparent area. The text region position information of the text region also comprises two kinds of position information, wherein one kind of position information is the position information of the whole text region in the image to be displayed, and can be position coordinates of four vertexes of the text region in the image to be displayed; one is the position information of the text content in the text area, which may be the position coordinates of each pixel point of the text content.
FIG. 9 illustrates a schematic diagram of an image to be displayed in some embodiments. As shown in fig. 9, the text area includes an outline and text contents, and the graphic area includes an outline and graphic contents.
In some embodiments, all of the display area may be outlined in a transparent state in order to enhance the aesthetic effect. I.e. both the text area and the graphics area, show no outlines, only the graphics content or the text content.
In some embodiments, the controller may also determine a specific scaling for the resolution adjustment of the image to be displayed. The controller can obtain the first resolution F1 and the second resolution F2, and the steps of the method for obtaining the first resolution and the second resolution are referred to herein before, and are not described herein again.
The controller may calculate a ratio F2/F1 of the second resolution F2 and the first resolution F1, and determine the ratio as a scaling. According to the scaling, the controller may perform resolution adjustment on the image to be displayed.
In some embodiments, after acquiring the image information of the image to be displayed, the controller may further determine, according to the image information, all display regions included in the image to be displayed. The display regions include at least one of a graphic region and a text region, may be all of the graphic region, may be all of the text region, and may include both the graphic region and the text region. It should be noted that the specific display area included in the image to be displayed is determined by the target application program, and in the process of generating the UI interface by the target application program, different images to be displayed may be generated, and the display area specifically included in the image to be displayed is not limited in this embodiment.
It should be noted that, in the image to be displayed generated by the target application, there may be an intersection between the graphics region and the text region, for example, an overlay condition, or there may be no intersection, and the two regions are relatively independent. Therefore, there are two cases for the graphic region, one is a graphic region having no coverage with the text region, which is referred to as a first graphic region in the embodiment of the present application, and the other is a graphic region having coverage with the text region, which is referred to as a second graphic region in the embodiment of the present application. Thus, the graphic area in the image to be displayed includes: the first graphic region, and/or the second graphic region. For the second graphic region, there are two coverage cases of the positional relationship of the second graphic region and the text region: one is the second graphic region overlaid on the text region and one is the text region overlaid on the second graphic region. Therefore, when the resolution of the image to be displayed is adjusted, the coverage of the second graphic region and the text region needs to be determined, so as to prevent the coverage from being wrong in the target image.
FIG. 10 illustrates a schematic diagram of an image to be displayed in some embodiments. As shown in fig. 10, a total of four display regions are included in the figure. Here, the display region 1001 is a text region, and the text region has no overlapping relationship with the graphic region. The display region 1002 is a text region, and the text region has an overlapping relationship with the display region 1003. The display region 1003 is a graphic region, and the graphic region has an overlapping relationship with the text region 1002. The graphic region 1003 is overlaid on the text region 1002. The display area 1004 is a graphic area, and the graphic area has no overlapping relationship with the text area.
For text regions, two cases are also possible: one is a text area with an overlay to the graphic area, and the other is a text area without an overlay to the graphic area. In the embodiment of the application, when the resolution ratio of the text region in the image to be displayed is adjusted, the pixel points of the text content can be redrawn, two conditions of the text region do not need to be distinguished, and all the pixel points of the text content can be completely drafted.
When determining all the display areas included in the image to be displayed, the controller also needs to determine the specific type of each display area. The controller may first detect the image information to determine whether the image information includes a graphic region and a text region.
If it is detected that the image information only includes the graphic region information, it may be determined that the image to be displayed only includes the graphic region, and at this time, all the graphic regions may be determined according to the graphic region information. It should be noted that, since the image to be displayed does not include the text region, all the graphic regions are the first graphic region, and there is no need to distinguish them.
If the image information is detected to only include the text region information, it can be determined that the image to be displayed only includes the text region, and at this time, all the text regions can be determined according to the text region information.
If the image information is detected to include both the graphic region information and the text region information, it may be determined that the image to be displayed includes both the graphic region and the text region. At this time, the controller may first distinguish the text region from the graphic region. All the graphic regions may be determined based on the graphic region information and all the graphic regions may be determined based on the graphic region information. The graphic regions also need to be distinguished in view of the possible presence of coverage of the graphic regions and the text regions. The controller may detect each of the graphic regions, and compare the graphic region position information of each of the graphic regions with all of the text region position information. For each graphic area, if the position information of any text area and the position information of the graphic area overlap, namely the text area position information and the position information of the graphic area intersect, the text area and the graphic area are in a coverage condition. In a specific implementation, if the coincidence condition of the graphic region position information of the graphic region and the at least one text region position information is detected, the graphic region is determined as a second graphic region. If the graphic region position information of the graphic region and all the text region position information do not overlap, the graphic region is determined as the first graphic region.
After determining all the display areas included in the image to be displayed, the controller may perform processing on each display area separately.
In some embodiments, the controller may perform scaling processing on all display areas according to the scaling ratio, so as to adjust the resolution of the image to be displayed, and obtain the target image.
In order to ensure that the resolution of the finally obtained target image is the second resolution, the controller may first generate a blank image of the second resolution. On the basis of the blank image, all display areas may be sequentially added thereto, thereby obtaining a target image of the second resolution. After generating the blank image of the second resolution, the controller may perform scaling processing on the graphic region and the text region, respectively.
In some embodiments, the controller may perform a graphic scaling process on the graphic region according to the scaling ratio to obtain the graphic scaling region. When the graphics area is scaled, the first graphics area and the second graphics area may be processed in the following manner.
The controller may perform the graphic scaling process on each graphic region in turn. When a graphic scaling process is performed on a certain target graphic region, the controller may first acquire an image including only the target graphic region, and the resolution of the image is the first resolution.
The controller may generate a blank image first, and the resolution of the blank image is the first resolution. The controller may add the target graphic region to the blank image according to graphic region position information of the target graphic region, thereby obtaining a first image including only the target graphic region. When the target graphic area is added, a layer Surface can be generated, and the target graphic area is controlled to be displayed in the layer. And covering the layer on the layer corresponding to the blank image to obtain a first image.
The controller may also copy an image to be displayed and delete all display areas of the image to be displayed except the target graphic area, thereby obtaining a first image including only the target graphic area. The controller may set all display regions except the target graphic region in the image to be displayed as transparent pixels, thereby obtaining a first image including only the target graphic region.
In some embodiments, the image to be displayed may be considered as a UI interface image composed of a plurality of layers, each layer including a display area. The controller can determine a target layer corresponding to the target graphic area and update all layers except the target layer in the image to be displayed to blank layers, so that only the target layer is reserved in the image to be displayed, and a first image only containing the target graphic area is obtained.
FIG. 11 illustrates a schematic view of an image containing only a target graphics region in some embodiments. As shown in fig. 11, the image to be displayed includes four display regions in total, text regions 1101 and 1103, and graphic regions 1102 and 1104. Since the graphic region 1102 is the target graphic region, the remaining display region is deleted, and a first image including only the target graphic region is obtained.
In some embodiments, the controller may directly perform the scaling process on the first image according to the scaling ratio. The controller may add the first image to the blank image of the second resolution, and when adding, align a vertex of the first image with a corresponding vertex of the blank image of the second resolution. FIG. 12 is a schematic diagram illustrating the addition of a first image to a blank image at a second resolution in some embodiments, where the resolution of the first image is the first resolution, and the addition of the first image to the blank image at the second resolution is achieved by aligning the top left vertices of the two images and by overlapping the two left and top edges, as shown in FIG. 12.
The controller may enlarge the first image according to the scaling ratio to obtain a second image, and the second image has the same size as the blank image of the second resolution, and the resolution of the second image is the second resolution. At this time, the controller may acquire the target graphic region in the second image, resulting in the graphic zoom region. The controller may also obtain position information of the graphical zoom region in the second image for subsequent generation of the target image.
According to the above steps, the controller may obtain the graphic zoom area of each graphic area after the graphic zoom process.
In some embodiments, the controller may perform text scaling processing on the text region according to the scaling ratio to obtain the text scaling region.
For a certain target text region, when performing text scaling processing on the target text region, the controller may determine a first coordinate of the target text region in the image to be displayed according to the text region position information of the target text region. The first coordinates of the target text region in the image to be displayed may be coordinates of four vertices of the target text region: (x1, y1), (x2, y2), (x3, y3), and (x4, y 4).
Since the target text region is to be adjusted to the second resolution, the controller may directly scale the first coordinates according to the scale b to obtain second coordinates (b x1, b y1), (b x2, b y2), (b x3, b y3), and (b x4, b y 4). The second coordinate is the position information of the target text region in the target image.
Based on the second coordinates, the controller may obtain a text zoom region. In the blank image of the second resolution, the controller may determine the entire position information of the target text region according to the second coordinates, thereby determining the outline of the target text region. In the outline, the controller may draw the text content according to the position information of the text content of the target text region in the target text region, for example, perform color filling on each pixel point of the text content, thereby obtaining a text scaling region corresponding to the target text region.
In some embodiments, when the application generates the UI interface, the text in the UI interface is vector text, that is, the text content in the image to be displayed is vector text. The application program can generate the brother characters according to a preset font drawing and rendering method, so that the text area is obtained. The application may send text region information to the display, where the text region information may include text layout information in addition to the text data and the text region location information. The text layout information is parameters of characters in the text region, including parameters such as character string content, font size (width), horizontal and vertical formats, alignment mode, bold/italic information, and the like. The text area is actually a character string, and the character string includes a plurality of characters, i.e., words. The text region position information may include position information of the text content in the text region, i.e., position information of each character in the character string in the text region.
When the text region is scaled, each character in the text region is also scaled by the scaling ratio. Taking the example of a resolution of 2K to 4K, the scale is 2, and thus the scale per character is also 2. The size, height and width of each character become 2 times the original. At the same time, the position information of each character in the text area is also changed, and the coordinates are changed to 2 times of the original coordinates. Therefore, the controller needs to scale the region in consideration of a change in the text region of each character and a change in the text region in the image when scaling the target text region, thereby text-scaling the region.
The controller may obtain the position information in the image after the target text region is scaled. Based on the position information, position information of each character in the image is determined by the position information of each character in the target text region at the position information. And drawing each character according to the parameters of the characters to obtain a text zooming area.
In some embodiments, after obtaining the graphical zoom region and the text zoom region, the graphical zoom region and the text zoom region may be added to the blank image at the second resolution to obtain the target image at the second resolution.
For the graphic zoom region, the controller may first determine whether the graphic zoom region is the first graphic region or the second image region.
Since the first graphic region and the text region do not have an overlay relationship, the controller may first add the graphic scaling region corresponding to the first graphic region to the blank image at the second resolution. The controller may add the graphic zoom region according to position information of the graphic zoom region in the second image.
For the graphic scaling region and the text scaling region corresponding to the second graphic region, the controller needs to determine the coverage condition. If the graphical zooming area is covered on the text zooming area, the controller needs to add the text zooming area first, and then add the graphical zooming area according to the position information of the graphical zooming area in the second image. If the text zoom area is overlaid on the graphics zoom area, the controller needs to add the graphics zoom area first and then the text zoom area.
After all the graphic zoom regions and the text zoom regions are added to the blank image of the second resolution, a target image of the second resolution may be obtained.
The controller may control the display to display the target image.
According to the steps, the controller can adjust the resolution of each frame of image to be displayed sent by the target application program, so that each frame of target image is obtained, and the display is controlled to display.
In some embodiments, it is considered that if all display areas in each frame of image to be displayed are redrawn, the workload is large, the system load is high, and the work efficiency is poor. Therefore, the controller may detect each frame of the image to be displayed, determine the content in which the change is generated, and redraw the portion of the content.
For one frame of image to be displayed, the controller may determine the refresh area according to the display area therein. In the embodiment of the present application, the refresh area refers to: in each frame of image to be displayed, a changed display area is generated compared with the previous frame of image to be displayed.
When the refresh area is determined, the controller may compare the image information of the frame of image to be displayed with the image information of the previous frame of image to be displayed, so as to determine the same display area in the image information of the two frames of images to be displayed. It should be noted that the same display area in this part indicates that the display is the same as the area that is not refreshed and changed when displaying the previous and subsequent frames of images. For the same display area, the controller may control the display to continue displaying without processing.
All the display areas except the same display area in the frame of image to be displayed can be determined as the refresh area. Among these refresh areas, the first refresh area is referred to as a first refresh area if the first refresh area is a first graphic area, the second refresh area if the first refresh area is a text area, and the third refresh area if the second refresh area is a second graphic area.
Fig. 13 is a schematic diagram of two frames of images to be displayed before and after in some embodiments. As shown in fig. 13, each of the image a to be displayed in the previous frame and the image B to be displayed in the present frame includes 4 display regions. Compared with two frames of images to be displayed, three display areas are provided, the three display areas comprise two graphic areas and a text area 'map', and one refresh area is a text area 'second layer'.
In some embodiments, the number of display areas included in the two frames of images to be displayed may be different. FIG. 14 is a diagram illustrating two frames of images to be displayed before and after in some embodiments. As shown in fig. 14, the image to be displayed in the previous frame a includes 4 display regions, and the image to be displayed in the present frame B includes 5 display regions. Here, the text region "return" is an increased display region that does not exist in the image a to be displayed in the previous frame, and is also determined as a refresh region for such a display region, and therefore, there are two refresh regions, which are the text regions "second layer" and "return".
In some special cases, it is necessary to set that the same display area does not exist, and all display areas in the image to be displayed are all refresh areas. Special cases include: the method comprises the steps of sending a first frame of image to be displayed by a target application program and indicating the first frame of image to be displayed after the resolution of a user interface is changed by a user. For both special cases, it is considered that the target image to be displayed in the display needs to be completely refreshed, i.e. all display areas need to be scaled.
Therefore, before determining the refresh area, the controller may first detect whether the image to be displayed is in the special condition, and if so, determine all display areas in the frame of image to be displayed as the refresh area; if not, the controller may determine the refresh area based on the last frame of the image to be displayed.
In some embodiments, after determining all the refresh areas, the controller may perform scaling on the refresh areas according to the scaling ratio to obtain the scaled areas.
The controller may first detect the refresh zone. A first refresh zone, a second refresh zone, and a third refresh zone contained therein are determined.
If the first refresh area is detected to be included, since the first refresh area is substantially the first graphic area, the controller may perform graphic scaling processing on the first refresh area according to the scaling ratio to obtain the first scaling area, and the first scaling area is the first graphic area. The process of scaling the graphics can refer to the foregoing steps, and will not be described herein.
If the second refresh area is detected to be included, since the second refresh area is substantially a text area, the controller may perform text scaling on the second refresh area according to the scaling ratio to obtain a second scaled area, where the second scaled area is the text area. The text scaling process may refer to the foregoing steps, which are not described herein.
If it is detected that the third refresh area is included, since the third refresh area is substantially the second graphic area, the controller may perform graphic scaling processing on the third refresh area according to the scaling ratio to obtain a third scaled area, and the third scaled area is the second graphic area.
In some embodiments, the controller may acquire the target image according to the zoom region.
The zoom area is a display area which needs to be refreshed and displayed in the image to be displayed in the current frame, so that the controller can firstly acquire the target image which is already displayed in the previous frame. In the previous frame of target image, the controller may delete all display areas except the same display area to obtain an initial image.
In the target image, each display area may correspond to one layer, and the controller may determine layers corresponding to the same display area first, and delete or change all layers other than the layers into a blank image. The controller can also control the pixel points in the same display area not to change, and update the pixel points in all areas except the same display area into blank pixel points.
FIG. 15 is a diagram illustrating two frames of images to be displayed before and after in some embodiments. As shown in fig. 15, for the two frames of images to be displayed shown in fig. 15, it is necessary to keep the same display area, including two graphic areas and a text area "map", and delete the "second layer" of the refresh area, thereby obtaining an initial image.
The controller may add all of the zoom regions to the initial image, resulting in the target image. Each scaling region may generate a layer, and the controller may add the layers to the initial image to obtain the target image.
The controller may control the display to display the target image so as to display the scaled UI interface.
An embodiment of the present application further provides a resolution adjustment method, as shown in fig. 16, where the method includes:
step 1601, acquiring image information of an image to be displayed, and determining a scaling according to the first resolution and the second resolution. The first resolution is an image resolution of an image to be displayed, and the second resolution is a display resolution output by the display.
Step 1602, determining a display area of the image to be displayed according to the image information, where the display area includes at least one of a graphic area and a text area, and the graphic area includes: a first graphic region that is not overlaid with the text region, and/or a second graphic region that is overlaid with the text region.
Step 1603, based on the scaling, the display area is scaled to obtain the target image.
And step 1604, controlling the display to display the target image.
In some embodiments, obtaining image information of an image to be displayed includes:
the method comprises the steps of obtaining image information of each frame of image to be displayed, wherein the image information comprises graph region information and/or text region information, the graph region information comprises graph data and graph region position information, and the text region information comprises text data and text region position information.
In some embodiments, determining a display area in the image to be displayed from the image information comprises:
determining all the graphic areas according to the graphic area information based on the fact that the detected image information only comprises the graphic area information;
determining all text regions according to the text region information based on the fact that the detected image information only comprises the text region information;
determining all the graphic regions according to the graphic region information and determining all the graphic regions according to the graphic region information based on the detected image information including the graphic region information and the text region information; and detecting the graphic area, determining the graphic area as a second graphic area if the superposition condition exists between the graphic area position information of the graphic area and at least one text area position information, and determining the graphic area as a first graphic area if the superposition condition does not exist.
In some embodiments, scaling the display area based on the scaling comprises:
generating a blank image of a second resolution; carrying out graphic scaling processing on the graphic area based on the scaling ratio to obtain a graphic scaling area; performing text scaling processing on the text area based on the scaling ratio to obtain a text scaling area; and adding the graphic zooming area and the text zooming area into the blank image to obtain a target image with a second resolution.
In some embodiments, text scaling the text region based on the scaling includes:
determining first coordinates of the text region in the image to be displayed based on the text region position information;
based on the scaling, scaling the first coordinate to obtain a second coordinate, wherein the second coordinate is position information of the text area in the target image; a text zoom region is obtained based on the second coordinates.
In some embodiments, scaling the display area based on the scaling comprises:
determining a refresh area based on the display area; the refresh area is: in each frame of image to be displayed, a changed display area is generated compared with the previous frame of image to be displayed; based on the scaling, carrying out scaling processing on the refresh area to obtain a scaling area; a target image is acquired based on the zoom region.
In some embodiments, determining the refresh area from the display area includes:
comparing the image information of each frame of image to be displayed with the image information of the previous frame of image to be displayed, and determining the same display area in the image information;
determining a display area outside the same display area in each frame of image to be displayed as a refresh area; the first graphic area in the refresh area is a first refresh area, the text area in the refresh area is a second refresh area, and the second graphic area in the refresh area is a third refresh area.
In some embodiments, scaling the refresh area based on the scaling includes:
detecting a refresh area; based on the detection of the first refresh area, carrying out graphic scaling processing on the first refresh area based on the scaling; based on the detection of the second refreshing area, performing text scaling processing on the second refreshing area based on the scaling; based on detecting the third refresh area, the third refresh area is subjected to graphic scaling processing based on the scaling ratio.
In some embodiments, acquiring the target image based on the zoom region comprises:
in the previous frame of target image, the display areas except the same display area are deleted to obtain an initial image. And adding the zooming area to the initial image to obtain a target image.
The same and similar parts in the embodiments in this specification may be referred to one another, and are not described herein again.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be essentially or partially implemented in the form of software products, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and include instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method in the embodiments or some parts of the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
The foregoing description, for purposes of explanation, has been presented in conjunction with embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.
Claims (10)
1. A display device, comprising:
a display;
a controller configured to:
acquiring image information of an image to be displayed, and determining a scaling according to the first resolution and the second resolution; the first resolution is the image resolution of the image to be displayed, and the second resolution is the display resolution output by the display;
determining a display area of the image to be displayed according to the image information, wherein the display area comprises at least one of a graphic area and a text area, and the graphic area comprises: the first graphic area does not have coverage with the text area, and/or the second graphic area does have coverage with the text area;
based on the scaling, carrying out scaling processing on the display area to obtain a target image;
and controlling a display to display the target image.
2. The display device of claim 1, wherein the controller is further configured to:
in performing the step of acquiring image information of the image to be displayed,
the method comprises the steps of obtaining image information of each frame of image to be displayed, wherein the image information comprises graphic region information and/or text region information, the graphic region information comprises graphic data and graphic region position information, and the text region information comprises text data and text region position information.
3. The display device of claim 2, wherein the controller is further configured to:
in performing the step of determining the display area of the image to be displayed according to the image information,
determining all graphic regions according to the graphic region information based on detecting that the image information only includes the graphic region information;
determining all text regions according to the text region information based on the fact that the image information only comprises the text region information;
determining all the graphic regions according to the graphic region information and determining all the graphic regions according to the graphic region information based on the fact that the image information comprises the graphic region information and the text region information; and detecting the graphic area, determining the graphic area as a second graphic area if the coincidence condition exists between the graphic area position information of the graphic area and at least one text area position information, and determining the graphic area as a first graphic area if the coincidence condition does not exist.
4. The display device of claim 2, wherein the controller is further configured to:
in the step of performing scaling processing of the display area based on the scaling ratio,
generating a blank image of a second resolution;
carrying out graphic scaling processing on the graphic area based on the scaling ratio to obtain a graphic scaling area; performing text scaling processing on the text area based on the scaling ratio to obtain a text scaling area;
and adding the graphic zooming area and the text zooming area into the blank image to obtain a target image with a second resolution.
5. The display device of claim 4, wherein the controller is further configured to:
in the step of performing text scaling processing on the text region based on the scaling ratio,
determining first coordinates of the text region in the image to be displayed based on the text region position information;
zooming the first coordinate based on the zooming proportion to obtain a second coordinate, wherein the second coordinate is position information of the text area in the target image;
and acquiring a text zooming area based on the second coordinate.
6. The display device of claim 4, wherein the controller is further configured to:
in the step of performing scaling processing of the display area based on the scaling ratio,
determining a refresh area based on the display area; the refresh area is: in each frame of image to be displayed, a changed display area is generated compared with the previous frame of image to be displayed;
based on the scaling, carrying out scaling processing on the refresh area to obtain a scaling area;
and acquiring a target image based on the zooming area.
7. The display device according to claim 6, wherein the controller is further configured to:
in performing the step of determining the refresh area based on the display area,
comparing the image information of each frame of image to be displayed with the image information of the previous frame of image to be displayed, and determining the same display area in the image information;
determining a display area outside the same display area in each frame of image to be displayed as a refresh area; the first graphic area in the refresh area is a first refresh area, the text area in the refresh area is a second refresh area, and the second graphic area in the refresh area is a third refresh area.
8. The display device of claim 7, wherein the controller is further configured to:
in the step of performing scaling processing of the refresh area based on the scaling,
detecting the refresh area;
based on the detection of a first refresh area, carrying out image scaling processing on the first refresh area based on the scaling; based on the detection of a second refresh area, performing text scaling processing on the second refresh area based on the scaling; and based on the detection of the third refreshing area, carrying out image scaling processing on the third refreshing area based on the scaling ratio.
9. The display device of claim 7, wherein the controller is further configured to:
in performing the step of acquiring the target image based on the zoom area,
deleting the display areas except the same display area in the previous frame of target image to obtain an initial image;
and adding the zooming area to the initial image to obtain a target image.
10. A resolution adjustment method applied to a display device is characterized by comprising the following steps:
acquiring image information of an image to be displayed, and determining a scaling according to a first resolution and a second resolution; the first resolution is the image resolution of the image to be displayed, and the second resolution is the display resolution output by the display;
determining a display area of the image to be displayed according to the image information, wherein the display area comprises at least one of a graphic area and a text area, and the graphic area comprises: the first graphic area does not have coverage with the text area, and/or the second graphic area does have coverage with the text area;
based on the scaling, carrying out scaling processing on the display area to obtain a target image;
and controlling a display to display the target image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210624789.2A CN115083343A (en) | 2022-06-02 | 2022-06-02 | Display apparatus and resolution adjusting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210624789.2A CN115083343A (en) | 2022-06-02 | 2022-06-02 | Display apparatus and resolution adjusting method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115083343A true CN115083343A (en) | 2022-09-20 |
Family
ID=83248688
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210624789.2A Pending CN115083343A (en) | 2022-06-02 | 2022-06-02 | Display apparatus and resolution adjusting method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115083343A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115686671A (en) * | 2022-10-27 | 2023-02-03 | 北京城市网邻信息技术有限公司 | Picture loading method and device and storage medium |
-
2022
- 2022-06-02 CN CN202210624789.2A patent/CN115083343A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115686671A (en) * | 2022-10-27 | 2023-02-03 | 北京城市网邻信息技术有限公司 | Picture loading method and device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112533021B (en) | Display method and display equipment | |
CN112799627B (en) | Display apparatus and image display method | |
CN113051432B (en) | Display device and media asset playing method | |
CN112672199B (en) | Display device and multi-layer overlapping method | |
CN114286138A (en) | Display device, external device and multi-view-angle proportion display method | |
CN112584211B (en) | Display equipment | |
CN114115637B (en) | Display equipment and electronic drawing board optimization method | |
CN115083343A (en) | Display apparatus and resolution adjusting method | |
CN111064982B (en) | Display control method, storage medium and display device | |
CN112235621B (en) | Display method and display equipment for visual area | |
CN116801027A (en) | Display device and screen projection method | |
CN113556590B (en) | Method for detecting effective resolution of screen-projected video stream and display equipment | |
CN111259639B (en) | Self-adaptive adjustment method of table and display equipment | |
CN113703705A (en) | Display device and list updating method | |
CN113038215A (en) | Image display brightness and color difference adjusting method and display equipment | |
CN115396717B (en) | Display device and display image quality adjusting method | |
WO2021248671A1 (en) | Display device | |
CN112770169B (en) | List circulating page turning method and display device | |
CN115114552A (en) | Display device and webpage display method | |
CN115810079A (en) | Image processing method and display device | |
CN116095385A (en) | Display apparatus and display method | |
CN118175367A (en) | Display equipment and content display method | |
CN116347143A (en) | Display equipment and double-application same-screen display method | |
CN115543160A (en) | Display device and graphic filling method | |
CN114302206A (en) | Content display method, display equipment and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |