CN115113838A - Display method, device, equipment and medium for screen projection picture - Google Patents

Display method, device, equipment and medium for screen projection picture Download PDF

Info

Publication number
CN115113838A
CN115113838A CN202210836998.3A CN202210836998A CN115113838A CN 115113838 A CN115113838 A CN 115113838A CN 202210836998 A CN202210836998 A CN 202210836998A CN 115113838 A CN115113838 A CN 115113838A
Authority
CN
China
Prior art keywords
screen
video frame
current
column
determining
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
CN202210836998.3A
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.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network 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 Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202210836998.3A priority Critical patent/CN115113838A/en
Publication of CN115113838A publication Critical patent/CN115113838A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

The embodiment of the disclosure relates to a display method, a device, equipment and a medium of a screen projection picture, wherein the method comprises the following steps: acquiring a current screen projection video frame, and determining at least one reference pixel column in the current screen projection video frame; determining the current display direction of the current screen-projecting video frame according to at least one reference pixel column; if the display direction is the vertical screen direction, identifying the edge column position of the picture content in the current screen-casting video frame; and cutting the current screen projection video frame according to the edge column position to obtain a screen projection frame containing the frame content, and controlling a screen projection target screen to display the screen projection frame. Therefore, a simple and efficient determination mode of the screen projection display direction is realized, a black edge area which does not contain picture content is cut off in the vertical screen direction, and the visual display effect is improved.

Description

Display method, device, equipment and medium for screen projection picture
Technical Field
The present disclosure relates to the field of communications application technologies, and in particular, to a method, an apparatus, a device, and a medium for displaying a screen projection image.
Background
As a technique for projecting screen images onto other display devices for display, screen projection is widely used in daily production and life. For example, a video frame being viewed in a mobile phone can be viewed on a television screen through a screen projection technology.
When a screen projection initiating device such as a mobile phone initiates screen projection to a screen projection target device such as a television, the direction of a screen projection picture displayed by the screen projection target device is consistent with the picture display direction of the screen projection initiating device, generally, as shown in fig. 1A, if the picture display direction of the screen projection initiating device is a horizontal screen direction, the screen projection display direction on the screen projection target device is also a horizontal screen direction, and in a horizontal screen direction display mode, the screen projection picture can relatively fill the screen projection screen of the screen projection target device and does not affect the visual display effect; however, as shown in fig. 1B, if the screen display direction of the screen projection initiating device is the vertical screen direction, the screen projection display direction on the screen projection target device is also the vertical screen direction, and in the vertical screen direction display mode, the screen projection screen includes a large amount of black "black-border" filling areas, which affects the visual display effect. In the related art, due to the limitation of the screen projection protocol, the screen display direction of the screen projection initiating device cannot be directly read, and therefore, the screen projection display direction on the screen projection target device cannot be directly known.
Therefore, a mode capable of efficiently judging the display direction of the projection screen on the projection screen target equipment is urgently needed so as to cut the 'black edge' area in the vertical screen direction display mode and ensure the visual display effect.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the disclosure provides a display method, device, equipment and medium for a screen projection picture, so that a simple and efficient determination mode of a screen projection display direction is realized, a black edge area which does not contain picture content is cut off in a vertical screen direction, and a visual display effect is improved.
The embodiment of the disclosure provides a display method of a screen projection picture, which comprises the following steps: acquiring a current screen projection video frame, and determining at least one reference pixel column in the current screen projection video frame; determining a current display direction of the current screen projection video frame according to the at least one reference pixel column; if the current display direction is a vertical screen direction, identifying the edge column position of the picture content in the current screen-projected video frame; and cutting the current screen projection video frame according to the edge column position to obtain a screen projection frame containing the frame content, and controlling a screen projection target screen to display the screen projection frame.
The embodiment of the present disclosure further provides a display device for projecting a screen, the device including: the device comprises a first determining module, a second determining module and a display module, wherein the first determining module is used for acquiring a current screen projection video frame and determining at least one reference pixel column in the current screen projection video frame; a second determining module, configured to determine a current display direction of the current screen-projected video frame according to the at least one reference pixel column; the identification module is used for identifying the edge column position of the picture content in the current screen-projected video frame when the current display direction is the vertical screen direction; the cutting module is used for cutting the current screen-projecting video frame according to the edge row position to obtain a screen-projecting picture frame containing the picture content; and the screen projection module is used for controlling a screen projection target screen to display the screen projection picture frame.
An embodiment of the present disclosure further provides an electronic device, which includes: a processor; a memory for storing the processor-executable instructions; the processor is used for reading the executable instructions from the memory and executing the instructions to realize the display method of the screen projection picture provided by the embodiment of the disclosure.
The embodiment of the present disclosure also provides a computer-readable storage medium, which stores a computer program for executing the display method of a screen shot picture provided by the embodiment of the present disclosure.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
according to the display scheme of the screen-projected frame provided by the embodiment of the disclosure, a current screen-projected video frame is obtained, at least one reference pixel column is determined in the current screen-projected video frame, the current display direction of the current screen-projected video frame is determined according to the at least one reference pixel column, further, if the current display direction is the vertical screen direction, the edge column position of the picture content in the current screen-projected video frame is identified, the current screen-projected video frame is cut according to the edge column position to obtain the screen-projected frame containing the picture content, and the screen-projected target screen is controlled to display the screen-projected frame. Therefore, a simple and efficient screen projection display direction determining mode is achieved, a black edge area which does not contain picture content is cut off in the vertical screen direction, and the visual display effect is improved.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1A is a schematic view of a display scene of a projection screen in the prior art according to an embodiment of the present disclosure;
fig. 1B is a schematic view of a display scene of a projection screen in another prior art provided in the embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a display method of a screen projection image according to an embodiment of the disclosure;
fig. 3A is a schematic diagram illustrating a position determination of a reference pixel column according to an embodiment of the disclosure;
fig. 3B is a schematic diagram illustrating another position determination of a reference pixel column according to an embodiment of the disclosure;
fig. 3C is a schematic diagram illustrating another position determination of a reference pixel column according to an embodiment of the disclosure;
fig. 4 is a schematic view of a display scene of a screen projection image according to an embodiment of the disclosure;
fig. 5 is a schematic flowchart of another display method for a screen projection image according to an embodiment of the disclosure;
fig. 6 is a schematic view of a display scene of another screen projection screen provided in the embodiment of the present disclosure;
fig. 7 is a flowchart illustrating another display method of a screen shot according to an embodiment of the disclosure;
fig. 8 is a schematic view of a display scene of another screen projection screen provided in the embodiment of the present disclosure;
fig. 9 is a flowchart illustrating another display method of a screen shot according to an embodiment of the disclosure;
fig. 10 is a flowchart illustrating another display method of a screen shot according to an embodiment of the disclosure;
fig. 11 is a schematic view of a display scene of another screen projection screen provided in the embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of a display device for projecting a screen according to an embodiment of the disclosure;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and the embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
In order to solve the above problem, an embodiment of the present disclosure provides a method for displaying a screen-projected picture, in which not only is confirmation of a display direction of the screen-projected picture on a screen-projected target device achieved, but also in a confirmation manner of the display direction of the screen-projected picture, only a reference pixel column is required to be used as a sampling pixel column, and the display direction is determined based on the sampling pixel column, without support of a complex algorithm, so that a simple and efficient manner for determining the display direction of the screen-projected picture is achieved, a "black-edge" area not containing picture content is cut off in a vertical screen direction, and convenience is provided for a visual display effect.
The method is described below with reference to specific examples.
Fig. 2 is a flowchart illustrating a method for displaying a screen-shot image according to an embodiment of the present disclosure, where the method may be performed by a display apparatus for a screen-shot image, where the apparatus may be implemented by software and/or hardware, and may generally be integrated in an electronic device. As shown in fig. 2, the method includes:
step 201, acquiring a current screen projection video frame, and determining at least one reference pixel column in the current screen projection video frame.
The current screen projection video frame is generated according to the logic resolution corresponding to the screen projection protocol of the screen projection target equipment and contains the screen content projected by the screen projection initiating equipment; for example, if the logical resolution corresponding to the screen projection protocol of the screen projection target device is 1920 × 1080, the logical resolution of the current screen projection video frame is 1920 × 1080, so that the current screen projection video frame can be displayed on the corresponding screen projection target device. Therefore, in order to adapt to the logical resolution based on the screen projection protocol, the corresponding current screen projection video frame may include a "black border" area in addition to the screen content projected by the screen projection initiating device, where the "black border" area is usually an area where black meaningless filling pixel elements are located, and is usually symmetrically distributed on the left and right sides of the current screen projection video frame in the vertical screen display direction.
Considering that a current projected video frame in the vertical screen display direction may include a large number of "black border" areas, the display direction of the current projected video frame needs to be identified.
In one embodiment of the present disclosure, at least one reference pixel column is determined in the current screen-projected video frame, and the display direction of the current screen-projected video frame is determined with the reference pixel column as a reference. Wherein the reference pixel columns may be located at positions where "black border" regions, such as two sides, are usually located in the current video frame.
It should be emphasized that, as mentioned above, in the vertical screen display direction, the "black border" regions are generally symmetrically distributed on the left and right sides of the currently-projected video frame, so that if the reference pixel columns are extracted near the edge column position of the currently-projected video frame, it can be ensured that the reference pixel columns are in the "black border" region in the vertical screen direction, which is convenient to further determine the display direction of the currently-projected video frame according to the reference pixel columns, whereas if the reference pixel columns are extracted far away from the edge column position of the currently-projected video frame, the reference pixel columns may be on the picture content, and therefore, the reference pixel columns cannot be used for determining the pixel characteristics of the "black border" region.
In an embodiment of the present disclosure, in order to ensure the accuracy of the display direction confirmation, a ratio of a number of columns of difference between each reference pixel column and a start column or an end column of the currently-screened video frame to a total number of columns is smaller than a first preset ratio threshold, where the first preset ratio threshold may be determined according to the aforementioned logical resolution of the currently-screened video frame, and typically, the first preset ratio threshold is smaller than one third, for example, the first preset ratio may be one fifth, and so on. In this embodiment, each reference pixel column needs to be close to a start column of the current screen-projected video frame, or be close to an end column of the current screen-projected video frame, where the start column and the end column may be regarded as two left and right edge columns of the current screen-projected video frame, if extracted from left to right, the leftmost edge column is the start column, the rightmost edge column is the end column, if extracted from right to left, the leftmost edge column is the end column, and the left and right edge columns are the start column.
It should be understood that, since the "black border" regions are generally distributed in a left-right symmetrical manner in the vertical screen display direction, the at least one reference pixel column may be only one, for example, as shown in fig. 3A, the reference pixel column may be located at one fifth of the total column number of the currently-screened video frame; for another example, to improve the accuracy of the display direction determination, the at least one reference pixel column may be multiple, for example, as shown in fig. 3B, the reference pixel columns may be located at one fifth and four fifths of the total number of columns of the currently-screened video frame, or, as shown in fig. 3C, the reference pixel columns may be three, respectively located at one fifth, one sixth and four fifths of the total number of columns of the currently-screened video frame.
Step 202, determining a current display direction of a current screen-projected video frame according to at least one reference pixel column.
In an embodiment of the present disclosure, after determining the at least one reference pixel column, since the at least one reference pixel column is usually located in a "black border" area in the vertical screen display direction, in order to determine the display direction of the current screen-projected video frame, the current display direction of the current screen-projected video frame is determined according to the at least one reference pixel column, and the specific determination manner refers to the following embodiments, and is not described herein again.
And 203, if the current display direction is the vertical screen direction, identifying the edge column position of the picture content in the current screen-casting video frame.
In an embodiment of the present disclosure, when it is determined that the current display direction is the vertical screen direction, that is, there are "black border" areas distributed left and right in the current screen-projected video frame, an edge column position of the picture content is determined, where the picture content corresponds to a video frame picture projected on the screen-projection initiating device, and therefore the black border content is retained to cut off other areas, so as to improve the visual display effect, where the edge column position is located at left and right boundaries of the picture content.
Of course, in some possible embodiments, in order to remove the misjudgment caused by the short jitter of the screen projection initiating device considering that the current display direction may be caused by the short jitter of the screen projection initiating device, in the present embodiment, an anti-jitter process is also performed before the edge column position of the picture content in the current screen projection video frame is identified.
In this embodiment, whether the current display direction is consistent with the historical display direction of the previous screen-projected video frame is obtained, and if so, it is determined that no shaking occurs currently, so that it is determined that the current display direction is the vertical screen direction.
If the vertical screen direction is inconsistent with the current screen projection video frame, further judging whether the vertical screen direction is caused by the shaking of the screen projection initiating device, and acquiring the continuous multi-frame screen projection video frames adjacent to the current screen projection video frame, wherein the number of the continuous multi-frame screen projection video frames can be calibrated according to experiments, for example, can be 10 and the like, and identifying a plurality of reference display directions corresponding to the continuous multi-frame screen projection video frames, wherein the determination mode of the reference display directions can refer to the determination mode of the display direction of the current screen projection video frame, and is not repeated here, if the plurality of reference display directions are determined to be consistent with the current display direction, the vertical screen direction is not caused by the shaking of the device, so black edge removing processing is further performed, and otherwise, the current display direction is corrected according to the display direction of the screen projection video frame of the previous frame.
And 204, cutting the current screen projection video frame according to the edge column position to obtain a screen projection frame containing the frame content, and controlling a screen projection target screen to display the screen projection frame.
In this embodiment, after the edge column position is determined, the video frame area outside the edge column position is cut out to obtain a screen projection frame containing the picture content, so that the removal of the "black border" area is realized, and the visual display effect is improved.
It is understood that the resolution of the screen projection frame with the "black border" cut off area is necessarily reduced, so that the screen projection frame can be displayed on a screen projection target screen on the screen projection target equipment, and other residual screen areas are exposed to meet other display requirements.
In an embodiment of the present disclosure, a screen projection display area corresponding to a screen projection frame on a screen projection target screen is determined, and as shown in fig. 4, the screen projection frame is displayed in the screen projection display area, where the screen projection display area may be located on the left side or the right side of the screen projection target screen. In response to the display request carrying the target display information, continuing to be shown in fig. 4, the target display information may also be displayed in the remaining display area on the screen-projected target screen (in the figure, the target display information is an application operation interface on the application screen-projected target device). In order to better realize the display of the target display information and the screen projection frame, 2 threads may be further provided, wherein one thread is used for processing the display of the screen projection frame, the other thread is used for exposing to a monitoring event of the display request, and the corresponding target display information is displayed after the display request is monitored.
The display request may be sent by other devices, for example, a screen-casting display request of a picture or an album sent by another screen-casting initiating device, and in this example, the target display information is an image or a photo and the like sent by the other screen-casting initiating device; the display request may also be triggered by an opening operation of the application on the screen projection target device by the user, so that, in this example, the target display information may include an application interface display element and the like.
In summary, in the method for displaying a screen-projected picture according to the embodiments of the present disclosure, a current screen-projected video frame is obtained, at least one reference pixel column is determined in the current screen-projected video frame, a current display direction of the current screen-projected video frame is determined according to the at least one reference pixel column, and if the current display direction is a vertical screen direction, an edge column position of picture content in the current screen-projected video frame is identified, the current screen-projected video frame is cut according to the edge column position to obtain a screen-projected picture frame containing picture content, and a screen-projected target screen is controlled to display the screen-projected picture frame. Therefore, a simple and efficient screen projection display direction determining mode is achieved, a black edge area which does not contain picture content is cut off in the vertical screen direction, and the visual display effect is improved.
In different application scenarios, the above-mentioned manner for determining the current display direction of the currently-projected video frame according to at least one reference pixel column is different, and the following is exemplified:
in an embodiment of the present disclosure, pixel values of each pixel point in the reference pixel column are traversed one by one, and if the pixel value of each pixel point satisfies a preset clipping condition, the pixel point at the position of the reference pixel column is considered to satisfy the pixel value characteristics of a "black margin" region, so that it is determined that "black margin" regions exist on two sides of the current screen-projected video frame, and thus, it is determined that the current display direction of the current screen-projected video frame is the vertical screen display direction. In this embodiment, the current display direction is determined by traversing the pixel value of each pixel point in the reference pixel column, so that the determination accuracy of the current display direction is ensured.
For example, if the pixel value of the "black edge" area is characterized in that the pixel value is black, the preset clipping condition is that the pixel value of the pixel point is in a YUV reference system, if the brightness of the pixel point in the Y channel is 16, the chroma value of the U channel is greater than or equal to 128 and less than or equal to 129, and the chroma value of the V channel is greater than or equal to 128 and less than or equal to 129, the corresponding pixel point is considered to satisfy the preset clipping condition.
In an embodiment of the present disclosure, in consideration that efficiency of traversing a pixel value of each pixel point in a reference pixel column may be relatively low, in order to further improve determination efficiency of a current display direction, a sampling column pixel point in the reference pixel column is selected based on a sampling mode to determine the current display direction.
In this embodiment, as shown in fig. 5, determining the current display direction of the current screen-projected video frame according to the at least one reference pixel column includes:
at step 501, a first sample number interval corresponding to each reference pixel column is determined.
The first sampling number interval may be determined according to a logical resolution of the front-projection video frame in the height direction, where the higher the logical resolution in the height direction is, the larger the corresponding first sampling number interval may be, and the like.
In this embodiment, in order to further improve the determination efficiency of the current display direction, when a plurality of reference pixel columns are included, the first sampling number intervals corresponding to different reference pixel columns may be different, a smaller first sampling number interval is used to perform the determination of the refinement degree, a larger first sampling number interval is used to perform the auxiliary determination, and the like.
For example, when the reference pixel columns include two columns, which are located at one fifth and four fifths of the width direction of the currently-screened video frame, respectively, the first sampling number interval of the reference pixel column corresponding to one fifth may be 30, the first sampling number interval of the reference pixel column corresponding to four fifths may be 60, and so on.
Step 502, according to the height direction, determining the pixel value of the sampling column pixel point in the corresponding reference pixel column according to the first sampling quantity interval.
The height direction is a column direction of the currently projected video frame, and the height direction may be a direction from top to bottom of the currently projected video frame or a direction from bottom to top of the currently projected video frame, which is not limited herein.
In this embodiment, according to the height direction, the pixel values of the sampling column pixel points in the corresponding reference pixel column are determined according to the first sampling number interval, that is, according to the height direction, one sampling column pixel point is determined every first sampling number interval from the first pixel point in the height direction, and the pixel values of the sampling column pixel points are identified.
Step 503, according to the pixel values of the sampling row pixel points, judging whether at least one reference pixel row contains the sampling row pixel points which do not meet the preset clipping condition.
And step 504, if the pixel points comprise sampling column pixel points which do not meet the preset cutting condition, determining that the current display direction is the horizontal screen direction.
It should be understood that, as shown in the left side of fig. 6 (the reference pixel column is one in the figure), if the current display direction of the current screen-projected video frame is the vertical screen direction, the reference pixel column is located on the "black edge area", and therefore, all the sampling column pixel points satisfy the preset clipping condition, whereas, as shown in the right side of fig. 6, if the current display direction of the current screen-projected video frame is the horizontal screen direction, the reference pixel column is not all located on the "black edge area", and therefore, the preset clipping condition that does not satisfy the preset clipping condition exists.
Therefore, based on the above principle, in the embodiment of the present disclosure, whether the sampling column pixel point which does not satisfy the preset clipping condition is included in the at least one reference pixel column is determined according to the pixel value of the sampling column pixel point, and if the sampling column pixel point which does not satisfy the preset clipping condition is included, it is determined that the current display direction is the horizontal screen direction. In the sampling judgment process, if sampling column pixel points which do not meet the preset cutting condition appear, sampling judgment is not continued, and therefore judgment efficiency is improved.
For example, as shown in fig. 7, if the reference pixel column is one, the first sampling number interval step is 30, and the total amount of the pixels included in the reference pixel column is maxPos, the preset clipping condition is the pixel value corresponding to the black pixel, and each sampling pixel is identified by i in the sequence of the reference pixel column, starting from the 0 th pixel of the reference pixel column, determining whether the current i is smaller than maxPos, if so, extracting the pixel value of the pixel in the ith sampling column, determining whether the pixel in the sampling column is the black pixel, and if so, performing the next round of determination according to the pixel value of the sampling column pixel selected by i being 0+ step being 30. If the ith pixel point is not a black pixel point, the judgment is finished, and the sampling row pixel point which does not meet the preset cutting condition is determined to appear.
In other possible examples, if at least one reference pixel column does not include sampling column pixel points that do not satisfy the preset clipping condition, that is, all sampling column pixel points satisfy the preset clipping condition, the current display direction may be directly considered as the vertical screen direction.
In an actual implementation process, all sampling column pixel points satisfy a preset clipping condition, and it is directly considered that there may be a false judgment that the current display direction is the vertical screen direction, for example, as shown in fig. 8, at this time, although the current display direction of the current screen-projected video frame is the horizontal screen direction, because the pixel value of the pixel point of at least one reference pixel column in the current screen-projected video frame satisfies the preset clipping condition, for example, although the current screen-projected video frame is displayed on the horizontal screen, the displayed content is pure black, the pixel value of the sampling column pixel point in the extracted at least one reference pixel column is black, and is also easily determined as the vertical screen direction.
Therefore, if the sampling column pixel point which does not meet the preset clipping condition is not included, at least one first reference pixel row is further determined in the current screen-casting video frame, that is, the ratio of the number of difference lines between the first reference pixel row and the start line and the end line of the current screen-casting video frame to the total number of lines is greater than a second preset ratio threshold, and the first preset ratio threshold is greater than a first preset ratio threshold, which is to ensure that the first reference pixel row will certainly pass through the picture content, and each first reference pixel row is different from the reference pixel column and should be as close to the middle line of the current screen-casting video frame as possible, for example, in some possible embodiments, the first reference pixel row may be located at the middle line position of the current screen-casting video frame, and the like.
Further, after the first reference pixel row is determined, the current display direction of the current screen-casting video frame is determined according to at least one first reference pixel row.
It should be noted that, the manner of determining the current display direction of the currently projected video frame according to the at least one first reference pixel line differs in different application scenarios:
in some possible examples, the pixel value of each sampling line pixel point in at least one first reference pixel line is traversed, whether the sampling line pixel point which does not meet the preset clipping condition is included in the pixel values of the sampling line pixel points is judged, if the sampling line pixel point which does not meet the preset clipping condition is included, the reason that the sampling line pixel point which does not meet the preset clipping condition is not included in at least one reference pixel column is considered, and the reason is not caused by the reason that the display content of the current screen-casting video frame is displayed in pure black and the like, so that the current display direction is determined to be the vertical screen direction.
On the contrary, if the sampling line pixel points do not include sampling line pixel points which do not satisfy the preset clipping condition, the reason that the sampling line pixel points which do not satisfy the preset clipping condition are not included in the at least one reference pixel column is considered to be probably caused by the reason that the display content of the current screen-casting video frame is displayed in pure black and the like, so that the current display direction is not determined to be the vertical screen direction, and the current display direction and the like can be determined together by combining the front frame and the rear frame.
In other possible examples, in order to improve the determination efficiency of the current display direction, the pixel values of the sampling line pixel points corresponding to the first reference pixel line may also be extracted based on a sampling mode, and the current display direction is determined based on the pixel values of the sampling line pixel points.
In this embodiment, as shown in fig. 9, determining the current display direction of the currently-projected video frame according to at least one first reference pixel line includes:
in step 901, a second sample number interval corresponding to each first reference pixel row is determined.
In the embodiment of the present disclosure, a second sampling number interval corresponding to each first reference pixel row is determined, where the second sampling number interval corresponding to the first reference pixel row may be the same or different, and is not limited herein.
The second sampling number interval may be determined according to a logical resolution of the front-projection video frame in the width direction, wherein the higher the logical resolution in the width direction, the larger the corresponding second sampling number interval may be, and the like.
And 902, according to the width direction, determining the pixel value of the sampling line pixel point in the corresponding first reference pixel line according to the second sampling quantity interval.
The width direction is a line direction of the currently-projected video frame, and the width direction may be a direction from left to right of the currently-projected video frame or a direction from left to right of the currently-projected video frame, which is not limited herein.
In this embodiment, according to the width direction, the pixel values of the sampling line pixel points in the corresponding first reference pixel line are determined according to the second sampling number interval, that is, a sampling line pixel point is determined every second sampling number interval from the first pixel point in the width direction according to the width direction, and the pixel values of the sampling line pixel points are identified.
Step 903, judging whether the at least one first reference pixel line contains sampling line pixel points which do not meet the preset cutting condition according to the pixel values of the sampling line pixel points.
And 904, if the current display direction contains sampling line pixel points which do not meet the preset cutting condition, determining that the current display direction is the vertical screen direction.
It should be understood that, if the current display direction of the current screen-projected video frame is the vertical screen direction, the first reference pixel row passes through the picture content (the first reference pixel row in the drawing is one), and therefore, the pixel value characteristics on the picture content in the current screen-projected video frame can be determined based on the sampling row pixel points, for example, if the picture content is pure black, the acquired sampling row pixel points are all black pixel values, and at this time, even if the pixel points of the sampling column pixel points are all black values, it does not mean that the current display direction is the vertical screen direction. On the contrary, if the picture content is not pure black, the acquired sampling row pixel points contain non-black pixel values, and at the moment, the pixel points of the sampling row pixel points are all black values and the current display direction is probably the vertical screen direction.
Therefore, based on the above principle, in the embodiment of the present disclosure, it is determined whether at least one first reference pixel row includes a sampling row pixel point that does not satisfy the preset clipping condition according to a pixel value of the sampling row pixel point, and if the at least one first reference pixel row includes the sampling row pixel point that does not satisfy the preset clipping condition, it is determined that the current display direction is the vertical screen direction. In the sampling judgment process, if sampling line pixel points which do not meet the preset cutting condition appear, sampling judgment is not continued, and therefore judgment efficiency is improved.
In summary, according to the display method of the screen-projected picture in the embodiment of the present disclosure, the sampling column pixel points in the reference pixel column are extracted based on the sampling method to serve as a reference for determining the current display direction of the screen-projected video frame, in some scenarios, the sampling row pixel points are also determined in order to ensure the determination accuracy, and the current display direction of the screen-projected video frame is determined according to the sampling row pixel point pixel values and the sampling column pixel points, so that on the basis of ensuring the determination of the current display direction of the screen-projected video frame, the determination efficiency of the current display direction of the screen-projected video frame is improved.
Based on the above embodiments, based on different application scenes, the edge column position of the picture content in the currently-projected video frame can be determined in different ways, which is exemplified as follows:
in one embodiment of the present disclosure, edge column positions of picture content may be extracted based on an image recognition algorithm.
In another embodiment of the present disclosure, in order to reduce computational power consumption, the edge column position of the picture content may also be determined based on simple extraction of pixel values.
As shown in fig. 10, distinguishing the edge column positions of the picture content in the current screen-projected video frame includes:
at step 1001, at least one second reference pixel line is determined in the current projected video frame, wherein,
the ratio of the number of lines of difference between the second reference pixel line and the starting line and the ending line of the current screen-projecting video frame to the total number of lines is larger than a third preset ratio threshold, and the third preset ratio threshold is larger than the first preset ratio threshold.
The second reference pixel row may be the same as or different from the first reference pixel row, and the third preset ratio threshold may be the same as or different from the second preset ratio threshold.
In the embodiment of the disclosure, in order to ensure that the second reference pixel line passes through the area where the picture content is located, the third preset ratio threshold is greater than the first preset ratio threshold, where the third preset ratio threshold may be calibrated according to a scene.
Step 1002, traversing the pixel value of each pixel point in the corresponding second reference pixel row according to the width direction, and determining the edge column position according to the pixel value of each pixel point.
In the embodiment of the present disclosure, in order to ensure the accuracy of determining the edge column position and avoid cropping the picture information in the picture content, the pixel value of each pixel point in the corresponding second reference pixel row is traversed in the width direction, so as to determine the edge column position according to the pixel value of each pixel point.
In this embodiment, the target column where the first pixel point that does not satisfy the preset clipping condition in each second reference pixel row is located may be determined, as shown in fig. 11, in consideration of that some image contents displayed at the edge position are pixel values that satisfy the preset clipping condition, for example, black pixel values, therefore, the target column where the first pixel point that does not satisfy the preset clipping condition in each second reference pixel row is located is determined, the minimum value in at least one target column corresponding to at least one second reference pixel row is determined, and the column where the minimum value is located is determined as the edge column position.
In an actual implementation process, considering that the picture content is usually in the middle of the currently-screened video frame and symmetrically distributed with the center line of the currently-screened video frame as a symmetry axis, if the edge column position is one, for example, the left edge line of the picture content, the right edge line on the other side can be determined based on the symmetry principle, in this embodiment, the first clipping column position and the second clipping column position of the currently-screened video frame can be determined according to the edge column position, if the determined edge column position is the column W1, and the total column number is wtotal, the difference between wtotal and 2 times W1 can be used as the width S of the picture content, wtotal-W1 is used as the first clipping column position, and (wtotal-W1) + S is used as the second clipping column position.
If the edge column positions are two, traversing the pixel value of each pixel point in the corresponding second reference pixel row according to the width direction, determining a first target column in which a first pixel point which does not meet the preset cutting condition in each second reference pixel row is located and a second target column in which a last pixel point which does not meet the preset cutting condition is located, determining a minimum value in at least one first target column corresponding to at least one second reference pixel row, determining a column in which the minimum value is located as an edge column position, determining a maximum value in at least one second target column corresponding to at least one second reference pixel row, determining the column in which the maximum value is located as another edge column position, taking one edge column position as a first cutting column position, and taking the other edge column position as a second cutting column position.
In summary, in the display method of the screen-shot picture according to the embodiment of the present disclosure, the sampling line pixel points in the reference pixel lines are extracted based on the sampling method to serve as a reference for determining the edge column position of the picture content in the current screen-shot video frame, so that the simplicity and the feasibility of determining the edge column position are achieved.
In order to implement the above embodiments, the present disclosure further provides a display device for projecting a screen.
Fig. 12 is a schematic structural diagram of a display device for a screen projection image according to an embodiment of the present disclosure, where the device may be implemented by software and/or hardware, and may be generally integrated in an electronic device for displaying the screen projection image. As shown in fig. 12, the apparatus includes: a first determination module 1210, a second determination module 1220, an identification module 1230, a cropping module 1240, and a screen projection module 1250, wherein,
a first determining module 1210, configured to obtain a current screen-projected video frame, and determine at least one reference pixel column in the current screen-projected video frame;
a second determining module 1220, configured to determine a current display direction of the current screen-projected video frame according to the at least one reference pixel column;
the identifying module 1230 is configured to identify an edge column position of picture content in the current screen-projected video frame when the current display direction is a vertical screen direction;
the cropping module 1240 is configured to crop the current screen-projected video frame according to the edge column position to obtain a screen-projected frame including the picture content;
and a screen projection module 1250 configured to control the screen projection target screen to display the screen projection frame.
The display device for screen projection images provided by the embodiments of the present disclosure can execute the display method for screen projection images provided by any embodiments of the present disclosure, and has functional modules and beneficial effects corresponding to the execution method, which are not described herein again.
In order to implement the above embodiments, the present disclosure also proposes a computer program product, which includes a computer program/instruction that, when executed by a processor, implements the display method of the screen projection screen in the above embodiments.
Fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Referring now specifically to fig. 13, a schematic diagram of an electronic device 1300 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device 1300 in the disclosed embodiment may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle mounted terminal (e.g., a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 13 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 13, electronic device 1300 may include a processor (e.g., central processing unit, graphics processor, etc.) 1301 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)1302 or a program loaded from memory 1308 into a Random Access Memory (RAM) 1303. In the RAM 1303, various programs and data necessary for the operation of the electronic apparatus 1300 are also stored. The processor 1301, the ROM 1302, and the RAM 1303 are connected to each other via a bus 1304. An input/output (I/O) interface 1305 is also connected to bus 1304.
Generally, the following devices may be connected to the I/O interface 1305: input devices 1306 including, for example, touch screens, touch pads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, and the like; an output device 1307 including, for example, a Liquid Crystal Display (LCD), speaker, vibrator, etc.; a memory 1308 including, for example, a magnetic tape, a hard disk, and the like; and a communication device 1309. The communications device 1309 may allow the electronic device 1300 to communicate wirelessly or by wire with other devices to exchange data. While fig. 13 illustrates an electronic device 1300 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, the processes described above with reference to the flow diagrams may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such embodiments, the computer program may be downloaded and installed over a network via the communication means 1309, or installed from the memory 1308, or installed from the ROM 1302. The computer program, when executed by the processor 1301, performs the above-described functions defined in the display method of a screen projection screen of the embodiment of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to:
the method comprises the steps of obtaining a current screen-projecting video frame, determining at least one reference pixel column in the current screen-projecting video frame, determining the current display direction of the current screen-projecting video frame according to the at least one reference pixel column, further, if the current display direction is the vertical screen direction, identifying the edge column position of the picture content in the current screen-projecting video frame, cutting the current screen-projecting video frame according to the edge column position to obtain a screen-projecting picture frame containing the picture content, and controlling a screen-projecting target screen to display the screen-projecting picture frame. Therefore, a simple and efficient screen projection display direction determining mode is achieved, a black edge area which does not contain picture content is cut off in the vertical screen direction, and the visual display effect is improved.
The electronic device may write computer program code for carrying out operations of the present disclosure in one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages, or combinations thereof. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (13)

1. A display method of a screen projection picture is characterized by comprising the following steps:
acquiring a current screen projection video frame, and determining at least one reference pixel column in the current screen projection video frame;
determining a current display direction of the current screen projection video frame according to the at least one reference pixel column;
if the current display direction is a vertical screen direction, identifying the edge column position of the picture content in the current screen-projected video frame;
and cutting the current screen projection video frame according to the edge column position to obtain a screen projection frame containing the frame content, and controlling a screen projection target screen to display the screen projection frame.
2. The method of claim 1,
the ratio of the number of the difference columns between each reference pixel column and the starting column or the ending column of the current screen-projecting video frame to the total number of the columns is smaller than a first preset ratio threshold value.
3. The method of claim 2, wherein said determining a current display direction of the current projected video frame from the at least one reference pixel column comprises:
determining a first sample number interval corresponding to each of the reference pixel columns;
according to the height direction, determining the pixel value of a sampling column pixel point in the corresponding reference pixel column according to the first sampling quantity interval;
judging whether the at least one reference pixel column contains sampling column pixel points which do not meet a preset cutting condition or not according to the pixel values of the sampling column pixel points;
and if the sampling column pixel points which do not meet the preset cutting condition are contained, determining that the current display direction is the horizontal screen direction.
4. The method of claim 3, wherein after determining whether the at least one reference pixel column contains a sample column pixel that does not satisfy a predetermined clipping condition, the method further comprises:
if the sampling column pixel points which do not meet the preset cutting condition are not contained, determining at least one first reference pixel row in the current screen projection video frame, wherein,
the ratio of the number of lines of difference between each first reference pixel line and the starting line and the ending line of the current screen-casting video frame to the total number of lines is greater than a second preset ratio threshold, and the second preset ratio threshold is greater than the first preset ratio threshold;
determining a current display direction of the current screen-projected video frame according to the at least one first reference pixel row.
5. The method of claim 4, wherein said determining a current display direction of the current projected video frame from the at least one first reference line of pixels comprises:
determining a second sampling number interval corresponding to each of the first reference pixel rows;
determining the pixel value of the sampling row pixel point in the corresponding first reference pixel row according to the width direction and the second sampling quantity interval;
judging whether the at least one first reference pixel row contains sampling row pixel points which do not meet the preset cutting condition or not according to the pixel values of the sampling row pixel points;
and if the current display direction contains sampling line pixel points which do not meet the preset cutting condition, determining that the current display direction is the vertical screen direction.
6. The method of claim 2, wherein the identifying edge column positions of picture content in the currently-projected video frame comprises:
determining at least one second reference pixel row in the current projected video frame, wherein,
the ratio of the number of lines of difference between the second reference pixel line and the start line and the end line of the current screen-projecting video frame to the total number of lines is greater than a third preset ratio threshold, and the third preset ratio threshold is greater than the first preset ratio threshold;
and traversing the pixel value of each pixel point in the corresponding second reference pixel row according to the width direction, and determining the position of the edge column according to the pixel value of each pixel point.
7. The method of claim 6, wherein said determining said edge column position based on said pixel value of each pixel point comprises:
determining a target column where a first pixel point which does not meet the preset cutting condition in each second reference pixel row is located;
and determining the minimum value in at least one target column corresponding to the at least one second reference pixel row, and determining the column in which the minimum value is positioned as the position of the edge column.
8. The method of claim 1, wherein said cropping said current projected video frame based on said edge column position to obtain a projected picture frame containing said picture content comprises:
determining a first clipping column position and a second clipping column position of the current screen-projecting video frame according to the edge column position;
and cutting the current screen projection video frame according to the first cutting line position and the second cutting line position to obtain a screen projection frame containing the picture content.
9. The method of any of claims 1-8, further comprising, prior to said identifying edge column positions of picture content in the currently-projected video frame:
acquiring whether the current display direction is consistent with the historical display direction of the previous screen projection video frame;
if the current screen-projected video frame is inconsistent with the screen-projected video frame, acquiring a continuous multi-frame screen-projected video frame adjacent to the current screen-projected video frame;
and identifying a plurality of reference display directions corresponding to the continuous multi-frame screen projection video frames, and determining that the plurality of reference display directions are consistent with the current display direction.
10. The method of any of claims 1-8, further comprising:
determining a screen projection display area corresponding to the screen projection picture frame on the screen projection target screen, and displaying the screen projection picture frame in the screen projection display area;
and responding to a display request carrying target display information, and displaying the target display information in the residual display area on the screen of the screen projection target.
11. A display device for projecting a screen, comprising:
the device comprises a first determining module, a second determining module and a display module, wherein the first determining module is used for acquiring a current screen projection video frame and determining at least one reference pixel column in the current screen projection video frame;
a second determining module, configured to determine a current display direction of the current screen-projected video frame according to the at least one reference pixel column;
the identification module is used for identifying the edge column position of the picture content in the current screen-projected video frame when the current display direction is the vertical screen direction;
the cutting module is used for cutting the current screen-projecting video frame according to the edge column position to obtain a screen-projecting picture frame containing the picture content;
and the screen projection module is used for controlling a screen projection target screen to display the screen projection picture frame.
12. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
the processor is used for reading the executable instructions from the memory and executing the executable instructions to realize the display method of the screen projection picture as claimed in any one of the claims 1 to 10.
13. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method for displaying a screen shot according to any one of claims 1 to 10.
CN202210836998.3A 2022-07-15 2022-07-15 Display method, device, equipment and medium for screen projection picture Pending CN115113838A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210836998.3A CN115113838A (en) 2022-07-15 2022-07-15 Display method, device, equipment and medium for screen projection picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210836998.3A CN115113838A (en) 2022-07-15 2022-07-15 Display method, device, equipment and medium for screen projection picture

Publications (1)

Publication Number Publication Date
CN115113838A true CN115113838A (en) 2022-09-27

Family

ID=83332292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210836998.3A Pending CN115113838A (en) 2022-07-15 2022-07-15 Display method, device, equipment and medium for screen projection picture

Country Status (1)

Country Link
CN (1) CN115113838A (en)

Similar Documents

Publication Publication Date Title
CN110675404B (en) Image processing method, image processing apparatus, storage medium, and terminal device
CN112261226B (en) Horizontal screen interaction method and device, electronic equipment and storage medium
WO2017211250A1 (en) Image overlay display method and system
CN110796664B (en) Image processing method, device, electronic equipment and computer readable storage medium
US11922597B2 (en) Video processing method and apparatus, readable medium, and electronic device
CN112165632A (en) Video processing method, device and equipment
US20240121349A1 (en) Video shooting method and apparatus, electronic device and storage medium
CN115761090A (en) Special effect rendering method, device, equipment, computer readable storage medium and product
CN112565890B (en) Video clipping method and device, storage medium and electronic equipment
EP4181517A1 (en) Method and apparatus for converting picture to video, device, and storage medium
US9076207B1 (en) Image processing method, system and electronic device
CN114416261A (en) Information display method, device, equipment and medium
CN110809166B (en) Video data processing method and device and electronic equipment
CN111833459A (en) Image processing method and device, electronic equipment and storage medium
CN115113838A (en) Display method, device, equipment and medium for screen projection picture
US20220245920A1 (en) Object display method and apparatus, electronic device, and computer readable storage medium
WO2022067491A1 (en) Image processing method, cloud end server, image processing apparatus, and storage medium
CN117319736A (en) Video processing method, device, electronic equipment and storage medium
CN111221455B (en) Material display method and device, terminal and storage medium
CN114125485A (en) Image processing method, apparatus, device and medium
CN111212302A (en) Method and device for determining video definition, electronic equipment and storage medium
CN113127101A (en) Application program control method, device, equipment and medium
US11736657B2 (en) Image capturing device and image processing method that enlarges a selected region within an image
CN112182299B (en) Method, device, equipment and medium for acquiring highlight in video
WO2022061723A1 (en) Image processing method, device, terminal, 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