Method and device for determining projection yaw angle of projector and projector

By calculating the projection yaw angle of the projector and using the parameters of the camera and projection lens, the yaw angle of the projector is automatically corrected, which solves the problems of tedious manual correction and low accuracy and improves projection clarity.

CN117459691BActive Publication Date: 2024-09-24SHENZHEN XINZHILIAN SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311455871.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-03
Publication Date
2024-09-24
Estimated Expiration
2043-11-03

AI Technical Summary

Technical Problem

Existing projectors have cumbersome operations and low accuracy when manually inputting the projection yaw angle, resulting in low projection clarity.

Method used

Through the throw ratio of the camera, the distance from the camera to the projection screen and the distance from the projection lens to the projection screen, the size of the projection screen and the coordinates of the projection corner points are determined, and the projection yaw angle of the projector is automatically calculated by combining the rotation matrix and the coordinates of the characteristic corner points. and perform image correction.

Benefits of technology

It simplifies the calibration process of the projector and improves the accuracy of the projection yaw angle, thus improving the clarity of the projected image.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117459691B
    Figure CN117459691B
Patent Text Reader

Abstract

The present invention relates to a method, device and projector for determining a projection yaw angle of a projector in the technical field of projectors, comprising: determining the size of a projection picture of the projection lens on the projection screen according to a projection ratio of a camera of the projector, a first distance from the camera to the projection screen and a second distance from the projection lens of the projector to the projection screen; determining the projection corner point coordinates of the projection corner points projected by the projection lens on the projection screen according to the projection picture size and the second distance; determining the feature corner point coordinates of each projection corner point acquired by the camera according to a rotation matrix and the projection corner point coordinates; determining the projection yaw angle of the projector according to the feature corner point coordinates, the projection corner point coordinates, the lens origin coordinates of the lens origin where the projection lens is located and the projection ratio of the camera; and correcting the image to be projected according to the projection yaw angle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of projectors, and in particular to a method and device for determining a projection yaw angle of a projector, and a projector. Background Art

[0002] The projection yaw angle of the projector can determine the correction information of the projector, so that the projector corrected according to the projection yaw angle can project the best clarity picture under the condition of auto focus. In related scenarios, the projection yaw angle is usually input manually, which requires multiple attempts to input, and finally obtain a more accurate projection yaw angle, and then manually calibrate the projector according to the projection yaw angle. This not only has the technical problem of cumbersome operation, but also has the technical problem of low accuracy of the projection yaw angle, resulting in low projection clarity. Summary of the invention

[0003] The object of the present invention is to provide a method, device and projector for determining the projection yaw angle of a projector, aiming to solve the technical problems that manually setting the projection yaw angle to calibrate the projector in relevant scenarios is cumbersome, and the projection yaw angle has low accuracy, resulting in low projection clarity.

[0004] In order to achieve the above-mentioned object, a first aspect of an embodiment of the present disclosure provides a method for determining a projection yaw angle of a projector, the method comprising:

[0005] A method for determining a projection yaw angle of a projector, characterized in that the method comprises:

[0006] Determine the size of the projection image of the projection lens on the projection screen according to the projection ratio of the camera of the projector, the first distance from the camera to the projection screen, and the second distance from the projection lens of the projector to the projection screen;

[0007] Determine the coordinates of a projection corner point of a projection lens projected on the projection screen according to the size of the projection picture and the second distance;

[0008] Determine the feature corner point coordinates for each of the projection corner points acquired by the camera according to the rotation matrix and the projection corner point coordinates;

[0009] Determine the projection yaw angle of the projector according to the feature corner point coordinates, the projection corner point coordinates, the lens origin coordinates of the lens origin where the projection lens is located, and the projection ratio of the camera;

[0010] The image to be projected is corrected according to the projection yaw angle.

[0011] In one possible implementation manner, determining the projection yaw angle of the projector according to the feature corner point coordinates, the projection corner point coordinates, the lens origin coordinates of the lens origin where the projection lens is located, and the projection ratio of the camera includes:

[0012] According to the coordinates of each of the feature corner points and the projection ratio of the camera, a corresponding optimal search point is searched on an extension line of a line connecting the coordinates of the lens origin of the projection lens and the coordinates of each of the feature corner points, wherein each of the optimal search points is a point at which a first space vector formed by the coordinates of each feature corner point and the coordinates of the lens origin of the lens is best close to a second space vector formed by the coordinates of the corresponding projection corner point and the coordinates of the lens origin of the lens;

[0013] Determine the distance from each of the best search points to the lens origin according to the coordinates of each of the best search points and the lens origin coordinates of the lens origin where the projection lens is located;

[0014] Determine, according to the distance from each of the optimal search points to the lens origin, a plane vector of the projection surface formed by the projection corner point coordinates relative to the lens origin where the projection lens is located;

[0015] The projection yaw angle of the projector is determined according to the plane vector and the distances corresponding to the optimal search points.

[0016] In one possible implementation manner, determining the projection yaw angle of the projector according to the plane vector and the distances corresponding to each of the optimal search points includes:

[0017] On the extension line of the line connecting the coordinates of the lens origin of the projection lens and the coordinates of each of the characteristic corner points, a third space vector is constructed with the distance corresponding to each of the optimal search points;

[0018] The angle between each of the third space vectors and the plane vector is calculated to obtain a projection yaw angle of the projector.

[0019] In one possible implementation, determining the size of a projection image of the projection lens on the projection screen according to a projection ratio of a camera of the projector, a first distance from the camera to the projection screen, and a second distance from the projection lens of the projector to the projection screen includes:

[0020] Determining the projection ratio of the projection lens according to the projection ratio of the camera of the projector, a first distance from the camera to the projection screen, and a second distance from the projection lens of the projector to the projection screen;

[0021] The size of the projection image of the projector on the projection screen is determined according to the projection ratio of the projection lens and the second distance.

[0022] In one possible implementation manner, determining the size of the projection image of the projector on the projection screen according to the projection ratio of the projection lens and the second distance includes:

[0023] Determining a projection width of the projection lens on the projection screen according to a ratio between the second distance and the projection ratio of the projection lens;

[0024] Determining the projection height of the projection lens on the projection screen according to the projection width and a preset formula;

[0025] The size of the projection image of the projection lens on the projection screen is determined according to the projection width and the projection height.

[0026] In one possible implementation, the size of the projection image of the projector on the projection screen is determined by the following formula:

[0027] S = W × H;

[0028] W = d2 / cr2;

[0029] H = W × 9 / 16;

[0030] Wherein, S is the projection screen size, W is the projection width, H is the projection height, d2 is the second distance, cr2 is the projection ratio of the projection lens, and D H / D W is the ratio of the projection height to the projection width.

[0031] In one possible implementation, determining the projection ratio of the projection lens according to the projection ratio of the camera of the projector, a first distance from the camera to the projection screen, and a second distance from the projection lens of the projector to the projection screen includes:

[0032] Calculate the product of the projection ratio of the camera of the projector and the second distance from the projection lens of the projector to the projection screen to obtain projection parameters;

[0033] The ratio of the projection parameter to the first distance from the camera to the projection screen is determined as the projection ratio of the projection lens.

[0034] According to a second aspect of the embodiments of the present disclosure, a device for determining a projection yaw angle of a projector is provided, the device comprising:

[0035] A first determination module is configured to determine the size of a projection image of the projection lens on the projection screen according to a projection ratio of the camera of the projector, a first distance from the camera to the projection screen, and a second distance from the projection lens of the projector to the projection screen;

[0036] A second determination module is configured to determine the coordinates of a projection corner point of a projection corner point projected by the projection lens on the projection screen according to the size of the projection picture and the second distance;

[0037] A third determination module is configured to determine the feature corner point coordinates for each of the projection corner points acquired by the camera according to the rotation matrix and the projection corner point coordinates;

[0038] a fourth determination module, configured to determine a projection yaw angle of the projector according to the feature corner point coordinates, the projection corner point coordinates, the lens origin coordinates of the lens origin where the projection lens is located, and the projection ratio of the camera;

[0039] The correction module is configured to correct the image to be projected according to the projection yaw angle.

[0040] In one possible implementation manner, the fourth determining module is configured to:

[0041] According to the coordinates of each of the feature corner points and the projection ratio of the camera, a corresponding optimal search point is searched on an extension line of a line connecting the coordinates of the lens origin of the projection lens and the coordinates of each of the feature corner points, wherein each of the optimal search points is a point at which a first space vector formed by the coordinates of each feature corner point and the coordinates of the lens origin of the lens is best close to a second space vector formed by the coordinates of the corresponding projection corner point and the coordinates of the lens origin of the lens;

[0042] Determine the distance from each of the best search points to the lens origin according to the coordinates of each of the best search points and the lens origin coordinates of the lens origin where the projection lens is located;

[0043] Determine, according to the distance from each of the optimal search points to the lens origin, a plane vector of the projection surface formed by the projection corner point coordinates relative to the lens origin where the projection lens is located;

[0044] The projection yaw angle of the projector is determined according to the plane vector and the distances corresponding to the optimal search points.

[0045] In one possible implementation manner, the fourth determining module is configured to:

[0046] On the extension line of the line connecting the coordinates of the lens origin of the projection lens and the coordinates of each of the characteristic corner points, a third space vector is constructed with the distance corresponding to each of the optimal search points;

[0047] The angle between each of the third space vectors and the plane vector is calculated to obtain a projection yaw angle of the projector.

[0048] In one possible implementation manner, the first determining module is configured to:

[0049] Determining the projection ratio of the projection lens according to the projection ratio of the camera of the projector, a first distance from the camera to the projection screen, and a second distance from the projection lens of the projector to the projection screen;

[0050] The size of the projection image of the projector on the projection screen is determined according to the projection ratio of the projection lens and the second distance.

[0051] In one possible implementation manner, the first determining module is configured to:

[0052] Determining a projection width of the projection lens on the projection screen according to a ratio between the second distance and the projection ratio of the projection lens;

[0053] Determining the projection height of the projection lens on the projection screen according to the projection width and a preset formula;

[0054] The size of the projection image of the projection lens on the projection screen is determined according to the projection width and the projection height.

[0055] In one possible implementation, the size of the projection image of the projector on the projection screen is determined by the following formula:

[0056] S = W × H;

[0057] W = d2 / cr2;

[0058] H = W × 9 / 16;

[0059] Wherein, S is the projection screen size, W is the projection width, H is the projection height, d2 is the second distance, cr2 is the projection ratio of the projection lens, and D H / D W is the ratio of the projection height to the projection width.

[0060] In one possible implementation manner, the first determining module is configured to:

[0061] Calculate the product of the projection ratio of the camera of the projector and the second distance from the projection lens of the projector to the projection screen to obtain projection parameters;

[0062] The ratio of the projection parameter to the first distance from the camera to the projection screen is determined as the projection ratio of the projection lens.

[0063] According to a third aspect of the embodiments of the present disclosure, a projector is provided, including:

[0064] processor;

[0065] a memory for storing processor-executable instructions;

[0066] The processor is configured to execute executable instructions stored in the memory to perform the method described in any one of the first aspects.

[0067] The present invention provides a method and device for determining the projection yaw angle of a projector and a projector. Compared with the prior art, the present invention has the following beneficial effects:

[0068] According to the projection ratio of the camera of the projector, the first distance from the camera to the projection screen, and the second distance from the projection lens of the projector to the projection screen, the size of the projection screen of the projection lens on the projection screen is determined; according to the size of the projection screen and the second distance, the projection corner point coordinates of the projection corner points projected by the projection lens on the projection screen are determined; according to the rotation matrix and the projection corner point coordinates, the characteristic corner point coordinates for each projection corner point acquired by the camera are determined; according to the characteristic corner point coordinates, the projection corner point coordinates, the lens origin coordinates of the lens origin where the projection lens is located, and the projection ratio of the camera, the projection yaw angle of the projector is determined. The projector can automatically determine the projection yaw angle of the projector according to the projection ratio of the camera, the rotation matrix, the first distance from the camera to the projection screen, and the second distance from the projection lens of the projector to the projection screen, and correct the image to be projected according to the projection yaw angle. Not only can the tedious adjustment process caused by manual operation be avoided, but also the accuracy of the determination of the projection yaw angle can be improved, thereby improving the clarity of the projector projection picture.

[0069] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:

[0071] Figure 1It is a flow chart of a method for determining a projection yaw angle of a projector according to an embodiment of the specification.

[0072] Figure 2 It is a projection schematic diagram shown according to an embodiment of the specification.

[0073] Figure 3 It is a schematic diagram of various angles of a projector shown according to an embodiment of the specification.

[0074] Figure 4 This is an implementation shown in the embodiment of the specification. Figure 1 Flowchart of step S14 in FIG.

[0075] Figure 5 This is an implementation shown in the embodiment of the specification. Figure 1 Flowchart of step S11 in FIG.

[0076] Figure 6 This is an implementation shown in the embodiment of the specification. Figure 5 Flowchart of step S112 in FIG.

[0077] Figure 7 It is a block diagram of a device for determining a projection yaw angle of a projector according to an embodiment of the specification. DETAILED DESCRIPTION

[0078] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0079] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.

[0080] In order to achieve the above object, the present disclosure provides a method for determining a projection yaw angle of a projector. Figure 1 The following is a flow chart of a method for determining a projection yaw angle of a projector according to an embodiment. The method comprises:

[0081] In step S11, the size of the projection image of the projection lens on the projection screen is determined according to the projection ratio of the camera of the projector, the first distance from the camera to the projection screen, and the second distance from the projection lens of the projector to the projection screen.

[0082] In the embodiment of the present disclosure, the projector is configured with a camera and a projection lens, wherein the projection lens may be an LCD lens, see Figure 2 As shown, the camera and the projection lens are on the same straight line relative to the projection screen.

[0083] In the disclosed embodiments, the projection ratio is also called the transmission coefficient, which refers to the ratio of the transmitted light flux to the incident light flux. Its value depends on the direction of the incident light, the molecular structure and thickness of the material. In other words, the projection ratio of the camera can be directly determined based on the transmitted light flux and the incident light flux of the camera.

[0084] Among them, the first distance from the camera to the projection screen refers to the minimum distance from the camera to the projection screen, and the second distance from the projection lens to the projection screen refers to the minimum distance from the projection lens to the projection screen. Originally, the first distance and the second distance should be equal, but because the position of the projector cannot be absolutely parallel to the projection screen, there is a difference between the first distance and the second distance.

[0085] In step S12, the coordinates of the projection corner point of the projection corner point projected by the projection lens on the projection screen are determined according to the projection screen size and the second distance.

[0086] Among them, continue to see Figure 2 As shown in the figure, the projection lens projects a projection image with ABCD as the projection corner point, and the camera captures the corresponding image with abcd as the feature point. The optimal installation angle Cx, Cy, Cz is found through wireless approximation to make the theoretical and actual abcd captured by the camera close. Among them, the installation angle Cx, Cy, Cz is the angle between the lens origin P where the projection lens is located and the origin Q where the camera is located.

[0087] The specific calibration parameters are as follows:

[0088] W = d2 / cr2, H = W*D H / D W , Z=2000mm

[0089] Then the coordinates of the projection corner point A are: (-W / 2,H / 2,Z)

[0090] The coordinates of the projection corner point B are: (W / 2, H / 2, Z)

[0091] The coordinates of the projection corner point C are: C(-W / 2.-H / 2,Z)

[0092] The coordinates of the projection corner point D are: D(W / 2,H / 2,Z)

[0093] In step S13, the feature corner point coordinates for each of the projection corner points acquired by the camera are determined according to the rotation matrix and the projection corner point coordinates;

[0094] In the disclosed embodiment, the coordinates of the feature points abcd corresponding to the camera are obtained by rotating the installation angles Cx, Cy, and Cz and normalizing them by the projection ratio cr1 of the camera. The installation angles Cx, Cy, and Cz are rotated by a rotation matrix.

[0095] The rotation matrix can be expressed as follows:

[0096]

[0097] Among them, R z is the yaw matrix parameter, R y is the pitch matrix parameter, R x is the roll matrix parameter, yaw is the yaw angle, pitch is the pitch angle, and roll is the roll angle.

[0098] In step S14, the projection yaw angle of the projector is determined according to the feature corner point coordinates, the projection corner point coordinates, the lens origin coordinates of the lens origin where the projection lens is located, and the projection ratio of the camera.

[0099] See also Figure 3 As shown, after the projector is in the initial posture after the initial calibration, a three-dimensional coordinate system is established based on the initial posture of the projector. Figure 3 As shown in the figure, the X axis is the projection direction of the projector in the initial posture in the horizontal plane, the Y axis is the direction perpendicular to the X axis in the horizontal plane, and the Z axis is the vertical direction. The yaw angle Yaw is the angle around the Z axis in the system space coordinate system. Other angles may also include the roll angle Roll around the x axis and the pitch angle Pitch around the y axis.

[0100] Among them, the yaw angle is the offset of the projector's angular deflection around the Z axis. When the projector yaws, the projector rotates around the Z axis, that is, the XY plane rotates around the Z axis, forming the X1Y1 plane after rotation. The angle γ formed by the X axis and the X1 axis (or the angle γ formed by the Y axis and the Y1 axis) is the yaw angle of the projector.

[0101] In step S15, the image to be projected is corrected according to the projection yaw angle.

[0102] The offset of the image to be projected in the direction around the Z axis is corrected according to the projection yaw angle, so that the image to be projected can avoid offset around the Z axis and avoid distortion of the projected image.

[0103] In one embodiment, if the projector also has roll offset and pitch offset around the X-axis and the Y-axis, the roll offset angle and the pitch offset angle can be determined in combination with the existing technology, and then the projected image can be corrected according to the projection yaw angle, roll offset angle and pitch offset angle.

[0104] The above technical solution determines the size of the projection screen of the projection lens on the projection screen according to the projection ratio of the camera of the projector, the first distance from the camera to the projection screen, and the second distance from the projection lens of the projector to the projection screen; determines the projection corner point coordinates of the projection corner points projected by the projection lens on the projection screen according to the projection screen size and the second distance; determines the feature corner point coordinates for each projection corner point acquired by the camera according to the rotation matrix and the projection corner point coordinates; determines the projection yaw angle of the projector according to the feature corner point coordinates, the projection corner point coordinates, the lens origin coordinates of the lens origin where the projection lens is located, and the projection ratio of the camera. The projector can automatically determine the projection yaw angle of the projector according to the projection ratio of the camera, the rotation matrix, the first distance from the camera to the projection screen, and the second distance from the projection lens of the projector to the projection screen, and correct the projected image according to the projection yaw angle. Not only can the tedious adjustment process caused by manual correction operations be avoided, but also the accuracy of determining the projection yaw angle can be improved, thereby improving the clarity of the projected image of the projector.

[0105] In one possible implementation, see Figure 4 As shown, in step S14, determining the projection yaw angle of the projector according to the feature corner point coordinates, the projection corner point coordinates, the lens origin coordinates of the lens origin where the projection lens is located, and the projection ratio of the camera includes:

[0106] In step S141, according to the coordinates of each feature corner point and the projection ratio of the camera, a corresponding optimal search point is searched on the extension line of the line connecting the coordinates of the lens origin of the projection lens and the coordinates of each feature corner point.

[0107] Among them, each of the optimal search points is a point where the first space vector formed by the coordinates of each feature corner point and the coordinates of the lens origin of the lens where it is located is best close to the second space vector formed by the coordinates of the corresponding projection corner point and the coordinates of the lens origin of the lens where it is located.

[0108] In step S142, the distance from each of the best search points to the lens origin is determined according to the coordinates of each of the best search points and the lens origin coordinates of the lens origin where the projection lens is located.

[0109] It can be understood that the distance from each of the best search points to the lens origin is obtained by calculating the Euclidean distance between the coordinates of each of the best search points and the lens origin coordinates of the projection lens.

[0110] In step S143, according to the distance from each of the optimal search points to the lens origin, a plane vector of the projection surface formed by the projection corner point coordinates relative to the lens origin where the projection lens is located is determined.

[0111] According to the distance from each optimal search point to the lens origin, the normal vector of the projection surface formed by the projection corner point coordinates relative to the lens origin where the projection lens is located is determined, and the plane vector can be obtained according to the normal vector.

[0112] In step S144, the projection yaw angle of the projector is determined according to the plane vector and the distances corresponding to the optimal search points.

[0113] In the disclosed embodiment, the deflection angle of the corresponding feature corner point coordinates relative to the plane vector can be calculated according to the distance corresponding to each of the optimal search points, and the projection yaw angle of the projector can be calculated according to the multiple deflection angles.

[0114] In one possible implementation, in step S143, determining the projection yaw angle of the projector according to the plane vector and the distances corresponding to the optimal search points includes:

[0115] On the extension line of the line connecting the coordinates of the lens origin of the projection lens and the coordinates of each of the characteristic corner points, a third space vector is constructed with the distance corresponding to each of the optimal search points.

[0116] It can be understood that the direction of each third space vector is the direction of the line connecting the lens origin coordinates of the projection lens and the coordinates of each feature corner point, and the magnitude is numerically equal to the distance corresponding to the corresponding optimal search point.

[0117] The angle between each of the third space vectors and the plane vector is calculated to obtain a projection yaw angle of the projector.

[0118] In the disclosed embodiment, based on the calculation principle of vector dot product, vector α multiplied by cosβ is the projection length of vector α on vector γ, then each third space vector is multiplied by cosβ to obtain the projection length of the third space vector on the projection screen (i.e., the plane vector), and the value of β is calculated in reverse, and according to the trigonometric function relationship, the projection yaw angle of the projector can be obtained.

[0119] In one possible implementation, see Figure 5As shown, in step S11, determining the size of the projection image of the projection lens on the projection screen according to the projection ratio of the camera of the projector, the first distance from the camera to the projection screen, and the second distance from the projection lens of the projector to the projection screen includes:

[0120] In step S111, the projection ratio of the projection lens is determined according to the projection ratio of the camera of the projector, a first distance from the camera to the projection screen, and a second distance from the projection lens of the projector to the projection screen.

[0121] In step S112, the size of the projection image of the projector on the projection screen is determined according to the projection ratio of the projection lens and the second distance.

[0122] In one possible implementation, see Figure 6 As shown, in step S112, determining the size of the projection image of the projector on the projection screen according to the projection ratio of the projection lens and the second distance includes:

[0123] In step S1121, a projection width of the projection lens on the projection screen is determined according to a ratio between the second distance and a projection ratio of the projection lens;

[0124] In step S1122, the projection height of the projection lens on the projection screen is determined according to the projection width and a preset formula.

[0125] The preset formula is used to express the ratio between the projection width and the projection height. For example, projection width: projection height = 16:9, projection width: projection height = 4:3.

[0126] In step S1123, the size of the projection image of the projection lens on the projection screen is determined according to the projection width and the projection height.

[0127] The product of the projection width and the projection height is determined as the size of the projection image of the projection lens on the projection screen.

[0128] In one possible implementation, the size of the projection image of the projector on the projection screen is determined by the following formula:

[0129] S = W × H;

[0130] W = d2 / cr2;

[0131] H=W×D H / D W ;

[0132] Wherein, S is the projection screen size, W is the projection width, H is the projection height, d2 is the second distance, cr2 is the projection ratio of the projection lens, and D H / D W is the ratio of the projection height to the projection width.

[0133] In one possible implementation, in step S111, determining the projection ratio of the projection lens according to the projection ratio of the camera of the projector, a first distance from the camera to the projection screen, and a second distance from the projection lens of the projector to the projection screen includes:

[0134] Calculate the product of the projection ratio of the camera of the projector and the second distance from the projection lens of the projector to the projection screen to obtain projection parameters;

[0135] The ratio of the projection parameter to the first distance from the camera to the projection screen is determined as the projection ratio of the projection lens.

[0136] In the embodiment of the present disclosure, the throw ratio of the projection lens can be calculated by the following formula:

[0137] cr2=cr1×u2 / u1;

[0138] Wherein, cr2 is the projection ratio of the projection lens, cr1 is the projection ratio of the camera, u2 is the second distance from the projection lens to the projection screen, and u1 is the first distance from the camera to the projection screen.

[0139] The throw ratio of the projection lens at any second distance can be obtained through the above formula.

[0140] The present disclosure also provides a device for determining a projection yaw angle of a projector. Figure 7 As shown, the device comprises:

[0141] A first determining module 710 is configured to determine the size of a projection image of the projection lens on the projection screen according to a projection ratio of the camera of the projector, a first distance from the camera to the projection screen, and a second distance from the projection lens of the projector to the projection screen;

[0142] The second determination module 720 is configured to determine the coordinates of the projection corner point of the projection lens on the projection screen according to the projection screen size and the second distance;

[0143] The third determination module 730 is configured to determine the feature corner point coordinates for each of the projection corner points acquired by the camera according to the rotation matrix and the projection corner point coordinates;

[0144] A fourth determination module 740 is configured to determine a projection yaw angle of the projector according to the feature corner point coordinates, the projection corner point coordinates, the lens origin coordinates of the lens origin where the projection lens is located, and the projection ratio of the camera;

[0145] The correction module 750 is configured to correct the image to be projected according to the projection yaw angle.

[0146] In one possible implementation, the fourth determining module 740 is configured to:

[0147] According to the coordinates of each of the feature corner points and the projection ratio of the camera, a corresponding optimal search point is searched on an extension line of a line connecting the coordinates of the lens origin of the projection lens and the coordinates of each of the feature corner points, wherein each of the optimal search points is a point at which a first space vector formed by the coordinates of each feature corner point and the coordinates of the lens origin of the lens is best close to a second space vector formed by the coordinates of the corresponding projection corner point and the coordinates of the lens origin of the lens;

[0148] Determine the distance from each of the best search points to the lens origin according to the coordinates of each of the best search points and the lens origin coordinates of the lens origin where the projection lens is located;

[0149] Determine, according to the distance from each of the optimal search points to the lens origin, a plane vector of the projection surface formed by the projection corner point coordinates relative to the lens origin where the projection lens is located;

[0150] The projection yaw angle of the projector is determined according to the plane vector and the distances corresponding to the optimal search points.

[0151] In one possible implementation, the fourth determining module 740 is configured to:

[0152] On the extension line of the line connecting the coordinates of the lens origin of the projection lens and the coordinates of each of the characteristic corner points, a third space vector is constructed with the distance corresponding to each of the optimal search points;

[0153] The angle between each of the third space vectors and the plane vector is calculated to obtain a projection yaw angle of the projector.

[0154] In one possible implementation, the first determining module 710 is configured to:

[0155] Determining the projection ratio of the projection lens according to the projection ratio of the camera of the projector, a first distance from the camera to the projection screen, and a second distance from the projection lens of the projector to the projection screen;

[0156] The size of the projection image of the projector on the projection screen is determined according to the projection ratio of the projection lens and the second distance.

[0157] In one possible implementation, the first determining module 710 is configured to:

[0158] Determining a projection width of the projection lens on the projection screen according to a ratio between the second distance and the projection ratio of the projection lens;

[0159] Determining the projection height of the projection lens on the projection screen according to the projection width and a preset formula;

[0160] The size of the projection image of the projection lens on the projection screen is determined according to the projection width and the projection height.

[0161] In one possible implementation, the size of the projection image of the projector on the projection screen is determined by the following formula:

[0162] S = W × H;

[0163] W = d2 / cr2;

[0164] H = W × 9 / 16;

[0165] Wherein, S is the projection screen size, W is the projection width, H is the projection height, d2 is the second distance, cr2 is the projection ratio of the projection lens, and D H / D W is the ratio of the projection height to the projection width.

[0166] In one possible implementation, the first determining module 710 is configured to:

[0167] Calculate the product of the projection ratio of the camera of the projector and the second distance from the projection lens of the projector to the projection screen to obtain projection parameters;

[0168] The ratio of the projection parameter to the first distance from the camera to the projection screen is determined as the projection ratio of the projection lens.

[0169] The present disclosure also provides a projector, including:

[0170] processor;

[0171] a memory for storing processor-executable instructions;

[0172] The processor is configured to execute executable instructions stored in the memory to perform the method described in any one of the aforementioned embodiments.

[0173] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments; within the technical concept of the present disclosure, various changes, modifications, substitutions and variations may be made to these embodiments, and these changes, modifications, substitutions and variations all fall within the protection scope of the present disclosure.

[0174] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any appropriate manner without contradiction, and they should also be regarded as the contents disclosed in this disclosure. In order to avoid unnecessary repetition, this disclosure will not further describe various possible combinations. The technical scope of this application is not limited to the contents in the specification, and its technical scope must be determined according to the scope of the claims.

Claims

1. A method for determining a projection yaw angle of a projector, characterized in that: The method comprises: Determine the size of the projection image of the projection lens on the projection screen according to the projection ratio of the camera of the projector, the first distance from the camera to the projection screen, and the second distance from the projection lens of the projector to the projection screen; Determine the coordinates of a projection corner point of a projection lens projected on the projection screen according to the size of the projection picture and the second distance; Determine the feature corner point coordinates for each of the projection corner points acquired by the camera according to the rotation matrix and the projection corner point coordinates; Determine the projection yaw angle of the projector according to the feature corner point coordinates, the projection corner point coordinates, the lens origin coordinates of the lens origin where the projection lens is located, and the projection ratio of the camera; Wherein, determining the projection yaw angle of the projector according to the feature corner point coordinates, the projection corner point coordinates, the lens origin coordinates of the lens origin where the projection lens is located, and the projection ratio of the camera includes: According to the coordinates of each of the feature corner points and the projection ratio of the camera, a corresponding optimal search point is searched on an extension line of a line connecting the coordinates of the lens origin of the projection lens and the coordinates of each of the feature corner points, wherein each of the optimal search points is a point at which a first space vector formed by the coordinates of each feature corner point and the coordinates of the lens origin of the lens is best close to a second space vector formed by the coordinates of the corresponding projection corner point and the coordinates of the lens origin of the lens; Determine the distance from each of the best search points to the lens origin according to the coordinates of each of the best search points and the lens origin coordinates of the lens origin where the projection lens is located; Determine, according to the distance from each of the optimal search points to the lens origin, a plane vector of the projection surface formed by the projection corner point coordinates relative to the lens origin where the projection lens is located; Determining a projection yaw angle of the projector according to the plane vector and the distances corresponding to the optimal search points; Wherein, determining the projection yaw angle of the projector according to the plane vector and the distances corresponding to each of the optimal search points includes: On the extension line of the line connecting the coordinates of the lens origin of the projection lens and the coordinates of each of the characteristic corner points, a third space vector is constructed with the distance corresponding to each of the optimal search points; The angle between each of the third space vectors and the plane vector is calculated to obtain a projection yaw angle of the projector.

2. The method according to claim 1, characterized in that The determining, according to the projection ratio of the camera of the projector, a first distance from the camera to the projection screen, and a second distance from the projection lens of the projector to the projection screen, a size of a projection image of the projection lens on the projection screen comprises: Determining the projection ratio of the projection lens according to the projection ratio of the camera of the projector, a first distance from the camera to the projection screen, and a second distance from the projection lens of the projector to the projection screen; The size of the projection image of the projector on the projection screen is determined according to the projection ratio of the projection lens and the second distance.

3. The method according to claim 2, characterized in that Determining the size of the projection image of the projector on the projection screen according to the projection ratio of the projection lens and the second distance includes: Determining a projection width of the projection lens on the projection screen according to a ratio between the second distance and the projection ratio of the projection lens; Determining the projection height of the projection lens on the projection screen according to the projection width and a preset formula; The size of the projection image of the projection lens on the projection screen is determined according to the projection width and the projection height.

4. The method according to claim 3, characterized in that The size of the projection image of the projector on the projection screen is determined by the following formula: S = W × H; W = d2 / cr2; H = W × 9 / 16; Among them, S is the size of the projection screen, W is the projection width, H is the projection height, d2 is the second distance, and cr2 is the projection ratio of the projection lens.

5. The method according to claim 2, characterized in that: The determining the projection ratio of the projection lens according to the projection ratio of the camera of the projector, a first distance from the camera to the projection screen, and a second distance from the projection lens of the projector to the projection screen comprises: Calculate the product of the projection ratio of the camera of the projector and the second distance from the projection lens of the projector to the projection screen to obtain projection parameters; The ratio of the projection parameter to the first distance from the camera to the projection screen is determined as the projection ratio of the projection lens.

6. A device for determining a projection yaw angle of a projector, characterized in that: The device comprises: A first determination module is configured to determine the size of a projection image of the projection lens on the projection screen according to a projection ratio of the camera of the projector, a first distance from the camera to the projection screen, and a second distance from the projection lens of the projector to the projection screen; A second determination module is configured to determine the coordinates of a projection corner point of a projection corner point projected by the projection lens on the projection screen according to the size of the projection picture and the second distance; A third determination module is configured to determine the feature corner point coordinates for each of the projection corner points acquired by the camera according to the rotation matrix and the projection corner point coordinates; a fourth determination module, configured to determine a projection yaw angle of the projector according to the feature corner point coordinates, the projection corner point coordinates, the lens origin coordinates of the lens origin where the projection lens is located, and the projection ratio of the camera; Wherein, the fourth determining module is configured as follows: According to the coordinates of each of the feature corner points and the projection ratio of the camera, a corresponding optimal search point is searched on an extension line of a line connecting the coordinates of the lens origin of the projection lens and the coordinates of each of the feature corner points, wherein each of the optimal search points is a point at which a first space vector formed by the coordinates of each feature corner point and the coordinates of the lens origin of the lens is best close to a second space vector formed by the coordinates of the corresponding projection corner point and the coordinates of the lens origin of the lens; Determine the distance from each of the best search points to the lens origin according to the coordinates of each of the best search points and the lens origin coordinates of the lens origin where the projection lens is located; Determine, according to the distance from each of the optimal search points to the lens origin, a plane vector of the projection surface formed by the projection corner point coordinates relative to the lens origin where the projection lens is located; Determining a projection yaw angle of the projector according to the plane vector and the distances corresponding to the optimal search points; Wherein, the fourth determining module is configured as follows: On the extension line of the line connecting the coordinates of the lens origin of the projection lens and the coordinates of each of the characteristic corner points, a third space vector is constructed with the distance corresponding to each of the optimal search points; The angle between each of the third space vectors and the plane vector is calculated to obtain a projection yaw angle of the projector.

7. A projector, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute executable instructions stored in the memory to perform the method according to any one of claims 1 to 5.