CN117061716A - Projection method and system applied to rotatable display equipment - Google Patents

Projection method and system applied to rotatable display equipment Download PDF

Info

Publication number
CN117061716A
CN117061716A CN202311157856.5A CN202311157856A CN117061716A CN 117061716 A CN117061716 A CN 117061716A CN 202311157856 A CN202311157856 A CN 202311157856A CN 117061716 A CN117061716 A CN 117061716A
Authority
CN
China
Prior art keywords
picture
projection
state
display
size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311157856.5A
Other languages
Chinese (zh)
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.)
Linksky Photoelectric Shenzhen Co ltd
Original Assignee
Linksky Photoelectric Shenzhen 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 Linksky Photoelectric Shenzhen Co ltd filed Critical Linksky Photoelectric Shenzhen Co ltd
Priority to CN202311157856.5A priority Critical patent/CN117061716A/en
Publication of CN117061716A publication Critical patent/CN117061716A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3179Video signal processing therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3179Video signal processing therefor
    • H04N9/3185Geometric adjustment, e.g. keystone or convergence
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3179Video signal processing therefor
    • H04N9/3188Scale or resolution adjustment

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

A projection method and a projection system applied to rotatable display equipment relate to the field of digital projection. The method is applied to the display terminal and comprises the following steps: obtaining a projection picture sent by user equipment, wherein the projection picture is a rectangular picture; determining a picture state of the projection picture based on the size information of the projection picture; judging whether the picture state of the projection picture is consistent with the current picture state of the display terminal; if the picture state of the projection picture is inconsistent with the current display state of the display terminal, performing size cutting and size scaling on the projection picture based on the display size of the display terminal, and generating a first picture to be displayed; and sending a display state adjusting instruction to an adjusting mechanism of the display terminal so as to enable the display terminal to rotate and display a first picture to be displayed. In the scheme, redundant invalid areas in the window display space of the display terminal are cut and removed, and the display state of the display terminal is adjusted, so that a projection picture is more adaptive to the display terminal, and the viewing experience of a user is greatly improved.

Description

Projection method and system applied to rotatable display equipment
Technical Field
The application relates to the technical field of digital projection, in particular to a projection method and a projection system applied to rotatable display equipment.
Background
With the adoption of modern technology, our lives are getting more and more convenience, and artificial intelligence technology plays an important role in them, and artificial intelligence projection technology is one of them.
At present, the projection equipment is combined with a deep learning algorithm, so that more intelligent and more practical projection equipment can be developed. For example, when a user needs to project a display screen of a user terminal (smart phone, tablet computer, etc.) on a window of the display terminal, the screen projection of the user terminal on the display terminal can be realized by establishing a signal connection between the user terminal and the display terminal.
However, when the user terminal performs multi-window switching in the operation background, the display screen of the user terminal is likely to be out of alignment with the window screen of the display terminal, so that a large amount of window display space of the display terminal becomes an ineffective area, and the experience of the user is reduced.
Disclosure of Invention
Aiming at the problem that when a user terminal performs multi-window switching in an operation background, a display picture of the user terminal and a window picture of the display terminal are easily out of alignment, so that a large amount of window display space of the display terminal becomes an ineffective area, the application provides a projection method and a projection system applied to rotatable display equipment.
In a first aspect, the present application provides a projection method of a rotatable display device, applied to a display terminal, the method comprising: obtaining a projection picture sent by user equipment, wherein the projection picture is a rectangular picture; determining the picture state of the projection picture based on the size information of the projection picture, wherein the picture state of the projection picture is a horizontal screen state or a vertical screen state; judging whether the picture state of the projection picture is consistent with the current picture state of the display terminal, wherein the picture state of the display terminal is a horizontal screen state or a vertical screen state; if the picture state of the projection picture is inconsistent with the current display state of the display terminal, performing size cutting and size scaling on the projection picture based on the display size of the display terminal, and generating a first picture to be displayed; and sending a display state adjusting instruction to an adjusting mechanism of the display terminal so as to enable the display terminal to rotate and display a first picture to be displayed.
By adopting the technical scheme, for the rectangular projection picture to be put on the display terminal, firstly, determining whether the picture state of the projection picture to be put on is a horizontal screen state or a vertical screen state according to the size information of the projection picture; then judging whether the current picture state of the display terminal meets the picture state of the projection picture to be put in, if so, directly scaling the projection picture and then displaying the projection picture; if the display states are inconsistent, the projection images are cut in size, the invalid display areas are cut out and removed, the cut projection images are scaled according to the display size of the display terminal, and finally, a display state adjusting instruction is sent to an adjusting mechanism to enable the display terminal to rotate and display the first image to be displayed, so that the problem that the display images of the user terminal cannot be aligned with the window images of the display terminal is solved, and the display terminal can have the functions of providing more visual experience and displaying images by means of rotatable display equipment, so that the user experience is greatly improved.
In a second aspect, the present application provides a projection system applied to a rotatable display device, where the system is a display terminal, and the display terminal includes an acquisition module, a processing module, and a display module, and where:
the acquisition module is used for acquiring a projection picture sent by the user equipment, wherein the projection picture is a rectangular picture;
the processing module is used for determining the picture state of the projection picture based on the size information of the projection picture, wherein the picture state of the projection picture is a horizontal screen state or a vertical screen state; judging whether the picture state of the projection picture is consistent with the current picture state of the display terminal, wherein the picture state of the display terminal is a horizontal screen state or a vertical screen state; if the picture state of the projection picture is inconsistent with the current display state of the display terminal, performing size cutting and size scaling on the projection picture based on the display size of the display terminal, and generating a first picture to be displayed;
and the display module is used for sending a display state adjustment instruction to an adjustment mechanism of the display terminal so as to enable the display terminal to rotate and display a first picture to be displayed.
Optionally, the acquiring module is configured to acquire a first edge size corresponding to a parallel edge of the projection screen in a preset direction and a second edge size corresponding to a vertical edge of the projection screen in the preset direction; the processing module is used for calculating the ratio of the first edge size to the second edge size to obtain a ratio result; judging the size relation between the ratio result and 1 to generate a judgment result; and determining the picture state of the projection picture according to the corresponding relation between the picture state of the preset projection picture and the judging result.
Through adopting above-mentioned technical scheme, through obtaining and calculating the size ratio of two mutually perpendicular limits of projection picture to according to ratio result and preset corresponding relation, realized accurate picture state judgement and automatic identification function, thereby improve user experience, reduce user's operation, make the display direction of projection picture more accurate and convenient.
Optionally, determining whether the picture state of the projection picture is consistent with the current picture state of the display terminal, further includes: if the picture state of the projection picture is consistent with the current picture state of the display terminal, the processing module performs size scaling on the projection picture based on the display size of the display terminal, a second picture to be displayed is generated, and the display module displays the second picture to be displayed on the display terminal.
Through adopting above-mentioned technical scheme, through judging that projection picture is unanimous with the picture state of display terminal and carrying out the size and zoom, realized the uniformity and the self-adaptation of projection picture and display terminal picture to improve user experience, keep the picture uniformity, also realize after can providing suitable picture size on different display terminals, make the display effect of projection picture more unified and optimize.
Optionally, the acquiring module is configured to acquire a size length of a target cutting edge and a size length of a preset reference edge corresponding to the target cutting edge, where the target cutting edge is any one of a plurality of edges to be cut of the projection screen, and the preset reference edge is an edge of a display screen of the display terminal; the processing module compares the size length of the target cutting edge with the size length of a preset reference edge; if the size length of the target cutting edge is larger than the size length of the preset reference edge, the size length of the target cutting edge is reduced to the size length of the preset reference edge, and the target cutting edge is cut according to the size length of the preset reference edge; and if the size length of the target cutting edge is smaller than or equal to the size length of the preset reference edge, cutting the target cutting edge according to the size length of the target cutting edge.
By adopting the technical scheme, the matching of 4 cutting edges of the projection picture and the display range of the display terminal is realized through the self-adaptive cutting of the target cutting edges and the preset reference edges of the display terminal, the integrity and the proper cutting proportion of the picture are maintained, so that the display effect of the projection picture on the display terminal is improved, the problem that the projection picture is too much cut or too little cut in an invalid area is avoided, and a better ornamental effect is provided.
Optionally, after the size of the projection screen is cut based on the display size of the display terminal, the projection screen is scaled based on the display size of the display terminal, so as to generate a first screen to be displayed, which specifically includes: the acquisition module acquires a target clipping picture which is an image of a projection picture subjected to size clipping; the processing module calculates the height-width ratio of the display size; performing size scaling on the target clipping picture based on the height-width ratio of the display size to obtain a target scaled image; calculating the resolution ratio of the resolution of the display terminal to the resolution of the projection picture; judging whether the resolution ratio is greater than or equal to 1; and if the resolution ratio is greater than or equal to 1, amplifying the target zoom picture based on the resolution ratio to obtain a first picture to be displayed.
By adopting the technical scheme, firstly, the target cut picture is scaled according to the height-width ratio of the display size, so that the size of the display terminal is met, and the better ornamental effect is improved; and then comparing the resolution of the projection picture with the resolution of the display terminal, and representing the resolution by using a resolution ratio, when the resolution of the display terminal is larger than the resolution of the projection picture, directly scaling the target scaling picture can still keep the original picture quality, thereby avoiding picture deformation caused by the mismatch of the resolutions.
Optionally, determining whether the resolution ratio is greater than 1 further includes: if the resolution ratio is smaller than 1, the processing module identifies a plurality of key areas and a plurality of non-key areas of the target zoom picture; cutting and removing the plurality of non-key areas to obtain an image to be corrected; and carrying out pixel recombination and pixel correction on the image to be corrected by adopting a secondary difference algorithm to obtain a first image to be displayed, wherein the resolution of the first image to be displayed is equal to that of the display terminal.
By adopting the technical scheme, when the resolution of the display terminal is smaller than that of the projection picture, the situation that the picture definition is reduced and the picture is distorted is caused if the target zoom picture is directly zoomed at the moment; the method comprises the steps of firstly identifying a key area and a non-key area in a target zoom picture, removing the non-key area to obtain an image to be corrected, and finally carrying out pixel recombination on the image to be corrected and carrying out pixel point correction on the image subjected to pixel recombination by adopting a secondary difference algorithm, so that textures and edges of the image to be corrected are more continuous and uniform, and further, the user's look and feel when a display terminal displays a projection picture is increased.
Optionally, determining the picture state of the projection picture based on the size information of the projection picture further includes: the acquisition module acquires a picture state switching signal of a projection picture; if the picture state of the projection picture is a horizontal screen state before receiving the picture state switching signal, the processing module determines that the current picture state of the projection picture is a vertical screen state; if the picture state of the projection picture is the vertical screen state before receiving the picture state switching signal, the processing module determines that the current picture state of the projection picture is the horizontal screen state.
By adopting the technical scheme, the current state of the projection picture, namely the horizontal screen state or the vertical screen state, is accurately judged according to the size information of the projection picture and the picture state switching signal, so that the display direction of the projection picture is automatically identified and adjusted, the possibility of misidentification of a display terminal is reduced, and better user experience and operation convenience are provided.
In a third aspect, the present application provides an electronic device comprising a processor, a memory for storing instructions, a user interface and a network interface for communicating to other devices, the processor for executing the instructions stored in the memory to cause the electronic device to perform the method of any of the first aspects.
In a fourth aspect, the present application provides a computer readable storage medium storing instructions which, when executed, perform the method of any one of the first aspects.
In summary, one or more technical solutions provided in the embodiments of the present application at least have the following technical effects or advantages:
1. for a rectangular projection picture to be put on a display terminal, firstly determining whether the picture state of the projection picture to be put is a horizontal screen state or a vertical screen state according to the size information of the projection picture; then judging whether the current picture state of the display terminal meets the picture state of the projection picture to be put in, if so, directly scaling the projection picture and then displaying the projection picture; if the display states are inconsistent, the projection images are cut in size, the invalid display areas are cut out and removed, the cut projection images are scaled according to the display size of the display terminal, and finally, a display state adjusting instruction is sent to an adjusting mechanism to enable the display terminal to rotate and display the first image to be displayed, so that the problem that the display images of the user terminal cannot be aligned with the window images of the display terminal is solved, and the display terminal can have the functions of providing more visual experience and displaying images by means of rotatable display equipment, so that the user experience is greatly improved.
2. When the resolution of the display terminal is smaller than that of the projection picture, the picture definition is reduced and the picture is distorted if the target zoom picture is directly zoomed at the moment; the method comprises the steps of firstly identifying a key area and a non-key area in a target zoom picture, removing the non-key area to obtain an image to be corrected, and finally carrying out pixel recombination on the image to be corrected and carrying out pixel point correction on the image subjected to pixel recombination by adopting a secondary difference algorithm, so that textures and edges of the image to be corrected are more continuous and uniform, and further, the user's look and feel when a display terminal displays a projection picture is increased.
Drawings
Fig. 1 is a schematic structural diagram of a rotatable display device according to an embodiment of the present application.
Fig. 2 is a schematic display diagram of a display terminal window according to an embodiment of the present application.
Fig. 3 is a flowchart of a projection method of a rotatable display device according to an embodiment of the present application.
Fig. 4 is a schematic diagram of a picture state of a projection picture according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a projection system of a rotatable display device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Reference numerals illustrate: 501. an acquisition module; 502. a processing module; 503. a display module; 600. an electronic device; 601. a processor; 602. a communication bus; 603. a user interface; 604. a network interface; 605. a memory.
Detailed Description
In order that those skilled in the art will better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments.
In describing embodiments of the present application, words such as "for example" or "for example" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "such as" or "for example" in embodiments of the application should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "or" for example "is intended to present related concepts in a concrete fashion.
In the description of embodiments of the application, the term "plurality" means two or more. For example, a plurality of systems means two or more systems, and a plurality of screen terminals means two or more screen terminals. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating an indicated technical feature. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
Before describing embodiments of the present application, the present application provides a schematic structural diagram of a rotatable display device. As shown in fig. 1, the rotatable display device includes a display terminal, a rotation mechanism, and a support frame. The display terminal can realize 360-degree rotation along the axis of the rotating mechanism. When the rotatable equipment is in a vertical screen state, the supporting frame lifts the display terminal and the rotating mechanism, and enough rotating space is reserved for the display terminal in the vertical screen state; when the rotatable equipment is in a horizontal screen state, the supporting mechanism reduces the display terminal and the rotating mechanism, the display terminal is adjusted to a position meeting the user requirement, and the position meeting the user requirement can be preset by the user.
With the explosion of the third industrial revolution, many modern technologies are being developed and brought into the field of view of the public. With the adoption of modern technology, people's life is getting more and more convenient, and artificial intelligence technology plays an important role in them. One of the technologies is artificial intelligence projection, which combines projection equipment with a deep learning algorithm, so as to realize intelligent projection between a user terminal and a display terminal.
At present, a user terminal (a smart phone, a tablet personal computer and the like) and a display terminal are connected through a wireless or wired connection for signal connection, then the user terminal sends an image to be projected to the display terminal, and the display terminal analyzes the image and then puts the image on the display terminal, so that the screen of the user terminal on the display terminal is projected. However, when the user terminal performs multi-window switching in the operation background, the display screen of the user terminal is likely to be out of alignment with the window screen of the display terminal, so that a large amount of window display space of the display terminal becomes an ineffective area, and the experience of the user is reduced.
For example, as shown in fig. 2, fig. 2 is a schematic display diagram of a window frame of a display terminal according to an embodiment of the present application. When the window picture transmitted to the display terminal by the user terminal is a vertical screen picture, the display terminal normally displays the window picture; however, as shown in b, when the user terminal switches the window screen of another background application, if the background application is a window screen in a horizontal screen state, a large number of invalid areas appear in the display window of the display terminal, wherein the hatched portion represents the screen area and the blank portion is the invalid area.
In order to solve the above-described problems, the present application provides a projection method applied to a rotatable display device, which is applied to a display terminal, as shown in fig. 3, the method including steps S301 to S305.
S301, obtaining a projection picture sent by user equipment, wherein the projection picture is a rectangular picture.
In the above steps, the projection screen may be a picture, an image, an application interface of the user equipment, and the like. The user performs signal connection operation on the user equipment, at this time, the user equipment sends a signal connection instruction to the display terminal, and after the display terminal receives the connection instruction, information transmission between the user equipment and the display terminal is realized. The connection mode can adopt wireless connection technologies such as Bluetooth connection, wireless screen throwing technology, wireless local area network and the like. The connection mode can also adopt wired connection modes such as USB connection, VGA connection and the like. Since most display terminals in the market are designed with rectangular display windows, the projection screen is limited to rectangular display screens in order to fit the display windows of the display terminals.
S302, determining the picture state of the projection picture based on the size information of the projection picture, wherein the picture state of the projection picture is a horizontal screen state or a vertical screen state.
In the above steps, the display terminal receives the projection picture, and obtains the size information of each side of the projection picture by analyzing the pixel information of the projection picture. Then, the picture state of the projection picture is determined according to the size information of each side of the projection picture. The specific process is as follows: acquiring size information of sides parallel to a preset direction in 4 sides of a projection picture, and taking the size information as a first side size; and acquiring the dimension information of the side perpendicular to the preset direction in the 4 sides of the projection picture, and taking the dimension information as a second side dimension. The preset direction needs to be perpendicular to or parallel to at least one of the 4 sides of the projection picture. Then, calculating the ratio of the first edge size to the second edge size to obtain a ratio result. And finally, comparing the ratio result with 1 to generate a judging result, and determining the picture state of the projection picture according to the corresponding relation between the picture state of the preset projection picture and the judging result. When the preset direction is parallel to the long side of the projection picture, the picture state corresponding to the ratio result being greater than or equal to 1 is a vertical screen state, and if the ratio result being smaller than 1 is a horizontal screen state, the first side size is a length size, and the second side size is a width size; when the preset direction is parallel to the wide side of the projection picture, the first side size is the width size, the second side size is the length size, the picture state corresponding to the ratio result being greater than or equal to 1 is the horizontal screen state, and if the ratio result is less than 1, the picture state corresponding to the ratio result is the vertical screen state.
For example, as shown in fig. 4, the image state of a projection image provided by the present application is shown. The picture a is a vertical screen state and a horizontal screen state of the projection picture when the preset direction is parallel to the long side of the projection picture. And b, when the preset direction is parallel to the wide side of the projection picture, the vertical screen state and the horizontal screen state of the projection picture are shown.
S303, judging whether the picture state of the projection picture is consistent with the current picture state of the display terminal, wherein the picture state of the display terminal is a horizontal screen state or a vertical screen state.
In the above step, the current screen state of the display terminal may be a horizontal screen state or a vertical screen state. At this time, it is required to determine whether the screen state of the projection screen is consistent with the current state of the display terminal, so as to determine whether the projection screen needs to be converted from the screen state.
And S304, if the picture state of the projection picture is inconsistent with the current display state of the display terminal, performing size cutting and size scaling on the projection picture based on the display size of the display terminal, and generating a first picture to be displayed.
In the above steps, for example, if the screen state of the projection screen is a horizontal screen state and the current display state of the display terminal is a vertical screen state, it is determined that the screen state of the projection screen is inconsistent with the current display state of the display terminal. At this time, it is necessary to perform a screen state transition for the projection screen. Wherein the frame conversion of the projection frame includes size cropping and size scaling. Wherein, the size tailors specifically includes: firstly, the size length of a target cutting edge and the corresponding size length of a preset reference edge are obtained. The target trimming edge may be any one of a plurality of edges to be trimmed of the projection screen, and the preset reference edge is an edge of a display screen of the display terminal. And then comparing the size length of the target cutting edge with the size length of the preset reference edge. If the size length of the target cutting edge is larger than the size length of the preset reference edge, cutting is needed, at the moment, the size length of the target cutting edge is reduced to the size length of the preset reference edge, and the target cutting edge is cut according to the size length of the preset reference edge, namely, the cut size of the target cutting edge is consistent with the size length of the preset reference edge. If the size length of the target cutting edge is smaller than or equal to the size length of the preset reference edge, scaling is not needed, and the original size of the target cutting edge is kept for cutting, so that the display effect of the projection picture on the display terminal is ensured to meet the expectations.
For example, the target trimming edge of the projection screen is the width, and the preset reference edge is the width of the display terminal. If the width of the target trimming edge is larger than the width of the display terminal, scaling and trimming are needed. For example, the width of the projection screen is 1200 pixels, and the width of the display terminal is 1000 pixels. At this time, the width of the target trimming edge needs to be reduced to 1000 pixels, and the width of the projection screen is trimmed according to 1000 pixels, so as to adapt to the size of the display terminal.
The size scaling specifically includes: after the projection screen is size-cut, a target cut screen is generated. And then calculating the height-width ratio of the display size, and performing size scaling on the target cutting picture according to the height-width ratio of the display size, namely scaling the width length of the target cutting picture to the width length of the display size, and scaling the length of the long side of the target cutting picture to the length of the long side of the display size to generate the target scaling picture. Since the resolution of the display terminal may not be consistent with the resolution of the projected picture, there is a case where the picture sharpness is reduced or distorted after the scaling of the target clip image occurs. At this time, by calculating the resolution ratio of the resolution of the display terminal to the resolution of the projection screen, judging whether the resolution ratio is greater than or equal to 1, so as to judge whether the target zoom screen needs to be corrected; because the resolution of the display terminal and the resolution of the projection picture both comprise the horizontal resolution and the vertical resolution, the resolution ratio comprises the horizontal resolution ratio and the vertical resolution ratio, when judging whether the resolution ratio is greater than or equal to 1, if the horizontal resolution ratio is greater than or equal to 1, and when the horizontal/vertical size resolution ratio is greater than or equal to 1, the target zoom picture is determined to be corrected.
If the resolution ratio is greater than or equal to 1, determining that the resolution of the display terminal is higher than the target zoom picture at the moment, so that the target zoom picture can still keep original definition without distortion after being amplified, and amplifying the target zoom picture based on the resolution ratio at the moment to obtain a first image to be displayed.
If the resolution ratio is smaller than 1, it is determined that the resolution of the display terminal does not meet the resolution of the target zoom screen, which may cause the situation that the resolution of the target zoom screen is reduced or distorted when the display terminal displays. At this time, a plurality of key regions and a plurality of non-key regions of the target zoom screen are identified. The identification means may employ visual saliency detection, which is based on the visual attention mechanism of the human eye, by analyzing the characteristics of color, brightness, texture, edges, etc. in the image to determine the most attractive area in the image. And then cutting and removing non-key areas in the target zoom picture to obtain the image to be corrected. After the non-key area is removed by the image to be corrected, the condition of irregular image exists, at the moment, the image to be corrected is subjected to pixel recombination and pixel correction by adopting a secondary difference algorithm, a first image to be displayed is obtained, and at the moment, the resolution of the first image to be displayed is equal to that of the display terminal. The basic principle of the secondary difference algorithm is that difference operation is carried out according to the existing similar points so as to estimate missing pixel points, and according to the principle, pixel point estimation operation is carried out again on all pixel points by utilizing all known pixel points after pixel recombination of an image to be corrected, so that the texture and the edge of the image to be corrected are more continuous and uniform, and further, the user's look and feel when a projection picture is displayed by a display terminal is increased.
In one possible implementation manner, if the picture state of the projection picture is consistent with the current picture state of the display terminal, the projection is scaled according to the display size of the display terminal, so as to generate the second picture to be displayed.
S305, sending a display state adjustment instruction to an adjustment mechanism of the display terminal so as to enable the display terminal to rotate and display a first picture to be displayed.
In the above steps, when the picture state of the projection picture is inconsistent with the current display state of the display terminal, it can be determined that the current display state of the display terminal cannot meet the better projection proportion of the projection picture, at the moment, a display state adjustment instruction is sent to an adjustment mechanism, the adjustment mechanism is a rotating mechanism, the adjustment mechanism adjusts the display terminal to rotate to a display state consistent with the picture state of the projection picture, and finally the first picture to be displayed is displayed on the projection picture, so that the problem that the display picture of the user terminal cannot be aligned with the window picture of the display terminal easily occurs when the user terminal performs multi-window switching in the background operation is solved, and the display terminal can have the functions of providing more sightseeing experience and picture display by means of the rotatable display device, thereby greatly improving the experience of users.
In one possible embodiment, determining the picture state of the projection picture based on the size information of the projection picture further includes: the picture state of the projection picture can be determined according to a picture state switching instruction sent by the user equipment, specifically: acquiring a picture state switching signal of a projection picture; if the picture state of the projection picture is a horizontal screen state before receiving the picture state switching signal, determining that the current picture state of the projection picture is a vertical screen state; and if the picture state of the projection picture is the vertical screen state before receiving the picture state switching signal, determining that the current picture state of the projection picture is the horizontal screen state. For example, if the current frame status of the display terminal is a horizontal screen status, after acquiring a frame status switching signal sent by the user equipment, the display terminal may determine that the current frame status of the projection frame is a vertical screen status, and needs to adjust the display terminal to the vertical screen status; if the current picture state of the display terminal is a vertical screen state, after a picture state switching signal sent by the user equipment is obtained, the display terminal can determine that the current picture state of the projection picture is a horizontal screen state, and the display terminal needs to be adjusted to the horizontal screen state; therefore, the current state of the projection picture, namely the horizontal screen state or the vertical screen state, can be accurately judged according to the size information of the projection picture and the picture state switching signal, so that the display direction of the projection picture is automatically recognized and adjusted, the possibility of misidentification of a display terminal is reduced, and better user experience and operation convenience are provided.
The application also provides a projection system applied to the rotatable display device, the system is a display terminal, as shown in fig. 5, the display terminal comprises an acquisition module 501, a processing module 502 and a display module 503, wherein:
the obtaining module 501 is configured to obtain a projection picture sent by the user equipment, where the projection picture is a rectangular picture;
the processing module 502 is configured to determine a frame status of the projection frame based on the size information of the projection frame, where the frame status of the projection frame is a horizontal screen status or a vertical screen status; judging whether the picture state of the projection picture is consistent with the current picture state of the display terminal, wherein the picture state of the display terminal is a horizontal screen state or a vertical screen state; if the picture state of the projection picture is inconsistent with the current display state of the display terminal, performing size cutting and size scaling on the projection picture based on the display size of the display terminal, and generating a first picture to be displayed;
the display module 503 is configured to send a display status adjustment instruction to an adjustment mechanism of the display terminal, so that the display terminal rotates and displays a first to-be-displayed screen.
In a possible implementation manner, the obtaining module 501 is configured to obtain a first edge size corresponding to a parallel edge of the projection screen in a preset direction and a second edge size corresponding to a vertical edge of the projection screen in the preset direction; the processing module 502 is configured to calculate a ratio of the first edge size to the second edge size, and obtain a ratio result; judging the size relation between the ratio result and 1 to generate a judgment result; and determining the picture state of the projection picture according to the corresponding relation between the picture state of the preset projection picture and the judging result.
In one possible implementation manner, determining whether the screen state of the projection screen is consistent with the current screen state of the display terminal further includes: if the screen state of the projected screen is consistent with the current screen state of the display terminal, the processing module 502 performs a size scaling on the projected screen based on the display size of the display terminal, and generates a second screen to be displayed, and the display module 503 displays the second screen to be displayed on the display terminal.
In a possible implementation manner, the obtaining module 501 is configured to obtain a size length of a target trimming edge and a size length of a preset reference edge corresponding to the target trimming edge, where the target trimming edge is any one of a plurality of edges to be trimmed of the projection screen, and the preset reference edge is an edge of a display screen of the display terminal; the processing module 502 compares the size length of the target cutting edge with the size length of a preset reference edge; if the size length of the target cutting edge is larger than the size length of the preset reference edge, the size length of the target cutting edge is reduced to the size length of the preset reference edge, and the target cutting edge is cut according to the size length of the preset reference edge; and if the size length of the target cutting edge is smaller than or equal to the size length of the preset reference edge, cutting the target cutting edge according to the size length of the target cutting edge.
In one possible implementation manner, after the projected screen is size-cropped based on the display size of the display terminal, the projected screen is size-scaled based on the display size of the display terminal, so as to generate a first screen to be displayed, specifically: the acquisition module 501 acquires a target clipping picture, wherein the target clipping picture is an image of a projection picture subjected to size clipping; the processing module 502 calculates the aspect ratio of the display size; performing size scaling on the target clipping picture based on the height-width ratio of the display size to obtain a target scaled image; calculating the resolution ratio of the resolution of the display terminal to the resolution of the projection picture; judging whether the resolution ratio is greater than or equal to 1; and if the resolution ratio is greater than or equal to 1, amplifying the target zoom picture based on the resolution ratio to obtain a first picture to be displayed.
In one possible embodiment, determining whether the resolution ratio is greater than 1 further includes: if the resolution ratio is less than 1, the processing module 502 identifies a plurality of critical areas and a plurality of non-critical areas of the target scaled frame; cutting and removing the plurality of non-key areas to obtain an image to be corrected; and carrying out pixel recombination and pixel correction on the image to be corrected by adopting a secondary difference algorithm to obtain a first image to be displayed, wherein the resolution of the first image to be displayed is equal to that of the display terminal.
In one possible embodiment, determining the picture state of the projection picture based on the size information of the projection picture further includes: the acquisition module 501 acquires a screen state switching signal of a projection screen; if the screen state of the projected screen is a horizontal screen state before receiving the screen state switching signal, the processing module 502 determines that the current screen state of the projected screen is a vertical screen state; if the screen state of the projected screen is the vertical screen state before receiving the screen state switching signal, the processing module 502 determines that the current screen state of the projected screen is the horizontal screen state.
It should be noted that: in the device provided in the above embodiment, when implementing the functions thereof, only the division of the above functional modules is used as an example, in practical application, the above functional allocation may be implemented by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to implement all or part of the functions described above. In addition, the embodiments of the apparatus and the method provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the embodiments of the method are detailed in the method embodiments, which are not repeated herein.
The application further provides electronic equipment. Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 600 may include: at least one processor 601, at least one network interface 604, a user interface 603, a memory 605, at least one communication bus 602.
Wherein the communication bus 602 is used to enable connected communications between these components.
The user interface 603 may include a Display screen (Display), a Camera (Camera), and the optional user interface 603 may further include a standard wired interface, a wireless interface.
The network interface 604 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Wherein the processor 601 may include one or more processing cores. The processor 601 connects various portions of the overall server using various interfaces and lines, performs various functions of the server and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 605, and invoking data stored in the memory 605. Alternatively, the processor 601 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 601 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 601 and may be implemented by a single chip.
The Memory 605 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 605 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 605 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 605 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, etc.; the storage data area may store data or the like involved in the above respective method embodiments. The memory 605 may also optionally be at least one storage device located remotely from the processor 601. Referring to fig. 6, an operating system, a network communication module, a user interface module, and an application program of a projection method applied to a rotatable display device may be included in a memory 605 as a computer storage medium.
In the electronic device 600 shown in fig. 6, the user interface 603 is mainly used for providing an input interface for a user, and acquiring data input by the user; and processor 601 may be configured to invoke the memory 605 to store an application program for a projection method for a rotatable display device, which when executed by one or more processors 601, causes the electronic device 600 to perform the method as described in one or more of the embodiments above. It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all of the preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, such as a division of units, merely a division of logic functions, and there may be additional divisions in actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some service interface, device or unit indirect coupling or communication connection, electrical or otherwise.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in whole or in part in the form of a software product stored in a memory, comprising several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method of the various embodiments of the present application. And the aforementioned memory includes: various media capable of storing program codes, such as a U disk, a mobile hard disk, a magnetic disk or an optical disk.
The foregoing is merely exemplary embodiments of the present disclosure and is not intended to limit the scope of the present disclosure. That is, equivalent changes and modifications are contemplated by the teachings of this disclosure, which fall within the scope of the present disclosure. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure.
This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a scope and spirit of the disclosure being indicated by the claims.

Claims (10)

1. A projection method applied to a rotatable display device, characterized in that it is applied to a display terminal, the method comprising:
obtaining a projection picture sent by user equipment, wherein the projection picture is a rectangular picture;
determining the picture state of the projection picture based on the size information of the projection picture, wherein the picture state of the projection picture is a horizontal screen state or a vertical screen state;
judging whether the picture state of the projection picture is consistent with the current picture state of the display terminal, wherein the picture state of the display terminal is a horizontal screen state or a vertical screen state;
if the picture state of the projection picture is inconsistent with the current display state of the display terminal, performing size cutting and size scaling on the projection picture based on the display size of the display terminal, and generating a first picture to be displayed;
And sending a display state adjustment instruction to an adjustment mechanism of the display terminal so as to enable the display terminal to rotate and display the first picture to be displayed.
2. The method according to claim 1, wherein the determining the picture status of the projected picture based on the size information of the projected picture is in particular:
acquiring a first edge size corresponding to a parallel edge of the projection picture in a preset direction and a second edge size corresponding to a vertical edge of the projection picture in the preset direction;
calculating the ratio of the first edge size to the second edge size to obtain a ratio result;
judging the size relation between the ratio result and 1 to generate a judgment result;
and determining the picture state of the projection picture according to the corresponding relation between the picture state of the preset projection picture and the judging result.
3. The method according to claim 1, wherein the determining whether the picture status of the projected picture is consistent with the current picture status of the display terminal further comprises:
if the picture state of the projection picture is consistent with the current picture state of the display terminal, the projection picture is scaled in size based on the display size of the display terminal to generate a second picture to be displayed,
And displaying the second picture to be displayed on the display terminal.
4. The method according to claim 1, wherein the step of performing size cropping on the projection screen based on the display size of the display terminal is specifically:
acquiring the size length of the target cutting edge and the size length of a preset reference edge corresponding to the target cutting edge, wherein the target cutting edge is any one of a plurality of edges to be cut of the projection picture, and the preset reference edge is the edge of the display picture of the display terminal;
comparing the size length of the target cutting edge with the size length of the preset reference edge;
if the size length of the target cutting edge is larger than the size length of the preset reference edge, reducing the size length of the target cutting edge to the size length of the preset reference edge, and cutting the target cutting edge according to the size length of the preset reference edge;
and if the size length of the target cutting edge is smaller than or equal to the size length of the preset reference edge, cutting the target cutting edge according to the size length of the target cutting edge.
5. The method according to claim 1, wherein after the size-cropping the projection screen based on the display size of the display terminal, the size-scaling the projection screen based on the display size of the display terminal generates a first screen to be displayed, specifically:
Acquiring a target clipping picture which is an image obtained by performing size clipping on the projection picture;
calculating the height-width ratio of the display size;
performing size scaling on the target clipping picture based on the height-width ratio of the display size to obtain a target scaled image;
calculating a resolution ratio of the resolution of the display terminal to the resolution of the projection picture;
judging whether the resolution ratio is greater than or equal to 1;
and if the resolution ratio is greater than or equal to 1, amplifying the target zoom picture based on the resolution ratio to obtain the first picture to be displayed.
6. The method of claim 5, wherein said determining whether said resolution ratio is greater than 1 further comprises:
if the resolution ratio is smaller than 1, identifying a plurality of key areas and a plurality of non-key areas of the target zoom picture;
cutting and removing the non-key areas to obtain an image to be corrected;
and carrying out pixel recombination and pixel correction on the image to be corrected by adopting a secondary difference algorithm to obtain the first image to be displayed, wherein the resolution of the first image to be displayed is equal to the resolution of the display terminal.
7. The method of claim 1, wherein the determining the picture status of the projected picture based on the size information of the projected picture further comprises:
acquiring a picture state switching signal of the projection picture;
if the picture state of the projection picture is a horizontal screen state before receiving the picture state switching signal, determining that the current picture state of the projection picture is a vertical screen state;
and if the picture state of the projection picture is a vertical screen state before receiving the picture state switching signal, determining that the current picture state of the projection picture is a horizontal screen state.
8. A projection system applied to a selectable display device, wherein the system is a display terminal, and the display terminal comprises an acquisition module, a processing module and a display module, wherein:
the acquisition module is used for acquiring a projection picture sent by the user equipment, wherein the projection picture is a rectangular picture;
the processing module is used for determining the picture state of the projection picture based on the size information of the projection picture, wherein the picture state of the projection picture is a horizontal screen state or a vertical screen state; judging whether the picture state of the projection picture is consistent with the current picture state of the display terminal, wherein the picture state of the display terminal is a horizontal screen state or a vertical screen state; if the picture state of the projection picture is inconsistent with the current display state of the display terminal, performing size cutting and size scaling on the projection picture based on the display size of the display terminal, and generating a first picture to be displayed;
And the display module is used for sending a display state adjustment instruction to an adjustment mechanism of the display terminal so as to enable the display terminal to rotate and display the first picture to be displayed.
9. An electronic device comprising a processor, a memory, a user interface and a network interface, the memory for storing instructions, the user interface and the network interface for communicating to other devices, the processor for executing the instructions stored in the memory to cause the electronic device to perform the method of any one of claims 1 to 7.
10. A computer readable storage medium storing instructions which, when executed, perform the method of any one of claims 1 to 7.
CN202311157856.5A 2023-09-08 2023-09-08 Projection method and system applied to rotatable display equipment Pending CN117061716A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311157856.5A CN117061716A (en) 2023-09-08 2023-09-08 Projection method and system applied to rotatable display equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311157856.5A CN117061716A (en) 2023-09-08 2023-09-08 Projection method and system applied to rotatable display equipment

Publications (1)

Publication Number Publication Date
CN117061716A true CN117061716A (en) 2023-11-14

Family

ID=88653616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311157856.5A Pending CN117061716A (en) 2023-09-08 2023-09-08 Projection method and system applied to rotatable display equipment

Country Status (1)

Country Link
CN (1) CN117061716A (en)

Similar Documents

Publication Publication Date Title
US9892716B2 (en) Image display program, image display method, and image display system
CN106980510B (en) Window self-adaption method and device of player
US11119719B2 (en) Screen sharing for display in VR
CN113903317B (en) Screen brightness adjusting method and device of electronic equipment and electronic equipment
CN110853068B (en) Picture processing method and device, electronic equipment and readable storage medium
CN112017222A (en) Video panorama stitching and three-dimensional fusion method and device
US20230351604A1 (en) Image cutting method and apparatus, computer device, and storage medium
US8896692B2 (en) Apparatus, system, and method of image processing, and recording medium storing image processing control program
CN113055615B (en) Conference all-in-one machine, screen segmentation display method and storage device
CN108665510B (en) Rendering method and device of continuous shooting image, storage medium and terminal
CN114549718A (en) Rendering method and device of virtual information, augmented reality device and storage medium
CN115205164B (en) Training method of image processing model, video processing method, device and equipment
CN111372009B (en) Image processing method and processing equipment
JP2019149785A (en) Video conversion device and program
CN117061716A (en) Projection method and system applied to rotatable display equipment
CN110933493A (en) Video rendering system, method and computer-readable storage medium
CN115421639A (en) Panorama display method and device, electronic equipment and medium
CN110941413B (en) Display screen generation method and related device
JP2021056899A (en) Image processor, image processing method, and program
CN117524073B (en) Super high definition image display jitter compensation method, system and storage medium
CN111416971B (en) Control method, control system, electronic device and readable storage medium
CN118506713B (en) Display screen control method and device, display screen and readable storage medium
US11461957B2 (en) Information processing device, information processing method, and program
CN118658433A (en) Luminance control method and device of liquid crystal display screen and electronic equipment
CN117459666A (en) Image processing method and image processor

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