CN114546206A - Special-shaped screen display method and device, computer equipment and storage medium - Google Patents

Special-shaped screen display method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114546206A
CN114546206A CN202210447891.XA CN202210447891A CN114546206A CN 114546206 A CN114546206 A CN 114546206A CN 202210447891 A CN202210447891 A CN 202210447891A CN 114546206 A CN114546206 A CN 114546206A
Authority
CN
China
Prior art keywords
picture
endpoint
adjustment information
output
special
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.)
Granted
Application number
CN202210447891.XA
Other languages
Chinese (zh)
Other versions
CN114546206B (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.)
Colorlight Cloud Technology Co Ltd
Original Assignee
Colorlight Cloud 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 Colorlight Cloud Technology Co Ltd filed Critical Colorlight Cloud Technology Co Ltd
Priority to CN202210447891.XA priority Critical patent/CN114546206B/en
Publication of CN114546206A publication Critical patent/CN114546206A/en
Application granted granted Critical
Publication of CN114546206B publication Critical patent/CN114546206B/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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2628Alteration of picture size, shape, position or orientation, e.g. zooming, rotation, rolling, perspective, translation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching

Abstract

The application relates to a special-shaped screen display method and device, computer equipment and a storage medium. The method comprises the steps of determining picture adjustment information of an output picture in an output window based on received form adjustment information of the special-shaped screen, adjusting each endpoint corresponding to the output picture according to the picture adjustment information to obtain endpoint adjustment information, determining a picture to be displayed in an original picture based on the endpoint adjustment information, and displaying the picture to be displayed on the special-shaped screen after form adjustment. Compared with the traditional method for adjusting the display picture based on the edge number of the plane to be played, the method and the device for adjusting the display picture determine the endpoint adjustment information of each endpoint based on the picture adjustment information of the output picture, so that picture adjustment can be performed in the original picture based on the endpoint adjustment information, repeated cutting based on the edge number of the picture is not needed to find a proper picture segmentation mode, the software performance is improved, and the efficiency of adjusting the display picture of the special-shaped screen when the special-shaped screen changes is improved.

Description

Special-shaped screen display method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of display technologies, and in particular, to a method and an apparatus for displaying a special-shaped screen, a computer device, a storage medium, and a computer program product.
Background
With the development of display technology, the current LED display screen may not be limited to a conventional screen, and various shapes such as an LED magic cube, a diamond LED display screen, a gem-shaped LED display screen, and the like may exist. If the complete picture content needs to be displayed in the special-shaped LED display screens, certain adjustment needs to be carried out on the display picture. At present, the number of display pictures of a special-shaped LED display screen is usually adjusted based on the number of edges of a plane to be played, however, the number of the display pictures is adjusted based on the number of the edges of the plane to be played, which easily causes that the adjusted pictures cannot be completely displayed, so that multiple adjustments are needed.
Therefore, the current display image adjusting mode of the special-shaped display screen has the defect of low adjusting efficiency.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a computer device, a computer readable storage medium, and a computer program product for displaying a special-shaped screen, which can improve the adjustment efficiency.
In a first aspect, the present application provides a method for displaying a special-shaped screen, the method including:
receiving form adjustment information of a special-shaped screen, and determining picture adjustment information of an output picture in an output window corresponding to the special-shaped screen according to the form adjustment information;
adjusting each endpoint corresponding to the output picture according to the picture adjustment information to obtain endpoint adjustment information;
slicing the original picture in an input window according to the endpoint adjustment information to obtain a picture to be displayed;
and displaying the picture to be displayed on the special-shaped screen after the form adjustment through the output window.
In one embodiment, the slicing an original picture in an input window according to the endpoint adjustment information to obtain a picture to be displayed includes:
acquiring a linear matrix for representing the corresponding relation between an original picture and the output picture;
obtaining a first coordinate of the adjusted endpoint according to the endpoint adjustment information;
for each adjusted endpoint, determining a second coordinate corresponding to the adjusted endpoint in the original picture according to the first coordinate of the adjusted endpoint and the linear matrix;
and slicing the original picture in an input window according to the adjusted second coordinate corresponding to the first coordinate of each endpoint in the original picture to obtain the picture to be displayed.
In one embodiment, the obtaining a linear matrix for characterizing a correspondence between an original picture and the output picture includes:
obtaining a plurality of non-collinear first sample endpoints in an output picture sample in an output window corresponding to the special-shaped screen, and obtaining a plurality of second sample endpoints corresponding to the plurality of first sample endpoints in the original picture sample;
the plurality of first sample end points are uniformly quantized into a first sample matrix, and the plurality of second sample end points are uniformly quantized into a second sample matrix;
and obtaining a linear matrix representing the corresponding relation between the original picture and the output picture according to the product of the inverse matrix of the first sample matrix and the matrix corresponding to the second sample matrix and the first sample endpoint.
In one embodiment, the determining, according to the first coordinate of the adjusted endpoint and the linear matrix, a second coordinate of the adjusted endpoint in the original picture includes:
converting the first coordinate into a first matrix;
obtaining a second matrix corresponding to the adjusted endpoint in the original picture according to the product of the first matrix corresponding to the first coordinate and the linear matrix;
converting the second matrix to the second coordinates.
In one embodiment, the slicing the original image in the input window according to the adjusted second coordinate corresponding to the first coordinate of each endpoint in the original image to obtain the image to be displayed includes:
obtaining a picture shape corresponding to the first coordinate of each adjusted endpoint in the original picture according to the second coordinate corresponding to the first coordinate of each adjusted endpoint in the original picture;
and splitting the original picture in the input window based on the picture shape, and outputting the split original picture to the output window to obtain the picture to be displayed.
In one embodiment, the adjusting, according to the picture adjustment information, each endpoint corresponding to the output picture to obtain endpoint adjustment information includes:
if the picture adjustment information is picture scaling, obtaining first endpoint adjustment information according to each endpoint and a scaling matrix corresponding to the output picture;
if the picture adjustment information is picture rotation, obtaining second endpoint adjustment information according to each endpoint and a rotation matrix corresponding to the output picture;
if the picture adjustment information is picture translation, obtaining third endpoint adjustment information according to each endpoint corresponding to the output picture and the translation matrix;
and obtaining the endpoint adjustment information according to the first endpoint adjustment information, the second endpoint adjustment information and/or the third endpoint adjustment information.
In one embodiment, before receiving the form adjustment information of the shaped screen, the method further includes:
receiving an input picture, inputting the input picture into an input window to obtain an original picture in the input window, and determining an output picture corresponding to the specification of an output window according to the picture content of the original picture in the input window.
In a second aspect, the present application provides a display device with a shaped screen, the device comprising:
the receiving module is used for receiving the form adjustment information of the special-shaped screen and determining the picture adjustment information of the output picture in the output window corresponding to the special-shaped screen according to the form adjustment information;
the endpoint adjusting module is used for adjusting each endpoint corresponding to the output picture according to the picture adjusting information to obtain endpoint adjusting information;
the determining module is used for determining a picture to be displayed in an original picture according to the endpoint adjustment information;
and the display module is used for displaying the picture to be displayed on the special-shaped screen after the form adjustment.
In a third aspect, the present application provides a computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above when the processor executes the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method described above.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of the method described above.
According to the special-shaped screen display method, the special-shaped screen display device, the computer equipment, the storage medium and the computer program product, the picture adjustment information of the output picture in the output window corresponding to the special-shaped screen is determined based on the received form adjustment information of the special-shaped screen, each endpoint corresponding to the output picture is adjusted according to the picture adjustment information to obtain the endpoint adjustment information, the picture to be displayed is determined in the original picture based on the endpoint adjustment information, and the picture to be displayed is displayed on the special-shaped screen after the form adjustment. Compared with the traditional mode of adjusting the display picture based on the edge number of the plane to be played, the scheme determines the endpoint adjustment information of each endpoint based on the picture adjustment information of the output picture in the output window corresponding to the special-shaped screen when the special-shaped screen is subjected to the form adjustment, so that the picture adjustment can be performed in the original picture based on the endpoint adjustment information, repeated cutting based on the edge number of the picture is not needed to search for a proper picture segmentation mode, the performance of video playing software for adjusting the display content of the special-shaped screen can be improved, and the efficiency of adjusting the display picture of the special-shaped screen when the special-shaped screen is changed is improved.
Drawings
FIG. 1 is a diagram of an application environment of a method for displaying a shaped screen in an embodiment;
FIG. 2 is a schematic flow chart of a method for displaying a shaped screen in one embodiment;
FIG. 3 is a flowchart illustrating the steps of determining a frame to be displayed in one embodiment;
FIG. 4 is a block diagram showing the structure of an example of a display device with a shaped screen;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The special-shaped screen display method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. The terminal 102 may be in communication connection with a sending device, and the sending device is connected to a receiving device to implement communication connection between the sending device and the special-shaped screen, where the receiving device is disposed in the special-shaped screen. After the worker performs the form adjustment on the special-shaped screen, the form adjustment information of the special-shaped screen can be input into the terminal 102, the terminal 102 can determine the picture adjustment information of an output picture in an output window corresponding to the special-shaped screen based on the form adjustment information of the special-shaped screen, and adjust each endpoint based on the picture adjustment information to obtain the endpoint adjustment information, so that the terminal 102 can determine a picture to be displayed in an original picture based on the endpoint adjustment information and output the picture to be displayed to the special-shaped screen after the form adjustment. The terminal 102 may be, but is not limited to, various personal computers, notebook computers, and tablet computers. The special-shaped screen can be realized by a single special-shaped screen or a special-shaped screen combination consisting of a plurality of special-shaped screens.
In an embodiment, as shown in fig. 2, a method for displaying a special-shaped screen is provided, which is described by taking the method as an example for being applied to the terminal in fig. 1, and includes the following steps:
step S202, receiving the form adjustment information of the special-shaped screen, and determining the picture adjustment information of the output picture in the output window corresponding to the special-shaped screen according to the form adjustment information.
The special-shaped screen can be a polygonal LED screen, such as an LED magic cube, a diamond LED display screen, a gem-shaped LED display screen and the like. When the special-shaped screen displays the screen, a worker can have certain adjustment requirements on the special-shaped screen, and can perform shape adjustment on the special-shaped screen based on the adjustment requirements, wherein the shape adjustment comprises adjustment of the number and the position of the special-shaped screen and the like, and the adjustment requirements comprise but are not limited to operations of putting, rotating, replacing other special-shaped screens or adding new special-shaped screens to the original special-shaped screen again or the like. After the worker performs the form adjustment on the special-shaped screen, the form adjustment information can be input into the terminal 102, so that the terminal 102 can receive the form adjustment information of the special-shaped screen and determine the picture adjustment information of the output picture in the output window corresponding to the special-shaped screen based on the form adjustment information. For different adjustment requirements, the terminal 102 may have different screen adjustment modes for the screen. For example, when the special-shaped screen is repositioned, the terminal 102 may adjust the screen in a translational manner; when the special-shaped screen is exchanged for another special-shaped screen (for example, the special-shaped screen is exchanged for a screen with a consistent shape and a higher resolution) or a new special-shaped screen is added (for example, a screen with a consistent size and a smaller dot pitch is added), the terminal 102 may adjust the picture in a zooming manner; when the special-shaped screen is rotated, the terminal 102 may adjust the picture in a rotating manner. The terminal 102 may determine the picture adjustment information for the output picture in the output window corresponding to the special-shaped screen based on different picture adjustment modes.
The output window may be an output window in video playing software in the terminal 102. An initial output picture can be displayed in advance in an output window in the terminal 102 corresponding to the special-shaped screen, and the terminal 102 can determine the initial display picture information of the output window according to a similar principle. For example, in one embodiment, before receiving the form adjustment information of the shaped screen, the method further includes: receiving an input picture, inputting the input picture into an input window to obtain an original picture in the input window, and determining an output picture corresponding to the specification of the output window according to the picture content of the original picture in the input window.
In this embodiment, the special-shaped screen may be a special-shaped screen composed of a plurality of display screens, and the terminal 102 may generate an input window and an output window in video playing software in the terminal 102, where the input window is related to the picture content imported by the user, and may be a part of area or a whole area of the picture content, for example, may be used to display an original picture imported by the user; the output window can display the corresponding output picture, and the output window is related to the last displayed picture content of the display screen, that is, the output picture and the input picture can be similar pictures or equal pictures. For example, the area, size or shape of the output frame may be different from the frame area, frame size and frame shape of the input window, and the output frame and the input frame may be similar frames; the area, size or shape of the output picture can also be the same as the picture area, picture size or picture shape of the input window, and in this case, the output picture and the input picture can be equal pictures, that is, the picture contents of the output picture and the input picture can be the same. In addition, it should be noted that, in some embodiments, the output picture may also be determined according to the similarity between the original picture and the output picture. For example, the terminal 102 may determine, as an output picture in the output window, a picture whose similarity to the original picture in the input window is greater than or equal to a preset similarity threshold.
In some embodiments, the output window may also be used to display the distribution information of the plurality of display screens constituting the special-shaped screen, for example, for an LED display screen magic cube, the terminal 102 may display the planar development of each display screen constituting the LED display screen magic cube in the output window, so as to obtain the distribution information of the plurality of display screens constituting the special-shaped screen. After the terminal 102 obtains the distribution information of the plurality of display screens for forming the special-shaped screen, the distribution information of the plurality of sub-pictures can be determined based on the distribution information of the plurality of display screens.
The sub-pictures can be pictures displayed in the display screens forming the special-shaped screen, each sub-picture can be displayed in the output window, each sub-picture displays corresponding picture content, and the whole picture formed by the sub-pictures can be used as an output picture, so that the display picture of the special-shaped screen is obtained. Therefore, the terminal 102 may first determine distribution information of a plurality of sub-pictures and determine the picture content displayed in each sub-picture from the original picture, and the determining process may be that the terminal 102 randomly selects a picture corresponding to the shape and size of each display screen from the original picture as the sub-picture of each display screen. The terminal 102 may combine the plurality of sub-pictures according to the display order based on the distribution information of the plurality of sub-pictures to obtain a combined picture composed of the plurality of sub-pictures, where the combined picture may be an output picture in an output window, so that the terminal 102 may obtain a similarity between the combined picture and an original picture, and determine a picture to be mapped in a display screen corresponding to the plurality of sub-pictures based on the similarity between the combined picture and the original picture. So that the output window can display a picture similar to the original picture. That is, the terminal 102 may determine, after acquiring the original picture input by the user, an output picture similar to the input picture for the first time by using a similar principle.
Step S204, adjusting each endpoint corresponding to the output picture according to the picture adjustment information to obtain endpoint adjustment information.
The picture adjustment information may be the picture adjustment information of the output picture in the output window corresponding to the special-shaped screen, which is obtained by the terminal 102 after the special-shaped screen is subjected to the form adjustment. The shape of the output picture in the output window may be the same as the shape of the special-shaped screen, since the special-shaped screen is a polygon, the polygon may have a plurality of end points, and the picture adjustment information includes operations such as rotation, translation, and zooming, the terminal 102 may adjust each end point in the output picture in the output window according to the various kinds of picture adjustment information to obtain the end point adjustment information. The endpoint adjustment information may be implemented by an adjustment matrix corresponding to the picture adjustment information, and the adjustment matrix includes a scaling matrix, a translation matrix, a rotation matrix, and the like. That is, for each type of screen adjustment information, the terminal 102 may calculate each endpoint in the output screen using a corresponding adjustment matrix to obtain an adjusted endpoint, and the terminal 102 may obtain the endpoint adjustment information based on the adjustment information of multiple endpoints.
And step S206, slicing the original picture in the input window according to the endpoint adjustment information to obtain a picture to be displayed.
The endpoint adjustment information may be information for adjusting each endpoint of the output screen in the output screen. The to-be-displayed picture can be a picture displayed in the special-shaped screen, and the to-be-displayed picture can be a picture obtained after the adjustment requirement of the special-shaped screen is correspondingly adjusted. The requirements for adjusting the special-shaped screen include, but are not limited to, a translation adjustment of the screen when the special-shaped screen is repositioned, a zoom adjustment when the special-shaped screen is exchanged for another special-shaped screen (for example, the screen is exchanged for a screen with a consistent shape and a higher resolution) or a new special-shaped screen is added (for example, the screen is added with a consistent size and a smaller dot spacing), a rotation adjustment of the screen when the special-shaped screen is rotated, and the like. The original image and the output image may be provided with coordinate systems, and the endpoint adjustment information may include information such as coordinates of the adjusted endpoint. The coordinate system may be a coordinate system in a target rectangular region associated with the material in the original picture in the input window, and the size of the target rectangular region may be adjusted. The terminal 102 may use the uppermost edge of the target rectangular region as the positive half axis of the X-axis and the leftmost edge of the target rectangular region as the positive half axis of the Y-axis to obtain the position coordinates of all points of the target rectangular region, store all the position coordinates in the form of an array, and the terminal 102 corresponds a subscript to the position coordinates of each point, for example, corresponds (0,0) to 0. And in the output picture, a target rectangular area corresponding to the size of the actual special-shaped screen can be determined in the output picture in the same way, and a coordinate system is established in the target rectangular area to obtain the position coordinates of all points in the target rectangular area in the output picture and the subscript of each position coordinate point. Wherein the subscripts of the respective points in the output picture and the original picture may be identical. When determining the endpoint adjustment information, the terminal 102 may obtain the subscript corresponding to the clicked point in the output picture, and obtain the position coordinate corresponding to the subscript in the array of the position coordinates corresponding to the input window based on the subscript, thereby obtaining the position of the adjusted point corresponding to the output picture in the original picture, and further obtaining the endpoint adjustment information. After the terminal 102 acquires the endpoint adjustment information, a to-be-displayed picture can be determined in the original picture. For example, the terminal 102 may map the adjustment information of each endpoint to a corresponding position in the original screen through a corresponding linear matrix based on the endpoint adjustment information, so that the terminal 102 may obtain a plurality of pieces of coordinate information corresponding to the target rectangular region in the original screen based on linear matrix operations of the plurality of endpoints, and the terminal 102 may determine the screen to be displayed from the original screen based on the plurality of pieces of coordinate information.
And S208, displaying the picture to be displayed on the special-shaped screen after the form adjustment through the output window.
The to-be-displayed picture can be a picture determined from an original picture, and the to-be-displayed picture can be a picture obtained by correspondingly adjusting an output picture in an output window corresponding to the special-shaped screen based on the adjustment requirement of the special-shaped screen and then slicing the original picture based on the adjustment. The terminal 102 may display the to-be-displayed picture on the form-adjusted special-shaped screen through the output window. The picture to be displayed may be a picture obtained by slicing an original picture. For example, the irregular screen may be a single polygonal screen or an irregular screen formed by combining a plurality of display screens. For a single polygonal screen, the terminal 102 may segment the original picture after the adjustment to obtain a picture to be displayed; for the special-shaped screen obtained by combining a plurality of display screens, the terminal 102 can obtain the form adjustment information of each display screen forming the special-shaped screen, so that the picture adjustment condition of each display screen is determined based on the form adjustment information of each display screen, the terminal 102 can segment the picture from the original picture to obtain the picture to be displayed corresponding to each display screen, and the terminal 102 can determine the picture to be displayed corresponding to the special-shaped screen after the form adjustment based on the picture to be displayed which is adjusted based on the adjustment requirement of the plurality of display screens, and display the picture to be displayed on the special-shaped screen after the form adjustment.
In the method for displaying the special-shaped screen, the picture adjustment information of the output picture in the output window corresponding to the special-shaped screen is determined based on the received form adjustment information of the special-shaped screen, each endpoint corresponding to the output picture is adjusted according to the picture adjustment information to obtain the endpoint adjustment information, the picture to be displayed is determined in the original picture based on the endpoint adjustment information, and the picture to be displayed is displayed on the special-shaped screen after the form adjustment. Compared with the traditional mode of adjusting the display picture based on the number of edges of the plane to be played, the scheme determines the endpoint adjustment information of each endpoint based on the picture adjustment information of the output picture in the output window corresponding to the special-shaped screen when the special-shaped screen is subjected to the form adjustment, so that the picture adjustment can be performed in the original picture based on the endpoint adjustment information, repeated cutting based on the number of edges of the picture is not needed to search for a proper picture segmentation mode, the performance of video playing software is improved, and the efficiency of adjusting the display picture of the special-shaped screen when the special-shaped screen is changed is improved.
In one embodiment, as shown in fig. 3, fig. 3 is a flowchart illustrating a step of determining a to-be-displayed frame in one embodiment. Determining a picture to be displayed in an original picture according to the endpoint adjustment information, wherein the method comprises the following steps: step S302, a linear matrix used for representing the corresponding relation between an original picture and an output picture is obtained; step S304, obtaining a first coordinate of the adjusted endpoint according to the endpoint adjustment information; step S306, aiming at each adjusted endpoint, determining a second coordinate corresponding to the adjusted endpoint in the original picture according to the first coordinate and the linear matrix of the adjusted endpoint; and step S308, obtaining a to-be-displayed picture according to the second coordinate corresponding to the first coordinate of each adjusted endpoint in the original picture.
In this embodiment, the terminal 102 may determine the picture to be displayed from the original picture in a linear matrix manner. The endpoint adjustment information may be obtained by adjusting, by the terminal 102, each endpoint of the target rectangular region in the output picture in the output window corresponding to the special-shaped screen based on the form adjustment requirement of the special-shaped screen. The endpoint adjustment information may include coordinates for each adjusted endpoint in the output frame. Because a coordinate system is set in the target rectangular area in the picture in the output window corresponding to the original picture and the special-shaped screen, and the coordinate system can be the coordinate system in the target rectangular area associated with the material in the original picture set in the input window, the target rectangular area corresponding to the size of the actual special-shaped screen can be determined in the output picture in the same way in the output picture, and a coordinate system is generated in the target rectangular area, wherein the coordinates in the coordinate system are stored in an array form, each coordinate corresponds to a subscript, and the subscripts of each point in the output picture and the original picture can be consistent. The terminal 102 may first obtain a linear matrix representing a correspondence between an original picture and an output picture in an output window corresponding to the odd-shaped screen. The terminal 102 may further obtain the adjusted first coordinates of each endpoint from the endpoint adjustment information. The output frame may have a plurality of corresponding endpoints, and the first coordinate may have a plurality of corresponding endpoints.
For each adjusted endpoint, the terminal 102 may determine a second coordinate corresponding to the adjusted endpoint in the original screen according to the first coordinate of the adjusted endpoint and the obtained linear matrix, that is, the second coordinate may be a coordinate in which the first coordinate is mapped to the original screen, and a screen corresponding to the second coordinate may be similar to a screen corresponding to the first coordinate. Specifically, the terminal 102 may determine that the first coordinate is similar to the second coordinate through a first mathematical induction method, and the terminal 102 may adjust an output picture, that is, one position point in the output picture, each time according to an adjustment requirement by using the first mathematical induction method, and determine that other position points in the output picture are position points of the original picture and the output picture similar last time, that is, the position points are not adjusted. The position point may be the end points, and the terminal 102 may determine, for the first coordinate of each adjusted end point, a second coordinate corresponding to the first coordinate in the original screen. The first mathematical induction method can be summarized into 3 steps: 1. summarizing to make a foundation: proving that propositions hold when n = 1; 2. the inductive assumption is that: assuming that propositions hold when n = k; 3. induction and recursion: the induction hypothesis shows that the proposition is also true when n = k +1, where n =1 is the first time similarity of the first step, and if n = k (the kth time) is similar, the terminal 102 may derive that a picture formed by the second coordinate in the adjusted original picture and the adjusted output picture are similar, and are similar in surface, that is, end points in the picture are also similar; other points have one-to-one correspondence in the last adjustment similar process, such as A-A and B-B. The number of the adjusted endpoints may be multiple, and then the first coordinate may be multiple, and after the terminal 102 determines the second coordinate corresponding to the first coordinate of each adjusted endpoint in the original picture, the picture to be displayed may be obtained based on the multiple second coordinates.
Through the embodiment, the terminal 102 can determine each coordinate corresponding to each coordinate in the output picture in the original picture based on the linear matrix between the original picture and the output picture in the output window corresponding to the special-shaped screen, so that the picture to be displayed corresponding to the adjusted special-shaped screen form can be determined from the original picture, and the picture display adjustment efficiency in the special-shaped screen is improved.
In one embodiment, obtaining a linear matrix characterizing a correspondence between an original picture and an output picture comprises: acquiring a plurality of non-collinear first sample endpoints in an output picture sample in an output window corresponding to the special-shaped screen, and acquiring a plurality of second sample endpoints corresponding to the plurality of first sample endpoints in the original picture sample; the plurality of first sample end points are uniformly quantized into a first sample matrix, and the plurality of second sample end points are uniformly quantized into a second sample matrix; and obtaining a linear matrix representing the corresponding relation between the original picture and the output picture according to the product of the inverse matrix of the first sample matrix and the matrix corresponding to the second sample matrix and the first sample endpoint.
In this embodiment, the terminal 102 may obtain a linear matrix representing a correspondence between the original frame and an output frame in an output window corresponding to the irregular screen. The linear matrix may be pre-acquired by the terminal 102 before the adjustment of the odd-shaped screen occurs. The terminal 102 may display the output picture sample in the special-shaped screen, where the output picture sample may have a plurality of endpoints, and then the terminal 102 may obtain a plurality of first sample endpoints that are not collinear in the output picture sample in the output window corresponding to the special-shaped screen, and the terminal 102 may also obtain the original picture sample, and obtain a plurality of second sample endpoints corresponding to the plurality of first sample endpoints from the original picture sample. The frame at the first sample endpoint and the frame at the second endpoint may be similar or equal frames, for example, the area or the frame size of the frame at the second sample endpoint may be different from the frame at the first sample endpoint, and the frame at the first sample endpoint and the frame at the second endpoint may be similar frames; the area or picture size of the picture at the second sample endpoint may also be the same as the picture at the first sample endpoint, in which case the picture at the first sample endpoint and the picture at the second endpoint may be equal pictures. The terminal 102 may perform homogeneous processing on the plurality of first sample end points to obtain first sample matrices corresponding to the first sample end points, and the terminal 102 may further perform homogeneous processing on the plurality of second sample end points to obtain a plurality of second sample matrices; the terminal 102 may obtain a product of an inverse matrix of each of the first sample matrices and the corresponding second sample matrix, so that the terminal 102 may obtain a linear matrix representing a correspondence between the original picture and an output picture in an output window corresponding to the irregular screen based on the product.
In particular, the terminal 102 may assume that there are three non-collinear vertices P on the polygon of the output picture sample1(x1,y1),P2(x2,y2),P3(x3, y3), and three non-collinear vertices, p, in the original picture1(a1,b1),p2(a2,b2),p3(a3, b 3); the terminal 102 may homogenize the vertices and write the vertices into a matrix, and then the output polygon corresponding to the output picture sample is:
Figure 556039DEST_PATH_IMAGE002
(ii) a The input polygon corresponding to the original picture sample is:
Figure 672899DEST_PATH_IMAGE004
(ii) a Since the three points are not collinear, the matrix is reversible, and the terminal 102 can acquire
Figure 306006DEST_PATH_IMAGE002
Inverse matrix of
Figure 639642DEST_PATH_IMAGE006
(ii) a The terminal 102 may thus obtain the transition matrix from the input polygon to the output polygon as:
Figure 649186DEST_PATH_IMAGE008
. The terminal 120 may determine a mapping formula between the first sample end point and the second sample end point based on the transition matrix, the mapping formula being as follows:
Figure 620553DEST_PATH_IMAGE010
(ii) a Wherein, (x, y,1)TA first matrix of a first coordinate corresponding to the adjusted endpoint in the output picture; (a, b,1)TThe terminal 102 may substitute the plurality of first sample end points and the corresponding second sample end points into the mapping equation for a second matrix of second coordinates corresponding to the adjusted end points in the original frame, and when the mapping equation is satisfied, the terminal 102 may substitute the transition matrix for the second matrix based on the transition matrix
Figure 690140DEST_PATH_IMAGE008
Obtaining a linear matrix
Figure 153483DEST_PATH_IMAGE012
Through the embodiment, the terminal 102 can determine the linear matrix between the original picture and the output picture based on the corresponding relationship between the plurality of sample endpoints, so that the terminal 102 can map each point in the output picture to the original picture based on the linear matrix, and the effect of improving the adjustment efficiency of the display picture in the special-shaped screen is achieved.
In one embodiment, determining a second coordinate of the adjusted endpoint in the original picture according to the first coordinate of the adjusted endpoint and the linear matrix includes: converting the first coordinates into a first matrix; obtaining a second matrix corresponding to the adjusted endpoint in the original picture according to the product of the first matrix corresponding to the first coordinate and the linear matrix; the second matrix is converted to second coordinates.
In this embodiment, the terminal 102 may determine a second coordinate corresponding to the first coordinate in the original picture based on the first coordinate and the linear matrix. The terminal 102 may first convert the adjusted first coordinate of the endpoint into a first matrix, and obtain a second matrix corresponding to the adjusted endpoint in the original picture according to a product between the first matrix corresponding to the first coordinate and the linear matrix. So that the terminal 102 can convert the second matrix into a second coordinate corresponding to the adjusted endpoint in the original picture. Specifically, the mapping may be implemented by the mapping formula. The terminal 102 may adjust the coordinate of the position point corresponding to one end point in the output picture each time, and obtain the coordinate of the moved position point corresponding to the moved position point in the output picture in the original picture through linear matrix calculation, and the terminal 102 may make the first coordinate of the adjusted end point in the output picture P (x, y), and then the terminal 102 may matriculate the coordinate to obtain (x, y,1)TThen, based on the mapping formula, the terminal 102 may obtain a second matrix corresponding to the first matrix of the first coordinate in the original picture, and the second matrix has the same coordinate as the first matrix of the first coordinateThe volume formula is as follows:
Figure 91352DEST_PATH_IMAGE010
wherein, (x, y,1)TA first matrix of a first coordinate corresponding to the adjusted endpoint in the output picture; (a, b,1)TAnd the second matrix is a second coordinate corresponding to the adjusted endpoint in the original picture. The terminal 102 may convert the matrix to obtain a second coordinate p (a, b) corresponding to the adjusted endpoint in the original frame.
Through the embodiment, the terminal 102 can implement mapping from the output picture to the point in the original picture based on the linear matrix, thereby implementing an effect of improving the adjustment efficiency of the display picture in the special-shaped screen.
In one embodiment, slicing the original picture in the input window according to the adjusted second coordinate corresponding to the first coordinate of each endpoint in the original picture to obtain the picture to be displayed includes: obtaining a picture shape corresponding to the adjusted first coordinate of each endpoint in the original picture according to the adjusted second coordinate corresponding to the adjusted first coordinate of each endpoint in the original picture; and segmenting the original picture in the input window based on the picture shape, and outputting the segmented original picture to the output window to obtain the picture to be displayed.
In this embodiment, after the terminal 102 adjusts the output screen, the first coordinates corresponding to each endpoint after adjustment may be obtained, and the terminal 102 may further obtain, based on the plurality of first coordinates, second coordinates corresponding to each first coordinate in the original screen, so as to obtain the plurality of second coordinates. The terminal 102 may obtain, based on the second coordinate corresponding to the adjusted first coordinate of each endpoint in the original picture, a picture shape corresponding to the adjusted first coordinate of each endpoint in the original picture, so that the terminal 102 may split the original picture in the input window based on the picture shape to obtain the picture to be displayed. For example, the terminal 102 may take a screen in an area formed by a plurality of second coordinates in the original screen as a screen to be displayed. The special-shaped screen can be composed of a single polygonal screen or a special-shaped screen formed by combining a plurality of display screens. For a single polygonal screen, the picture to be displayed obtained by the terminal 102 may be a picture to be displayed that is directly used for displaying in a special-shaped screen; for a special-shaped screen formed by combining a plurality of display screens, the picture to be displayed obtained by the terminal 102 may be the picture to be displayed of each display screen forming the special-shaped screen, and the terminal 102 may segment the picture from the original picture in the input window to obtain the picture to be displayed corresponding to each display screen, and output the picture to be displayed to the output window.
By the embodiment, the terminal 102 can determine the picture to be displayed from the original picture based on the plurality of second coordinates, so that the effect of adjusting the display picture in the special-shaped screen can be improved.
In one embodiment, adjusting each endpoint corresponding to the output picture according to the picture adjustment information to obtain endpoint adjustment information includes: if the picture adjustment information is picture scaling, obtaining first endpoint adjustment information according to each endpoint and a scaling matrix corresponding to the output picture; if the picture adjustment information is picture rotation, obtaining second endpoint adjustment information according to each endpoint and a rotation matrix corresponding to the output picture; if the picture adjustment information is picture translation, obtaining third endpoint adjustment information according to each endpoint corresponding to the output picture and the translation matrix; and obtaining the endpoint adjustment information according to the first endpoint adjustment information, the second endpoint adjustment information and/or the third endpoint adjustment information.
In this embodiment, the screen adjustment information may have a variety of situations, including screen scaling, screen rotation, screen translation, and the like, and for each type of screen adjustment information, the terminal 102 may adjust the end point in the output screen through a different matrix. If the terminal 102 determines that the picture adjustment information is picture scaling, the terminal 102 may obtain first endpoint adjustment information according to each endpoint and a scaling matrix corresponding to the output picture; if the terminal 102 determines that the picture adjustment information is a picture rotation, the terminal 102 may obtain second endpoint adjustment information according to each endpoint and a rotation matrix corresponding to the output picture; if the terminal 102 determines that the picture adjustment information is a picture translation, the terminal 102 may obtain third endpoint adjustment information according to each endpoint and the translation matrix corresponding to the output picture. After the terminal 102 adjusts the endpoint based on various types of adjustment matrices, the endpoint adjustment information may be obtained based on the first endpoint adjustment information, the second endpoint adjustment information, and/or the third endpoint adjustment information.
The adjusting of the end point may be adjusting the position point of one end point at a time. The scaling matrix may be:
Figure 58171DEST_PATH_IMAGE014
(ii) a The translation matrix may be:
Figure 157714DEST_PATH_IMAGE016
(ii) a The rotation matrix may be:
Figure 842773DEST_PATH_IMAGE018
(ii) a The terminal 102 may adjust the end point in the output picture by using the different matrix based on the difference of the picture adjustment information when adjusting the end point. Moreover, the calculation results of any multiplication combination of the three matrixes are similar to each other
Figure 820219DEST_PATH_IMAGE020
That is, only scaling, translation and rotation are performed on the input picture and the output picture, and the space where the linear transformation between the polygon of the output picture and the corresponding polygon in the original picture is located is the linear matrix
Figure 641544DEST_PATH_IMAGE020
Through the embodiment, the terminal 102 can adjust the endpoint by adopting different adjustment matrixes based on different picture adjustment information, so that the effect of improving the adjustment efficiency of the display picture in the special-shaped screen is realized.
In one embodiment, a method of an odd-shaped screen display is provided. In this embodiment, the terminal 102 may first obtain an input picture, that is, an original picture, and the terminal 102 may determine, according to a similarity principle, an output picture, that is, an output picture, which is similar to the input picture for the first time; in the video playing software of the terminal 102, there are two windows, i.e., an input window and an output window, respectively, an input picture is displayed in the input window, an output picture is displayed in the output window, the input picture is related to the picture content imported by the user and can be a part of or all of the picture content, the output picture is related to the last picture content displayed on the display screen, and the output picture and the input picture can be similar pictures or equal pictures.
On the basis that the steps are established, the adjustment requirement containing the special-shaped screen information is obtained, one position point in the output picture is adjusted each time according to the adjustment requirement by using a first mathematical induction method, and other position points are determined to be the position points of the input picture and the output picture which are similar at the last time, namely the position points are not adjusted. The adjustment requirement includes but is not limited to putting the original special-shaped screen again (rotating and the like), or replacing the original special-shaped screen with another special-shaped screen or adding a new special-shaped screen; the first mathematical induction method can be summarized into 3 steps: 1. induction to make a foundation: proving that propositions hold when n = 1; 2. the inductive assumption is that: assuming that propositions hold when n = k; 3. induction and recursion: the induction hypothesis shows that propositions are also true when n = k +1, n =1 is the first similarity of the first step, and if n = k (kth) is similar, the input picture and the output picture after all times of adjustment can be deduced to be similar; other points have one-to-one correspondence in the last adjustment similar process, such as A-A and B-B.
The terminal 102 may obtain coordinates of a position point in the output picture each time, and obtain coordinates of a position point in the input picture corresponding to the position point where the output picture moves after moving through linear matrix calculation. The linear matrix can be multiplied and combined in any order through a scaling matrix, a translation matrix and a rotation matrix, and the three matrices can be respectively as follows:
Figure 911988DEST_PATH_IMAGE014
Figure 818765DEST_PATH_IMAGE016
Figure 504961DEST_PATH_IMAGE018
(ii) a After the terminal 102 performs any multiplication combination on the matrixes, the calculation results are as follows
Figure 305427DEST_PATH_IMAGE020
. That is, only scaling, translation and rotation are performed on the input picture and the output picture, and the space where the linear transformation between the polygon of the output picture and the corresponding polygon in the original picture is located is the linear matrix as described above
Figure 418876DEST_PATH_IMAGE020
As shown.
The specific calculation process may be: assume three non-collinear vertices on the output polygon of the output picture: p1(x1,y1),P2(x2,y2),P3(x3, y3), and three non-collinear vertices of the input polygon in the original picture: p is a radical of1(a1,b1),p2(a2,b2),p3(a3, b 3); the terminal 102 may homogenize and write the vertices into a matrix, and the output polygon is:
Figure 812948DEST_PATH_IMAGE002
(ii) a Inputting a polygon:
Figure 630732DEST_PATH_IMAGE004
(ii) a The terminal 102 can calculate
Figure 957808DEST_PATH_IMAGE002
Inverse matrix of
Figure 711000DEST_PATH_IMAGE006
And obtaining a transition matrix from the input polygon to the output polygon as follows:
Figure 949958DEST_PATH_IMAGE008
(ii) a The terminal 102 may obtain a linear matrix shape such as:
Figure 977957DEST_PATH_IMAGE020
. If the coordinates of the point under the output polygon are P (x, y), after transformation,
Figure 628381DEST_PATH_IMAGE010
(ii) a The terminal 102 obtains the corresponding point coordinates p (a, b) under the input polygon. The terminal 102 performs slicing processing by using the coordinates and the position point determined last time to obtain a slice image displayed on the special-shaped LED display screen, and the slice image is also the image content to be displayed on the output image.
Through the embodiment, the terminal 102 can determine the endpoint adjustment information of each endpoint based on the picture adjustment information of the output picture in the output window corresponding to the special-shaped screen when the special-shaped screen is subjected to the form adjustment, so that the picture adjustment can be performed in the original picture based on the endpoint adjustment information, a suitable picture segmentation mode is not required to be searched by repeatedly cutting the picture based on the number of edges of the picture, the performance of video playing software can be improved, and the efficiency of adjusting the display picture of the special-shaped screen when the special-shaped screen is changed is improved.
In addition, in some embodiments, in the process of determining the output picture corresponding to the original picture, the shape of the polygon of the output picture needs to be determined, and the determination may be performed by a douglas-pock algorithm, which is an algorithm that approximately represents a curve as a series of points and reduces the number of the points. Since there may be a plurality of points on the edge of the polygon of the output screen, for a polytype with a larger number of edges, the number of points is larger, and at this time, the terminal 102 sets a threshold or distance, and deletes the point smaller than the threshold or distance in the screen shape, thereby improving the performance of the software.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the application also provides a special-shaped screen display device for realizing the special-shaped screen display method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the method, so that specific limitations in one or more embodiments of the special-shaped screen display device provided below can be referred to the limitations on the special-shaped screen display method in the above, and details are not repeated herein.
In one embodiment, as shown in fig. 4, there is provided a shaped screen display device including: a receiving module 500, an endpoint adjustment module 502, a determining module 504, and a display module 506, wherein:
the receiving module 500 is configured to receive form adjustment information of the special-shaped screen, and determine picture adjustment information of an output picture in an output window corresponding to the special-shaped screen according to the form adjustment information.
The endpoint adjusting module 502 is configured to adjust each endpoint corresponding to the output picture according to the picture adjusting information, so as to obtain endpoint adjusting information.
And the determining module 504 is configured to slice the original picture in the input window according to the endpoint adjustment information to obtain a picture to be displayed.
And the display module 506 is configured to display the to-be-displayed picture on the morphologically adjusted special-shaped screen through the output window.
In an embodiment, the determining module 504 is specifically configured to obtain a linear matrix used for representing a correspondence between an original picture and the output picture; obtaining a first coordinate of the adjusted endpoint according to the endpoint adjustment information; for each adjusted endpoint, determining a second coordinate corresponding to the adjusted endpoint in the original picture according to the first coordinate of the adjusted endpoint and the linear matrix; and slicing the original picture in an input window according to the adjusted second coordinate corresponding to the first coordinate of each endpoint in the original picture to obtain the picture to be displayed.
In an embodiment, the determining module 504 is specifically configured to obtain a plurality of non-collinear first sample endpoints in an output picture sample in an output window corresponding to the irregular screen, and obtain a plurality of second sample endpoints in the original picture sample corresponding to the plurality of first sample endpoints; the plurality of first sample end points are uniformly quantized into a first sample matrix, and the plurality of second sample end points are uniformly quantized into a second sample matrix; and obtaining a linear matrix representing the corresponding relation between the original picture and the output picture according to the product of the inverse matrix of the first sample matrix and the matrix corresponding to the second sample matrix and the first sample endpoint.
In an embodiment, the determining module 504 is specifically configured to convert the first coordinate into a first matrix; obtaining a second matrix corresponding to the adjusted endpoint in the original picture according to the product of the first matrix corresponding to the first coordinate and the linear matrix; converting the second matrix to the second coordinates.
In an embodiment, the determining module 504 is specifically configured to obtain, according to a second coordinate corresponding to the adjusted first coordinate of each endpoint in the original image, an image shape corresponding to the adjusted first coordinate of each endpoint in the original image; and splitting the original picture in the input window based on the picture shape, and outputting the split original picture to the output window to obtain the picture to be displayed.
In an embodiment, the endpoint adjusting module 502 is specifically configured to, if the picture adjustment information is picture scaling, obtain first endpoint adjustment information according to each endpoint and a scaling matrix corresponding to the output picture; if the picture adjustment information is picture rotation, obtaining second endpoint adjustment information according to each endpoint and a rotation matrix corresponding to the output picture; if the picture adjustment information is picture translation, obtaining third endpoint adjustment information according to each endpoint corresponding to the output picture and the translation matrix; and obtaining the endpoint adjustment information according to the first endpoint adjustment information, the second endpoint adjustment information and/or the third endpoint adjustment information.
In one embodiment, the above apparatus further comprises: the initial display module is used for receiving an input picture, inputting the input picture into an input window to obtain an original picture in the input window, and determining an output picture corresponding to the specification of an output window according to the picture content of the original picture in the input window.
The modules in the above-mentioned special-shaped screen display device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 5. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of a contoured screen display. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the above-mentioned method for displaying a special-shaped screen when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, carries out the above-mentioned method of displaying a shaped screen.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the above-described method of odd-shaped screen display.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the various embodiments provided herein may be, without limitation, general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, or the like.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A method for displaying a shaped screen, the method comprising:
receiving form adjustment information of a special-shaped screen, and determining picture adjustment information of an output picture in an output window corresponding to the special-shaped screen according to the form adjustment information;
adjusting each endpoint corresponding to the output picture according to the picture adjustment information to obtain endpoint adjustment information;
slicing the original picture in an input window according to the endpoint adjustment information to obtain a picture to be displayed;
and displaying the picture to be displayed on the special-shaped screen after the form adjustment through the output window.
2. The method according to claim 1, wherein the slicing an original picture in an input window according to the endpoint adjustment information to obtain a picture to be displayed comprises:
acquiring a linear matrix for representing the corresponding relation between an original picture and the output picture;
obtaining a first coordinate of the adjusted endpoint according to the endpoint adjustment information;
for each adjusted endpoint, determining a second coordinate corresponding to the adjusted endpoint in the original picture according to the first coordinate of the adjusted endpoint and the linear matrix;
and slicing the original picture in an input window according to the adjusted second coordinate corresponding to the first coordinate of each endpoint in the original picture to obtain the picture to be displayed.
3. The method according to claim 2, wherein said obtaining a linear matrix characterizing a correspondence between an original picture and the output picture comprises:
obtaining a plurality of non-collinear first sample endpoints in an output picture sample in an output window corresponding to the special-shaped screen, and obtaining a plurality of second sample endpoints corresponding to the plurality of first sample endpoints in the original picture sample;
the plurality of first sample end points are uniformly quantized into a first sample matrix, and the plurality of second sample end points are uniformly quantized into a second sample matrix;
and obtaining a linear matrix representing the corresponding relation between the original picture and the output picture according to the product of the inverse matrix of the first sample matrix and the matrix corresponding to the second sample matrix and the first sample endpoint.
4. The method according to claim 2, wherein determining a second coordinate of the adjusted endpoint in the original picture according to the first coordinate of the adjusted endpoint and the linear matrix comprises:
converting the first coordinate into a first matrix;
obtaining a second matrix corresponding to the adjusted endpoint in the original picture according to the product of the first matrix corresponding to the first coordinate and the linear matrix;
converting the second matrix to the second coordinates.
5. The method according to claim 2, wherein the obtaining the to-be-displayed picture by slicing the original picture in an input window according to the adjusted second coordinate corresponding to the first coordinate of each endpoint in the original picture comprises:
obtaining a picture shape corresponding to the first coordinate of each adjusted endpoint in the original picture according to the second coordinate corresponding to the first coordinate of each adjusted endpoint in the original picture;
and splitting the original picture in the input window based on the picture shape, and outputting the split original picture to the output window to obtain the picture to be displayed.
6. The method according to claim 1, wherein the adjusting each endpoint corresponding to the output picture according to the picture adjustment information to obtain endpoint adjustment information comprises:
if the picture adjustment information is picture scaling, obtaining first endpoint adjustment information according to each endpoint and a scaling matrix corresponding to the output picture;
if the picture adjustment information is picture rotation, obtaining second endpoint adjustment information according to each endpoint and a rotation matrix corresponding to the output picture;
if the picture adjustment information is picture translation, obtaining third endpoint adjustment information according to each endpoint corresponding to the output picture and the translation matrix;
and obtaining the endpoint adjustment information according to the first endpoint adjustment information, the second endpoint adjustment information and/or the third endpoint adjustment information.
7. The method according to any one of claims 1 to 6, wherein before receiving the form adjustment information of the shaped screen, the method further comprises:
receiving an input picture, inputting the input picture into an input window to obtain an original picture in the input window, and determining an output picture corresponding to the specification of an output window according to the picture content of the original picture in the input window.
8. A shaped screen display device, the device comprising:
the receiving module is used for receiving the form adjustment information of the special-shaped screen and determining the picture adjustment information of the output picture in the output window corresponding to the special-shaped screen according to the form adjustment information;
the end point adjusting module is used for adjusting each end point corresponding to the output picture according to the picture adjusting information to obtain end point adjusting information;
the determining module is used for determining a picture to be displayed in an original picture according to the endpoint adjustment information;
and the display module is used for displaying the picture to be displayed on the special-shaped screen after the form adjustment.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202210447891.XA 2022-04-27 2022-04-27 Special-shaped screen display method and device, computer equipment and storage medium Active CN114546206B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210447891.XA CN114546206B (en) 2022-04-27 2022-04-27 Special-shaped screen display method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210447891.XA CN114546206B (en) 2022-04-27 2022-04-27 Special-shaped screen display method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114546206A true CN114546206A (en) 2022-05-27
CN114546206B CN114546206B (en) 2022-07-26

Family

ID=81667469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210447891.XA Active CN114546206B (en) 2022-04-27 2022-04-27 Special-shaped screen display method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114546206B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114927090A (en) * 2022-05-30 2022-08-19 卡莱特云科技股份有限公司 Method, device and system for sorting light points in special-shaped LED display screen

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020016961A1 (en) * 2000-08-03 2002-02-07 Diva Systems Corporation Customized user interface generation in a video on demand environment
CN101329830A (en) * 2007-06-21 2008-12-24 北京巨数数字技术开发有限公司 Method for generating special-shaped display data and special-shaped display system
US20090327871A1 (en) * 2008-06-26 2009-12-31 Microsoft Corporation I/o for constrained devices
US20170337028A1 (en) * 2016-05-17 2017-11-23 Qisda Corporation Method and system for modular display frame
CN113470038A (en) * 2020-03-31 2021-10-01 京东方科技集团股份有限公司 Video cutting method and device, electronic equipment and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020016961A1 (en) * 2000-08-03 2002-02-07 Diva Systems Corporation Customized user interface generation in a video on demand environment
CN101329830A (en) * 2007-06-21 2008-12-24 北京巨数数字技术开发有限公司 Method for generating special-shaped display data and special-shaped display system
US20090327871A1 (en) * 2008-06-26 2009-12-31 Microsoft Corporation I/o for constrained devices
US20170337028A1 (en) * 2016-05-17 2017-11-23 Qisda Corporation Method and system for modular display frame
CN113470038A (en) * 2020-03-31 2021-10-01 京东方科技集团股份有限公司 Video cutting method and device, electronic equipment and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114927090A (en) * 2022-05-30 2022-08-19 卡莱特云科技股份有限公司 Method, device and system for sorting light points in special-shaped LED display screen
CN114927090B (en) * 2022-05-30 2023-11-28 卡莱特云科技股份有限公司 Method, device and system for ordering lamp points in special-shaped LED display screen

Also Published As

Publication number Publication date
CN114546206B (en) 2022-07-26

Similar Documents

Publication Publication Date Title
US7898550B2 (en) System and method for memory bandwidth compressor
US9875519B2 (en) Overlap aware reordering of rendering operations for efficiency
JP2005228320A (en) Method and apparatus for high-speed visualization of depth image-based three-dimensional graphic data, and program-recorded computer readable recording medium
CN108961141A (en) Dual Zero watermarking method, system, storage medium and the server of map vector
CN114020756B (en) Remote sensing image real-time map service publishing method and device
CN114546206B (en) Special-shaped screen display method and device, computer equipment and storage medium
CN113963072B (en) Binocular camera calibration method and device, computer equipment and storage medium
US8854385B1 (en) Merging rendering operations for graphics processing unit (GPU) performance
Qian et al. Constructive steganography using texture synthesis
CN115858659A (en) Vector track display method and device, computer equipment and storage medium
CN116051345A (en) Image data processing method, device, computer equipment and readable storage medium
CN111028323B (en) Method, device, equipment and readable storage medium for simulating water wave in map
CN114969409A (en) Image display method and device and readable medium
CN114022518A (en) Method, device, equipment and medium for acquiring optical flow information of image
US20080165208A1 (en) 3-Dimensional graphic processing apparatus and operating method thereof
TWI537754B (en) Method for displaying and managing image file
CN116883563B (en) Method, device, computer equipment and storage medium for rendering annotation points
CN116527908B (en) Motion field estimation method, motion field estimation device, computer device and storage medium
CN116150100A (en) Data processing method, device, system and computer equipment
CN116594582B (en) Image display method, apparatus, computer device and storage medium
CN117557711B (en) Method, device, computer equipment and storage medium for determining visual field
CN117785759B (en) Data storage method, data reading method, electronic device, and storage medium
CN116668609A (en) Image rotation method, device, computer equipment and storage medium in video stream
CN116527908A (en) Motion field estimation method, motion field estimation device, computer device and storage medium
CN111739112A (en) Picture processing method and device, computer equipment and storage medium

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