CN110569013B - Image display method and device based on display screen - Google Patents

Image display method and device based on display screen Download PDF

Info

Publication number
CN110569013B
CN110569013B CN201910907377.8A CN201910907377A CN110569013B CN 110569013 B CN110569013 B CN 110569013B CN 201910907377 A CN201910907377 A CN 201910907377A CN 110569013 B CN110569013 B CN 110569013B
Authority
CN
China
Prior art keywords
image
screen
displayed
screens
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.)
Active
Application number
CN201910907377.8A
Other languages
Chinese (zh)
Other versions
CN110569013A (en
Inventor
庞启波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN201910907377.8A priority Critical patent/CN110569013B/en
Publication of CN110569013A publication Critical patent/CN110569013A/en
Application granted granted Critical
Publication of CN110569013B publication Critical patent/CN110569013B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present specification provides a method and an apparatus for displaying an image based on a display screen, wherein the method for displaying an image based on a display screen includes: acquiring attribute information of an image to be displayed and resolution information of a display screen; calculating the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the resolution information; rendering the image to be displayed through a plurality of rendering terminals; adapting the rendered image to be displayed in a plurality of screen areas according to the adaptation multiple; calculating the offset of the image to be displayed in the plurality of screen areas according to the adaptation result and the coordinate information of the plurality of screen areas; and displaying the image to be displayed through the display screen based on the offset. By the image display method based on the display screen, the images to be displayed can be rendered simultaneously through the rendering terminals, so that the images to be displayed can be completely displayed in the display screen, and the problem that the images to be displayed are not matched with the display screen is solved.

Description

Image display method and device based on display screen
Technical Field
The present disclosure relates to the field of image display technologies, and in particular, to an image display method based on a display screen and an image display method based on multiple screens. The present specification also relates to a display screen-based image display apparatus, a multi-screen-based image display apparatus, two computing devices, and two computer-readable storage media.
Background
With the development of internet technology, users have higher and higher requirements on playing effects of movie fragments besides pursuing the contents of the movie fragments when watching movie fragments such as movies, and the like, and the users hope to watch the movie fragments with better picture effects.
In the prior art, the resolution of a main screen for playing videos can reach 11960 pixels at most, and the current display technology only supports a single host to output signals with the resolution of 7680 pixels, so that when the videos are played through the main screen, the main screen is firstly divided into a plurality of sub-screens, and then the videos played in the sub-screens need to be rendered by a plurality of hosts at the same time, so that the videos with high enough resolution can be played through the main screen. However, when the undisplay technology in the illusion engine is used to implement multi-machine rendering, accurate adaptation of the played video in the sub-screens cannot be implemented, that is, the played video content can repeatedly appear in each sub-screen, instead of the correctly played video through the main screen, the video played through the main screen has a poor effect, and a more accurate adaptation method is required to adapt the played video in the sub-screen corresponding to the main screen.
Disclosure of Invention
In view of the above, the present disclosure provides an image displaying method based on a display screen and an image displaying method based on multiple screens. The present specification also provides an image display apparatus based on a display screen, an image display apparatus based on multiple screens, two computing devices, and two computer-readable storage media, so as to solve the technical defects in the prior art.
According to a first aspect of embodiments of the present specification, there is provided a method for displaying an image based on a display screen, including:
acquiring attribute information of an image to be displayed and resolution information of a display screen divided into a plurality of screen areas;
calculating the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the resolution information;
rendering the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screen areas;
adapting the rendered image to be displayed in the plurality of screen areas according to the adaptation multiple;
calculating the offset of the image to be displayed in the plurality of screen areas according to the adaptation result and the coordinate information of the plurality of screen areas in the display screen;
and displaying the image to be displayed through the plurality of screen areas divided by the display screen based on the offset.
Optionally, the calculating an adaptation multiple of the display screen and the image to be displayed according to the attribute information and the resolution information includes:
determining the image resolution of the image to be displayed according to the attribute information, and determining the screen resolution of the display screen according to the resolution information;
and calculating the ratio of the screen resolution to the image resolution, and taking the ratio result as the adaptation multiple.
Optionally, before the step of rendering the image to be displayed by the multiple rendering terminals corresponding to the multiple screen areas is executed, the method further includes:
and respectively loading the images to be displayed to the rendering terminals corresponding to the screen areas.
Optionally, the adapting the rendered image to be displayed in the plurality of screen areas according to the adaptation multiple includes:
configuring reference coordinates for the images to be displayed rendered by the rendering terminals;
and adapting the images to be displayed after rendering in the plurality of screen areas according to the adaptation multiples based on the reference coordinates.
Optionally, the calculating, according to the adaptation result and the coordinate information of the multiple screen areas in the display screen, the offset of the image to be displayed in the multiple screen areas includes:
determining region coordinates of each screen region in the plurality of screen regions according to the coordinate information;
configuring image coordinates for the image to be displayed according to the adaptation result;
calculating the image offset of the image to be displayed in each screen area based on the area coordinates and the image coordinates of each screen area, and taking the image offset as the offset of the image to be displayed in the plurality of screen areas.
Optionally, the displaying the to-be-displayed image through the plurality of screen areas divided by the display screen based on the offset includes:
performing offset processing on the images to be displayed in the plurality of screen areas based on the offset;
and displaying the image to be displayed through the plurality of screen areas according to the offset processing result.
Optionally, the shifting the to-be-displayed image in the multiple screen areas based on the offset includes:
determining reference points of the image to be displayed in the plurality of screen areas;
and carrying out offset processing on the image to be displayed according to the coordinate corresponding to the reference point and the coordinate information corresponding to the plurality of screen areas and the offset.
Optionally, before the step of obtaining the attribute information of the image to be displayed and the resolution information of the display screen divided into a plurality of screen areas is executed, the method further includes:
dividing the display screen into a plurality of screen areas according to the attribute information of the rendering terminals;
and determining that the rendering terminals correspond to the screen areas one to one.
Optionally, before the step of rendering the image to be displayed by the multiple rendering terminals corresponding to the multiple screen areas is executed, the method further includes:
acquiring the screen resolution of the display screen, and determining the image resolution of the image to be displayed according to the attribute information;
and under the condition that the image resolution is greater than the screen resolution, adjusting the image resolution according to the screen resolution.
Optionally, after the step of calculating offsets of the to-be-displayed image in the multiple screen areas according to the adaptation result and the coordinate information of the multiple screen areas in the display screen is executed, before the step of displaying the to-be-displayed image through the multiple screen areas divided by the display screen based on the offsets is executed, the method further includes:
detecting whether the image to be displayed in the rendered screen areas is added to a visual window or not;
and if so, loading the rendered image to be displayed to the plurality of screen areas based on the parameters of the visual window.
According to a second aspect of embodiments of the present specification, there is provided a multi-screen based image presentation method, including:
acquiring attribute information of an image to be displayed and screen information of a display screen consisting of a plurality of screens;
calculating the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the screen information;
rendering the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screens;
adapting the rendered image to be displayed in the plurality of screens according to the adaptation multiple;
calculating the offset of the image to be displayed in the plurality of screens according to the adaptation result and the position information of the plurality of screens in the display screen;
and displaying the image to be displayed through the display screen composed of the plurality of screens based on the offset.
Optionally, before the step of rendering the image to be displayed by the multiple rendering terminals corresponding to the multiple screens is executed, the method further includes:
acquiring a screen resolution corresponding to each screen in the plurality of screens;
selecting the smallest screen resolution in the screen resolutions as a reference screen resolution;
adjusting the screen resolutions corresponding to the plurality of screens according to the reference screen resolution, wherein the adjusted screen resolutions corresponding to the plurality of screens are all the reference screen resolution;
correspondingly, the rendering the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screens includes:
and rendering the image to be displayed by the rendering terminals according to the resolution of the reference screen.
Optionally, the calculating, according to the attribute information and the screen information, an adaptation multiple of the display screen and the image to be displayed includes:
determining an image resolution of the image to be displayed through the attribute information, and determining a screen resolution of the display screen composed of the plurality of screens through the screen information;
and calculating the ratio of the screen resolution to the image resolution, and taking the ratio result as the adaptation multiple.
Optionally, before the step of rendering the image to be displayed by the multiple rendering terminals corresponding to the multiple screens is executed, the method further includes:
and respectively loading the images to be displayed to the rendering terminals corresponding to the screens.
Optionally, the adapting the rendered image to be displayed in the plurality of screens according to the adaptation multiple includes:
configuring reference coordinates for the images to be displayed rendered by the rendering terminals;
and adapting the images to be displayed after rendering in the plurality of screens according to the adaptation multiples based on the reference coordinates.
Optionally, the calculating, according to the adaptation result and the position information of the multiple screens in the display screen, the offset of the image to be displayed in the multiple screens includes:
determining screen coordinates of each screen of the plurality of screens relative to the presentation screen according to the position information;
configuring image coordinates for the image to be displayed according to the adaptation result;
calculating the image offset of the image to be displayed in each screen based on the screen coordinate corresponding to each screen and the image coordinate, and taking the image offset as the offset of the image to be displayed in the plurality of screens.
Optionally, the displaying the to-be-displayed image through the display screen composed of the plurality of screens based on the offset includes:
performing offset processing on the images to be displayed in the plurality of screens based on the offset;
and displaying the image to be displayed through the plurality of screens according to the offset processing result.
Optionally, the shifting the to-be-displayed image in the multiple screens based on the offset includes:
determining a reference point of the image to be displayed in the display screen;
and carrying out offset processing on the image to be displayed according to the coordinate corresponding to the reference point and the position information corresponding to the plurality of screens and the offset.
Optionally, before the step of rendering the image to be displayed by the multiple rendering terminals corresponding to the multiple screens is executed, the method further includes:
determining the image resolution of the image to be displayed according to the attribute information;
and under the condition that the image resolution is greater than the reference screen resolution, adjusting the image resolution according to the reference screen resolution.
Optionally, after the step of calculating the offset of the image to be displayed in the multiple screens according to the adaptation result and the position information of the multiple screens in the display screen is executed, before the step of displaying the image to be displayed through the display screen composed of the multiple screens based on the offset is executed, the method further includes:
detecting whether the image to be displayed in the rendered multiple screens is added to a visual window or not;
and if so, loading the rendered image to be displayed to the plurality of screens based on the parameters of the visual window.
According to a third aspect of embodiments herein, there is provided a presentation screen-based image presentation apparatus comprising:
the information acquisition module is configured to acquire attribute information of an image to be displayed and resolution information of a display screen divided into a plurality of screen areas;
the adaptation multiple calculation module is configured to calculate the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the resolution information;
the image rendering module is configured to render the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screen areas;
the image adaptation module is configured to adapt the rendered image to be displayed in the plurality of screen areas according to the adaptation multiple;
the offset calculating module is configured to calculate the offset of the image to be displayed in the plurality of screen areas according to the adaptation result and the coordinate information of the plurality of screen areas in the display screen;
and the image display module is configured to display the image to be displayed through the plurality of screen areas divided by the display screen based on the offset.
According to a fourth aspect of embodiments of the present specification, there is provided a multi-screen based image presentation apparatus, including:
the display device comprises an acquisition module, a display module and a display module, wherein the acquisition module is configured to acquire attribute information of an image to be displayed and screen information of a display screen consisting of a plurality of screens;
the first calculation module is configured to calculate the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the screen information;
the rendering module is configured to render the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screens;
the adaptation module is configured to adapt the rendered image to be displayed in the plurality of screens according to the adaptation multiple;
a second calculation module configured to calculate offsets of the image to be displayed in the plurality of screens according to the adaptation result and the position information of the plurality of screens in the display screen;
a display module configured to display the image to be displayed through the display screen composed of the plurality of screens based on the offset.
According to a fifth aspect of embodiments herein, there is provided a computing device comprising:
a memory and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
acquiring attribute information of an image to be displayed and resolution information of a display screen divided into a plurality of screen areas;
calculating the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the resolution information;
rendering the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screen areas;
adapting the rendered image to be displayed in the plurality of screen areas according to the adaptation multiple;
calculating the offset of the image to be displayed in the plurality of screen areas according to the adaptation result and the coordinate information of the plurality of screen areas in the display screen;
and displaying the image to be displayed through the plurality of screen areas divided by the display screen based on the offset.
According to a sixth aspect of embodiments herein, there is provided a computing device comprising:
a memory and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
acquiring attribute information of an image to be displayed and screen information of a display screen consisting of a plurality of screens;
calculating the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the screen information;
rendering the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screens;
adapting the rendered image to be displayed in the plurality of screens according to the adaptation multiple;
calculating the offset of the image to be displayed in the plurality of screens according to the adaptation result and the position information of the plurality of screens in the display screen;
and displaying the image to be displayed through the display screen composed of the plurality of screens based on the offset.
According to a seventh aspect of embodiments herein, there is provided a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of any one of the presentation screen based image presentation methods.
According to an eighth aspect of embodiments herein, there is provided a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement any one of the steps of the multi-screen based image presentation method.
The image display method based on the display screen, provided by the specification, realizes that the image to be displayed is displayed by dividing the display screen into a plurality of screen areas, the image to be displayed with higher definition can be output, the image to be displayed is adapted to the display screen, the adaptation multiple of the image to be displayed is determined, the image to be displayed is rendered respectively through the rendering terminal corresponding to each screen area, the offset of the image to be displayed in each screen area is determined according to the adaptation multiple and the coordinate information of each screen area in the display screen, the image to be displayed is moved in each screen area according to the offset, the image displayed in each screen area can be spliced into the image to be displayed, the image to be displayed can be rendered through a plurality of rendering terminals, and the definition of the image to be displayed on the display screen is higher, and when the image to be displayed is displayed through each screen area, the situation that the image to be displayed is repeatedly displayed in each screen area is avoided.
Drawings
FIG. 1 is a flowchart of a method for displaying an image based on a display screen according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a display screen adapted to an image to be displayed in an image display method based on the display screen according to an embodiment of the present specification;
fig. 3 is a schematic structural diagram of a method for displaying an image based on a display screen, in which a screen area displays an image to be displayed;
fig. 4 is a schematic structural diagram of a display area adapted to an image to be displayed in an image display method based on a display screen according to an embodiment of the present specification;
fig. 5 is a schematic structural diagram of an image shift processing procedure to be displayed in a first image displaying method based on a display screen according to an embodiment of the present specification;
fig. 6 is a schematic structural diagram of an image shift processing procedure to be displayed in a second image displaying method based on a display screen according to an embodiment of the present specification;
FIG. 7 is a flowchart illustrating a multi-screen-based image displaying method according to an embodiment of the present disclosure;
FIG. 8 is a schematic structural diagram of an image display apparatus based on a display screen according to an embodiment of the present disclosure;
FIG. 9 is a schematic structural diagram of a multi-screen-based image displaying apparatus according to an embodiment of the present disclosure;
FIG. 10 is a block diagram of a first computing device provided in an embodiment of the present description;
fig. 11 is a block diagram of a second computing device provided in an embodiment of the present specification.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present description. This description may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, as those skilled in the art will be able to make and use the present disclosure without departing from the spirit and scope of the present disclosure.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
First, the noun terms to which one or more embodiments of the present specification relate are explained.
UE 4: the 4 th generation ghost rendering Engine (Unreal Engine 4).
Display (nDisplay): the multi-machine real-time rendering technology in the UE4 can realize that multiple computer hosts render one 3D scene at the same time, and output the result to the screen corresponding to each computer host.
DPI: (Dots Per Inch ), is a unit of measure for a dot-matrix digital image, which refers to the number of sampled, displayable, or output Dots Per Inch of length.
In the present specification, an image presentation method based on a presentation screen, and an image presentation method based on multiple screens are provided. The present specification also provides a display screen based image display apparatus, a multi-screen based image display apparatus, two computing devices, and two computer readable storage media, which are described in detail in the following embodiments one by one.
The method for displaying images based on a display screen provided in this specification is described with reference to fig. 1, fig. 2, fig. 3, fig. 4, fig. 5, and fig. 6, and fig. 1 is a flowchart of a method for displaying images based on a display screen provided in an embodiment of this specification; fig. 2 is a schematic structural diagram of a display screen adapted to an image to be displayed in an image display method based on the display screen according to an embodiment of the present specification; fig. 3 is a schematic structural diagram of a method for displaying an image based on a display screen, in which a screen area displays an image to be displayed; fig. 4 is a schematic structural diagram of a display area adapted to an image to be displayed in an image display method based on a display screen according to an embodiment of the present specification; fig. 5 is a schematic structural diagram of an image shift processing procedure to be displayed in a first image displaying method based on a display screen according to an embodiment of the present specification; fig. 6 is a schematic structural diagram of an image shift processing procedure to be displayed in a second image displaying method based on a display screen according to an embodiment of the present specification; wherein fig. 2 includes fig. 2(a), fig. 2(b) and fig. 2(c), fig. 3 includes fig. 3(a) and fig. 3(b), fig. 5 includes fig. 5(a), fig. 5(b), fig. 5(c), fig. 5(d) and fig. 5(e), fig. 6 includes fig. 6(a), fig. 6(b), fig. 6(c), fig. 6(d), fig. 6(e) and fig. 6(f), and fig. 1 includes steps 102 to 112.
Step 102: acquiring attribute information of an image to be displayed and resolution information of a display screen divided into a plurality of screen areas.
In an embodiment of the present specification, the image to be displayed is an image that needs to be displayed in the display screen, and the attribute information of the image to be displayed specifically refers to resolution information, occupied storage space information, and the like of the image to be displayed; the display screen divided into the plurality of screen areas is specifically a screen for displaying the image to be displayed, the display screen is divided into the plurality of screen areas so that the image to be displayed, which needs to be displayed, in the display screen can be rendered through the plurality of rendering terminals, the rendering of the image to be displayed through the plurality of rendering terminals is performed because the definition of the image to be displayed is high, and the image to be displayed, which is rendered through a single rendering terminal, cannot be output to the display screen for displaying, so that the display screen is divided into the plurality of screen areas, each screen area corresponds to one rendering host, only a part of the image to be displayed is displayed in each screen area, and the displayed images are formed by the plurality of parts of the image to be displayed, which are displayed through the plurality of screen areas, so that the image to be displayed is completely displayed in the display screen.
When a user watches an image through a screen, the definition of the image is not only influenced by the resolution of the display screen, but also influenced by the highest-definition image which can be output by the rendering terminal, namely, if the user needs to watch the image with high enough definition, the definition of the display screen is high enough, and the definition of the image output by the rendering terminal can be realized under the condition that the definition of the image is high enough.
Based on this, in the process of rendering the image to be displayed through the plurality of rendering terminals, the plurality of rendering terminals can render the image to be displayed simultaneously by using the nDisplay technology in the UE4 engine, so as to display the image to be displayed in the display screen, in the process of displaying the image to be displayed through the display screen, the image to be displayed is displayed through a plurality of screen areas divided by the display screen, and in the process of displaying the image to be displayed in each screen area, the display content in the image to be displayed may repeatedly appear in a plurality of adjacent screen areas, which is visible.
In the image display method based on the display screen provided by the specification, in order to enable the image to be displayed to be completely adapted in the display screen and avoid the situation that a plurality of screen areas repeatedly display the image to be displayed, the image to be displayed is adapted to the display screen, the adaptation multiple of the image to be displayed is determined, the image to be displayed is rendered through the rendering terminal corresponding to each screen area, the offset of the image to be displayed in each screen area is determined according to the adaptation multiple and the coordinate information of each screen area in the display screen, the image to be displayed is moved in each screen area according to the offset, the image to be displayed in each screen area can be spliced into the image to be displayed, the image to be displayed can be rendered through the rendering terminals, and the definition of the image to be displayed on the display screen is high, and when the image to be displayed is displayed through each screen area, the situation that the image to be displayed is repeatedly displayed in each screen area is avoided, so that the image to be displayed can be completely displayed through the display screen.
Before the resolution information of the display screen is obtained, in one or more embodiments of this embodiment, because there is an output bottleneck problem in outputting the to-be-displayed image, the to-be-displayed image needs to be rendered simultaneously through a plurality of rendering terminals, and the to-be-displayed image can be displayed, and before the to-be-displayed image is rendered through the plurality of rendering terminals, the display screen needs to be divided according to the plurality of rendering terminals, and each rendering terminal corresponds to a screen area divided in the display screen, and the specific implementation manner is as follows:
dividing the display screen into a plurality of screen areas according to the attribute information of the rendering terminals;
and determining that the rendering terminals correspond to the screen areas one to one.
Specifically, the attribute information of the rendering terminals specifically refers to the number of the rendering terminals and the highest-definition image information that can be output by each rendering terminal, the display screen is divided according to the number of the rendering terminals and the output information of each rendering terminal, and the rendering terminals are determined to correspond to each screen area in the divided display screen one to one; the rendering terminal can be a computer host.
For example, if the resolution of a certain display screen is 8k, and any one of 4 existing computer hosts can only output images with 2k resolutions, and any one of the 4 existing computer hosts cannot output images with 8k resolutions, the display screen needs to be divided into a plurality of screen areas, and each screen area is rendered by one computer host, so that the images can be displayed in the 8k display screen by combining and outputting the output of the plurality of computer hosts, and the display screen is divided into 4 screen areas according to the number of the computer hosts, and each screen area is rendered by the computer host capable of outputting images with 2k resolutions.
In the process of dividing the display screen according to the rendering terminals, if there may be a case where the resolution of the output image of each rendering terminal is not consistent, the display screen may be divided irregularly, that is, the rendering terminal with the lower resolution of the output image may divide a smaller screen area in the display screen, and the rendering terminal with the higher resolution of the output image may divide a larger screen area in the display screen.
Under the condition that a single rendering terminal cannot directly output the image to be displayed in the display screen, the display screen can be divided into a plurality of screen areas according to the plurality of rendering terminals, so that each screen area corresponds to each rendering terminal, and under the condition that the image to be displayed is displayed through the display screen subsequently, the image to be displayed can be rendered by each rendering terminal aiming at each screen area, so that the image to be displayed with higher resolution can be output through the display screen.
Step 104: and calculating the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the resolution information.
Specifically, on the basis of the acquired attribute information of the image to be displayed and the resolution information of the display screen, further, the display screen is calculated to display the image to be displayed according to the attribute information and the resolution information, and the multiple of the image to be displayed, which needs to be changed, is the adaptation multiple;
on the basis, under the condition that the image to be displayed is displayed through the display screen, the situation that the display screen is not matched with the image to be displayed possibly exists, namely, the situation that the display screen is large and the image to be displayed is small and not matched, or the situation that the display screen is small and the image to be displayed is large and not matched exists; at this time, the image to be displayed needs to be adapted to the display screen, so that the image to be displayed can be completely displayed in the display screen.
In one or more embodiments of this embodiment, in the process of calculating the adaptation multiple, since the image to be displayed is not rendered, at this time, the resolution of the image to be displayed needs to be determined according to the attribute information of the image to be displayed, the resolution of the display screen needs to be determined according to the resolution information of the display screen, and then the adaptation multiple is calculated according to the resolution of the image to be displayed and the resolution of the display screen, which is specifically implemented as follows:
determining the image resolution of the image to be displayed according to the attribute information, and determining the screen resolution of the display screen according to the resolution information;
and calculating the ratio of the screen resolution to the image resolution, and taking the ratio result as the adaptation multiple.
Specifically, in order to enable the image to be displayed to be adapted to the display screen, so that the image to be displayed can be completely displayed in the display screen, in the case that the resolution of the image to be displayed is inconsistent with that of the display screen, the image to be displayed needs to be enlarged or reduced, so that the image to be displayed can be completely displayed on the display screen;
based on this, before the image to be displayed is adapted to the display screen, an adaptation multiple needs to be calculated, the image resolution of the image to be displayed is determined according to the attribute information, the screen resolution of the display screen is determined according to the resolution information, the ratio of the image resolution to the screen resolution is calculated, and the ratio result is used as the adaptation multiple of the image to be displayed, which needs to be enlarged or reduced, to be adapted to the display screen;
the screen resolution specifically refers to the number of similar pixels in the horizontal direction and the vertical direction, for example, if the screen resolution is 920 × 1080, the number of pixels in the horizontal direction is 920, and the number of pixels in the vertical direction is 1080; the image resolution refers to the number of pixels in each inch of an image to be displayed, for example, if the image resolution is 1028 × 447, it indicates that the image is composed of 1028 × 447 pixels 459516, and the distribution of the pixels is 1028 pixels horizontally and 447 pixels vertically, which are uniformly distributed to form the image.
In specific implementation, under the condition that the image to be displayed is displayed through the display screen, if the image to be displayed needs to be displayed in a tiled manner in the display screen, the length size and the width size of the image to be displayed can be determined according to the image resolution, the length size and the width size of the display screen are determined according to the screen resolution, the ratio of the length size of the image to be displayed to the length size of the display screen is calculated to serve as a length adaptation multiple, the ratio of the width size of the image to be displayed to the width size of the display screen is calculated to serve as a width adaptation multiple, and the length adaptation multiple and the width adaptation multiple are used for determining the adaptation multiple of the image to be displayed and the display screen; in the subsequent adaptation process, the length size and the width size of the image to be displayed are amplified or reduced according to the length adaptation multiple and the width adaptation multiple;
under the condition that the image to be displayed is displayed through the display screen, if the image to be displayed needs to be displayed in the display screen according to the original proportion of the image to be displayed, the length size and the width size of the image to be displayed can be determined according to the image resolution, the length size and the width size of the display screen are determined according to the screen resolution, the ratio of the length size of the image to be displayed to the length size of the display screen is calculated to be used as a length adaptation multiple, the ratio of the width size of the image to be displayed to the width size of the display screen is calculated to be used as a width adaptation multiple, the length adaptation multiple and the width adaptation multiple are compared, if the length adaptation multiple is smaller than the width adaptation multiple, the length adaptation multiple is used as the adaptation multiple of the image to be displayed and the display screen, in the subsequent adaptation process, the length size and the width size of the image to be displayed are amplified or reduced according to the length adaptation multiple; and if the length adaptation multiple is larger than the width adaptation multiple, taking the width adaptation multiple as the adaptation multiple of the image to be displayed and the display screen, and amplifying or reducing the length size and the width size of the image to be displayed according to the width adaptation multiple in the subsequent adaptation process.
Referring to fig. 2, the display screen is shown in fig. 2(a), the display screen is a 4k resolution screen, that is, 4096 × 2160 resolution, a high-definition image with 885 ten thousand pixels can be viewed through the display screen, it is now required to display a frame of picture through the display screen, the frame of picture is shown in fig. 2(b), the frame of picture is 2048 × 1080 resolution, it is determined by the attribute information of the picture that the rendered picture is not consistent with the size of the display screen, the rendered picture is smaller than the display screen, the picture needs to be enlarged in a certain proportion to be adapted into the display screen, by calculating the ratio of the resolution of the display screen to the resolution of the picture, 4096 × 2160/2048 × 1080 is 4, so that the rendered picture needs to be enlarged 4 times to be completely exhibited in the display screen, the rendered display effect is shown in fig. 2(c), therefore, the adaptation multiple of the display screen and the frame is determined to be 4 times.
The method comprises the steps of determining an adaptation multiple of the image to be displayed, which is adapted to the display screen and needs to be amplified or reduced, by calculating the ratio of the image resolution of the image to be displayed to the screen resolution of the display screen, so that the rendered image to be displayed can be completely displayed in the display screen after the image to be displayed is rendered through a plurality of rendering terminals in the subsequent process.
Step 106: rendering the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screen areas.
Specifically, on the basis of determining the adaptation multiple, the image to be displayed is loaded to the rendering terminals respectively for rendering, because each rendering terminal corresponds to one screen area, the image to be displayed is completely displayed in each screen area, and then the image to be displayed in each screen area is rendered through the rendering terminals, so that the image to be displayed in each screen area can be completely displayed;
based on this, in the process of rendering the image to be displayed through the rendering terminal, in order to enable the resolution of the image exhibited by each screen area to be consistent in the subsequent process of displaying the image to be displayed, the output results of the rendering terminals need to be adjusted, and since the output of the rendering terminals is limited by hardware, the resolution of the output image of each rendering terminal is fixed, and the resolution of the output image cannot be improved on the basis of limited hardware, the resolution of the output image of the rendering terminals needs to be adjusted according to the rendering terminal with the lowest resolution of the output image, so that the display effect of the finally rendered image to be displayed can be consistent.
Before the rendering the image to be displayed by the rendering terminals, in one or more embodiments of this embodiment, the image to be displayed needs to be loaded to the rendering terminal corresponding to each screen region for rendering, and the specific implementation manner is as follows:
and respectively loading the images to be displayed to the rendering terminals corresponding to the screen areas.
Specifically, before the rendering of the image to be displayed by the rendering terminals, the image to be displayed needs to be loaded to the rendering terminals, so that the rendering terminals can render the image to be displayed completely, and the rendering is performed on each display screen, that is, the image to be displayed can be displayed completely in each display screen.
Before the rendering the image to be displayed by the rendering terminals, in one or more embodiments of this embodiment, in order to ensure that the resolution of the image to be displayed finally displayed in each display screen area is consistent, the resolution of the image to be displayed output by the rendering terminals needs to be controlled while rendering, and a specific implementation manner is as follows:
acquiring the screen resolution of the display screen, and determining the image resolution of the image to be displayed according to the attribute information;
and under the condition that the image resolution is greater than the screen resolution, adjusting the image resolution according to the screen resolution.
Specifically, the display screen is divided into a plurality of screen regions, and each of the screen regions belongs to a part of the display screen, so that the screen resolutions (DPI) of the screen regions are consistent;
based on this, acquiring the screen resolution (screen DPI) of the display screen, and determining the image resolution (image DPI) of the image to be displayed according to the attribute information, wherein the screen resolution specifically refers to the number of pixel points included in the display screen, and the image resolution specifically refers to the number of pixel points forming the image to be displayed; under the condition that the image resolution is greater than the screen resolution, the number of pixel points of the image to be displayed is greater than the number of pixel points in the display screen, and at the moment, if the image to be displayed is displayed through the display screen, the image to be displayed cannot be normally displayed; at this time, the image resolution of the image to be displayed needs to be reduced, the reduction degree can be adjusted according to the screen resolution, namely, the image resolution is adjusted to be consistent with the screen resolution, and when the image to be displayed is displayed through the display screen, pixel points in the display screen correspond to pixel points in the image to be displayed one by one;
under the condition that the image resolution is equal to the screen resolution, the number of the pixel points of the image to be displayed is equal to the number of the pixel points in the display screen, and at the moment, the image resolution does not need to be adjusted, and the subsequent processing process is carried out;
and under the condition that the image resolution is smaller than the screen resolution, indicating that the number of the pixel points of the image to be displayed is smaller than the number of the pixel points in the display screen, and at the moment, carrying out subsequent processing without adjusting the image resolution.
Referring to fig. 3, the display screen is as shown in fig. 3(a), the display screen is divided to obtain a screen area 1, a screen area 2, a screen area 3 and a screen area 4, the screen resolution is 96DPI, and each screen area corresponds to one rendering terminal, at this time, an image with an image resolution of 106DPI needs to be displayed in the display screen, the image resolution needs to be adjusted to be consistent with the screen resolution for rendering, the image resolution is determined to be 96DPI by adjustment, then, in order to be able to display the image in the whole display screen, the image is fully displayed in each screen area firstly, then, the image is magnified and adapted, and then, the image is displayed in the display screen, the image in the screen areas is rendered by each rendering terminal, and the display effect of the image in the screen areas 1, 2, 3 and 4 is as shown in fig. 3(b), the image is fully displayed in screen area 1, screen area 2, screen area 3 and screen area 4.
Before the plurality of rendering terminals render the image to be displayed in each screen area, in order to achieve better effect of the finally displayed image to be displayed, the image resolution of the image to be displayed needs to be adjusted according to the screen resolution of the display screen, so that the finally displayed image to be displayed has better effect, and the plurality of rendering terminals completely render the image to be displayed in the plurality of screen areas, thereby facilitating the subsequent adaptation process of the image to be displayed.
Step 108: and adapting the rendered image to be displayed in the plurality of screen areas according to the adaptation multiple.
Specifically, after the images to be displayed are rendered through the rendering terminals, the rendered images to be displayed are adapted in the screen areas according to the adaptation multiples, that is, the images to be displayed are completely displayed in the screen areas at this time, in order to enable the screen areas to display a part of the images to be displayed, the images to be displayed are displayed through the display screen after being spliced, and the rendered images to be displayed in the screen areas need to be adapted, that is, the rendered images to be displayed in the screen areas are amplified.
In the process of adapting the images to be displayed in the multiple screen regions according to the adaptation multiple, in one or more embodiments of this embodiment, in order to avoid occurrence of a situation that an adjacent screen region repeatedly displays the images to be displayed when shifting the images to be displayed in each screen region in the subsequent process, the images to be displayed in each screen region need to be adapted based on the reference coordinates, and when the shifting process is performed, the specific implementation manner is as follows:
configuring reference coordinates for the images to be displayed rendered by the rendering terminals;
and adapting the images to be displayed after rendering in the plurality of screen areas according to the adaptation multiples based on the reference coordinates.
Specifically, a reference coordinate is configured for an image to be displayed in each rendered screen area, the reference coordinate is used for determining a fixed point for adapting the image to be displayed, and the image to be displayed is adapted based on the fixed point, so that the image to be displayed after being adapted in each screen area is convenient for calculating an offset in the subsequent process; in the process of configuring the reference coordinates, a plane coordinate system can be established for the image to be displayed, the same point of the image to be displayed in each screen area is selected as a coordinate origin, and then the reference coordinates are determined based on the established coordinates.
Based on the reference coordinates, the rendered images to be displayed in the multiple screen areas are adapted according to the adaptation multiples.
Following the above example, as shown in fig. 3(b), it is determined that the image to be displayed is completely displayed in each screen area, and it is determined that the image is adapted to the display screen divided into screen area 1, screen area 2, screen area 3 and screen area 4 with an adaptation factor of 4, and it is determined that the image is enlarged in each screen area with an enlargement factor of 4, then a reference coordinate is configured for the image, the reference coordinate (0, 0) is the upper left corner of the image, the image in each screen area is enlarged by 4 using the reference coordinate as a fixed point, the enlarged display effect is as shown in fig. 4, see fig. 4, where the display contents in screen area 1, screen area 2, screen area 3 and screen area 4 are the same, and the portion outside the screen area indicates that rendering by the rendering terminal has been completed but is not displayed in the screen area, in this case, it is necessary to perform offset processing on the image in each screen area so as to realize complete presentation of the image through the presentation screen.
Before the images to be displayed which are rendered in each screen area are configured, the images to be displayed which are displayed in each screen area can form a display screen to be displayed completely, the situation that the images to be displayed are displayed repeatedly before each screen area is avoided, reference coordinates are configured for the images to be displayed in each screen area, the reference coordinates are used as fixed points to perform adaptation according to the adaptation multiples, and the images to be displayed in each screen area can be subjected to offset processing more simply and conveniently.
Step 110: and calculating the offset of the image to be displayed in the plurality of screen areas according to the adaptation result and the coordinate information of the plurality of screen areas in the display screen.
Specifically, after the rendered image to be displayed is adapted in each screen area, the offset of the image to be displayed in the plurality of screen areas needs to be calculated according to the adaptation result and the coordinate information of each screen area in the display screen; the offset specifically refers to a vector of change of the image to be displayed in each screen area, namely a coordinate distance of the image to be displayed needing to move horizontally and a coordinate distance of the image to be displayed needing to move vertically in each screen area;
based on this, the offset of the image to be displayed in the multiple screen areas is calculated to enable the contents displayed in the multiple screen areas to be spliced to form the image to be displayed, and in order to avoid the situation that the displayed contents in each screen area are repeated, the offset of the image to be displayed needs to be determined according to the coordinate information of each screen area in the screen area.
On the basis of adapting the to-be-displayed image in the multiple screen regions according to the adaptation multiple, in one or more embodiments of this embodiment, a specific implementation manner of calculating the offset is as follows:
determining region coordinates of each screen region in the plurality of screen regions according to the coordinate information;
configuring image coordinates for the image to be displayed according to the adaptation result;
calculating the image offset of the image to be displayed in each screen area based on the area coordinates and the image coordinates of each screen area, and taking the image offset as the offset of the image to be displayed in the plurality of screen areas.
Specifically, the area coordinates of each divided screen area relative to the display screen are determined according to the coordinate information, the area coordinates may be determined after a plane coordinate system is established based on the display screen, specifically, the plane coordinate system is established according to the display screen, then the coordinates of four vertexes of each screen area in the plane coordinate system are determined, and the area coordinates of one screen area are determined based on the four coordinates;
based on this, image coordinates are configured for the adapted image to be displayed in each screen area according to the adaptation result, that is, the image coordinates are used for determining the distance that the image to be displayed needs to move relative to the screen area, the image offset of the image to be displayed in each display screen is calculated based on the image coordinates and the area coordinates, and the image offset is used as the offset of the image to be displayed in the plurality of screen areas.
For example, the presentation screen is divided into 4 screen regions, screen region 1, screen region 2, screen region 3, and screen region 4, and it is determined by the coordinate information that screen region 1 is composed of four coordinates of (0, 0), (0, 10) (-10, 0), (-10, 10), screen region 2 is composed of four coordinates of (0, 0), (0, 10) (10, 0), (10, 10), screen region 3 is composed of four coordinates of (0, 0), (0, -10) (-10, 0), (-10 ), and screen region 3 is composed of four coordinates of (0, 0), (10, 0) (0, -10), (10, -10);
the four screen regions are equal in size, and the displayed images adapted in the screen regions are also equal, and are all the upper left corner parts of the images, the size of each screen region is 10 × 10, and the size of each display screen is 20 × 20, so that the four screen regions respectively display the 10 × 10 parts of the images, and the images can be completely displayed through the display screens, at the moment, the four screen regions all display the same image parts, the offset of the images in each screen region needs to be calculated, and then the images are subjected to offset processing according to the offset;
based on this, by the area coordinates of the respective screen areas and the image coordinates configured for the image, the amount of shift of the image with respect to the presentation screen is calculated as 0 unit in the horizontal direction and 0 unit in the vertical direction in the screen area 1, the amount of shift of the image with respect to the presentation screen is calculated as-10 units in the horizontal direction (10 units of shift of the image with respect to the origin of coordinates) and 0 unit in the vertical direction in the screen area 2, the amount of shift of the image with respect to the presentation screen is calculated as 0 unit in the horizontal direction and 10 units in the vertical direction (10 units of shift of the image with respect to the origin of coordinates) in the screen area 3, the amount of shift of the image with respect to the presentation screen is calculated as-10 units in the horizontal direction (10 units of shift of the image with respect to the origin of coordinates) and 10 units in the vertical direction (10 units of shift of the image with respect to the origin of coordinates), the amount of shift of the image with respect to the presentation screen is determined based on the amount of shift of the image in the horizontal direction and the vertical direction in each screen region.
The offset of the image to be displayed in the screen areas is calculated through the coordinate information, the offset distance of the image to be displayed relative to the screens can be determined more accurately, the situation that the image to be displayed is repeatedly displayed in each screen area is avoided, and the optimal splicing effect among the screen areas can be achieved.
On the basis of calculating the offset according to the adaptation result and the coordinate information, further, in one or more embodiments of this embodiment, it is required to detect whether the image to be displayed is added to the visual window, and then the image to be displayed can be displayed in the plurality of screen areas, and a specific implementation manner is as follows:
detecting whether the image to be displayed in the rendered screen areas is added to a visual window or not;
if yes, loading the rendered image to be displayed to the plurality of screen areas based on the parameters of the visual window;
if not, no treatment is needed.
Specifically, whether the image to be displayed in the multiple screen areas is added to the visual window is detected, where the visual window specifically refers to a ViewPort in the UE4, and only when the image to be displayed is added to the visual window (ViewPort), subsequent display can be performed;
based on this, if it is detected that the to-be-displayed image in the rendered multiple screen areas is added to the visual window, it indicates that the to-be-displayed image can be subsequently displayed through the display screen, and in this case, the rendered to-be-displayed image needs to be loaded to the multiple screen areas according to the parameters of the visual window; if it is detected that the to-be-displayed images in the rendered screen areas are not added to the visual window, which indicates that the to-be-displayed images are not adapted completely, no processing is required.
Step 112: and displaying the image to be displayed through the plurality of screen areas divided by the display screen based on the offset.
Specifically, on the basis of calculating the offset according to the adaptation result and the coordinate information, the image to be displayed may be subjected to offset processing based on the offset, and after the image to be displayed is offset, the image to be displayed is displayed through the plurality of screen areas, so that the image to be displayed is completely displayed in a display screen, and the image to be displayed is rendered by a plurality of rendering terminals at the same time.
In the above technology for determining the offset of the image to be displayed with respect to the screen area through calculation, in one or more embodiments of this embodiment, in a process of displaying the image to be displayed, an offset process needs to be performed according to the offset, and the image to be displayed after the offset process can be displayed, which is specifically implemented as follows:
performing offset processing on the images to be displayed in the plurality of screen areas based on the offset;
and displaying the image to be displayed through the plurality of screen areas according to the offset processing result.
Specifically, the image to be displayed needs to be subjected to offset processing relative to each screen area, and offset distances of the image to be displayed in the screen areas are different, so that the image to be displayed in each screen area has a corresponding offset, the image to be displayed needs to be subjected to offset processing according to the corresponding offset in the offset processing process, and based on the offset processing, the image to be displayed can be displayed through the plurality of screen areas according to the offset processing result.
In the process of performing offset processing on the image to be displayed based on the offset amount, in one or more embodiments of this embodiment, a specific offset processing process is as follows:
determining reference points of the image to be displayed in the plurality of screen areas;
and carrying out offset processing on the image to be displayed according to the coordinate corresponding to the reference point and the coordinate information corresponding to the plurality of screen areas and the offset.
Specifically, first, reference points of the image to be displayed in the plurality of screen areas are determined, the reference points are consistent in each screen area, and the image to be displayed in each screen area is shifted according to the coordinate information corresponding to the screen area and the offset amount under the condition that the coordinate corresponding to the reference point is determined.
Still taking the case that the presentation screen is divided into 4 screen regions, which are screen region 1, screen region 2, screen region 3 and screen region 4, respectively, as an example, the offset processing procedure is described, it is determined from the calculation that the offset amount of the image with respect to the presentation screen in the screen region 1 is 0 unit in the horizontal direction and 0 unit in the vertical direction, the offset amount of the image with respect to the presentation screen in the screen region 2 is-10 units in the horizontal direction (10 units of leftward movement of the image with respect to the origin of coordinates), 0 unit in the vertical direction, 0 unit in the horizontal direction and 10 units in the vertical direction (10 units of upward movement of the image with respect to the origin of coordinates) in the screen region 3, 10 units in the horizontal direction (10 units of leftward movement of the image with respect to the origin of coordinates) in the screen region 4, 10 units in the vertical direction (the image is moved up 10 units with respect to the origin of coordinates);
based on this, referring to fig. 5, the image is subjected to the shift processing based on the shift amount, the image is not subjected to the shift processing in the screen region 1 as shown in fig. 5(a), the image is moved leftward in the screen region 2 by 10 units in accordance with the shift amount in the horizontal direction as shown in fig. 5(b), the image is not subjected to the shift processing in the screen region 3 by the shift amount in accordance with the horizontal direction as shown in fig. 5(c), the image is moved upward by 10 units in the vertical direction, the image is moved leftward in the screen region 4 by 10 units in accordance with the shift amount in accordance with the horizontal direction as shown in fig. 5(d), the image portions in the screen region 1, the screen region 2, the screen region 3 and the screen region 4 are portions which are finally required to be presented in the screen region, and the effect of finally presenting the image by presenting the screen is shown in fig. 5(e), the image is completely presented in the presentation screen divided into screen area 1, screen area 2, screen area 3 and screen area 4.
In addition, under the condition that the screen area is divided into a plurality of irregular screen areas, the image to be displayed can still be accurately subjected to offset processing according to the offset, so that the image to be displayed is completely displayed in the display screen;
based on this, referring to fig. 6, by dividing the presentation screen irregularly into a screen area 1, a screen area 2, a screen area 3 and a screen area 4, as shown in fig. 6(a), the divided presentation screen is calculated to determine that the amount of shift of the image in the screen area 1 is 0 unit in the horizontal direction and 0 unit in the vertical direction, the amount of shift of the image with respect to the presentation screen is-6 units in the horizontal direction (6 units of shift of the image to the left with respect to the origin of coordinates) and 0 unit in the vertical direction in the screen area 2, the amount of shift of the image with respect to the presentation screen is 0 unit in the horizontal direction and 10 units in the vertical direction (10 units of shift of the image with respect to the origin of coordinates) in the screen area 3, and the amount of shift of the image with respect to the presentation screen is-10 units in the horizontal direction (10 units shift of the image to the left with respect to the origin of coordinates) in the screen area 4, 10 units in the vertical direction (the image is moved up 10 units with respect to the origin of coordinates);
the result of the image being subjected to the offset processing with respect to the screen region 1 is shown in fig. 6(c), the result of the image being subjected to the offset processing with respect to the screen region 2 is shown in fig. 6(d), the result of the image being subjected to the offset processing with respect to the screen region 3 is shown in fig. 6(e), the result of the image being subjected to the offset processing with respect to the screen region 4 is shown in fig. 6(f), and the final display effect after the offset processing is shown in fig. 6 (b).
The image to be displayed is subjected to offset processing relative to the screen areas through the offset, so that the image to be displayed can be displayed completely through the display screen even under the irregular condition that the display screen is divided into the screen areas, the display is finished by rendering each screen area through a plurality of rendering terminals, and the image to be displayed can be displayed through the display screen under the irregular condition that the screen is divided under some special scenes.
The image display method based on the display screen provided by the specification comprises the steps of fitting an image to be displayed with the display screen, determining the fitting multiple of the image to be displayed, rendering the image to be displayed respectively through the rendering terminal corresponding to each screen area, determining the offset of the image to be displayed in each screen area according to the fitting multiple and the coordinate information of each screen area in the display screen, moving the image to be displayed in each screen area according to the offset, splicing the images displayed in each screen area into the images to be displayed, rendering the image to be displayed through a plurality of rendering terminals, realizing that the definition of the image to be displayed on the display screen is higher, and avoiding the occurrence of the repeated condition of displaying the image to be displayed in each screen area when the image to be displayed is displayed in each screen area, the image to be displayed can be completely displayed through the display screen, and even under the condition that the display screen is divided into a plurality of irregular screen areas, the image to be displayed can still be completely displayed.
Fig. 7 is a flowchart illustrating a multi-screen-based image presentation method according to an embodiment of the present disclosure, including steps 702 to 712.
Step 702: acquiring attribute information of an image to be displayed and screen information of a display screen composed of a plurality of screens.
Step 704: and calculating the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the screen information.
Step 706: and rendering the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screens.
In one or more embodiments of this embodiment, a specific implementation manner of adjusting the screen resolution is as follows:
acquiring a screen resolution corresponding to each screen in the plurality of screens;
selecting the smallest screen resolution in the screen resolutions as a reference screen resolution;
adjusting the screen resolutions corresponding to the plurality of screens according to the reference screen resolution, wherein the adjusted screen resolutions corresponding to the plurality of screens are all the reference screen resolution;
and rendering the image to be displayed by the rendering terminals according to the resolution of the reference screen.
Specifically, before the rendering terminals render the image to be displayed, screen resolution adjustment is required, because the screens forming the display screen are all independent screens, and the screen resolution of each screen may be different, and in the case that the screen resolutions of each screen are different, in order to make the effects of the parts of the image to be displayed by the screens consistent, the screen resolutions of the screens are required to be adjusted to be consistent, and because the screen resolutions of the screens depend on hardware reasons, the higher screen resolution adjustment is required to be adjusted according to the lowest screen resolution among the screens, for example, the screen resolution of the screen 1 is 100 ten thousand pixels, the screen resolution of the screen 2 is 200 ten thousand pixels, the screen resolution of the screen 3 is 400 ten thousand pixels, and in the case that the display screen formed by the screen 1, the screen 2 and the screen 3 displays the image to be displayed, the screen resolutions of the screen 2 and the screen 3 need to be adjusted to be consistent with the screen resolution of the screen 1, so that the finally displayed image to be displayed can be consistent.
Step 708: and adapting the rendered image to be displayed in the plurality of screens according to the adaptation multiple.
Step 710: and calculating the offset of the image to be displayed in the plurality of screens according to the adaptation result and the position information of the plurality of screens in the display screen.
Step 712: and displaying the image to be displayed through the display screen composed of the plurality of screens based on the offset.
In one or more implementations of this embodiment, the calculating, according to the attribute information and the screen information, an adaptation multiple of the display screen and the image to be displayed includes:
determining an image resolution of the image to be displayed through the attribute information, and determining a screen resolution of the display screen composed of the plurality of screens through the screen information;
and calculating the ratio of the screen resolution to the image resolution, and taking the ratio result as the adaptation multiple.
In one or more embodiments of this embodiment, before the step of rendering the image to be displayed by the multiple rendering terminals corresponding to the multiple screens is executed, the method further includes:
and respectively loading the images to be displayed to the rendering terminals corresponding to the screens.
In one or more embodiments of this embodiment, the adapting, according to the adaptation multiple, the rendered image to be displayed in the plurality of screens includes:
configuring reference coordinates for the images to be displayed rendered by the rendering terminals;
and adapting the images to be displayed after rendering in the plurality of screens according to the adaptation multiples based on the reference coordinates.
In one or more embodiments of this embodiment, the calculating, according to the adaptation result and the position information of the multiple screens in the display screen, an offset of the image to be displayed in the multiple screens includes:
determining screen coordinates of each screen of the plurality of screens relative to the presentation screen according to the position information;
configuring image coordinates for the image to be displayed according to the adaptation result;
calculating the image offset of the image to be displayed in each screen based on the screen coordinate corresponding to each screen and the image coordinate, and taking the image offset as the offset of the image to be displayed in the plurality of screens.
Specifically, the offset is calculated under the condition that the screen coordinates of each screen in the plurality of screens relative to the display screen are determined based on the position information, and the display screen is formed by arranging the plurality of screens through hardware under the condition that the display screen is formed by the plurality of screens, for example, an oversized screen formed by 4 identical displays is formed by splicing and placing the 4 displays;
based on this, under the condition that the display screen is formed by a plurality of screens, the adjacent screens may be spliced incompletely due to environmental reasons, that is, gaps or obstacles may exist between the screens, in this case, in the process of calculating the offset of the image to be displayed in the screens, the distance between the gaps or obstacles existing between the screens needs to be calculated, so that it can be ensured that the image to be displayed on the screens can be displayed completely, and the situation that the image to be displayed is repeatedly displayed on the screens does not occur.
In one or more implementations of this embodiment, the displaying the to-be-displayed image through the display screen composed of the multiple screens based on the offset includes:
performing offset processing on the images to be displayed in the plurality of screens based on the offset;
and displaying the image to be displayed through the plurality of screens according to the offset processing result.
In one or more implementations of this embodiment, the performing offset processing on the image to be displayed in the multiple screens based on the offset includes:
determining a reference point of the image to be displayed in the display screen;
and carrying out offset processing on the image to be displayed according to the coordinate corresponding to the reference point and the position information corresponding to the plurality of screens and the offset.
In one or more embodiments of this embodiment, before the step of rendering the image to be displayed by the multiple rendering terminals corresponding to the multiple screens is executed, the method further includes:
determining the image resolution of the image to be displayed according to the attribute information;
and under the condition that the image resolution is greater than the reference screen resolution, adjusting the image resolution according to the reference screen resolution.
In one or more embodiments of this embodiment, after the step of calculating an offset of the to-be-displayed image in the multiple screens according to the adaptation result and the position information of the multiple screens in the display screen is executed, before the step of displaying the to-be-displayed image on the display screen composed of the multiple screens based on the offset is executed, the method further includes:
detecting whether the image to be displayed in the rendered multiple screens is added to a visual window or not;
and if so, loading the rendered image to be displayed to the plurality of screens based on the parameters of the visual window.
The multi-screen-based image display method provided in this embodiment and the display-screen-based image display method belong to the same concept, and the same description contents can be referred to the display-screen-based image display method, which is not described herein again.
The multi-screen-based image display method provided by the specification comprises the steps of fitting an image to be displayed with a display screen, determining the fitting multiple of the image to be displayed, rendering the image to be displayed respectively through a rendering terminal corresponding to each screen, determining the offset of the image to be displayed in each screen according to the fitting multiple and the position information of each screen in the display screen, moving the image to be displayed in each screen according to the offset, splicing the image to be displayed of each screen into the image to be displayed, rendering the image to be displayed through a plurality of rendering terminals, realizing that the definition of the image to be displayed on the display screen is higher, avoiding the situation that the image to be displayed on each screen is repeated when the image to be displayed on each screen is displayed through each screen, and completely displaying the image to be displayed through the display screen, even in the case where the presentation screen is composed of a plurality of irregular screens, the image to be presented can be presented completely.
Corresponding to the above method embodiment, the present specification further provides an embodiment of an image display apparatus based on a display screen, and fig. 8 shows a schematic structural diagram of an image display apparatus based on a display screen provided in an embodiment of the present specification. As shown in fig. 8, the apparatus includes:
an information obtaining module 802 configured to obtain attribute information of an image to be displayed and resolution information of a display screen divided into a plurality of screen areas;
a multiple adaptation calculation module 804 configured to calculate an adaptation multiple of the display screen and the image to be displayed according to the attribute information and the resolution information;
an image rendering module 806, configured to render the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screen areas;
the image adaptation module 808 is configured to adapt the rendered image to be displayed in the plurality of screen areas according to the adaptation multiple;
a calculating offset module 810 configured to calculate offsets of the image to be displayed in the plurality of screen areas according to the adaptation result and the coordinate information of the plurality of screen areas in the display screen;
a display image module 812 configured to display the image to be displayed through the plurality of screen regions divided by the display screen based on the offset.
In an optional embodiment, the module 804 for calculating an adaptation multiple includes:
a resolution determining unit configured to determine an image resolution of the image to be presented through the attribute information, and determine a screen resolution of the presentation screen through the resolution information;
and the calculation adaptation multiple unit is configured to calculate the ratio of the screen resolution to the image resolution, and the ratio result is used as the adaptation multiple.
In an optional embodiment, the display screen-based image display apparatus further includes:
and the image loading module is configured to load the images to be displayed to the rendering terminals corresponding to the screen areas respectively.
In an alternative embodiment, the image adaptation module 808 includes:
the configuration coordinate unit is configured to configure reference coordinates for the images to be displayed after being rendered through the rendering terminals;
the image adaptation unit is configured to adapt the images to be displayed after being rendered in the plurality of screen areas according to the adaptation multiples based on the reference coordinates.
In an alternative embodiment, the calculate offset module 810 includes:
a determination region coordinate unit configured to determine region coordinates of each of the plurality of screen regions according to the coordinate information;
the image coordinate configuration unit is configured to configure image coordinates for the image to be displayed according to the adaptation result;
a calculation offset unit configured to calculate an image offset of the image to be presented in each screen area based on the area coordinates and the image coordinates of the each screen area, the image offset being the offset of the image to be presented in the plurality of screen areas.
In an alternative embodiment, the display image module 812 includes:
the offset processing unit is configured to perform offset processing on the images to be displayed in the plurality of screen areas based on the offset;
and the display image unit is configured to display the image to be displayed through the plurality of screen areas according to the offset processing result.
In an optional embodiment, the offset processing unit includes:
a determine reference point submodule configured to determine reference points of the image to be presented in the plurality of screen areas;
and the offset processing submodule is configured to perform offset processing on the image to be displayed according to the offset according to the coordinate corresponding to the reference point and the coordinate information corresponding to the plurality of screen areas.
In an optional embodiment, the display screen-based image display apparatus further includes:
a screen dividing module configured to divide the presentation screen into the plurality of screen regions according to attribute information of the plurality of rendering terminals;
a determination module configured to determine that the plurality of rendering terminals correspond one-to-one to the plurality of screen regions.
In an optional embodiment, the display screen-based image display apparatus further includes:
the acquisition resolution module is configured to acquire the screen resolution of the display screen and determine the image resolution of the image to be displayed according to the attribute information;
an adjustment resolution module configured to adjust the image resolution according to the screen resolution if the image resolution is greater than the screen resolution.
In an optional embodiment, the display screen-based image display apparatus further includes:
a detection module configured to detect whether the image to be displayed in the rendered multiple screen areas is added to a visual window;
if so, operating and loading the image module to be displayed;
the image loading module to be displayed is configured to load the rendered image to be displayed to the plurality of screen areas based on the parameters of the visual window.
The image display device based on the display screen determines the adaptation multiple of the image to be displayed by adapting the image to be displayed with the display screen, renders the image to be displayed respectively by the rendering terminal corresponding to each screen area, determines the offset of the image to be displayed in each screen area according to the adaptation multiple and the coordinate information of each screen area in the display screen, moves the image to be displayed in each screen area according to the offset, so that the image to be displayed in each screen area can be spliced into the image to be displayed, the image to be displayed can be rendered by a plurality of rendering terminals, the definition of the image to be displayed on the display screen is high, and the image to be displayed in each screen area is displayed, and the phenomenon that the image to be displayed is repeated in each screen area is avoided, the image to be displayed can be completely displayed through the display screen, and even under the condition that the display screen is divided into a plurality of irregular screen areas, the image to be displayed can still be completely displayed.
The above is a schematic scheme of the image display device based on the display screen of the embodiment. It should be noted that the technical solution of the image displaying apparatus based on the display screen and the technical solution of the image displaying method based on the display screen belong to the same concept, and details of the technical solution of the image displaying apparatus based on the display screen, which are not described in detail, can be referred to the description of the technical solution of the image displaying method based on the display screen.
Corresponding to the above method embodiment, the present specification further provides an embodiment of a multi-screen based image display apparatus, and fig. 9 is a schematic structural diagram of the multi-screen based image display apparatus provided in an embodiment of the present specification. As shown in fig. 9, the apparatus includes:
an obtaining module 902 configured to obtain attribute information of an image to be displayed and screen information of a display screen composed of a plurality of screens;
a first calculating module 904, configured to calculate an adaptation multiple of the display screen and the image to be displayed according to the attribute information and the screen information;
a rendering module 906 configured to render the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screens;
an adaptation module 908 configured to adapt the rendered image to be displayed in the plurality of screens according to an adaptation multiple;
a second calculating module 910 configured to calculate offsets of the images to be displayed in the plurality of screens according to the adaptation result and the position information of the plurality of screens in the display screen;
a presentation module 912 configured to present the image to be presented through the presentation screen composed of the plurality of screens based on the offset.
In an optional embodiment, the multi-screen-based image display apparatus further includes:
a screen resolution acquisition module configured to acquire a screen resolution corresponding to each of the plurality of screens;
a select reference screen resolution module configured to select a smallest screen resolution among the screen resolutions as a reference screen resolution;
the screen resolution adjusting module is configured to adjust the screen resolutions corresponding to the plurality of screens according to the reference screen resolution, and the adjusted screen resolutions corresponding to the plurality of screens are all the reference screen resolution;
accordingly, the rendering module 906 is further configured to:
and rendering the image to be displayed by the rendering terminals according to the resolution of the reference screen.
In an alternative embodiment, the first calculating module 904 includes:
a first determination unit configured to determine an image resolution of the image to be presented through the attribute information, and determine a screen resolution of the presentation screen composed of the plurality of screens through the screen information;
a first calculation unit configured to calculate a ratio of the screen resolution to the image resolution, the ratio result being the adaptation multiple.
In an optional embodiment, the multi-screen-based image display apparatus further includes:
and the loading module is configured to load the images to be displayed to the rendering terminals corresponding to the screens respectively.
In an optional embodiment, the adaptation module 908 includes:
the first configuration unit is configured to configure reference coordinates for the image to be displayed rendered by the rendering terminals;
the adaptation unit is configured to adapt the images to be displayed after being rendered in the plurality of screens according to the adaptation multiples based on the reference coordinates.
In an optional embodiment, the second calculating module 910 includes:
a second determination unit configured to determine screen coordinates of each of the plurality of screens with respect to the presentation screen according to the position information;
the second configuration unit is configured to configure image coordinates for the image to be displayed according to the adaptation result;
a second calculating unit, configured to calculate an image offset of the image to be displayed in each screen based on the screen coordinates and the image coordinates corresponding to each screen, and take the image offset as the offset of the image to be displayed in the plurality of screens.
In an alternative embodiment, the display module 912 includes:
a processing unit configured to perform offset processing on the image to be presented in the plurality of screens based on the offset amount;
and the display unit is configured to display the image to be displayed through the plurality of screens according to the offset processing result.
In an optional embodiment, the processing unit includes:
a determination submodule configured to determine a reference point of the image to be presented in the presentation screen;
and the processing submodule is configured to perform offset processing on the image to be displayed according to the offset according to the coordinate corresponding to the reference point and the position information corresponding to the plurality of screens.
In an optional embodiment, the multi-screen-based image display apparatus further includes:
the resolution determining module is configured to determine the image resolution of the image to be displayed through the attribute information;
an adjustment module configured to adjust the image resolution according to the reference screen resolution if the image resolution is greater than the reference screen resolution.
In an optional embodiment, the multi-screen-based image display apparatus further includes:
a visual window detection module configured to detect whether the image to be displayed in the rendered multiple screens is added to a visual window;
if yes, operating the image loading module;
the image loading module is configured to load the rendered image to be displayed to the plurality of screens based on the parameters of the visual window.
The multi-screen-based image display device provided by the specification determines the adaptation multiple of the image to be displayed by adapting the image to be displayed with the display screen, renders the image to be displayed respectively by the rendering terminal corresponding to each screen, determines the offset of the image to be displayed in each screen according to the adaptation multiple and the position information of each screen in the display screen, moves the image to be displayed in each screen according to the offset, so that the image to be displayed on each screen can be spliced into the image to be displayed, realizes that the image to be displayed can be rendered by a plurality of rendering terminals, thereby realizing that the definition of the image to be displayed on the display screen is higher, and avoids the situation that the image to be displayed on each screen is repeated while the image to be displayed is displayed on each screen, so that the image to be displayed can be displayed completely by the display screen, even in the case where the presentation screen is composed of a plurality of irregular screens, the image to be presented can be presented completely.
The foregoing is a schematic solution of the multi-screen based image displaying apparatus of the present embodiment. It should be noted that the technical solution of the multi-screen-based image displaying apparatus and the technical solution of the multi-screen-based image displaying method belong to the same concept, and details that are not described in detail in the technical solution of the multi-screen-based image displaying apparatus can be referred to in the description of the technical solution of the multi-screen-based image displaying method.
Fig. 10 shows a block diagram of a first computing device 1000 provided according to an embodiment of the present description. The components of the computing device 1000 include, but are not limited to, memory 1010 and a processor 1020. The processor 1020 is coupled to the memory 1010 via a bus 1030 and the database 1050 is used to store data.
Computing device 1000 also includes access device 1040, access device 1040 enabling computing device 1000 to communicate via one or more networks 1060. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 1040 may include one or more of any type of network interface, e.g., a Network Interface Card (NIC), wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 1000 and other components not shown in FIG. 10 may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 10 is for purposes of example only and is not limiting as to the scope of the present description. Those skilled in the art may add or replace other components as desired.
Computing device 1000 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), a mobile phone (e.g., smartphone), a wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 1000 may also be a mobile or stationary server.
Wherein, the processor 1020 is configured to execute the following computer-executable instructions:
acquiring attribute information of an image to be displayed and resolution information of a display screen divided into a plurality of screen areas;
calculating the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the resolution information;
rendering the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screen areas;
adapting the rendered image to be displayed in the plurality of screen areas according to the adaptation multiple;
calculating the offset of the image to be displayed in the plurality of screen areas according to the adaptation result and the coordinate information of the plurality of screen areas in the display screen;
and displaying the image to be displayed through the plurality of screen areas divided by the display screen based on the offset.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that, each embodiment in this specification is described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other, that is, the technical solution of the computing device and the technical solution of the image display method based on the display screen belong to the same concept, and details of the technical solution of the computing device, which are not described in detail, may be referred to the description of the technical solution of the image display method based on the display screen.
FIG. 11 illustrates a block diagram of a second computing device 1100 provided in accordance with an embodiment of the present application, the components of the computing device 1100 including but not limited to a memory 1110 and a processor 1120. The processor 1120 is coupled to the memory 1110 via a bus 1130, the database 1150 is used to store data, and the computing device 1100 further includes an access device 1140, the access device 1140 enabling the computing device 1100 to communicate via one or more networks 1160. For a specific access manner and description of the second computing device 1100, refer to the computing device 1100, which is not described herein again.
Wherein, the processor 1120 is configured to execute the following computer-executable instructions:
acquiring attribute information of an image to be displayed and screen information of a display screen consisting of a plurality of screens;
calculating the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the screen information;
rendering the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screens;
adapting the rendered image to be displayed in the plurality of screens according to the adaptation multiple;
calculating the offset of the image to be displayed in the plurality of screens according to the adaptation result and the position information of the plurality of screens in the display screen;
and displaying the image to be displayed through the display screen composed of the plurality of screens based on the offset.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that, all the embodiments in this specification are described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other, that is, the technical scheme of the computing device and the technical scheme of the multi-screen-based image display method belong to the same concept, and details that are not described in detail in the technical scheme of the computing device may be referred to the description of the technical scheme of the multi-screen-based image display method.
An embodiment of the present specification also provides a first computer-readable storage medium storing computer instructions that, when executed by a processor, are operable to:
acquiring attribute information of an image to be displayed and resolution information of a display screen divided into a plurality of screen areas;
calculating the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the resolution information;
rendering the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screen areas;
adapting the rendered image to be displayed in the plurality of screen areas according to the adaptation multiple;
calculating the offset of the image to be displayed in the plurality of screen areas according to the adaptation result and the coordinate information of the plurality of screen areas in the display screen;
and displaying the image to be displayed through the plurality of screen areas divided by the display screen based on the offset.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that, each embodiment in this specification is described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other, that is, the technical scheme of the storage medium and the technical scheme of the display screen-based image display method described above belong to the same concept, and details of the technical scheme of the storage medium, which are not described in detail, may be referred to the description of the technical scheme of the display screen-based image display method described above.
An embodiment of the present specification also provides a second computer readable storage medium storing computer instructions that, when executed by a processor, are operable to:
acquiring attribute information of an image to be displayed and screen information of a display screen consisting of a plurality of screens;
calculating the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the screen information;
rendering the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screens;
adapting the rendered image to be displayed in the plurality of screens according to the adaptation multiple;
calculating the offset of the image to be displayed in the plurality of screens according to the adaptation result and the position information of the plurality of screens in the display screen;
and displaying the image to be displayed through the display screen composed of the plurality of screens based on the offset.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that, all the embodiments in this specification are described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other, that is, the technical scheme of the storage medium and the technical scheme of the multi-screen-based image display method described above belong to the same concept, and details that are not described in detail in the technical scheme of the storage medium may be referred to the description of the technical scheme of the multi-screen-based image display method described above.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present disclosure is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present disclosure. Further, those skilled in the art should also appreciate that the embodiments described in this specification are preferred embodiments and that acts and modules referred to are not necessarily required for this description.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present specification disclosed above are intended only to aid in the description of the specification. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, 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 of the specification and its practical application, to thereby enable others skilled in the art to best understand the specification and its practical application. The specification is limited only by the claims and their full scope and equivalents.

Claims (26)

1. An image display method based on a display screen comprises the following steps:
acquiring attribute information of an image to be displayed and resolution information of a display screen divided into a plurality of screen areas;
calculating the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the resolution information;
rendering the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screen areas;
adapting the rendered image to be displayed in the plurality of screen areas according to the adaptation multiple, wherein the image to be displayed is completely displayed in the plurality of screen areas;
calculating the offset of the image to be displayed in the plurality of screen areas according to the adaptation result and the coordinate information of the plurality of screen areas in the display screen;
and displaying the image to be displayed through the plurality of screen areas divided by the display screen based on the offset.
2. The method for displaying an image based on a display screen according to claim 1, wherein the calculating the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the resolution information comprises:
determining the image resolution of the image to be displayed according to the attribute information, and determining the screen resolution of the display screen according to the resolution information;
and calculating the ratio of the screen resolution to the image resolution, and taking the ratio result as the adaptation multiple.
3. The method for displaying images based on a display screen according to claim 1, wherein before the step of rendering the image to be displayed by the rendering terminals corresponding to the screen areas is executed, the method further comprises:
and respectively loading the images to be displayed to the rendering terminals corresponding to the screen areas.
4. The display screen-based image display method according to claim 1, wherein the adapting the rendered image to be displayed in the plurality of screen areas according to the adaptation multiple comprises:
configuring reference coordinates for the images to be displayed rendered by the rendering terminals;
and adapting the images to be displayed after rendering in the plurality of screen areas according to the adaptation multiples based on the reference coordinates.
5. The presentation screen-based image presentation method of claim 1, wherein the calculating the offset of the image to be presented in the plurality of screen areas according to the adaptation result and the coordinate information of the plurality of screen areas in the presentation screen comprises:
determining region coordinates of each screen region in the plurality of screen regions according to the coordinate information;
configuring image coordinates for the image to be displayed according to the adaptation result;
calculating the image offset of the image to be displayed in each screen area based on the area coordinates and the image coordinates of each screen area, and taking the image offset as the offset of the image to be displayed in the plurality of screen areas.
6. The presentation screen-based image presentation method of claim 1, said presenting the image to be presented through the plurality of screen regions divided by the presentation screen based on the offset, comprising:
performing offset processing on the images to be displayed in the plurality of screen areas based on the offset;
and displaying the image to be displayed through the plurality of screen areas according to the offset processing result.
7. The display screen-based image display method of claim 6, wherein the shifting the image to be displayed in the plurality of screen areas based on the shift amount comprises:
determining reference points of the image to be displayed in the plurality of screen areas;
and carrying out offset processing on the image to be displayed according to the coordinate corresponding to the reference point and the coordinate information corresponding to the plurality of screen areas and the offset.
8. The method for displaying an image based on a display screen according to claim 1, wherein before the steps of obtaining the attribute information of the image to be displayed and the resolution information of the display screen divided into a plurality of screen areas are performed, the method further comprises:
dividing the display screen into a plurality of screen areas according to the attribute information of the rendering terminals;
and determining that the rendering terminals correspond to the screen areas one to one.
9. The method for displaying images based on a display screen according to claim 1, wherein before the step of rendering the image to be displayed by the rendering terminals corresponding to the screen areas is executed, the method further comprises:
acquiring the screen resolution of the display screen, and determining the image resolution of the image to be displayed according to the attribute information;
and under the condition that the image resolution is greater than the screen resolution, adjusting the image resolution according to the screen resolution.
10. The presentation screen-based image presentation method according to claim 1, further comprising, after the step of calculating an offset of the image to be presented in the plurality of screen regions according to the adaptation result and the coordinate information of the plurality of screen regions in the presentation screen is performed, and before the step of presenting the image to be presented by the plurality of screen regions divided by the presentation screen based on the offset is performed:
detecting whether the image to be displayed in the rendered screen areas is added to a visual window or not;
and if so, loading the rendered image to be displayed to the plurality of screen areas based on the parameters of the visual window.
11. A multi-screen based image display method comprises the following steps:
acquiring attribute information of an image to be displayed and screen information of a display screen consisting of a plurality of screens;
calculating the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the screen information;
rendering the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screens;
adapting the rendered image to be displayed in the plurality of screens according to the adaptation multiple, wherein the image to be displayed is completely displayed in the plurality of screens;
calculating the offset of the image to be displayed in the plurality of screens according to the adaptation result and the position information of the plurality of screens in the display screen;
and displaying the image to be displayed through the display screen composed of the plurality of screens based on the offset.
12. The multi-screen-based image displaying method according to claim 11, wherein before the step of rendering the image to be displayed by the rendering terminals corresponding to the screens is executed, the method further comprises:
acquiring a screen resolution corresponding to each screen in the plurality of screens;
selecting the smallest screen resolution in the screen resolutions as a reference screen resolution;
adjusting the screen resolutions corresponding to the plurality of screens according to the reference screen resolution, wherein the adjusted screen resolutions corresponding to the plurality of screens are all the reference screen resolution;
correspondingly, the rendering the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screens includes:
and rendering the image to be displayed by the rendering terminals according to the resolution of the reference screen.
13. The multi-screen-based image presentation method according to claim 11, wherein the calculating an adaptation multiple of the presentation screen to the image to be presented according to the attribute information and the screen information comprises:
determining an image resolution of the image to be displayed through the attribute information, and determining a screen resolution of the display screen composed of the plurality of screens through the screen information;
and calculating the ratio of the screen resolution to the image resolution, and taking the ratio result as the adaptation multiple.
14. The multi-screen-based image displaying method according to claim 11, wherein before the step of rendering the image to be displayed by the rendering terminals corresponding to the screens is executed, the method further comprises:
and respectively loading the images to be displayed to the rendering terminals corresponding to the screens.
15. The multi-screen-based image presentation method of claim 11, wherein the adapting the rendered image to be presented in the plurality of screens according to the adaptation multiple comprises:
configuring reference coordinates for the images to be displayed rendered by the rendering terminals;
and adapting the images to be displayed after rendering in the plurality of screens according to the adaptation multiples based on the reference coordinates.
16. The multi-screen-based image presentation method according to claim 11, wherein the calculating the offset of the image to be presented in the plurality of screens according to the adaptation result and the position information of the plurality of screens in the presentation screen comprises:
determining screen coordinates of each screen of the plurality of screens relative to the presentation screen according to the position information;
configuring image coordinates for the image to be displayed according to the adaptation result;
calculating the image offset of the image to be displayed in each screen based on the screen coordinate corresponding to each screen and the image coordinate, and taking the image offset as the offset of the image to be displayed in the plurality of screens.
17. The multi-screen-based image presentation method according to claim 11, wherein the presenting the image to be presented through the presentation screen composed of the plurality of screens based on the offset amount comprises:
performing offset processing on the images to be displayed in the plurality of screens based on the offset;
and displaying the image to be displayed through the plurality of screens according to the offset processing result.
18. The multi-screen-based image presentation method of claim 17, wherein the shifting the image to be presented in the plurality of screens based on the shift amount comprises:
determining a reference point of the image to be displayed in the display screen;
and carrying out offset processing on the image to be displayed according to the coordinate corresponding to the reference point and the position information corresponding to the plurality of screens and the offset.
19. The multi-screen-based image displaying method according to claim 12, wherein before the step of rendering the image to be displayed by the rendering terminals corresponding to the screens is executed, the method further comprises:
determining the image resolution of the image to be displayed according to the attribute information;
and under the condition that the image resolution is greater than the reference screen resolution, adjusting the image resolution according to the reference screen resolution.
20. The multi-screen-based image displaying method according to claim 11, wherein after the step of calculating an offset of the image to be displayed in the plurality of screens according to the adaptation result and the position information of the plurality of screens in the displaying screen is executed, and before the step of displaying the image to be displayed through the displaying screen composed of the plurality of screens based on the offset is executed, the method further comprises:
detecting whether the image to be displayed in the rendered multiple screens is added to a visual window or not;
and if so, loading the rendered image to be displayed to the plurality of screens based on the parameters of the visual window.
21. An image presentation device based on a presentation screen, comprising:
the information acquisition module is configured to acquire attribute information of an image to be displayed and resolution information of a display screen divided into a plurality of screen areas;
the adaptation multiple calculation module is configured to calculate the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the resolution information;
the image rendering module is configured to render the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screen areas;
the image adaptation module is configured to adapt the rendered image to be displayed in the plurality of screen areas according to the adaptation multiple, wherein the image to be displayed is completely displayed in the plurality of screen areas;
the offset calculating module is configured to calculate the offset of the image to be displayed in the plurality of screen areas according to the adaptation result and the coordinate information of the plurality of screen areas in the display screen;
and the image display module is configured to display the image to be displayed through the plurality of screen areas divided by the display screen based on the offset.
22. A multi-screen based image presentation apparatus, comprising:
the display device comprises an acquisition module, a display module and a display module, wherein the acquisition module is configured to acquire attribute information of an image to be displayed and screen information of a display screen consisting of a plurality of screens;
the first calculation module is configured to calculate the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the screen information;
the rendering module is configured to render the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screens;
the adaptation module is configured to adapt the rendered image to be displayed in the plurality of screens according to the adaptation multiple, wherein the image to be displayed is completely displayed in each of the plurality of screens;
a second calculation module configured to calculate offsets of the image to be displayed in the plurality of screens according to the adaptation result and the position information of the plurality of screens in the display screen;
a display module configured to display the image to be displayed through the display screen composed of the plurality of screens based on the offset.
23. A computing device, comprising:
a memory and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
acquiring attribute information of an image to be displayed and resolution information of a display screen divided into a plurality of screen areas;
calculating the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the resolution information;
rendering the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screen areas;
adapting the rendered image to be displayed in the plurality of screen areas according to the adaptation multiple, wherein the image to be displayed is completely displayed in the plurality of screen areas;
calculating the offset of the image to be displayed in the plurality of screen areas according to the adaptation result and the coordinate information of the plurality of screen areas in the display screen;
and displaying the image to be displayed through the plurality of screen areas divided by the display screen based on the offset.
24. A computing device, comprising:
a memory and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
acquiring attribute information of an image to be displayed and screen information of a display screen consisting of a plurality of screens;
calculating the adaptation multiple of the display screen and the image to be displayed according to the attribute information and the screen information;
rendering the image to be displayed through a plurality of rendering terminals corresponding to the plurality of screens;
adapting the rendered image to be displayed in the plurality of screens according to the adaptation multiple, wherein the image to be displayed is completely displayed in the plurality of screens;
calculating the offset of the image to be displayed in the plurality of screens according to the adaptation result and the position information of the plurality of screens in the display screen;
and displaying the image to be displayed through the display screen composed of the plurality of screens based on the offset.
25. A computer readable storage medium storing computer instructions which, when executed by a processor, carry out the steps of the presentation screen based image presentation method of any one of claims 1 to 10.
26. A computer-readable storage medium storing computer instructions which, when executed by a processor, implement the steps of the multi-screen based image presentation method according to any one of claims 11 to 20.
CN201910907377.8A 2019-09-24 2019-09-24 Image display method and device based on display screen Active CN110569013B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910907377.8A CN110569013B (en) 2019-09-24 2019-09-24 Image display method and device based on display screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910907377.8A CN110569013B (en) 2019-09-24 2019-09-24 Image display method and device based on display screen

Publications (2)

Publication Number Publication Date
CN110569013A CN110569013A (en) 2019-12-13
CN110569013B true CN110569013B (en) 2022-04-15

Family

ID=68782085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910907377.8A Active CN110569013B (en) 2019-09-24 2019-09-24 Image display method and device based on display screen

Country Status (1)

Country Link
CN (1) CN110569013B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111198668B (en) * 2019-12-26 2023-06-16 成都中科合迅科技有限公司 Multi-screen system and multi-screen interaction method based on browser
CN111914809A (en) * 2020-08-19 2020-11-10 腾讯科技(深圳)有限公司 Target object positioning method, image processing method, device and computer equipment
CN112218143A (en) * 2020-09-22 2021-01-12 安徽汇视科技股份有限公司 Spliced screen video cutting algorithm
CN113747132B (en) * 2021-08-27 2023-12-29 深圳市万翼数字技术有限公司 Entity space display system, method, device, equipment and storage medium
CN115243088A (en) * 2022-07-21 2022-10-25 苏州金螳螂文化发展股份有限公司 Multi-host video frame-level synchronous rendering method
CN115328429A (en) * 2022-09-19 2022-11-11 北京字跳网络技术有限公司 Display method, display device, electronic apparatus, and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6147709A (en) * 1997-04-07 2000-11-14 Interactive Pictures Corporation Method and apparatus for inserting a high resolution image into a low resolution interactive image to produce a realistic immersive experience
CN101661700A (en) * 2008-08-26 2010-03-03 奇菱科技股份有限公司 Device and method for regulating image resolution and display device
CN101673185B (en) * 2009-10-10 2012-06-06 广东威创视讯科技股份有限公司 Image display touch control method and system thereof
CN104320563A (en) * 2014-10-23 2015-01-28 广东威创视讯科技股份有限公司 Image processing method and system
CN108550113A (en) * 2018-04-17 2018-09-18 东莞市金翔光电科技有限公司 Image scanning output method, device, computer equipment and storage medium
CN108961382B (en) * 2018-07-11 2019-11-26 腾讯科技(深圳)有限公司 A kind of image rendering method, device and storage medium
CN109712076B (en) * 2018-12-29 2023-05-16 苏州精濑光电有限公司 Image stitching method, device, equipment and storage medium
CN109587401B (en) * 2019-01-02 2021-10-08 广州市奥威亚电子科技有限公司 Electronic cloud deck multi-scene shooting implementation method and system

Also Published As

Publication number Publication date
CN110569013A (en) 2019-12-13

Similar Documents

Publication Publication Date Title
CN110569013B (en) Image display method and device based on display screen
KR102474088B1 (en) Method and device for compositing an image
US9661298B2 (en) Depth image enhancement for hardware generated depth images
EP2932462B1 (en) Content aware video resizing
CN109831662B (en) Real-time picture projection method and device of AR (augmented reality) glasses screen, controller and medium
US11194536B2 (en) Image processing method and apparatus for displaying an image between two display screens
CN106980510B (en) Window self-adaption method and device of player
US10978027B2 (en) Electronic display partial image frame update systems and methods
CN111741274B (en) Ultrahigh-definition video monitoring method supporting local amplification and roaming of picture
CN107948733B (en) Video image processing method and device and electronic equipment
US11030715B2 (en) Image processing method and apparatus
US20220328019A1 (en) Display terminal adjustment method and display terminal
RU2598802C2 (en) Animation playing method, device and apparatus
CN113658085B (en) Image processing method and device
WO2018113218A1 (en) Spliced wall display method, device and system
JPWO2018025474A1 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND PROGRAM
CN112650460A (en) Media display method and media display device
JP6527641B2 (en) Image processing apparatus and superimposed image generation method
WO2022052742A1 (en) Multi-terminal screen combination method, apparatus and device, and computer storage medium
CN113645476A (en) Picture processing method and device, electronic equipment and storage medium
CN112866795B (en) Electronic apparatus and control method thereof
US11741570B2 (en) Image processing device and image processing method of same
CN105721816B (en) Display data processing method and display device
KR102507669B1 (en) Electronic apparatus and controlling method thereof
CN112150345A (en) Image processing method and device, video processing method and sending card

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
GR01 Patent grant
GR01 Patent grant