Projection picture display method, projector, device and storage medium
By shrinking the main screen and drawing the auxiliary screen in the projection screen, and using trapezoidal change technology, the problem of unused black border areas during side projection is solved and a better user experience is achieved.
Patent Information
- Application Number
- CN202310883404.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-18
- Publication Date
- 2025-01-21
AI Technical Summary
When projecting side projection, in order to ensure the normal picture, keystone correction is required, resulting in the ineffective black area being underutilized.
By using the first trapezoidal coordinates and the size of the auxiliary screen in the projection screen after trapezoidal correction, the main screen is reduced to the first display area, and the auxiliary screen, including the status bar, is drawn in the second display area. Then, based on the calculated deformation matrix, the main picture and the auxiliary picture are transformed into trapezoids to obtain the target picture and project it onto the display surface.
The ineffective black border area is effectively utilized, and the status bar is displayed without affecting the user's viewing experience, thus improving the user's experience.
Smart Images

Figure CN119342184A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information security technology, and in particular to a method for displaying a projection image, a projector, an electronic device, a chip, and a computer-readable storage medium. Background Art
[0002] When the projection is performed sideways, keystone correction is required to ensure a normal picture. After the keystone correction, an invalid black area will exist. There is no image in the black area. The related technology does not fully utilize the projection display area. Summary of the invention
[0003] Embodiments of the present application provide a method for displaying a projection image, a projector, an electronic device, a chip, and a computer-readable storage medium.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides a method for displaying a projection image, comprising:
[0006] Based on the first trapezoidal coordinates and the size of the auxiliary screen, the main screen is reduced from the full-screen display area to the first display area, and the area in the full-screen display area except the first display area is the second display area; the first trapezoidal coordinates are the coordinates of the main screen after the projection screen is automatically trapezoidally corrected or manually trapezoidally corrected by the user;
[0007] Drawing an auxiliary screen in the second display area, wherein the auxiliary screen includes one or more status bars;
[0008] Based on the first trapezoidal coordinates, the full-screen display area coordinates and the rectangular coordinates of the first display area, the main picture and the auxiliary picture are subjected to trapezoidal changes to obtain a first target picture;
[0009] Projecting the first target image onto a display surface.
[0010] In a second aspect, an embodiment of the present application provides a method for displaying a projection image, comprising:
[0011] Draw an auxiliary picture at the outer boundary of the main picture to obtain a second intermediate picture; the auxiliary picture includes one or more status bars;
[0012] Calculating a third deformation matrix based on the coordinates of the full-screen display of the main picture and the first trapezoidal coordinates; the first trapezoidal coordinates are the coordinates of the main picture after the projection picture is automatically trapezoidally corrected or manually trapezoidally corrected by the user;
[0013] Based on the third deformation matrix, performing a trapezoidal transformation on the second intermediate picture to obtain a second target picture;
[0014] The two target images are projected onto a display surface.
[0015] In a third aspect, an embodiment of the present application provides a projector, including:
[0016] A first adjustment unit: used for reducing the main picture from the full-screen display area to the first display area based on the first trapezoidal coordinates and the size of the auxiliary picture, wherein the area other than the first display area in the full-screen display area is the second display area; the first trapezoidal coordinates are the coordinates of the main picture after the projection picture is automatically trapezoidally corrected or manually trapezoidally corrected by the user;
[0017] A first drawing unit: used for drawing an auxiliary screen in the second display area, wherein the auxiliary screen includes one or more status bars;
[0018] The first adjustment unit is also used to perform trapezoidal changes on the main screen and the auxiliary screen based on the first trapezoidal coordinates, the full-screen display area coordinates and the rectangular coordinates of the first display area to obtain a first target screen; and project the first target screen onto a display surface.
[0019] In a fourth aspect, an embodiment of the present application provides a projector, including:
[0020] A second drawing unit is used to draw an auxiliary picture at the outer boundary of the main picture to obtain a second intermediate picture; the auxiliary picture includes one or more status bars;
[0021] The second adjustment unit is used to calculate the third deformation matrix based on the coordinates of the full-screen display of the main picture and the first trapezoidal coordinates; the first trapezoidal coordinates are the coordinates of the main picture after the projection picture is automatically trapezoidally corrected or manually trapezoidally corrected by the user; based on the third deformation matrix, the second intermediate picture is trapezoidally changed to obtain a second target picture; the two target pictures are projected onto the display surface.
[0022] In a fifth aspect, the present application provides an electronic device, comprising: a processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory, and executing any one of the projection screen display methods provided in the embodiments of the present application.
[0023] In a sixth aspect, the present application provides a chip, comprising: a processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes any one of the projection screen display methods provided in the embodiments of the present application.
[0024] In a seventh aspect, the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program enables a computer to execute any method for displaying a projection screen provided in the embodiments of the present application.
[0025] The display method of the projection screen provided in the embodiment of the present application utilizes the invalid area by displaying the auxiliary screen in the black border area, and the displayed status bar does not affect the user's viewing, thereby improving the user's usage experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 Schematic diagram of a picture projected on a display surface after automatic keystone correction or manual keystone correction provided by an embodiment of the present application Figure 1 ;
[0027] Figure 2 Schematic diagram of the display screen inside the projector and on the display surface after automatic keystone correction or manual keystone correction by the user provided in the embodiment of the present application Figure 2 ;
[0028] Figure 3 Schematic diagram of the implementation process of the projection screen display method provided in the embodiment of the present application Figure 1 ;
[0029] Figure 4 A schematic diagram of the process of zooming out the main screen provided in an embodiment of the present application;
[0030] Figure 5a Schematic diagram of a screen in a projector after automatic keystone correction or manual keystone correction provided in an embodiment of the present application Figure 3 ;
[0031] Figure 5b Schematic diagram of the display screen after automatic keystone correction or manual keystone correction provided in the embodiment of the present application Figure 4 ;
[0032] Figure 5c A schematic diagram of a screen in which a status bar is placed in a projection screen provided in an embodiment of the present application;
[0033] Figure 6 A schematic diagram of a first intermediate screen provided in an embodiment of the present application;
[0034] Figure 7 A schematic diagram of a first target screen provided in an embodiment of the present application;
[0035] Figure 8 Schematic diagram of the display screen provided in the embodiment of the present application Figure 3 ;
[0036] Fig. 9Schematic diagram of the image changes of the projection image display method provided in the embodiment of the present application Figure 1 ;
[0037] Fig.10 Schematic diagram of the image changes of the projection image display method provided in the embodiment of the present application Figure 2 ;
[0038] Fig.11 Schematic diagram of the implementation process of the projection screen display method provided in the embodiment of the present application Figure 2 ;
[0039] Fig.12 Schematic diagram of the image changes of the projection image display method provided in the embodiment of the present application Figure 3 ;
[0040] Fig.13 A schematic diagram of the structure of a projector 1300 provided in an embodiment of the present application;
[0041] Fig.14 A schematic diagram of the structure of a projector 1400 provided in an embodiment of the present application;
[0042] Fig.15 A schematic structural diagram of an electronic device provided in an embodiment of the present application;
[0043] Fig.16 A schematic structural diagram of a chip provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] The following will describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0045] It should be noted that in the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the embodiments of the present application, the character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0046] In the description of the embodiments of the present application, the term "corresponding" may indicate a direct or indirect correspondence between two items, or an association relationship between the two items, or a relationship between indication and being indicated, configuration and being configured, and the like.
[0047] To facilitate understanding of the technical solutions of the embodiments of the present application, the relevant technologies of the embodiments of the present application are described below. The following related technologies can be arbitrarily combined with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application.
[0048] refer to Figure 1 , Figure 1 This is an illustration of a picture projected onto a display surface after automatic keystone correction or manual keystone correction by the user. Figure 1 The main screen described in the embodiment of the present application refers to the effective screen for displaying content. Figure 1 The rectangle in the lower right corner is the main screen, and the area outside the main screen is the black border area with no display content. Figure 2 , Figure 2 This is an illustration of a picture projected onto a display surface after automatic keystone correction or manual keystone correction by the user. Figure 2 ,like Figure 2 As shown, the picture on the left is the picture inside the projector, and the picture on the right is the picture projected on the display surface.
[0049] Figure 3 Schematic diagram of the implementation process of the projection screen display method provided in the embodiment of the present application Figure 1 ,like Figure 3 As shown, an embodiment of the present application provides a method for displaying a projection image, the method comprising the following steps:
[0050] Step 301: Based on the first trapezoidal coordinates and the size of the auxiliary screen, the main screen is reduced from the full-screen display area to the first display area, and the area in the full-screen display area except the first display area is the second display area; the first trapezoidal coordinates are the coordinates of the main screen after the projection screen is automatically trapezoidally corrected or manually trapezoidally corrected by the user.
[0051] After automatic trapezoidal correction or manual trapezoidal correction is performed on the side-projected image, the main image is projected as a rectangle, but it is trapezoidal in the projector. The first trapezoidal coordinates are the trapezoidal coordinates of the main image in the projector.
[0052] In some optional implementations, before shrinking the main screen from the full-screen display area to the first display area, the method further includes:
[0053] Determine whether a black border area formed after the projection image is automatically corrected by keystone correction or manually corrected by the user supports displaying an auxiliary image;
[0054] If the display of the auxiliary screen is supported, the main screen is reduced from the full-screen display area to the first display area based on the first trapezoidal coordinates and the size of the auxiliary screen.
[0055] Here, whether the black-border area supports displaying the auxiliary screen refers to whether the auxiliary screen can be placed in the black-border area. For example, if the auxiliary screen has only one status bar, determine whether placing the status bar in the black-border area will exceed the boundary of the black-border area. If there are multiple status bars, determine whether the black-border area can accommodate all the status bars. The status bars can be placed together or distributed in different positions according to the position of the black-border area.
[0056] Based on the first trapezoidal coordinates and the size of the auxiliary screen, the main screen is reduced from the full screen display area to the first display area so that the reserved second display area can accommodate the auxiliary screen. Figure 4 , Figure 4 This is a schematic diagram of the process of zooming out the main screen provided by this application. Figure 4 As shown, in Figure 4 In the process of reducing the main screen, the black border area where the auxiliary screen can be placed is determined according to the full-screen display area coordinates and the first trapezoidal coordinates. Figure 4 The shrinking process shown in FIG. 1 is that the black border areas on the left and upper sides can accommodate two status bars, so the main screen is shrunk so that the second display area formed can accommodate status bars B and C.
[0057] In some optional implementations, determining whether the black border area formed after the trapezoidal correction can support displaying the auxiliary picture includes:
[0058] It is determined whether the drawn auxiliary picture exceeds the black border area. If it does not exceed the black border area, the black border area formed after the trapezoidal correction supports the display of the auxiliary picture.
[0059] Exemplary, reference Figure 5a , Figure 5b and Figure 5c ,like Figure 5a As shown, Figure 5a Schematic diagram of a screen in a projector after automatic keystone correction or manual keystone correction provided in an embodiment of the present application Figure 3 , where abcd is the main screen, and the coordinates are (ax, ay)(bx, by)(cx, cy)(dx, dy), corresponding to the first trapezoidal coordinates, a1b1c1d1 is the projection area, corresponding to the full-screen display area. Schematically, a1 is the origin of the coordinates, and the resolution of the projection area is width and height. Then, the distance between point a and a1c1 is ltx=ax, the distance between point a and a1b1 is lty=ay, the distance between point b and b1d1 is rtx=width-bx, the distance between point b and a1b1 is rt=by, the distance between point c and a1c1 is lbx=cx, the distance between point c and c1d1 is lby=height-cy, the distance between point d and b1d1 is rbx=width-dx, and the distance between point d and c1d1 is rby=height-dy. Reference Figure 5b , Figure 5b Schematic diagram of the display screen after automatic keystone correction or manual keystone correction provided in the embodiment of the present application Figure 4 , if the origin of the coordinate system is transferred to point c, the coordinates of abcd are (acx, acy)(bcx, bcy)(0, 0)(dcx, dcy), where acx = ax-cx, acy = ay-cy, bcx = bx-cx, bcy = by-cy, dcx = dx-cx, dcy = dy-cy, and the coordinates of a1b1c1d1 are (a1x, a1y)(b1x, b1y)(c1x, c1y)(d1x, d1y) where a1x = ax-ltx, a1y = ay-lty, b1x = bx+rtx, b1y = by-lty, c1x = cx-lbx, c1y = cy+lby, d1x = dx+rbx, d1y = dy+rby, for a status bar with a length and width of w and h, determine whether it can be put into the black border area acc1, such as Figure 5c As shown, Figure 5c A schematic diagram of a screen in which a status bar is placed in a projection screen provided in an embodiment of the present application, such as Figure 5c As shown, the status bar is attached to the edge of ac, and the coordinates of the four vertices of the status bar are za (zax, zay), zb (zbx, zby), zc (zcx, zcy), and zd (zdx, zdy). The horizontal coordinates of these four points are known, but the vertical coordinates are uncertain. If the initial position is incorrect, continuous adjustment may be required. The straight line equations of the three sides of the black border area acc1 can be obtained: fac1 (x, y), fac (x, y), and fcc1 (x, y). The four endpoints of the status bar are respectively substituted into the following three formulas. Take point zc as an example, where the vertical coordinates of the four endpoints of the status bar start from 0 and traverse to c1y:
[0060] fac1(zcx,zcy)fac1(c1x,c1y)(1);
[0061] fac(zcx,zcy)fac(ax,ay)(2);
[0062] fcc1(zcx,zcy)fcc1(cx,cy)(3);
[0063] If the three numbers calculated by the above three formulas are all positive, zc is inside the triangle; if there is at least one negative number, zc is outside the triangle; if there is only one 0 and the other two are positive numbers, zc is on the edge of the triangle. And so on, determine whether each endpoint is inside the triangle. If all four endpoints are inside the triangle, it is determined that the status bar can be displayed.
[0064] In some optional implementations, before determining whether the black edge area formed after the projection image is automatically corrected by keystone correction or manually corrected by the user supports displaying the auxiliary image, the method includes:
[0065] A status bar display signal sent by a terminal is received and / or a trigger operation of a user is received; the status bar display signal or the trigger operation is used to trigger a determination as to whether the black border formed after the trapezoidal correction can support the display of an auxiliary screen.
[0066] Step 302: Draw an auxiliary screen in the second display area, where the auxiliary screen includes one or more status bars.
[0067] Here, the content displayed in the status bar includes at least one of the following: time, weather, Bluetooth device message prompts, and system related information.
[0068] In some optional implementations, drawing the auxiliary picture in the second display area includes:
[0069] Draw the secondary screen on the same OSD as the primary screen; or,
[0070] After the auxiliary picture is drawn on the new OSD, the new OSD is combined with the OSD of the main picture.
[0071] Step 303: Based on the first trapezoidal coordinates, the full-screen display area coordinates and the rectangular coordinates of the first display area, the main picture and the auxiliary picture are subjected to trapezoidal changes to obtain a first target picture.
[0072] In some optional implementations, performing a trapezoidal change on the main screen and the auxiliary screen based on the first trapezoidal coordinates, the full-screen display area coordinates, and the rectangular coordinates of the first display area to obtain a first target screen includes:
[0073] Calculating a first deformation matrix based on the coordinates of the full-screen display area and the first trapezoidal coordinates;
[0074] Based on the first deformation matrix, the main picture and the auxiliary picture are subjected to trapezoidal transformation to obtain a first intermediate picture;
[0075] Calculating a second deformation matrix based on the full-screen display area coordinates and the rectangular coordinates of the first display area;
[0076] Based on the second deformation matrix, the first intermediate picture is subjected to a trapezoidal transformation to obtain a first target picture.
[0077] refer to Figure 6 and Figure 7 , Figure 6 This is a schematic diagram of the first intermediate screen provided in an embodiment of the present application. Figure 7 Schematic diagram of the first target screen provided in the embodiment of the present application. In this embodiment, the auxiliary screen includes status bars B and C. Figure 4 The coordinates of the full screen display of the middle picture A and the first trapezoidal coordinates (i.e. Figure 7 The homography relationship of the coordinates of A in the figure is obtained to obtain the first deformation matrix H1. Figure 4 The main screen A and the auxiliary screen (status bar A and status bar B) in the image are adjusted to obtain the first intermediate screen, that is, Figure 6 The screen shown in Figure 4 The coordinates of the full screen display of the middle screen A and Figure 4 The homography relationship of the rectangular coordinates of the reduced picture A in the image is obtained to obtain the second deformation matrix H2. Figure 6 The pictures A, B and C in the image are adjusted to obtain the first target picture, that is, Figure 7 The screen shown.
[0078] Step 304: Projecting the first target image onto a display surface.
[0079] Figure 8 This is a schematic diagram of the screen on the display surface provided in an embodiment of the present application.
[0080] It should be noted that the projection picture includes at least one layer. If there are at least two layers, the steps in the above embodiment may not be performed synchronously for different layers.
[0081] refer to Fig. 9 , Fig. 9 Schematic diagram of the image changes of the projection image display method provided in the embodiment of the present application Figure 1 .
[0082] In some optional implementations, the above steps can also be completed by hardware. Fig.10 Schematic diagram of the image changes of the projection image display method provided in the embodiment of the present application Figure 2 The trapezoidal change part uses a chip to perform the trapezoidal change. Schematically, an ichip chip can be used.
[0083] refer to Fig.11 , Fig.11 Schematic diagram of the implementation process of the projection screen display method provided in the embodiment of the present application Figure 2 In this embodiment, the method comprises the following steps:
[0084] Step 1101: Draw an auxiliary picture on the outer boundary of the main picture to obtain a second intermediate picture; the auxiliary picture includes one or more status bars.
[0085] Because the auxiliary image is outside the screen, when the projection is normal, the user cannot see the auxiliary image when the content is displayed in full screen.
[0086] Step 1102: Calculate a third deformation matrix based on the coordinates of the full-screen display of the main picture and the first trapezoidal coordinates; the first trapezoidal coordinates are the coordinates of the main picture after the projection picture is automatically trapezoidally corrected or manually trapezoidally corrected by the user.
[0087] When the projection picture is automatically corrected for trapezoidal shape or manually corrected for trapezoidal shape by the user, the auxiliary picture will also change accordingly. Based on the homography relationship between the coordinates of the full-screen display of the main picture and the first trapezoidal coordinates, a third deformation matrix H3 is obtained.
[0088] Step 1103: Based on the third deformation matrix, perform a trapezoidal transformation on the second intermediate picture to obtain a second target picture.
[0089] Step 1104: Project the two target images onto a display surface.
[0090] refer to Fig.12 , Fig.12 Schematic diagram of the image changes of the projection image display method provided in the embodiment of the present application Figure 3 , the status bar B is drawn on the outside, and based on the first trapezoidal coordinates, the second intermediate picture is changed into a trapezoidal shape to obtain the second target picture.
[0091] In some embodiments, it is determined whether the auxiliary screen is displayed completely. If it is not displayed completely, the auxiliary screen display is turned off. For example, referring to FIG. 5, FIG. 5 is a flow chart of determining whether the auxiliary screen exceeds the black border area provided in an embodiment of the present application. Figure 5a As shown, Figure 5a Schematic diagram of the screen in the projector after the automatic keystone correction or manual keystone correction provided in the embodiment of the present application, wherein abcd is the main screen, and the coordinates are (ax, ay)(bx, by)(cx, cy)(dx, dy), corresponding to the first trapezoidal coordinates, a1b1c1d1 is the projection area, schematically, a1 is the coordinate origin, the resolution of the projection area is width, height, then the distance between point a and a1c1 is ltx=ax, the distance between point a and a1b1 is lty=ay, the distance between point b and b1d1 is rtx=width-bx, the distance between point b and a1b1 is rt=by, the distance between point c and a1c1 is lbx=cx, the distance between point c and c1d1 is lby=height-cy, the distance between point d and b1d1 is rbx=width-dx, and the distance between point d and c1d1 is rby=height-dy. Reference Figure 5b , Figure 5bThis is a schematic diagram of the screen after the automatic keystone correction or manual keystone correction provided by the embodiment of the present application. If the origin of the coordinate system is transferred to point c, the coordinates of abcd are (acx, acy)(bcx, bcy)(0, 0)(dcx, dcy), wherein acx = ax-cx, acy = ay-cy, bcx = bx-cx, bcy = by-cy, dcx = dx-cx, dcy = dy-cy, and the coordinates of a1b1c1d1 are (a1x, a1 y)(b1x, b1y)(c1x, c1y)(d1x, d1y) where a1x = ax-ltx, a1y = ay-lty, b1x = bx+rtx, b1y = by-lty, c1x = cx-lbx, c1y = cy+lby, d1x = dx+rbx, d1y = dy+rby. For a status bar with a length and width of w and h drawn on the left side of the main screen, judging whether the auxiliary screen is displayed completely is to judge whether the auxiliary screen can exceed the black border area acc1. Figure 5c As shown, Figure 5c A schematic diagram of a screen in which a status bar is placed in a projection screen provided in an embodiment of the present application, such as Figure 5c As shown, we have the coordinates of the four vertices of the status bar: za(zax, zay), zb(zbx, zby), zc(zcx, zcy) and zd(zdx, zdy). The horizontal and vertical coordinates of these four points are known, and the equations of the three sides of the black border area acc1: fac1(x, y), fac(x, y), and fcc1(x, y) can be obtained. Substitute the four endpoints of the status bar into the following three formulas respectively. Take point zc as an example.
[0092] fac1(zcx,zcy)fac1(c1x,c1y)(1);
[0093] fac(zcx,zcy)fac(ax,ay)(2);
[0094] fcc1(zcx,zcy)fcc1(cx,cy)(3);
[0095] If the above three formulas calculate all three numbers positive: zc is inside the triangle; if there is at least one negative number: zc is outside the triangle; if there is only one 0 and the other two are positive numbers: zc is on the edge of the triangle. And so on, judge whether each endpoint is inside the triangle. If all four endpoints are inside the triangle, it is judged that the status bar can be fully displayed.
[0096] The display method of the projection image provided in the embodiment of the present application displays the status bar in the invalid black border area after trapezoidal correction, which not only utilizes the invalid area but also can display the status bar, thereby greatly improving the user experience.
[0097] refer to Fig.13 , Fig.13 A schematic diagram of the structure of the projector 1300 provided in the embodiment of the present application is shown in FIG. Fig.13 As shown, the projector 1300 includes:
[0098] The first adjustment unit 1310 is used to reduce the main picture from the full-screen display area to the first display area based on the first trapezoidal coordinates and the size of the auxiliary picture, and the area other than the first display area in the full-screen display area is the second display area; the first trapezoidal coordinates are the coordinates of the main picture after the projection picture is automatically trapezoidally corrected or manually trapezoidally corrected by the user;
[0099] A first drawing unit 1320 is used to draw an auxiliary screen in the second display area, where the auxiliary screen includes one or more status bars;
[0100] The first adjustment unit 1310 is further configured to perform a trapezoidal change on the main picture and the auxiliary picture based on the first trapezoidal coordinates, the full-screen display area coordinates and the rectangular coordinates of the first display area to obtain a first target picture.
[0101] In the embodiment of the present application, the first adjustment unit 1310 is specifically used to calculate a first deformation matrix based on the full-screen display area coordinates and the first trapezoidal coordinates; based on the first deformation matrix, perform a trapezoidal change on the main screen and the auxiliary screen to obtain a first intermediate screen; calculate a second deformation matrix based on the full-screen display area coordinates and the rectangular coordinates of the first display area; based on the second deformation matrix, perform a trapezoidal change on the first intermediate screen to obtain a first target screen.
[0102] In an embodiment of the present application, before shrinking the main screen from the full-screen display area to the first display area, the first adjustment unit 1310 is also used to determine whether the black edge area formed after the projection screen is automatically trapezoidally corrected or manually trapezoidally corrected by the user supports the display of the status bar; if the display of the status bar is supported, based on the first trapezoidal coordinates and the size of the auxiliary screen, the main screen is reduced from the full-screen display area to the first display area, and the main screen is reduced from the full-screen display area to the first display area.
[0103] In the embodiment of the present application, the first adjustment unit 1310 is specifically used to determine whether the drawn status bar exceeds the black border area. If it does not exceed the black border area, the black border area formed after the trapezoidal correction supports the display of the status bar.
[0104] In an embodiment of the present application, before determining whether the black border area formed after automatic trapezoidal correction or manual trapezoidal correction of the projection image supports the display of the status bar, the first adjustment unit 1310 is also used to receive a status bar display signal sent by the terminal and / or receive a trigger operation by the user; the status bar display signal or the trigger operation is used to trigger the determination of whether the black border formed after the trapezoidal correction can support the display of the status bar.
[0105] In the embodiment of the present application, the first drawing unit 1320: draws the auxiliary screen on the same OSD as the main screen; or, after drawing the auxiliary screen on the new OSD, combines the new OSD with the OSD of the main screen.
[0106] Those skilled in the art should understand that Fig.13 The implementation functions of each unit in the projector 1300 shown can be understood by referring to the relevant description of the aforementioned method. Fig.13 The functions of each unit in the projector 1300 shown may be implemented by a program running on a processor, or may be implemented by a specific logic circuit.
[0107] refer to Fig.14 , Fig.14 A schematic diagram of the structure of the projector 1400 provided in the embodiment of the present application is shown in FIG. Fig.14 As shown, the projector 1400 includes:
[0108] The second drawing unit 1410 is used to draw an auxiliary picture at the outer boundary of the main picture to obtain a second intermediate picture; the auxiliary picture includes one or more status bars;
[0109] The second adjustment unit 1420 is used to calculate the third deformation matrix based on the coordinates of the full-screen display of the main picture and the first trapezoidal coordinates; the first trapezoidal coordinates are the coordinates of the main picture after the projection picture is automatically trapezoidally corrected or manually trapezoidally corrected by the user; based on the third deformation matrix, the second intermediate picture is trapezoidally changed to obtain a second target picture; and the two target pictures are projected onto the display surface.
[0110] Those skilled in the art should understand that Fig.14 The implementation functions of each unit in the projector 1400 shown can be understood by referring to the relevant description of the aforementioned method. Fig.14 The functions of each unit in the projector 1400 shown may be implemented by a program running on a processor, or may be implemented by a specific logic circuit.
[0111] Fig.15 It is a schematic structural diagram of an electronic device 1500 provided in an embodiment of the present application. Fig.15The electronic device 1500 shown includes a processor 1510, which can call and run a computer program from a memory to implement the method in the embodiment of the present application.
[0112] Alternatively, if Fig.15 As shown, the electronic device 1500 may further include a memory 1520. The processor 1510 may call and run a computer program from the memory 1520 to implement the method in the embodiment of the present application.
[0113] The memory 1520 may be a separate device independent of the processor 1510 , or may be integrated into the processor 1510 .
[0114] Alternatively, if Fig.15 As shown, the electronic device 1500 may further include a transceiver 1530, and the processor 1510 may control the transceiver 1530 to communicate with other devices, specifically, may send information or data to other devices, or receive information or data sent by other devices.
[0115] The transceiver 1530 may include a transmitter and a receiver. The transceiver 1530 may further include an antenna, and the number of antennas may be one or more.
[0116] The electronic device 1500 may specifically be a projector according to an embodiment of the present application, and the electronic device 1500 may implement the corresponding processes implemented by the projector in each method according to the embodiment of the present application, which will not be described in detail here for the sake of brevity.
[0117] Fig.16 It is a schematic structural diagram of the chip of an embodiment of the present application. Fig.16 The chip 1600 shown includes a processor 1610, which can call and run a computer program from a memory to implement the method in the embodiment of the present application.
[0118] Alternatively, if Fig.16 As shown, the chip 1600 may further include a memory 1620. The processor 1610 may call and run a computer program from the memory 1620 to implement the method in the embodiment of the present application.
[0119] The memory 1620 may be a separate device independent of the processor 1610 , or may be integrated into the processor 1610 .
[0120] Optionally, the chip 1600 may further include an input interface 1630. The processor 1610 may control the input interface 1630 to communicate with other devices or chips, and specifically, may obtain information or data sent by other devices or chips.
[0121] Optionally, the chip 1600 may further include an output interface 1640. The processor 1610 may control the output interface 1640 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.
[0122] The chip can be applied to the projector in the embodiment of the present application, and the chip can implement the corresponding processes implemented by the projector in the various methods in the embodiment of the present application, which will not be described here for the sake of brevity.
[0123] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0124] It should be understood that the processor of the embodiment of the present application may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor are combined and performed. The software module can be located in a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, and other mature storage media in the art. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0125] It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0126] It should be understood that the above-mentioned memory is exemplary but not restrictive. For example, the memory in the embodiments of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM), etc. That is to say, the memory in the embodiments of the present application is intended to include but not limited to these and any other suitable types of memory.
[0127] The embodiment of the present application also provides a computer-readable storage medium for storing a computer program. The computer-readable storage medium can be applied to the projector in the embodiment of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the projector in each method of the embodiment of the present application, which will not be described in detail here for the sake of brevity.
[0128] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0129] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0130] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0131] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple 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.
[0132] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0133] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or projector, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.
[0134] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for displaying a projection image, characterized in that: include: Based on the first trapezoidal coordinates and the size of the auxiliary screen, the main screen is reduced from the full-screen display area to the first display area, and the area in the full-screen display area except the first display area is the second display area; the first trapezoidal coordinates are the coordinates of the main screen after the projection screen is automatically trapezoidally corrected or manually trapezoidally corrected by the user; Drawing an auxiliary screen in the second display area, wherein the auxiliary screen includes one or more status bars; Based on the first trapezoidal coordinates, the full-screen display area coordinates and the rectangular coordinates of the first display area, the main picture and the auxiliary picture are subjected to trapezoidal changes to obtain a first target picture; Projecting the first target image onto a display surface.
2. The method for displaying a projection image according to claim 1, characterized in that: The step of performing a trapezoidal change on the main screen and the auxiliary screen based on the first trapezoidal coordinates, the full-screen display area coordinates, and the rectangular coordinates of the first display area to obtain a first target screen includes: Calculating a first deformation matrix based on the full-screen display area coordinates and the first trapezoidal coordinates; Based on the first deformation matrix, the main picture and the auxiliary picture are subjected to trapezoidal transformation to obtain a first intermediate picture; Calculating a second deformation matrix based on the full-screen display area coordinates and the rectangular coordinates of the first display area; Based on the second deformation matrix, the first intermediate picture is subjected to a trapezoidal transformation to obtain a first target picture.
3. The method for displaying a projection image according to claim 2, characterized in that: Before shrinking the main picture from the full-screen display area to the first display area, the method further includes: Determine whether a black border area formed after the projection image is automatically corrected by keystone correction or manually corrected by the user supports displaying an auxiliary image; If the display of the auxiliary screen is supported, the main screen is reduced from the full-screen display area to the first display area based on the first trapezoidal coordinates and the size of the auxiliary screen.
4. The method for displaying a projection image according to claim 3, characterized in that: The determining whether the black border area formed after the trapezoidal correction can support displaying the auxiliary picture includes: It is determined whether the drawn auxiliary picture exceeds the black border area. If it does not exceed the black border area, the black border area formed after the trapezoidal correction supports the display of the auxiliary picture.
5. The method for displaying a projection image according to claim 3, characterized in that: Before determining whether the black edge area formed after the projection image is automatically corrected by keystone correction or manually corrected by the user supports displaying the auxiliary image, the method includes: A status bar display signal sent by a terminal is received and / or a trigger operation of a user is received; the status bar display signal or the trigger operation is used to trigger a determination as to whether the black border formed after the trapezoidal correction can support the display of an auxiliary screen.
6. The method for displaying a projection image according to claim 1, characterized in that: The step of drawing the auxiliary picture in the second display area includes: Draw the secondary screen on the same OSD as the primary screen; or, After the auxiliary picture is drawn on the new OSD, the new OSD is combined with the OSD of the main picture.
7. A method for displaying a projection image, characterized in that: include: Draw an auxiliary picture at the outer boundary of the main picture to obtain a second intermediate picture; the auxiliary picture includes one or more status bars; Calculating a third deformation matrix based on the coordinates of the full-screen display of the main picture and the first trapezoidal coordinates; the first trapezoidal coordinates are the coordinates of the main picture after the projection picture is automatically trapezoidally corrected or manually trapezoidally corrected by the user; Based on the third deformation matrix, performing a trapezoidal transformation on the second intermediate picture to obtain a second target picture; The two target images are projected onto a display surface.
8. A projector, characterized in that: include: A first adjustment unit: used for reducing the main picture from the full-screen display area to the first display area based on the first trapezoidal coordinates and the size of the auxiliary picture, wherein the area other than the first display area in the full-screen display area is the second display area; the first trapezoidal coordinates are the coordinates of the main picture after the projection picture is automatically trapezoidally corrected or manually trapezoidally corrected by the user; A first drawing unit: used for drawing an auxiliary screen in the second display area, wherein the auxiliary screen includes one or more status bars; The first adjustment unit is further configured to perform a trapezoidal change on the main picture and the auxiliary picture based on the first trapezoidal coordinates, the full-screen display area coordinates and the rectangular coordinates of the first display area to obtain a first target picture; Projecting the first target image onto a display surface.
9. A projector, characterized in that: include: A second drawing unit is used to draw an auxiliary picture at the outer boundary of the main picture to obtain a second intermediate picture; the auxiliary picture includes one or more status bars; The second adjustment unit is used to calculate the third deformation matrix based on the coordinates of the full-screen display of the main picture and the first trapezoidal coordinates; the first trapezoidal coordinates are the coordinates of the main picture after the projection picture is automatically trapezoidally corrected or manually trapezoidally corrected by the user; based on the third deformation matrix, the second intermediate picture is trapezoidally changed to obtain a second target picture; the two target pictures are projected onto the display surface.
10. An electronic device, characterized in that: include: A processor and a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method for displaying a projection picture as described in any one of claims 1 to 7.
11. A chip, characterized in that: include: A processor is used to call and run a computer program from a memory so that a device equipped with the chip executes a method for displaying a projection picture as described in any one of claims 1 to 7.
12. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein the computer program enables a computer to execute the method for displaying a projection picture according to any one of claims 1 to 7.