Projector control method, device, equipment, and readable storage medium

The method and device automatically adjust projector parameters to maintain rectangular projections after posture changes, enhancing user experience by eliminating the need for manual intervention and correcting trapezoidal distortions using digital micro-mirror technology.

CN115767044BActive Publication Date: 2024-12-17CHENGDU XGIMI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111027930.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-02
Publication Date
2024-12-17
Estimated Expiration
2041-09-02

AI Technical Summary

Technical Problem

Existing projector image correction methods are inefficient and require manual or semi-manual intervention for real-time adjustment of projected images after changes in projector posture, leading to suboptimal user experiences.

Method used

A method and device that automatically adjust projection parameters in response to changes in projector posture by acquiring and utilizing posture change parameters to project a rectangular image without human intervention, utilizing digital micro-mirror technology to correct trapezoidal distortions.

Benefits of technology

Enables real-time, high-accuracy correction of projected images to maintain rectangular shape post-posture change, improving user experience and eliminating cumulative errors from manual corrections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115767044B_ABST
    Figure CN115767044B_ABST
Patent Text Reader

Abstract

The present application provides a control method and device, equipment, and readable storage medium for a projector. In response to the projector changing from a first posture to a second posture, a change parameter is obtained, and a second parameter of the projector in the second posture is determined based on the first parameter and the change parameter. The projector is controlled to project a rectangular projection screen in the second posture using the second parameter. The first parameter is the projection parameter of the projector in the first posture, and the second parameter is the projection parameter of the projector in the second posture. It can be seen that when the posture of the projector changes, the projector is controlled to project a rectangular projection screen based on the projection parameters of different postures and the change parameters indicating the change of posture. No human intervention is required, so it has high real-time performance. Because the projection parameters include the position of the projection spot and the position of the rectangular projection screen, the method of obtaining the control parameters is easy to implement, which can further improve the real-time performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic information, and in particular to a control method and device, equipment, and readable storage medium for a projector. Background Art

[0002] A projector is a commonly used electronic device. In order to obtain a better user experience, the projection image projected by the projector is usually calibrated into a rectangle.

[0003] In the prior art, a manual or semi-manual method is usually used to achieve rectangular correction of the projected image. The manual method is, for example, manually adjusting a device on the projector, and the semi-manual method is, for example, manually triggering the software running in the projector to achieve trapezoidal correction of the projected image (i.e., from trapezoidal correction to rectangular correction). Summary of the invention

[0004] The inventors found in the process of research that in practice, the position and / or posture (hereinafter referred to as posture) of the projector needs to be changed to facilitate changing the projection direction. After the posture of the projector is changed, the projected image may no longer be a rectangle. Therefore, there is a need to correct the projected image to a rectangle following the posture adjustment of the projector. However, the existing correction method needs to be improved in real time in practical applications.

[0005] The present application provides a control method and device, equipment, and readable storage medium for a projector, the purpose of which is to solve the problem of how to improve the real-time performance of trapezoidal correction of a projected image.

[0006] In order to achieve the above objectives, this application provides the following technical solutions:

[0007] A method for controlling a projector, comprising:

[0008] In response to the projector changing from a first posture to a second posture, acquiring a change parameter, wherein the change parameter is a posture change parameter of the projector changing from the first posture to the second posture;

[0009] Determine a second parameter according to the first parameter and the change parameter, wherein the first parameter is a projection parameter of the projector in the first posture, and the second parameter is a projection parameter of the projector in the second posture, and the projection parameter includes a position of a projection spot and a position of a rectangular projection screen;

[0010] The projector is controlled to project a rectangular projection image at the second posture using the second parameter.

[0011] Optionally, the process of obtaining the first parameter includes:

[0012] Acquire the number of digital micro-mirrors of the projector that are turned on in the first posture and correspond to the target position of the projection spot; the target position includes a pre-specified row or column;

[0013] According to the ratio of the number of digital micro-mirrors at the target position, the first light spot is adjusted to obtain a second light spot; the first light spot is a light spot obtained by projecting the projector at the position indicated by the first posture in a preset standard posture;

[0014] The position of the second light spot is used as the position of the projection light spot of the first posture.

[0015] Optionally, the process of acquiring the first light spot includes:

[0016] Obtaining the projection distance of the projector in the first posture;

[0017] The light spot of the projection area model of the projector pre-configured at the projection distance is used as the first light spot.

[0018] Optionally, determining the second parameter according to the first parameter and the change parameter includes:

[0019] According to the position of the projection light spot of the first posture and the variation parameter, obtaining the position of the projection light spot of the second posture;

[0020] According to the position of the rectangular projection picture of the first posture, the position of the rectangular projection picture of the second posture is determined within the range indicated by the position of the projection spot of the second posture.

[0021] Optionally, acquiring the position of the projection spot of the second posture according to the position of the projection spot of the first posture and the change parameter includes:

[0022] Determining a plane where the projection spot of the first posture is located according to the position of the projection spot of the first posture;

[0023] The position of the projection spot of the second posture is determined according to the intersection line of the adjusted projection area model and the plane, wherein the adjusted projection area model is a model of the projection area model of the projector pre-configured and adjusted according to the change parameter.

[0024] Optionally, the determining the position of the rectangular projection picture of the second posture within a range indicated by the position of the projection spot of the second posture according to the position of the rectangular projection picture of the first posture comprises:

[0025] According to the position of the rectangular projection screen of the first posture, within the range indicated by the position of the projection spot of the second posture, the vertices of a rectangle whose length and width are equal to those of the rectangular projection screen of the first posture are determined as the position of the rectangular projection screen of the second posture.

[0026] Optionally, using the second parameter to control the projector to project a rectangular projection picture in the second posture includes:

[0027] Obtaining the difference between the position coordinates of the vertex of the projection spot of the second posture in the second parameter and the corresponding vertex of the projection picture of the second posture as the adjustment amount;

[0028] The digital micro-mirror of the projector is controlled to be turned on and / or off according to the adjustment amount to obtain a rectangular projection picture of the second posture.

[0029] Optionally, after using the second parameter to control the projector to project a rectangular projection picture at the second posture, the method further includes:

[0030] In response to the projection picture correction instruction, the projection picture of the second posture is corrected into a rectangle.

[0031] Optionally, the change parameters include:

[0032] Displacement change parameter and / or attitude change parameter.

[0033] A control device for a projector, comprising:

[0034] An acquisition module, configured to acquire a change parameter in response to the projector changing from a first posture to a second posture, wherein the change parameter is a posture change parameter of the projector changing from the first posture to the second posture;

[0035] A determination module, configured to determine a second parameter according to a first parameter and the change parameter, wherein the first parameter is a projection parameter of the projector in a first posture, and the second parameter is a projection parameter of the projector in the second posture, and the projection parameter includes a position of a projection spot and a position of a rectangular projection screen;

[0036] A control module is used to control the projector to project a rectangular projection picture at the second posture using the second parameter.

[0037] An electronic device, comprising:

[0038] Memory and processor;

[0039] The memory is used to store programs;

[0040] The processor is used to run the program to implement the above-mentioned projection control method.

[0041] A readable storage medium has a program running thereon, and when the program is run by a computer device, the above-mentioned projection control method is implemented.

[0042] The control method, device, equipment, and readable storage medium of the projector described in the present application obtain a change parameter in response to the projector changing from a first posture to a second posture, determine a second parameter of the projector in the second posture based on the first parameter and the change parameter, and use the second parameter to control the projector to project a rectangular projection screen in the second posture. The first parameter is the projection parameter of the projector in the first posture, and the second parameter is the projection parameter of the projector in the second posture. It can be seen that when the posture of the projector changes, the projector is controlled to project a rectangular projection screen based on the projection parameters of different postures and the change parameters indicating the change in posture, without human intervention, and therefore has a high real-time performance. Because the projection parameters include the position of the projection spot and the position of the rectangular projection screen, the method of obtaining the control parameters is easy to implement, which can further improve the real-time performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art 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 paying creative work.

[0044] Figure 1 A flowchart of a method for controlling a projector disclosed in an embodiment of the present application;

[0045] Figure 2 The control method of the projector disclosed in the embodiment of the present application is applied to the scene example diagram;

[0046] Figure 3 A flowchart of another method for controlling a projector disclosed in an embodiment of the present application;

[0047] Figure 4 An example diagram of a light spot having a first posture determined according to a projection area model;

[0048] Figure 5 An example diagram of a reflective area and a non-reflective area formed by a DMD array;

[0049] Figure 6 An example diagram of a projection spot corresponding to a reflective area and a non-reflective area formed by a DMD array;

[0050] Figure 7A schematic diagram of the structure of a control device for a projector disclosed in an embodiment of the present application. DETAILED DESCRIPTION

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

[0052] Figure 1 A control method for a projector disclosed in an embodiment of the present application includes the following steps:

[0053] S11. In response to the projector changing from a first posture to a second posture, obtaining a change parameter.

[0054] The position and posture include position and attitude. For example, the position can be a coordinate value, and the attitude can be an angle value such as pitch angle.

[0055] The change parameter is a position change parameter of the projector from the first position to the second position, that is, the change parameter may include a displacement change parameter and / or a posture change parameter.

[0056] S12. Determine a second parameter based on the first parameter and the change parameter.

[0057] The first parameter is the projection parameter of the projector in the first posture, and the projection parameter includes the position of the projection spot and the position of the rectangular projection screen. The projection spot refers to the maximum area projected by the projector. The projection screen refers to the area with substantial content projected by the projector.

[0058] In this embodiment, the positions of the projection spot and the rectangular projection screen are taken as corner points, that is, the position of the projection spot includes the positions of the vertices of the projection spot, and the position of the rectangular projection screen includes the positions of the four vertices of the rectangular projection screen. Further, an example of the position is a coordinate value indicating the position.

[0059] It is understandable that the rectangular projection image projected by the projector can be obtained based on the existing trapezoidal correction technology, which is not limited here.

[0060] The second parameter is a projection parameter of the projector in the second posture. It can be understood that an example of a scenario is: the projector projects a projection picture in the first posture, and after changing from the first posture to the second posture, the projection picture is still projected. In this embodiment, in order to distinguish it from the projection parameter of the first posture, the projection parameter of the second posture is referred to as the second parameter.

[0061] Specifically, when the projection parameters and change parameters of the first posture are known, the second parameter can be calculated. The specific calculation method can refer to the prior art, for example, the position of the light spot and the position of the projection image are changed according to the change parameters, and can also be referred to the following embodiments.

[0062] It can be understood that the first parameter can be obtained when the projector is in the first posture, and the acquisition method is not limited.

[0063] S13. Use the second parameter to control the projector to project a rectangular projection image at a second posture.

[0064] As mentioned above, the second parameter includes the position of the projection spot of the projector in the second posture and the position of the projection screen. Therefore, the maximum projection area of ​​the projector in the second posture is known, so according to the position of the projection screen, a rectangular projection screen can be determined in the maximum projection area to control the projector to project the rectangular projection screen. The specific implementation algorithm will be described in detail in the following embodiments.

[0065] It is understandable that after executing S13, it is possible that the projected image is not a true rectangle and cannot meet the needs of the user. Therefore, in this embodiment, the following optional steps may also be included:

[0066] S14. In response to the projection picture correction instruction, correct the projection picture of the second posture into a rectangle.

[0067] The projection picture correction instruction can be triggered and sent by the user. An example scenario of S14 is: if the user is not satisfied with the projection picture obtained in S13, he manually triggers the trapezoidal correction button on the projector, triggering the trapezoidal correction software set in the projector to perform trapezoidal correction on the projection picture projected by the projector in the second posture to obtain a rectangular projection picture.

[0068] The purpose of S14 is to allow the user to manually implement trapezoidal correction. The automatic correction of S11-S13 is combined with manual correction, which not only makes the correction method more flexible, but also avoids the cumulative error introduced by the automatic correction.

[0069] An example of an application scenario of the process described in this embodiment is as follows: Figure 2 As shown:

[0070] Assume that the projector is currently in the first posture, the projection screen 21 is in front of the projector and is rectangular, and the projection spot 22 is in the first posture. In order to meet the demand for changing the direction of the projection screen, the projector is controlled from the first posture ( Figure 2 The position shown by the projector on the left) changes to the second position ( Figure 2The method described in this embodiment allows the projection spot and the projection picture to be adjusted according to the change of the posture, thereby obtaining the position of the light spot 23 and the position of the projection picture 24 of the second posture, and then controlling the projector to project the rectangular picture 24 according to the position, so that the rectangular projection picture is still projected after the posture of the projector changes.

[0071] Compared with the existing manual or semi-manual adjustment method: in the existing trapezoidal correction method, after the projector's posture adjustment is completed, the user needs to manually loosen or tighten the mechanical components to perform trapezoidal correction, or manually trigger the software to perform trapezoidal correction (usually takes more than ten seconds), and it can be seen from the process described in this embodiment that in response to changes in the projector's posture, various parameters can be obtained in real time, and the projector can be controlled to project a rectangular projection screen based on the obtained parameters, which has higher real-time performance than the existing method.

[0072] Further, assuming that the projector changes from the first posture to the second posture, and then to the third posture, and the projection picture at the second posture is not rectangular, that is, there is an error in the trapezoidal correction from the first posture to the second posture, and the effect is not good, the user can trigger the trapezoidal correction to obtain a rectangular projection picture. After changing from the second posture to the third posture, the trapezoidal correction error of the second posture will not accumulate to the third posture, and it is possible that a rectangular projection picture can be obtained in the third posture according to the process described in this embodiment.

[0073] In summary, the projection control method described in this embodiment can quickly obtain a rectangular projection image and further eliminate the accumulated error in the trapezoidal correction process.

[0074] Figure 3 Another control method of a projector disclosed in an embodiment of the present application is disclosed. Compared with the above-mentioned embodiment, this embodiment focuses on the light spot adjustment and trapezoidal correction method based on a digital micro-mirror.

[0075] Figure 3 The following steps are included:

[0076] S301, obtaining the projection distance of the projector in the first posture.

[0077] It can be understood that the projection picture of the projector in the first posture is the projection picture after matrix correction, and the correction method can refer to the prior art.

[0078] Specifically, the projection distance recorded by the projector in the first posture may be obtained, or the projection distance of the projector in the first posture may be obtained using a distance measuring instrument, which is not limited here.

[0079] S302: Use the light spot of the pre-configured projection area model of the projector at the projection distance as the first light spot.

[0080] like Figure 4 As shown, the projection area model 41 is usually a quadrangular pyramid, and the intersection plane of the projection area model 41 and the projection plane is the light spot projected on the projection plane, and the projection distance is the distance S from the projector to the projection screen. 距 42, so the light spot of the projection area model at the projection distance is the intersection plane of the projection area model and the projection plane, which is referred to as the first light spot 43 (indicated by a dotted box).

[0081] Because the posture of the projector in the first posture may be different from the standard posture used to construct the projection area model, the first light spot is only the position of the projector in the first posture and the theoretical light spot of the standard posture. Therefore, the following steps adjust the first light spot 43 in combination with the first posture to obtain the actual light spot of the first posture, that is, the second light spot 44.

[0082] S303: Obtain the number of digital micro-mirrors corresponding to the target position of the projection spot among the digital micro-mirrors turned on in the first posture of the projector.

[0083] Among them, the digital micromirror (DMD for short) is the reflective element in the projector. Figure 5 As shown, by controlling whether the DMD is reflective, the DMD can form a reflective area and a non-reflective area, wherein the DMDs in the reflective area are all controlled to be in a reflective state, and the DMDs in the non-reflective area are all controlled to be in a non-reflective state. Figure 5 In the figure, L7 is the length of the upper edge of the rectangular DMD array, i.e., the upper side length, L8 is the lower side length of the rectangular DMD array, and L7 = L8. L3 is the upper side length of the DMD area in the rectangular DMD array that is controlled to be in the reflective state, and L4 is the lower side length of the DMD area in the rectangular DMD array that is controlled to be in the reflective state.

[0084] Because each DMD corresponds to a pixel point in the projection spot, the shape of the projection spot can be controlled by controlling the DMD array. Figure 5 The DMD shown corresponds to Figure 6 The projected light spot shown. Figure 6 The solid line part is Figure 5 The DMD area in the reflective state shown corresponds to the projection spot area, and the dotted line part corresponds to Figure 5 The entire DMD array is shown. Therefore, L5 is the upper length of the projection screen, L6 is the lower length of the projection screen, L1 is the upper length of the projection spot, and L2 is the lower length of the projection spot.

[0085] That is, a reflective DMD forms a pixel of the projection light spot on the projection plane, while a non-reflective DMD does not project a pixel of the light spot.

[0086] In summary, because each pixel point of the light spot corresponds to a DMD that is turned on in the DMD array, the first light spot can be adjusted by the number of DMDs that are turned on in the DMD array to determine the actual light spot of the first pose.

[0087] In this step, the number of reflectors in the DMD array that are turned on at the upper and lower edges (i.e., controlled to be in a reflective state) and the size of each reflector are read to obtain L3 and L4. It can be understood that the upper and lower edges in the DMD array are used as an example of target positions here, but are not intended to be limiting. The target positions include pre-specified rows or columns, and any row or column can be specified as the target position.

[0088] S304 , adjusting the first light spot according to the ratio of the number of digital micro-mirrors at the target position to obtain a second light spot.

[0089] Assume that the projector is at the position indicated by the first posture, and projects a light spot at a pitch angle θ relative to the standard posture. Although the pitch angle θ causes the first light spot to be distorted, the number of pixels in the DMD array does not change. So we can know It can be deduced Since the DMD array is rectangular, L1 = L2, L7 = L8. So we get

[0090] Therefore, specifically, according to the ratio of the number of digital micro-mirrors at the target position, the first light spot is adjusted to obtain the second light spot in the following manner:

[0091] The first light spot is rotated until the ratio of the upper and lower sides of the rotated light spot is equal to the ratio of the upper and lower sides of the DMD reflective area, that is, That is, a second light spot is obtained. The DMD reflective area is an area in the DMD array that is composed of DMDs that are controlled to be in a reflective state. That is, all DMDs in the DMD reflective area are controlled to be in a reflective state.

[0092] Further, the specific method of rotating the first light spot can be: determine the deflection type of the posture indicated by the current posture compared with the standard posture at the position indicated by the current posture of the projector, wherein the deflection type includes pitch deflection and / or left-right deflection. According to the deflection type, the first light spot is rotated. Further, if the deflection type is pitch deflection, the first light spot is rotated around the X-axis (horizontal axis), and if the deflection type is left-right deflection, the first light spot is rotated around the Y-axis (vertical axis). It can be understood that in the case of both pitch deflection and left-right deflection, it can be rotated around the X-axis (horizontal axis) and the Y-axis (vertical axis) at the same time.

[0093] It is understandable that the above rotation process is a virtual process, not an actual visualization process. That is, by executing a transformation algorithm on the first light spot (with the same effect as rotation), a transformed light spot of the first light spot (the rotated light spot) is obtained, and the upper and lower edges of the transformed light spot are , as the second light spot.

[0094] Similarly, the same method can be used to correct the left and right angle deviation of the first light spot (caused by the left and right angle deviation between the posture indicated by the first posture and the standard posture at the position indicated by the first posture). Finally, the light spot after the pitch angle and left and right angles of the first light spot are corrected is obtained, that is, the second light spot.

[0095] S305: Taking the position of the second light spot as the position of the projection light spot of the first pose (ie, the second light spot).

[0096] It can be seen that S301-S305 is the process of obtaining the position of the projection spot of the first pose. In this embodiment, the DMD in the projector is used as a bridge to obtain the position of the projection spot of the first pose without introducing additional components or equipment, which has high efficiency and accuracy.

[0097] S306: Control the projector to perform trapezoidal correction on the projection picture projected in the second light spot to obtain a rectangular projection picture of the first posture, and obtain the position of the rectangular projection picture and the position of the second light spot.

[0098] The method of trapezoidal correction can be referred to in the prior art and will not be described in detail here.

[0099] The position of the rectangular projection screen may be the positions of the four vertices of the rectangular projection screen, and the position of the second light spot may be the position of the vertex of the second light spot. An example of the position is: point coordinates.

[0100] S307 . In response to the projector changing from the first posture to the second posture, acquiring a change parameter.

[0101] Among them, the change parameters are the posture change parameters of the projector from the first posture to the second posture. In this embodiment, the displacement change parameters (X, Y, Z) and the deflection angles (α1, α2, α3) of the horizontal plane, vertical plane, and parallel plane relative to the projection plane of the first posture are taken as examples.

[0102] It can be understood that the displacement acceleration and angular acceleration of the second posture of the projector relative to the first posture can be collected, and then the displacement acceleration and angular acceleration are integrated respectively to obtain the above-mentioned displacement change parameters and deflection angle.

[0103] S308. Obtain the position of the projection spot of the second pose according to the position of the projection spot of the first pose and the variation parameter.

[0104] Specifically, according to the position of the projection light spot of the first posture (i.e., the second light spot), the plane where the projection light spot of the first posture is located is determined. The specific method of determining the plane after the position is known can be found in the prior art and will not be repeated here. The projection area model of the projector is adjusted according to the change parameter, that is, the projection area model is moved according to the displacement parameter, and deflected according to the deflection angle to obtain the adjusted projection area model. Then, based on the intersection line of the adjusted projection area model and the plane obtained above, the position of the projection light spot of the second posture is determined. Specifically, the area enclosed by the intersection line is used as the projection light spot of the second posture. That is to say, the coordinates of the intersection line (further, the coordinates of the top line on the intersection line) can be used as the position of the projection light spot of the second posture.

[0105] S309: Determine the position of the rectangular projection picture of the second posture within the range indicated by the position of the projection spot of the second posture according to the position of the rectangular projection picture of the first posture.

[0106] Specifically, a rectangular area may be framed within the range indicated by the position of the projection light spot of the second posture as the position of the rectangular projection picture of the second posture.

[0107] Furthermore, the length of the framed rectangular area is equal to the length of the rectangular projection picture of the first posture, and the width of the framed rectangular area is equal to the width of the rectangular projection picture of the first posture.

[0108] That is: according to the position of the rectangular projection screen of the first posture, within the range indicated by the position of the projection spot of the second posture, determine the vertices of a rectangle whose length and width are equal to those of the rectangular projection screen of the first posture as the position of the rectangular projection screen of the second posture.

[0109] It can be seen that the method described in this embodiment can obtain a rectangular projection picture with the same scale as before the change after the posture of the projector changes, thereby further improving the user experience.

[0110] S307-S309 is a process of adjusting the light spot and the rectangular projection image in response to the change in the posture of the projector.

[0111] S310, obtaining the difference between the position coordinates of the projection spot vertex of the second posture in the second parameter and the corresponding vertex of the projection picture of the second posture as the adjustment amount.

[0112] The corresponding vertices are vertices with the same relative orientation. As mentioned above, since the DMD is rectangular, the projection spot is a quadrilateral, and therefore also has four vertices. The orientation of any vertex refers to the orientation of the vertex among all vertices, such as upper left, lower left, etc.

[0113] For example, the upper left vertex of the projection spot and the upper left vertex of the rectangular projection image are corresponding vertices.

[0114] S311, controlling the opening and / or closing of the digital micro-mirror of the projector according to the adjustment amount to obtain a rectangular projection picture of the second posture.

[0115] The corresponding relationship between the adjustment amount and the opening and / or closing of the DMD can be found in the prior art and will not be described in detail here.

[0116] Figure 3 The process shown has the following benefits:

[0117] 1. After the projector is displaced or deflected, the projected image can be quickly and automatically corrected to improve the user experience.

[0118] 2. It can ensure the consistency of the scale of the projected image before and after calibration, further improving the user experience.

[0119] 3. The adjustment of the projection spot based on DMD has high real-time and accuracy, and does not require the help of external equipment.

[0120] Figure 7 A control device for a projector disclosed in an embodiment of the present application includes: an acquisition module, a determination module and a control module.

[0121] The acquisition module is used to acquire a change parameter in response to the projector changing from a first posture to a second posture, and the change parameter is a posture change parameter of the projector changing from the first posture to the second posture.

[0122] The determination module is used to determine the second parameter based on the first parameter and the change parameter, the first parameter is the projection parameter of the projector in the first posture, the second parameter is the projection parameter of the projector in the second posture, and the projection parameters include the position of the projection spot and the position of the rectangular projection screen.

[0123] The control module is used to control the projector to project a rectangular projection screen in the second posture using the second parameter.

[0124] Optionally, the acquisition module is also used to acquire a first parameter, and the process of acquiring the first parameter includes: acquiring the number of digital micro-mirrors corresponding to the target position of the projection spot among the digital micro-mirrors turned on by the projector in the first posture; the target position includes a pre-specified row or column; adjusting the first light spot according to the ratio of the number of digital micro-mirrors at the target position to obtain a second light spot; the first light spot is a light spot projected by the projector at the position indicated by the first posture in a preset standard posture; and using the position of the second light spot as the position of the projection spot of the first posture.

[0125] Optionally, the acquisition module is also used to acquire a first light spot, and the acquisition process of the first light spot includes: acquiring the projection distance of the projector in the first posture; and using the light spot of the pre-configured projection area model of the projector at the projection distance as the first light spot.

[0126] Optionally, the determination module is specifically used to: obtain the position of the projection spot of the second posture based on the position of the projection spot of the first posture and the change parameter; determine the position of the rectangular projection picture of the second posture within the range indicated by the position of the projection spot of the second posture based on the position of the rectangular projection picture of the first posture.

[0127] Optionally, the specific implementation method of the determination module obtaining the position of the projection spot of the second posture based on the position of the projection spot of the first posture and the change parameter is: determining the plane where the projection spot of the first posture is located according to the position of the projection spot of the first posture; determining the position of the projection spot of the second posture according to the intersection of the adjusted projection area model and the plane, the adjusted projection area model being a pre-configured projection area model of the projector adjusted according to the change parameter.

[0128] Optionally, the specific implementation method of the determination module determining the position of the rectangular projection picture of the second posture according to the position of the rectangular projection picture of the first posture within the range indicated by the position of the projection spot of the second posture is as follows: according to the position of the rectangular projection picture of the first posture, within the range indicated by the position of the projection spot of the second posture, determine the vertices of a rectangle whose length and width are equal to those of the rectangular projection picture of the first posture, respectively, as the position of the rectangular projection picture of the second posture.

[0129] Optionally, the control module is specifically used to: obtain the difference between the position coordinates of the projection spot vertex of the second posture in the second parameter and the corresponding vertex of the projection image of the second posture as an adjustment amount; control the opening and / or closing of the digital micromirror of the projector according to the adjustment amount to obtain a rectangular projection image of the second posture.

[0130] Optionally, the device may further include: a correction module, configured to correct the projection image of the second posture into a rectangle in response to a projection image correction instruction.

[0131] The device described in this embodiment can follow the changes in the posture of the projector in real time and control the projector to project a rectangular projection picture.

[0132] The embodiment of the present application also discloses an electronic device, including a memory for storing a program and a processor for running the program. The processor runs the program to implement the projection control method described in the above embodiment.

[0133] The embodiment of the present application further discloses a readable storage medium on which a program is running. When the program is executed by a computer device, the projection control method described in the above embodiment is implemented.

[0134] If the functions described in the method of the embodiment of the present application are implemented in the form of software functional units and sold or used as independent products, they can be stored in a storage medium readable by a computing device. Based on this understanding, the part of the embodiment of the present application that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a computing device (which can be a personal computer, server, mobile computing device or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.

[0135] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0136] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for controlling a projector, characterized in that: include: In response to the projector changing from a first posture to a second posture, acquiring a change parameter, wherein the change parameter is a posture change parameter of the projector changing from the first posture to the second posture; Determine a second parameter according to the first parameter and the change parameter, wherein the first parameter is a projection parameter of the projector in the first posture, and the second parameter is a projection parameter of the projector in the second posture, and the projection parameter includes a position of a projection spot and a position of a rectangular projection screen; Using the second parameter, controlling the projector to project a rectangular projection image at the second posture; The process of obtaining the first parameter includes: Acquire the number of digital micro-mirrors of the projector that are turned on in the first posture and correspond to the target position of the projection spot; the target position includes a pre-specified row or column; According to the ratio of the number of digital micro-mirrors at the target position, the first light spot is adjusted to obtain a second light spot; the first light spot is a light spot obtained by projecting the projector at the position indicated by the first posture in a preset standard posture; The position of the second light spot is used as the position of the projection light spot of the first posture.

2. The method according to claim 1, characterized in that The process of acquiring the first light spot includes: Obtaining the projection distance of the projector in the first posture; The light spot of the pre-configured projection area model of the projector at the projection distance is used as the first light spot.

3. The method according to claim 1 or 2, characterized in that: Determining the second parameter according to the first parameter and the change parameter includes: According to the position of the projection light spot of the first posture and the variation parameter, obtaining the position of the projection light spot of the second posture; According to the position of the rectangular projection picture of the first posture, the position of the rectangular projection picture of the second posture is determined within the range indicated by the position of the projection spot of the second posture.

4. The method according to claim 3, characterized in that The acquiring the position of the projection spot of the second posture according to the position of the projection spot of the first posture and the variation parameter comprises: Determining a plane where the projection spot of the first posture is located according to the position of the projection spot of the first posture; The position of the projection spot of the second posture is determined according to the intersection line of the adjusted projection area model and the plane, wherein the adjusted projection area model is a model of the projection area model of the projector pre-configured and adjusted according to the change parameter.

5. The method according to claim 3, characterized in that: The determining the position of the rectangular projection picture of the second posture within the range indicated by the position of the projection spot of the second posture according to the position of the rectangular projection picture of the first posture comprises: According to the position of the rectangular projection screen of the first posture, within the range indicated by the position of the projection spot of the second posture, the vertices of a rectangle whose length and width are equal to those of the rectangular projection screen of the first posture are determined as the position of the rectangular projection screen of the second posture.

6. The method according to claim 1 or 2, characterized in that: The using the second parameter to control the projector to project a rectangular projection picture in the second posture includes: Obtaining the difference between the position coordinates of the vertex of the projection spot of the second posture in the second parameter and the corresponding vertex of the projection picture of the second posture as the adjustment amount; The digital micro-mirror of the projector is controlled to be turned on and / or off according to the adjustment amount to obtain a rectangular projection picture of the second posture.

7. The method according to claim 1, characterized in that After using the second parameter to control the projector to project a rectangular projection picture at the second posture, the method further includes: In response to the projection picture correction instruction, the projection picture of the second posture is corrected into a rectangle.

8. The method according to claim 1, characterized in that The variation parameters include: Displacement change parameter and / or attitude change parameter.

9. A control device for a projector, characterized in that: include: An acquisition module, configured to acquire a change parameter in response to the projector changing from a first posture to a second posture, wherein the change parameter is a posture change parameter of the projector changing from the first posture to the second posture; A determination module, configured to determine a second parameter according to a first parameter and the change parameter, wherein the first parameter is a projection parameter of the projector in a first posture, and the second parameter is a projection parameter of the projector in the second posture, and the projection parameter includes a position of a projection spot and a position of a rectangular projection screen; A control module, configured to control the projector to project a rectangular projection picture at the second posture using the second parameter; The process of obtaining the first parameter includes: Acquire the number of digital micro-mirrors of the projector that are turned on in the first posture and correspond to the target position of the projection spot; the target position includes a pre-specified row or column; According to the ratio of the number of digital micro-mirrors at the target position, the first light spot is adjusted to obtain a second light spot; the first light spot is a light spot obtained by projecting the projector at the position indicated by the first posture in a preset standard posture; The position of the second light spot is used as the position of the projection light spot of the first posture.

10. An electronic device, characterized in that: include: Memory and processor; The memory is used to store programs; The processor is used to run the program to implement the projector control method according to any one of claims 1 to 8.

11. A readable storage medium having a program running thereon, characterized in that: When the program is executed by a computer device, the projector control method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Mobile electronic device

    US20120165077A1