Projection image correction method and laser projection device

By adopting preliminary correction parameters and geometric relationship adjustment methods in laser projection equipment, the problem of projection image distortion under different installation methods is solved, and projection image correction under various installation methods is realized to ensure that the picture is clear and distortion-free.

CN114584751BActive Publication Date: 2024-08-16QINGDAO HISENSE LASER DISPLAY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210334336.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-30
Publication Date
2024-08-16
Estimated Expiration
2042-03-30

AI Technical Summary

Technical Problem

Laser projection equipment is prone to distortion in projection images under different installation methods, and it is difficult to achieve ideal correction effects with existing technology under various installation methods.

Method used

The image to be projected is initially corrected through preliminary correction parameters, and is corrected again under the geometric relationship between the current installation method and the basic installation method. The maximum abscissa or maximum ordinate is used to adjust the pixel coordinates to achieve accurate correction of the projection position.

Benefits of technology

No matter how the installation method of the projection host changes, it can effectively correct the projection picture to ensure that the picture is distortion-free and achieve the ideal projection effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114584751B
    Figure CN114584751B
Patent Text Reader

Abstract

The present application discloses a method for correcting a projected image and a laser projection device, and belongs to the field of laser projection technology. The method comprises: performing a preliminary correction on the projection position of the image to be projected based on the correction parameters, and when the current installation mode of the projection host is different from the basic installation mode, correcting the projection position of the image to be projected after the preliminary correction again based on the geometric relationship between the current installation mode and the basic installation mode. For different installation modes, after correction using the same geometric correction algorithm, the projection images under some installation modes can be corrected successfully, while the projection images under some installation modes cannot be corrected successfully. When the image is corrected using the projection image correction method provided in the embodiment of the present application, even if the projection host is in different installation modes, the distorted image can be corrected to achieve an ideal correction effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of laser projection technology, and in particular to a method for correcting a projected image and a laser projection device. Background Art

[0002] During the projection process, the laser projection device may cause the image displayed on the projection screen to be distorted due to various reasons, thereby affecting the projection effect of the image. Moreover, the projection host of the laser projection device can be installed in a variety of ways. Therefore, a method for correcting the projected image is urgently needed to correct the projected images under different installation methods. Summary of the invention

[0003] The present application provides a method for correcting a projected image and a laser projection device, which can achieve an ideal correction effect in different installation modes. The technical solution is as follows:

[0004] In one aspect, a method for correcting a projected image is provided, which is applied to a laser projection device, wherein the laser projection device includes a projection host and a projection screen, and the method includes:

[0005] Performing a preliminary correction on the projection position of the image to be projected based on the correction parameters, wherein the correction parameters are obtained by calibration when the projection host is in the basic installation mode;

[0006] In the case where the current installation mode of the projection host is different from the basic installation mode, based on the geometric relationship between the current installation mode and the basic installation mode, the projection position of the image to be projected after the preliminary correction is corrected again;

[0007] The basic installation method refers to an installation method in which there is no image distortion after a preliminary correction is performed on the projection position of the image to be projected.

[0008] On the other hand, a laser projection device is provided, the laser projection device comprising a projection host and a projection screen, the projection host being used for:

[0009] Performing a preliminary correction on the projection position of the image to be projected based on the correction parameters, wherein the correction parameters are obtained by calibration when the projection host is in the basic installation mode;

[0010] In the case where the current installation mode of the projection host is different from the basic installation mode, based on the geometric relationship between the current installation mode and the basic installation mode, the projection position of the image to be projected after the preliminary correction is corrected again;

[0011] The basic installation method refers to an installation method in which there is no image distortion after a preliminary correction is performed on the projection position of the image to be projected.

[0012] In another aspect, a projection image correction device is provided, the device comprising:

[0013] A preliminary correction module, used for performing preliminary correction on the projection position of the image to be projected based on correction parameters, wherein the correction parameters are obtained by calibration when the projection host is in a basic installation mode;

[0014] a re-correction module, configured to re-correct the projection position of the image to be projected after the preliminary correction based on the geometric relationship between the current installation mode and the basic installation mode when the current installation mode of the projection host is different from the basic installation mode;

[0015] The basic installation method refers to an installation method in which there is no image distortion after a preliminary correction is performed on the projection position of the image to be projected.

[0016] On the other hand, a computer-readable storage medium is provided, wherein a computer program is stored in the storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned method for correcting the projection image are implemented.

[0017] On the other hand, a computer program product comprising instructions is provided. When the instructions are executed on a computer, the computer is caused to execute the steps of the above-mentioned method for correcting a projection image.

[0018] The technical solution provided by the embodiments of the present application can at least bring the following beneficial effects:

[0019] For different installation methods, after correction using the same geometric correction algorithm, the projection images under some installation methods can be corrected successfully, while the projection images under some installation methods cannot be corrected successfully. Therefore, the embodiment of the present application uses the installation method that can be corrected successfully as the basic installation method, and corrects other installation methods again according to the geometric relationship between them and the basic installation method, so as to obtain an ideal correction effect. That is, when the correction method for the projected image provided by the embodiment of the present application is used to correct the image, even if the projection host is in different installation methods, the distorted image can be corrected to achieve an ideal correction effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 is a schematic diagram of a laser projection device provided in an embodiment of the present application;

[0022] Figure 2 It is a schematic diagram of an installation method of a projection host provided in an embodiment of the present application;

[0023] Figure 3 is a flow chart of a method for correcting a projected image provided in an embodiment of the present application;

[0024] Figure 4 This is a schematic diagram of a first method of re-correcting a projected image provided by an embodiment of the present application;

[0025] Figure 5 is a schematic diagram of a second method of re-correcting a projected image provided by an embodiment of the present application;

[0026] Figure 6 This is a schematic diagram of a third method of re-correcting a projected image provided by an embodiment of the present application;

[0027] Figure 7 This is a schematic diagram of a fourth method of re-correcting a projected image provided by an embodiment of the present application;

[0028] Figure 8 is a schematic diagram of a fifth method of re-correcting a projected image provided by an embodiment of the present application;

[0029] Fig. 9 This is a schematic diagram of a sixth method of re-correcting a projected image provided by an embodiment of the present application;

[0030] Fig.10 It is a structural schematic diagram of a projection image correction device provided in an embodiment of the present application;

[0031] Fig.11 It is a structural block diagram of a laser projection device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0032] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0033] Before explaining in detail the audio playback method provided in the embodiment of the present application, the laser projection device involved in the embodiment of the present application is first introduced.

[0034] Please refer to Figure 1 , Figure 11 is a schematic diagram of a laser projection device according to an exemplary embodiment. The laser projection device includes a projection host 101 and a projection screen 102, and the projection host 101 can be connected to the projection screen 102 for communication. The communication connection can be a wired or wireless connection, which is not limited in the embodiment of the present application. The projection host 101 is used to emit a laser to the projection screen 102 based on the image to be projected, and the projection screen 102 is used to display the image to be projected.

[0035] The projection host 101 can be installed in a variety of ways, for example, Figure 2 As shown, the installation methods of the projection host 101 include desktop front projection, desktop rear projection, ceiling front projection, and ceiling rear projection. Among them, the desktop front projection means that the projection host 101 is placed on the desktop, and the user and the projection host 101 are on the same side and in front of the projection screen 102. The desktop rear projection means that the projection host 101 is placed on the desktop, and the user and the projection host 101 are respectively located on both sides of the projection screen 102. The ceiling front projection means that the projection host 101 is fixed to the ceiling of the room, and the user and the projection host 101 are on the same side and in front of the projection screen 102. The ceiling rear projection means that the projection host 101 is fixed to the ceiling of the room, and the user and the projection host 101 are respectively located on both sides of the projection screen 102. The projection screen 102 can be installed on the wall or hung on the ceiling. Of course, it can also be installed in other ways.

[0036] After installing the laser projection device, the image projected by the projection host 101 on the projection screen 102 may be distorted to a certain extent, so the projected image needs to be corrected to achieve an ideal projection effect. However, in different installation modes of the projection host, after correction using the same method, it is not possible to achieve an ideal projection effect in each installation mode. Therefore, the embodiment of the present application provides a method for correcting a projection image, which can correct the projection images in different installation modes, so that the projection images in each installation mode can achieve an ideal projection effect.

[0037] Those skilled in the art should understand that the functions of the above-mentioned projection host 101 and projection screen 102, as well as the installation method of the projection host 101 are only examples, and other existing or future functions that may appear, if applicable to the embodiments of the present application, should also be included in the protection scope of the embodiments of the present application and are included here by reference.

[0038] It should be noted that the laser projection device described in the embodiment of the present application is to more clearly illustrate the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided in the embodiment of the present application. Ordinary technicians in this field can know that with the evolution of technology, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.

[0039] Next, the projection image correction method provided in the embodiment of the present application is explained in detail.

[0040] Figure 3 is a flow chart of a method for correcting a projected image provided by an embodiment of the present application. The method is applied to a laser projection device, which includes a projection host and a projection screen. Figure 3 , the method comprises the following steps.

[0041] Step 301: Preliminary correction is performed on the projection position of the image to be projected based on correction parameters, where the correction parameters are obtained by calibration when the projection host is in the basic installation mode.

[0042] The coordinates of each pixel point in the image to be projected are preliminarily corrected based on the correction parameters to obtain the preliminarily corrected coordinates of each pixel point, thereby achieving a preliminarily corrected projection position of the image to be projected.

[0043] Among them, the method of preliminarily correcting the coordinates of each pixel point in the projection image based on the correction parameters is related to the geometric correction algorithm adopted in the embodiment of the present application.

[0044] Since the correction parameters are obtained by calibration when the projection host is in the basic installation mode, it is necessary to obtain a captured image when the projection host is in the basic installation mode, and the captured image is obtained by capturing the projection screen from the position of the projection host. Then, the correction parameters are determined based on the projection screen in the captured image.

[0045] In some embodiments, the projection host has a camera, and the projection screen can be photographed by the camera of the projection host to obtain a photographed image. Of course, in other embodiments, other devices with a photographing function other than the projection host can be used to photograph the projection screen from the position of the projection host to obtain a photographed image, and the photographed image is sent to the projection host. In other words, the projection screen can be photographed from the position of the projection host by a camera to obtain a photographed image. The camera can be a camera included in the projection host, or a camera independent of the projection host, and the embodiments of the present application are not limited to this.

[0046] In some embodiments, based on the acquired captured image, a geometric correction algorithm is used to process the projection picture in the captured image to obtain correction parameters.

[0047] In some geometric correction algorithms, specific graphics in the projection screen of the captured image can be processed to determine the correction parameters. For example, if there are patterns such as squares and diamonds in the projection screen, the correction parameters can be determined by processing these patterns. In other geometric correction algorithms, the vertices of the projection screen in the captured image can be processed to determine the correction parameters. How to process the projection screen in the captured image depends on the geometric correction algorithm used, and the embodiments of the present application are not limited to this.

[0048] Since the captured image is obtained by capturing the projection screen from the position of the projection host, the captured image includes not only the projection screen but also other areas.

[0049] Step 302: When the current installation mode of the projection host is different from the basic installation mode, the projection position of the image to be projected after the preliminary correction is corrected again based on the geometric relationship between the current installation mode and the basic installation mode. The basic installation mode refers to an installation mode in which there is no image distortion after the projection position of the image to be projected is initially corrected.

[0050] In some embodiments, the geometric relationship between the current installation mode and the basic installation mode includes three types, namely, an axisymmetric relationship about the longitudinal axis, an axisymmetric relationship about the transverse axis, and a centrally symmetrical relationship. Next, taking these three geometric relationships as examples, the implementation method of re-correcting the projection position of the image to be projected after the preliminary correction is introduced.

[0051] The first implementation method is to use the maximum horizontal coordinate minus the horizontal coordinate in the projection position of the image to be projected after preliminary correction, when the geometric relationship between the current installation method and the basic installation method is an axially symmetrical relationship about the vertical axis, so as to keep the vertical coordinate in the projection position of the image to be projected after preliminary correction unchanged; wherein the maximum horizontal coordinate refers to the maximum horizontal coordinate of the image projected by the projection host to the projection screen.

[0052] The axisymmetric relationship about the vertical axis can be understood as a figure that can overlap with another figure after being folded along the vertical axis. At this time, the two figures can be said to be symmetrical about the vertical axis, or the two figures are said to be in an axisymmetric relationship about the vertical axis. That is to say, when the two figures are symmetrical about the vertical axis, the horizontal coordinates of the same point in the two figures are opposite numbers to each other, and the vertical coordinates are the same. However, since the projection position of the image to be projected after re-correction still needs to be within the projection area of ​​the projection host, the embodiment of the present application needs to re-correct the projection position of the image to be projected within the resolution range of the projection screen that the projection host can display. That is, the horizontal coordinate in the projection position of the image to be projected after the preliminary correction is subtracted from the maximum horizontal coordinate, and the vertical coordinate in the projection position of the image to be projected after the preliminary correction is kept unchanged to ensure that the projection position of the image to be projected after the re-correction is still within the projection area of ​​the projection host.

[0053] Since the resolution of the projection host can usually be expressed by multiplying the number of pixels in the horizontal direction by the number of pixels in the vertical direction in the projection image, the maximum horizontal coordinate of the image projected by the projection host to the projection screen is the number of pixels in the horizontal direction of the projection image minus 1, that is, the number of horizontal pixels of the resolution of the projection host minus 1.

[0054] For example, the basic installation mode is a desktop front projection mode, the current installation mode is a desktop rear projection mode, the geometric relationship between the current installation mode and the basic installation mode is an axisymmetric relationship about the longitudinal axis, and the resolution of the projection host is M×N. In this case, the coordinates of each pixel point of the image to be projected after the preliminary correction are corrected again according to the first implementation method mentioned above. For the convenience of description, Figure 4 As shown, the first implementation method is introduced by taking the four vertices of the image to be projected after preliminary correction as an example. Assume that after preliminary correction, the coordinates of point A are (a1, b1), the coordinates of point B are (a2, b2), the coordinates of point C are (a3, b3), and the coordinates of point D are (a4, b4). By subtracting the horizontal coordinates of each vertex from the maximum horizontal coordinate and keeping the vertical coordinates of each vertex unchanged, the coordinates of each vertex after re-correction can be obtained, that is, the coordinates of point A are (M-1-a1, b1), the coordinates of point B are (M-1-a2, b2), the coordinates of point C are (M-1-a3, b3), and the coordinates of point D are (M-1-a4, b4).

[0055] The second implementation method is to use the maximum vertical coordinate minus the vertical coordinate in the projection position of the image to be projected after preliminary correction, when the geometric relationship between the current installation method and the basic installation method is an axially symmetrical relationship about the horizontal axis, so as to keep the horizontal coordinate in the projection position of the image to be projected after preliminary correction unchanged; wherein the maximum vertical coordinate refers to the maximum vertical coordinate of the picture projected by the projection host to the projection screen.

[0056] The axisymmetric relationship about the horizontal axis can be understood as a figure that can overlap with another figure after being folded along the horizontal axis. At this time, the two figures can be said to be symmetrical about the horizontal axis, or the two figures are said to be in an axisymmetric relationship about the horizontal axis. That is to say, when the two figures are symmetrical about the horizontal axis, the horizontal coordinates of the same point in the two figures are the same, and the vertical coordinates are opposite numbers. However, since the projection position of the image to be projected after re-correction still needs to be within the projection area of ​​the projection host, the embodiment of the present application needs to re-correct the projection position of the image to be projected within the resolution range of the projection screen that the projection host can display. That is, the maximum vertical coordinate is used to subtract the vertical coordinate in the projection position of the image to be projected after the preliminary correction, and the horizontal coordinate in the projection position of the image to be projected after the preliminary correction is kept unchanged to ensure that the projection position of the image to be projected after the re-correction is still within the projection area of ​​the projection host.

[0057] Since the resolution of the projection host can usually be expressed by multiplying the number of pixels in the horizontal direction by the number of pixels in the vertical direction in the projection image, the maximum vertical coordinate of the image projected by the projection host to the projection screen is the number of pixels in the vertical direction in the projection image minus 1, that is, the number of vertical pixels of the resolution of the projection host minus 1.

[0058] For example, the basic installation method is a desktop front projection method, the current installation method is a ceiling rear projection method, the geometric relationship between the current installation method and the basic installation method is an axisymmetric relationship about the horizontal axis, and the resolution of the projection host is M×N. In this case, the coordinates of each pixel point of the image to be projected after the preliminary correction are corrected again according to the second implementation method mentioned above. For the convenience of description, Figure 5 As shown, the second implementation method is introduced by taking the four vertices of the image to be projected after preliminary correction as an example. Assume that after preliminary correction, the coordinates of point A are (c1, d1), the coordinates of point B are (c2, d2), the coordinates of point C are (c3, d3), and the coordinates of point D are (c4, d4). By subtracting the ordinate of each vertex from the maximum ordinate and keeping the abscissa of each vertex unchanged, the coordinates of each vertex after re-correction can be obtained, that is, the coordinates of point A are (c1, N-1-d1), the coordinates of point B are (c2, N-1-d2), the coordinates of point C are (c3, N-1-d3), and the coordinates of point D are (c4, N-1-d4).

[0059] The third implementation method, when the geometric relationship between the current installation method and the basic installation method is a centrally symmetrical relationship, the maximum horizontal coordinate is subtracted from the horizontal coordinate of the projection position of the image to be projected after preliminary correction, and the maximum vertical coordinate is subtracted from the vertical coordinate of the projection position of the image to be projected after preliminary correction; wherein the maximum horizontal coordinate refers to the maximum horizontal coordinate of the image projected by the projection host to the projection screen, and the maximum vertical coordinate refers to the maximum vertical coordinate of the image projected by the projection host to the projection screen.

[0060] The central symmetric relationship can be understood as a figure being able to coincide with another figure after rotating 180° around a certain point. At this time, the two figures can be said to be centrally symmetric about this point, or the two figures are said to be in a central symmetric relationship. However, since the projection position of the image to be projected after recalibration still needs to be within the projection area of ​​the projection host, the embodiment of the present application needs to recalibrate the projection position of the image to be projected within the resolution range of the projection screen that the projection host can display. That is, the maximum horizontal coordinate is used to subtract the horizontal coordinate in the projection position of the image to be projected after the preliminary correction, and the maximum vertical coordinate is used to subtract the vertical coordinate in the projection position of the image to be projected after the preliminary correction, to ensure that the projection position of the image to be projected after the recalibration is still within the projection area of ​​the projection host.

[0061] Since the resolution of the projection host can usually be expressed by multiplying the number of pixels in the horizontal direction of the projection screen by the number of pixels in the vertical direction, the maximum vertical coordinate of the image projected by the projection host to the projection screen is the number of pixels in the vertical direction of the projection screen minus 1, that is, the number of vertical pixels of the resolution of the projection host minus 1. The maximum horizontal coordinate of the image projected by the projection host to the projection screen is the number of pixels in the horizontal direction of the projection screen minus 1, that is, the number of horizontal pixels of the resolution of the projection host minus 1.

[0062] For example, the basic installation method is a desktop front projection method, the current installation method is a ceiling front projection method, the geometric relationship between the current installation method and the basic installation method is a central symmetric relationship, and the resolution of the projection host is M×N. In this case, the coordinates of each pixel point of the image to be projected after the preliminary correction are corrected again according to the third implementation method mentioned above. For the convenience of description, Figure 6As shown, the third implementation method is introduced by taking the four vertices of the image to be projected after preliminary correction as an example. Assume that after preliminary correction, the coordinates of point A are (e1, f1), the coordinates of point B are (e2, f2), the coordinates of point C are (e3, f3), and the coordinates of point D are (e4, f4). By subtracting the horizontal coordinate of each vertex from the maximum horizontal coordinate and subtracting the vertical coordinate of each vertex from the maximum vertical coordinate, the coordinates of each vertex after re-correction can be obtained, that is, the coordinates of point A are (M-1-c1, N-1-d1), the coordinates of point B are (M-1-c2, N-1-d2), the coordinates of point C are (M-1-c3, N-1-d3), and the coordinates of point D are (M-1-c4, N-1-d4).

[0063] The installation method of the projection host includes a desktop front projection method, a desktop rear projection method, a ceiling-mounted front projection method or a ceiling-mounted rear projection method, and the basic installation method is any one of the desktop front projection method, the desktop rear projection method, the ceiling-mounted front projection method and the ceiling-mounted rear projection method. In this case, the above three geometric relationships exist between the current installation method and the basic installation method. Of course, in some other embodiments, there may be other geometric relationships between the current installation method and the basic installation method. Other geometric relationships can also be re-calibrated with reference to the above methods, and the embodiments of the present application do not limit this.

[0064] The above is an example of the installation method based on the desktop front projection method. Next, the process of re-calibration based on the desktop rear projection method, ceiling mounted front projection method and ceiling mounted rear projection method will be introduced respectively. For the sake of ease of description, the four vertices of the image to be projected after preliminary calibration are used as an example.

[0065] like Figure 7As shown, the desktop rear projection mode is the basic installation mode, and the resolution of the projection host is A×B. If the current installation mode is the desktop front projection mode, then the geometric relationship between the current installation mode and the basic installation mode is an axisymmetric relationship about the longitudinal axis. In this case, it is assumed that after preliminary correction, the coordinates of point A are (I1, J1), the coordinates of point B are (I2, J2), the coordinates of point C are (I3, J3), and the coordinates of point D are (I4, J4). By subtracting the horizontal coordinates of each vertex from the maximum horizontal coordinate and keeping the vertical coordinates of each vertex unchanged, the coordinates of each vertex after re-correction can be obtained, that is, the coordinates of point A are (A-1-I1, J1), the coordinates of point B are (A-1-I2, J2), the coordinates of point C are (A-1-I3, J3), and the coordinates of point D are (A-1-I4, J4). If the current installation method is the ceiling-mounted rear projection method, then the geometric relationship between the current installation method and the basic installation method is a centrally symmetrical relationship. In this case, assuming that after preliminary calibration, the coordinates of point A are (K1, L1), the coordinates of point B are (K2, L2), the coordinates of point C are (K3, L3), and the coordinates of point D are (K4, L4). By subtracting the ordinate of each vertex from the maximum ordinate and keeping the abscissa of each vertex unchanged, the coordinates of each vertex after re-calibration can be obtained, that is, the coordinates of point A are (A-1-K1, B-1-L1), the coordinates of point B are (A-1-K2, B-1-L2), the coordinates of point C are (A-1-K3, B-1-L3), and the coordinates of point D are (A-1-K4, B-1-L4). If the current installation method is a hanging projection method, then the geometric relationship between the current installation method and the basic installation method is an axisymmetric relationship about the horizontal axis. In this case, assuming that after preliminary correction, the coordinates of point A are (M1, N1), the coordinates of point B are (M2, N2), the coordinates of point C are (M3, N3), and the coordinates of point D are (M4, N4). By subtracting the horizontal coordinate of each vertex from the maximum horizontal coordinate and subtracting the vertical coordinate of each vertex from the maximum vertical coordinate, the coordinates of each vertex after re-correction can be obtained, that is, the coordinates of point A are (M1, B-1-N1), the coordinates of point B are (M2, B-1-N2), the coordinates of point C are (M3, B-1-N3), and the coordinates of point D are (M4, B-1-N4).

[0066] like Figure 8As shown, when the ceiling-mounted rear projection is the basic installation mode, when the current installation modes are ceiling-mounted front projection, desktop front projection, and desktop rear projection, the geometric relationship between the current installation mode and the basic installation mode is an axisymmetric relationship about the longitudinal axis, an axisymmetric relationship about the transverse axis, and a centrally symmetrical relationship, respectively. Assuming that the current installation mode is the ceiling-mounted front projection mode, after preliminary correction, the coordinates of the four vertices A, B, C, and D of the image to be projected are (O1, P1), (O2, P2), (O3, P3), and (O4, P4), respectively. According to the corresponding geometric relationship, the coordinates of each vertex after re-correction are (A-1-O1, P1), (A-1-O2, P2), (A-1-O3, P3), and (A-1-O4, P4), respectively. Similarly, when the current installation mode is desktop front projection, after preliminary calibration, the coordinates of the four vertices A, B, C, and D of the image to be projected are (Q1, R1), (Q2, R2), (Q3, R3), and (Q4, R4), respectively. According to the corresponding geometric relationship, the coordinates of each vertex after re-calibration are (A-1-O1, P1), (A-1-O2, P2), (A-1-O3, P3), and (A-1-O4, P4). When the current installation mode is desktop rear projection, after preliminary calibration, the coordinates of the four vertices A, B, C, and D of the image to be projected are (S1, T1), (S2, T2), (S3, T3), and (S4, T4), respectively. According to the corresponding geometric relationships, the coordinates of each vertex after re-correction are (A-1-S1, B-1-T1), (A-1-S2, B-1-T2), (A-1-S3, B-1-T3), and (A-1-S4, B-1-T4).

[0067] like Fig. 9As shown, when the hanging front projection is the basic installation mode, when the current installation modes are the hanging rear projection mode, the desktop front projection mode, and the desktop rear projection mode, the geometric relationship between the current installation mode and the basic installation mode is an axisymmetric relationship about the vertical axis, a central symmetric relationship, and an axisymmetric relationship about the horizontal axis. Assuming that the current installation mode is the hanging rear projection mode, after preliminary correction, the coordinates of the four vertices A, B, C, and D of the image to be projected are (U1, V1) (U2, V2) (U3, V3) (U4, V4), and the coordinates of each vertex after re-correction according to the corresponding geometric relationship are (A-1-U2, V2) (A-1-U1, V1) (A-1-U4, V4) (A-1-U3, V3). Similarly, when the current installation mode is desktop front projection, after preliminary calibration, the coordinates of the four vertices A, B, C, and D of the image to be projected are (W1, X1) (W2, X2) (W3, X3), (W4, X4), and the coordinates of each vertex after re-calibration according to the corresponding geometric relationship are (A-1-W4, B-1-X4) (A-1-W3, B-1-X3) (A-1-W2, B-1-X2) (A-1-W1, B-1-X1). Similarly, when the current installation mode is desktop rear projection, after preliminary calibration, the coordinates of the four vertices A, B, C, and D of the image to be projected are (Y1, Z1) (Y2, Z2) (Y3, Z3) (Y4, Z4). According to the corresponding geometric relationship, the coordinates of each vertex after re-correction are (Y3, B-1-Z3) (Y4, B-1-Z4) (Y1, B-1-Z1) (Y2, B-1-Z2).

[0068] After the above steps are performed for re-calibration, the projection host can project the re-calibrated image to be projected onto the projection screen, and the image displayed on the projection screen will not be distorted, that is, an ideal calibration effect is achieved.

[0069] In some embodiments, the projection host may display a selection interface for the current installation method, through which the current installation method may be selected, and the projection host may then learn the current installation method.

[0070] The current installation mode of the projection host may be the same as or different from the basic installation mode. When the current installation mode of the projection host is different from the basic installation mode, the projection position of the image to be projected after the preliminary correction can be corrected again in the above manner based on the geometric relationship between the current installation mode and the basic installation mode. When the current installation mode of the projection host is the same as the basic installation mode, no correction is required.

[0071] For different installation methods, after correction using the same geometric correction algorithm, the projection images under some installation methods can be corrected successfully, while the projection images under some installation methods cannot be corrected successfully. Therefore, the embodiment of the present application uses the installation method that can be corrected successfully as the basic installation method, and corrects other installation methods again according to the geometric relationship between them and the basic installation method, so as to obtain an ideal correction effect. That is, when the correction method for the projected image provided by the embodiment of the present application is used to correct the image, even if the projection host is in different installation methods, the distorted image can be corrected to achieve an ideal correction effect.

[0072] Fig.10 This is a schematic diagram of the structure of a projection image correction device provided in an embodiment of the present application. The projection image correction device can be implemented by software, hardware or a combination of both to form part or all of the laser projection device. Please refer to Fig.10 The device includes: a preliminary correction module 1001 and a secondary correction module 1002.

[0073] The preliminary correction module 1001 is used to perform preliminary correction on the projection position of the image to be projected based on the correction parameters, which are obtained by calibration when the projection host is in the basic installation mode. The detailed implementation process refers to the corresponding content in the above embodiments, which will not be repeated here.

[0074] The re-correction module 1002 is used to re-correct the projection position of the image to be projected after the preliminary correction based on the geometric relationship between the current installation mode and the basic installation mode when the current installation mode of the projection host is different from the basic installation mode. The basic installation mode refers to an installation mode in which there is no image distortion after the preliminary correction of the projection position of the image to be projected. The detailed implementation process refers to the corresponding content in each of the above embodiments, which will not be repeated here.

[0075] Optionally, the re-correction module 1002 is specifically used for:

[0076] Subtracting the abscissa of the projection position of the image to be projected after the preliminary correction from the maximum abscissa, and keeping the ordinate of the projection position of the image to be projected after the preliminary correction unchanged;

[0077] The maximum horizontal coordinate refers to the maximum horizontal coordinate of the image projected by the projection host onto the projection screen.

[0078] Optionally, the re-correction module 1002 is further specifically configured to:

[0079] Subtracting the ordinate of the projection position of the image to be projected after the preliminary correction from the maximum ordinate, and keeping the abscissa of the projection position of the image to be projected after the preliminary correction unchanged;

[0080] The maximum vertical coordinate refers to the maximum vertical coordinate of the image projected by the projection host onto the projection screen.

[0081] Optionally, the re-correction module 1002 is further specifically configured to:

[0082] The maximum horizontal coordinate is subtracted from the horizontal coordinate of the projection position of the image to be projected after the preliminary correction, and the maximum vertical coordinate is subtracted from the vertical coordinate of the projection position of the image to be projected after the preliminary correction;

[0083] The maximum horizontal coordinate refers to the maximum horizontal coordinate of the image projected by the projection host to the projection screen, and the maximum vertical coordinate refers to the maximum vertical coordinate of the image projected by the projection host to the projection screen.

[0084] For different installation methods, after correction using the same geometric correction algorithm, the projection images under some installation methods can be corrected successfully, while the projection images under some installation methods cannot be corrected successfully. Therefore, the embodiment of the present application uses the installation method that can be corrected successfully as the basic installation method, and corrects other installation methods again according to the geometric relationship between them and the basic installation method, so as to obtain an ideal correction effect. That is, when the correction method for the projected image provided by the embodiment of the present application is used to correct the image, even if the projection host is in different installation methods, the distorted image can be corrected to achieve an ideal correction effect.

[0085] It should be noted that: the projection image correction device provided in the above embodiment only uses the division of the above functional modules as an example when performing projection image correction. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the projection image correction device provided in the above embodiment and the projection image correction method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0086] Fig.11 1 is a block diagram of a laser projection device 1100 provided in an embodiment of the present application. The laser projection device 1100 includes a projection host 1101 and a projection screen 1102. The projection host 1101 may include a processor 1103 and a memory 1104. The projection screen 1102 is used to display information such as graphics, text, icons, and videos.

[0087] The processor 1103 includes one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1103 can be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1103 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 6011 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1103 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0088] The memory 1104 may include one or more computer-readable storage media, which may be non-transitory. The memory 1104 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1104 is used to store at least one instruction, which is used to be executed by the processor 1104 to implement the correction method of the projection image provided by the method embodiment of the present application.

[0089] Those skilled in the art will understand that Fig.11 The structure shown in the figure does not constitute a limitation on the laser projection device 1100, and may include more or less components than those shown in the figure, or combine certain components, or adopt a different component arrangement.

[0090] In some embodiments, a computer-readable storage medium is further provided, in which a computer program is stored, and when the computer program is executed by a processor, the steps of the method for correcting the projection image in the above embodiment are implemented. For example, the computer-readable storage medium may be a ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.

[0091] It is worth noting that the computer-readable storage medium mentioned in the embodiments of the present application may be a non-volatile storage medium, in other words, a non-transitory storage medium.

[0092] It should be understood that all or part of the steps to implement the above embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The computer instructions can be stored in the above-mentioned computer readable storage medium.

[0093] That is, in some embodiments, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the steps of the above-mentioned method for correcting the projection image.

[0094] It should be understood that the "at least one" mentioned herein refers to one or more, and "multiple" refers to two or more. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not limit them to be necessarily different.

[0095] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, data for storage, data for display, etc.) and signals involved in the embodiments of the present application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the images to be projected and the installation method of the projection host involved in the embodiments of the present application are obtained with full authorization.

[0096] The above-mentioned embodiments are provided for the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for correcting a projected image, characterized in that: Applied to a laser projection device, the laser projection device includes a projection host and a projection screen, and the method includes: Preliminarily calibrating the projection position of the image to be projected based on the calibration parameters, wherein the calibration parameters are determined based on the projection screen in the captured image when the projection host is in the basic installation mode, and the captured image is obtained by capturing the projection screen from the position of the projection host; In the case where the current installation mode of the projection host is different from the basic installation mode, based on the geometric relationship between the current installation mode and the basic installation mode, the projection position of the image to be projected after the preliminary correction is corrected again; The basic installation method refers to an installation method in which there is no image distortion after preliminary correction of the projection position of the image to be projected; The step of re-correcting the projection position of the image to be projected after the preliminary correction based on the geometric relationship between the current installation mode and the basic installation mode includes: If the geometric relationship between the current installation mode and the basic installation mode is an axially symmetrical relationship about the longitudinal axis, the maximum horizontal coordinate is subtracted from the horizontal coordinate in the projection position of the image to be projected after preliminary correction, and the vertical coordinate in the projection position of the image to be projected after preliminary correction is kept unchanged; if the geometric relationship between the current installation mode and the basic installation mode is an axially symmetrical relationship about the transverse axis, the maximum vertical coordinate is subtracted from the vertical coordinate in the projection position of the image to be projected after preliminary correction, and the horizontal coordinate in the projection position of the image to be projected after preliminary correction is kept unchanged; if the geometric relationship between the current installation mode and the basic installation mode is a centrally symmetrical relationship, the maximum horizontal coordinate is subtracted from the horizontal coordinate in the projection position of the image to be projected after preliminary correction, and the maximum vertical coordinate is subtracted from the vertical coordinate in the projection position of the image to be projected after preliminary correction. The maximum horizontal coordinate refers to the maximum horizontal coordinate of the picture projected by the projection host to the projection screen, and the maximum vertical coordinate refers to the maximum vertical coordinate of the picture projected by the projection host to the projection screen.

2. The method according to claim 1, characterized in that The installation method of the projection host includes a desktop front projection method, a desktop rear projection method, a ceiling-mounted front projection method or a ceiling-mounted rear projection method, and the basic installation method is any one of the desktop front projection method, the desktop rear projection method, the ceiling-mounted front projection method and the ceiling-mounted rear projection method.

3. A laser projection device, characterized in that: The laser projection device comprises a projection host and a projection screen, wherein the projection host is used for: Preliminarily calibrating the projection position of the image to be projected based on the calibration parameters, wherein the calibration parameters are determined based on the projection screen in the captured image when the projection host is in the basic installation mode, and the captured image is obtained by capturing the projection screen from the position of the projection host; In the case where the current installation mode of the projection host is different from the basic installation mode, based on the geometric relationship between the current installation mode and the basic installation mode, the projection position of the image to be projected after the preliminary correction is corrected again; The basic installation method refers to an installation method in which there is no image distortion after preliminary correction of the projection position of the image to be projected; The step of re-correcting the projection position of the image to be projected after the preliminary correction based on the geometric relationship between the current installation mode and the basic installation mode includes: If the geometric relationship between the current installation mode and the basic installation mode is an axially symmetrical relationship about the longitudinal axis, the maximum horizontal coordinate is subtracted from the horizontal coordinate in the projection position of the image to be projected after preliminary correction, and the vertical coordinate in the projection position of the image to be projected after preliminary correction is kept unchanged; if the geometric relationship between the current installation mode and the basic installation mode is an axially symmetrical relationship about the transverse axis, the maximum vertical coordinate is subtracted from the vertical coordinate in the projection position of the image to be projected after preliminary correction, and the horizontal coordinate in the projection position of the image to be projected after preliminary correction is kept unchanged; if the geometric relationship between the current installation mode and the basic installation mode is a centrally symmetrical relationship, the maximum horizontal coordinate is subtracted from the horizontal coordinate in the projection position of the image to be projected after preliminary correction, and the maximum vertical coordinate is subtracted from the vertical coordinate in the projection position of the image to be projected after preliminary correction. The maximum horizontal coordinate refers to the maximum horizontal coordinate of the picture projected by the projection host to the projection screen, and the maximum vertical coordinate refers to the maximum vertical coordinate of the picture projected by the projection host to the projection screen.

4. The laser projection device according to claim 3, characterized in that: The installation method of the projection host includes a desktop front projection method, a desktop rear projection method, a ceiling-mounted front projection method or a ceiling-mounted rear projection method, and the basic installation method is any one of the desktop front projection method, the desktop rear projection method, the ceiling-mounted front projection method and the ceiling-mounted rear projection method.