Focusing method, projection equipment and storage medium

By introducing a focus module and an adjustment module into the projection device, combining image distance and image focus, the problem of inaccurate focus in the projection device in the prior art is solved, and the clarity and focus accuracy of the projected image are improved.

CN119865590APending Publication Date: 2025-04-22CHENGDU XGIMI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311363890.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-19
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

If there is an angle with the projection surface during the projection process of existing projection equipment, although there is still a problem of virtual focus after focusing, resulting in the resolution of different areas being unable to be adjusted to the clearest at the same time, reducing the accuracy of focus.

Method used

Image distance focus and image focus are performed by introducing a focus module and adjustment module in the projection device. The specific steps include: performing a focus operation on the projection device to complete image distance focusing; determining the target angle of the imaging surface or lens of the projection device, and controlling the imaging surface or lens to adjust to the target angle to complete image focus.

Benefits of technology

The projected image with two dimensions of image distance and image surface is focused, so that the projected image is within the effective depth of field range, improving the accuracy of focus.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119865590A_ABST
    Figure CN119865590A_ABST
Patent Text Reader

Abstract

The invention discloses a focusing method, projection equipment and a storage medium. The method comprises the following steps: executing a focusing operation on the projection equipment to complete image distance focusing; and determining a target angle of an imaging surface or a lens of the projection equipment, and controlling the imaging surface or the lens to be adjusted to the target angle to complete image surface focusing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of projection technology, and in particular to a focusing method, a projection device and a storage medium. Background Art

[0002] For existing projection devices, such as Liquid Crystal Display (LCD) projectors, Digital Micromirror Device (DMD) projectors, or Liquid Crystal On Silicon (LCOS) projectors, during the projection process, if there is an angle with the projection surface, the projected image after focusing will still have a defocus problem, and the resolution of different areas cannot be adjusted to the clearest at the same time, resulting in low focusing accuracy. Summary of the invention

[0003] The present application hopes to provide a focusing method, a projection device and a storage medium.

[0004] The technical solution of this application is implemented as follows:

[0005] The present application provides a focusing method, which includes: performing a focusing operation on the projection device to complete image distance focusing; determining a target angle of an imaging surface or a lens of the projection device, and controlling the imaging surface or the lens to adjust to the target angle to complete image plane focusing.

[0006] The present application provides a projection device, comprising:

[0007] A focusing module, used for performing a focusing operation on the projection device to complete image distance focusing;

[0008] The adjustment module is used to determine the target angle of the imaging plane or the lens of the projection device, and control the imaging plane or the lens to adjust to the target angle to complete the image plane focusing.

[0009] The present application provides a projection device, the projection device comprising: a processor, a focus motor, and an imaging surface adjustment motor or a lens adjustment motor;

[0010] The processor controls the focus motor to perform a focus operation on the projection device to complete image distance focusing;

[0011] The processor determines a target angle of an imaging plane or a lens of the projection device, and controls the imaging plane adjustment motor or the lens adjustment motor to adjust the imaging plane or the lens to the target angle to complete image plane focusing.

[0012] The present application provides a computer-readable storage medium, which stores one or more computer programs. The one or more computer programs can be executed by one or more processors to implement the above-mentioned focusing method.

[0013] The present application provides a focusing method, a projection device, and a storage medium, the method comprising: performing a focusing operation on the projection device to complete image distance focusing; determining a target angle of an imaging surface or a lens of the projection device, and controlling the imaging surface or the lens to adjust to the target angle to complete image plane focusing. The technical solution provided by the present application combines the projection picture focusing in two dimensions, image distance and image plane, so that the projection picture is within the effective depth of field range, thereby improving the accuracy of focusing. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 A flowchart of a focusing method provided in an embodiment of the present application;

[0015] Figure 2 A schematic diagram of a structure in which an exemplary projection device and a projection surface have an angle relationship provided in an embodiment of the present application;

[0016] Figure 3 An exemplary process for determining a target angle provided in an embodiment of the present application is shown in FIG. Figure 1 ;

[0017] Figure 4 A schematic diagram of an exemplary rotation of an imaging plane angle provided in an embodiment of the present application;

[0018] Figure 5 An exemplary process for determining a target angle provided in an embodiment of the present application is shown in FIG. Figure 2 ;

[0019] Figure 6 An exemplary process for determining a target angle provided in an embodiment of the present application is shown in FIG. Figure 3 ;

[0020] Figure 7 An exemplary process for determining a target angle provided in an embodiment of the present application is shown in FIG. Figure 4 ;

[0021] Figure 8 An exemplary process diagram of image plane focusing provided in an embodiment of the present application Figure 1 ;

[0022] Fig. 9 An exemplary process diagram of image plane focusing provided in an embodiment of the present application Figure 2 ;

[0023] Fig.10A schematic diagram of an exemplary process of determining a preset angle rotation range provided in an embodiment of the present application;

[0024] Fig.11 An exemplary process diagram of image plane focusing provided in an embodiment of the present application Figure 3 ;

[0025] Fig.12 An exemplary process diagram of image plane focusing provided in an embodiment of the present application Figure 4 ;

[0026] Fig.13 A schematic diagram of a projection device provided in an embodiment of the present application Figure 1 ;

[0027] Fig.14 A schematic diagram of a projection device provided in an embodiment of the present application Figure 2 . DETAILED DESCRIPTION

[0028] The technical solution in the present application will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present application. It is to be understood that the specific embodiments described herein are only used to explain the related application, rather than to limit the application. It should also be noted that, for ease of description, only the parts related to the related application are shown in the accompanying drawings.

[0029] The embodiment of the present application provides a focusing method, which is implemented by a projection device, such as Figure 1 As shown, the steps S101 to S102 are included:

[0030] Step S101: performing a focusing operation on a projection device to complete image distance focusing.

[0031] In an embodiment of the present application, the projection device is an electronic device with a focus function. After the projection device is turned on or moved, the focus operation can be performed to complete the image distance focus. That is, after the projection device is turned on or moved, the focus based on the focus motor is triggered once.

[0032] Exemplarily, the focusing of the projection device based on the focusing motor can be completed based on the camera sensor and the ranging sensor. The specific method of completing automatic focusing based on the focusing motor can be set according to the actual scene and application requirements, and this application does not limit this.

[0033] Step S102: determining a target angle of an imaging plane or a lens of the projection device, and controlling the imaging plane or the lens to adjust to the target angle to complete image plane focusing.

[0034] In the embodiment of the present application, the projection device uses LCD projection display technology for projection. If there is an angle between the projection device and the projection surface, such as Figure 2 As shown, 21 is a projection device, and 22 is a projection surface. In this case, the projection picture that only implements focusing based on a focusing motor still has a defocus problem, resulting in different areas having different resolutions, which are not all in the clearest state, resulting in low focusing accuracy. Therefore, the present application, based on the focusing of the projection device based on a focusing motor, combines the angle adjustment of the imaging surface or lens to adjust the imaging surface or lens of the projection device to the target angle to improve the focusing accuracy.

[0035] In an embodiment of the present application, the condition for triggering the projection device to complete focusing based on the focusing motor may be that after the projection device is turned on or moved, it will first complete a focusing based on the focusing motor, and then determine the target angle of the imaging surface or lens of the projection device. Since the focusing of the focusing motor is actually the focusing of the image distance, which is related to the distance between the projection device and the projection surface, the focusing of the imaging surface or the lens is actually the focusing of the imaging surface, which is related to the angle between the projection device and the projection surface. There is no order of priority between the two. In this case, of course, it is also possible to focus on the image surface first and then focus on the image distance. The present application does not limit the order of priority.

[0036] In an embodiment of the present application, an imaging plane adjustment motor or a lens adjustment motor is provided on the projection device. When the projection device determines the target angle of the imaging plane or lens of the projection device, the imaging plane adjustment motor or the lens adjustment motor can be controlled to adjust the imaging plane or the lens to the target angle to complete the image plane focusing. The above-mentioned focusing takes into account both the distance between the projection device and the projection plane and the angle between the projection device and the projection plane. The motor adjustment based on two dimensions makes the focusing accuracy higher.

[0037] Compared with the prior art, in which only the focus motor is used for focusing, there is a problem of out-of-focus resulting in low focusing accuracy. The present application not only focuses the image distance of the projection device based on the focus motor, but also focuses the image plane based on the imaging surface adjustment motor or the lens adjustment motor, combining the two dimensions to jointly achieve the focus of the projection picture, thereby improving the focusing accuracy.

[0038] In some embodiments, the projecting device determines the target angle of the imaging surface or lens of the projecting device in step S101, which may include the following steps S301 to S302:

[0039] Step S301 : rotating the imaging surface or the lens in a preset direction within a preset angle rotation range of the imaging surface or the lens, and capturing a projection screen image of the current projection at each preset angle rotation to obtain a plurality of projection screen images.

[0040] In an embodiment of the present application, the preset angle rotation range can be the angle rotation range in which the imaging plane or the lens can be rotated, illustratively, for example, +5 degrees to -5 degrees, and the line connecting the center point of the imaging plane and the center point of the lens is 0 degrees of the imaging plane or the lens; of course, the preset angle rotation range here can be set according to actual conditions and application requirements, and this application does not limit this.

[0041] In the embodiments of the present application, Figure 4 and Figure 2 As shown, the preset direction can be to rotate the imaging surface 41 or the lens 21 from the leftmost angle to the rightmost angle, or from the rightmost angle to the leftmost angle. The exemplary rotation method is as follows Figure 4 The preset number of motor steps required to rotate the preset angle needs to be determined based on the size of the imaging surface or lens of the projection device. The specific method for determining the preset number of motor steps is shown in formula (1):

[0042] S = b / (C + a) (1);

[0043] Among them, S is the preset motor step number, b and a are fixed parameters, and C is the size of the imaging surface or lens; that is to say, the preset motor step number is actually a constant value, so the preset angle driven by the fixed preset motor step number to rotate the imaging surface or lens is also a constant value.

[0044] For example, if the preset motor step number is 2 steps, and the preset angle corresponding to the rotation of the preset motor step number is 0.1 degree, then the imaging plane or the lens will rotate 0.1 degree each time from the leftmost angle to the rightmost angle or from the rightmost angle to the leftmost angle, and the projection screen image of the current projection will be captured after each rotation of 0.1 degree, thereby obtaining multiple projection screen images.

[0045] Step S302: determining a target angle based on the image resolutions of the plurality of projection screen images.

[0046] In the embodiment of the present application, the projection device can determine the target angle of the imaging surface or the lens based on the image resolution of the multiple projection screen images.

[0047] In some embodiments, the projection device may perform the above step S302 by including the following steps S501 to S503:

[0048] Step S501: Determine the image resolution of each projection screen image among a plurality of projection screen images.

[0049] In the embodiment of the present application, after acquiring multiple projection screen images, the projection device will determine the image resolution of each projection screen image respectively, so as to obtain multiple image resolutions corresponding to the multiple projection screen images. The specific image resolution is determined by the determination method in the prior art, which will not be described in detail here.

[0050] Step S502: determine the projection screen image with the maximum image resolution among the multiple projection screen images as the target image.

[0051] In an embodiment of the present application, after the projection device obtains the image resolution of each of the multiple projection screen images, it compares the image resolutions of the multiple projection screen images and determines the projection screen image with the maximum image resolution as the target image.

[0052] Step S503: determine the angle of the imaging plane or the lens when acquiring the target image as the target angle.

[0053] In the embodiment of the present application, the image resolution of the target image is the largest, which means that the angle of the imaging surface or lens of the projection device is the target angle when capturing the target image.

[0054] In some embodiments, the projection device may perform the above step S302 by including the following steps S601 to S604:

[0055] Step S601: divide each of the multiple projection screen images into two area images according to the left and right projection areas.

[0056] In an embodiment of the present application, the projection device divides each of the multiple projection screen images into two regional images according to the left and right projection areas, so that each projection screen image corresponds to two regional images.

[0057] Step S602: respectively determine the image area resolutions of the two area images corresponding to each projection screen image.

[0058] In an embodiment of the present application, the projection device determines the image area resolution of each regional image obtained, so that each projection screen image corresponds to two image area resolutions, that is, the regional image of the left projection area corresponds to one image area resolution, and the regional image of the right projection area corresponds to one image area resolution.

[0059] Step S603: determine the regional image with the maximum image area resolution in the regional images of the same projection area as the corresponding target regional image, and obtain a first target regional image corresponding to the left projection area and a second target regional image corresponding to the right projection area.

[0060] In an embodiment of the present application, for the regional images of the same projection area, the regional image with the maximum image area resolution is determined as the corresponding target regional image, so as to obtain a first target regional image corresponding to the left projection area and a second target regional image corresponding to the right projection area.

[0061] Here, among the regional images corresponding to the left projection area in the multiple projection screen images, one regional image with the largest resolution is selected as the first target regional image, and among the regional images corresponding to the right projection area in the multiple projection screen images, one regional image with the largest resolution is selected as the second target regional image.

[0062] Step S604: determine the first angle of the imaging plane or the lens when capturing the projection screen image where the first target area image is located as the target angle, or determine the second angle of the imaging plane or the lens when capturing the projection screen image where the second target area image is located as the target angle, or determine the average of the first angle and the second angle as the target angle.

[0063] In an embodiment of the present application, the projection device may determine the first angle of the imaging surface or the lens when acquiring the projection screen image where the first target area image is located as the target angle, or determine the second angle of the imaging surface or the lens when acquiring the projection screen image where the second target area image is located as the target angle. Of course, the average of the first angle and the second angle may also be determined as the target angle, as shown in formula (2):

[0064] α=(α1+α2) / 2 (2);

[0065] Among them, α is the target angle, α1 is the first angle, and α2 is the second angle.

[0066] Figure 7 An exemplary process for determining a target angle provided in an embodiment of the present application is shown in FIG. Figure 4 .

[0067] like Figure 7 As shown, the method includes steps S701 to S703:

[0068] Step S701: After the power is turned on or the projection device is moved, the focus motor is triggered once to focus.

[0069] Here, after the machine (projection device) is turned on or moved, the focus motor can be triggered to focus once, and the specific focus can be completed based on the camera sensor and the distance sensor.

[0070] Step S702: Rotate the imaging surface or the angle of the lens, and capture one projection screen image of the current projection every time the preset angle is rotated to obtain multiple projection screen images.

[0071] Here, the image plane (imaging plane) or the lens is rotated to the leftmost angle or the rightmost angle, from the leftmost angle to the rightmost angle or from the rightmost angle to the leftmost angle, and the angle of the imaging plane or the lens is adjusted according to the preset motor steps. The calculation method of the preset motor steps is shown in formula (1). The preset motor steps can drive the image plane or the lens to rotate a preset angle. Each time it rotates, a projection screen (projection screen image) is captured. In this way, multiple projection screen images corresponding to different imaging planes or lens angles can be obtained.

[0072] Step S703: Analyze the image resolution of the projection image to determine the target angle of the imaging plane or the lens.

[0073] Here, the projection device analyzes the resolution of the plurality of projection screen images, and determines the target angle of the imaging plane or the lens based on the analysis result.

[0074] Exemplarily, the image plane angles α1 and α2 when the left and right sides have the highest resolution are recorded respectively, and the average α of α1 and α2 is calculated, and α is used as the target angle of the final imaging plane or imaging plane. It is also possible to calculate the angle corresponding to the maximum resolution of the entire screen, or the angle corresponding to the maximum resolution of the near-end screen. For example, when projecting right, the angle α1 corresponding to the maximum resolution of the left screen (the first target area image) is calculated, and when projecting left, the angle α2 corresponding to the maximum resolution of the right screen (the second target area image) is calculated.

[0075] In some embodiments, if the projection device is provided with an angle measurement module, the projection device may further perform the following steps S801 to S803:

[0076] Step S801: Acquire a first angle of the projection device relative to the projection surface, and use a preset angle model to determine a first target angle of the imaging surface or the lens based on the first angle.

[0077] In an embodiment of the present application, the projection device can obtain the angle of the projection device relative to the projection surface, that is, the first angle, through an angle measurement module, and then use a preset angle model to determine the first target angle of the imaging surface or lens based on the first angle.

[0078] The exemplary preset angle model is shown in formula (3):

[0079] θ=tan -1 (d2*tanβ / d1) (3);

[0080] Among them, θ is the calculated theoretical imaging plane or lens angle, d2 is the image plane focal length, that is, the distance from the center of the imaging plane to the center of the lens, d1 is the distance from the center of the lens to the center of the projection plane, and β is the angle of the projection device relative to the projection plane.

[0081] In the embodiment of the present application, the first target angle θ1 can be obtained by substituting the first angle β1 into formula (3).

[0082] Accordingly, after executing the above step S102, the projection device may further execute the following steps S802 to S803:

[0083] Step S802: When the projection device moves, obtain a second angle of the projection device relative to the projection surface, and use a preset angle model to determine a second target angle of the imaging surface or the lens based on the second angle.

[0084] In an embodiment of the present application, if the projection device moves left or right, it means that the target angle determined previously may no longer be the target angle. If so, the projection device is not provided with an angle measurement module, the projection device will still traverse the imaging surface or the preset angle rotation range of the lens to collect multiple projection screen images to determine the target angle after the movement. If the projection device is provided with an angle measurement module, after the projection device moves, the angle of the projection device relative to the projection surface, that is, the second angle, can be directly obtained by using the angle measurement module.

[0085] In an embodiment of the present application, there is a certain relationship between the angle of the projection device relative to the projection surface and the angle of the imaging surface or the lens, that is, a preset angle model. At this time, the projection device can calculate the angle of the theoretical imaging surface or the lens at the second angle based on the acquired second angle using formula (3), that is, the second target angle θ2.

[0086] Step S803: determine the difference between the second target angle and the first target angle as the target rotation angle of the imaging plane or the lens, and control the imaging plane or the lens to rotate the target rotation angle to complete the image plane focusing.

[0087] In an embodiment of the present application, the projection device determines the difference between the second target angle and the first target angle as the target rotation angle of the imaging plane or the lens. In this way, the image plane focusing can be completed by controlling the imaging plane or the lens to rotate by the target rotation angle. The projection device does not need to traverse the entire preset angle rotation range to determine the target angle as performed in steps S301 to S302. The acquired angles of the projection device relative to the projection plane before and after the movement are directly substituted into formula (3) to obtain the difference in theoretical angles of the imaging plane or the lens in the projection device before and after the movement. The target angle before the movement is rotated by the difference to achieve image plane focusing, which simplifies the above-mentioned image plane focusing steps and improves the focusing efficiency.

[0088] Fig. 9 An exemplary process diagram of image plane focusing provided in an embodiment of the present application Figure 2The projection device is equipped with an angle measurement module, which is used to obtain the angle between the projection device and the projection surface, such as Fig. 9 As shown, the focusing method includes steps S901 to S906:

[0089] Step S901: After the power is turned on or the projection device is moved, the focus motor is triggered once to focus.

[0090] Step S901 here is consistent with the above step S701 and will not be described again here.

[0091] Step S902: Rotate the imaging surface or the angle of the lens, and capture a projection screen image of the current projection every time the preset angle is rotated to obtain multiple projection screen images.

[0092] Step S902 here is consistent with the above step S702 and will not be described again here.

[0093] Step S903: analyzing the image resolution of the projection image to determine the target angle of the imaging plane or the lens.

[0094] Step S903 here is consistent with the above step S703 and will not be described again here.

[0095] Step S904: acquiring a first angle of the projection device relative to the projection surface after the focus motor is focused, and using a preset angle model to determine a first target angle of the imaging surface or the lens based on the acquired first angle.

[0096] Here, the projection device can use the angle measurement module to obtain the angle (first angle) between the projection device and the projection surface. This step can be performed after step S901 and before step S905.

[0097] Here, the projection device substitutes the first angle into a preset angle model (pre-designed model) and calculates the first target angle according to the above formula (3).

[0098] Step S905: when the projection device moves left and right, obtain a second angle of the projection device relative to the projection surface, and use a preset angle model to determine a second target angle of the imaging surface or the lens based on the second angle.

[0099] Here, after the projection device moves again, there is no need to perform the traversal in step S902 again to determine the target angle. The angle measurement module is directly used to obtain the second angle of the projection device relative to the projection surface, and then the preset angle model is substituted to calculate the second target angle.

[0100] Step S906: determine the difference between the second target angle and the first target angle as the target rotation angle of the imaging plane or the lens, and control the imaging plane or the lens to rotate the target rotation angle to complete the image plane focusing.

[0101] Here, after obtaining the theoretical angle difference (target rotation angle) of the imaging plane or lens before and after the movement, the imaging plane or lens can be controlled to rotate the target rotation angle to complete the image plane focusing.

[0102] In some embodiments, if the projection device is provided with an angle measurement module, the projection device may further perform the following steps S1001 to S1002 before performing the above step S301:

[0103] Step S1001: Obtain a pre-calibrated angular error value of an imaging surface or lens.

[0104] In an embodiment of the present application, the projection device may obtain a pre-calibrated angle error value of an imaging surface or a lens. Exemplarily, the angle error value may be q.

[0105] Step S1002: determining a preset angle rotation range based on the first target angle and the angle error value.

[0106] In an embodiment of the present application, after the projection device obtains the angle error value, it uses the obtained first target angle to determine the preset angle rotation range, that is, if the angle error value q is 0.5 degrees and the first target angle is 2 degrees, then the preset angle rotation range is 1.5 degrees to 2.5 degrees, which narrows the angle rotation range of the target angle value determined in step S301 to step S302, thereby improving the efficiency of determining the target angle.

[0107] In some embodiments, if the projection device is provided with an angle measurement module, the projection device may further perform the following steps S1101 to S1104:

[0108] Step S1101: Acquire a first angle of the projection device relative to the projection surface, and use a preset angle model to determine a first target angle of the imaging surface or the lens based on the first angle.

[0109] This step is discussed in detail in step S801 above, and will not be repeated here.

[0110] Step S1102: determine the difference between the first target angle and the target angle as the target compensation angle.

[0111] In the embodiment of the present application, after obtaining the first target angle and the target angle, the projection device determines the difference between the two, that is, θ1-α, to obtain the target compensation angle.

[0112] Accordingly, after executing the above step S102, the projection device may further execute the following steps S1103 to S1104:

[0113] Step S1103: when the projection device moves, obtain a third angle of the projection device relative to the projection surface, and use a preset angle model to determine a third target angle of the imaging surface or the lens based on the third angle.

[0114] This step is different from the above step S802 only in the acquired angle of the projection device relative to the projection surface. Other implementations are exactly the same and will not be described again here.

[0115] Step S1104: Compensate the third target angle using the target compensation angle to obtain a compensated angle, and control the imaging plane or the lens to adjust to the compensated angle to complete image plane focusing.

[0116] In an embodiment of the present application, after acquiring the target compensation angle, the projection device can directly compensate for the second target angle determined based on the second angle to obtain the compensated angle, and then control the imaging plane or lens to adjust to the compensated angle to complete the image plane focusing.

[0117] Fig.12 An exemplary process diagram of image plane focusing provided in an embodiment of the present application Figure 4 The projection device is equipped with an angle measurement module, which is used to obtain the angle between the projection device and the projection surface, such as Fig.12 As shown, the focusing method includes steps S1201 to S1208:

[0118] Step S1201: After the power is turned on or the projection device is moved, the focus motor is triggered once to focus.

[0119] Here, the implementation method is consistent with the above-mentioned step S701 and step S901, and will not be repeated here.

[0120] Step S1202: obtaining a first angle of the projection device relative to the projection plane after the focus motor is focused, and using a preset angle model to determine a first target angle of the imaging plane or the lens based on the obtained first angle.

[0121] Here, it is consistent with the above step S904 and will not be repeated here.

[0122] Step S1203: Obtain a pre-calibrated angular error value of an imaging surface or a lens, and determine a preset angular rotation range based on the first target angle and the angular error value.

[0123] Here, the projection device can reduce the range of rotation of the imaging plane or the lens angle, that is, the angle range of θ1-q, θ1+q, based on the pre-calibrated angle error value and the first target angle.

[0124] Step S1204: rotating the imaging surface or the angle of the lens within the determined preset angle rotation range, capturing one projection screen image of the current projection each time the preset angle is rotated, and obtaining multiple projection screen images.

[0125] Here, only the preset angle rotation range is different from the above step S702, and other implementation methods are consistent, which will not be described here.

[0126] Step S1205: Analyze the image resolution of the projection image to determine the target angle of the imaging plane or the lens.

[0127] Here, the implementation method is consistent with the above step S703 and will not be repeated here.

[0128] Step S1206: determine the difference between the first target angle and the target angle as the target compensation angle.

[0129] Here, after obtaining the first target angle and the target angle, the projection device determines the difference between the two, that is, θ1-α, to obtain the target compensation angle.

[0130] Step S1207: when the projection device moves left and right, obtain a second angle of the projection device relative to the projection surface, and use a preset angle model to determine a second target angle of the imaging surface or the lens based on the second angle.

[0131] Here, the implementation method is consistent with the above step S906 and will not be repeated here.

[0132] Step S1208: Compensate the second target angle using the target compensation angle to obtain a compensated angle, and control the imaging plane or the lens to adjust to the compensated angle to complete image plane focusing.

[0133] Here, after acquiring the target compensation angle, the projection device can directly compensate for the second target angle determined based on the second angle to obtain a compensated angle, and then control the imaging plane or the lens to adjust to the compensated angle to complete the image plane focusing.

[0134] Of course, step S1206 and step S1208 here can also be replaced by step S907 as the step after step S1207 here.

[0135] The embodiment of the present application provides a focusing method, which includes: performing a focusing operation on a projection device to complete image distance focusing; determining a target angle of an imaging surface or a lens of the projection device, and controlling the imaging surface or the lens to adjust to the target angle to complete image plane focusing. The focusing method provided by the present application combines the projection picture focusing in two dimensions, image distance and image plane, so that the projection picture is within the effective depth of field range, thereby improving the accuracy of focusing.

[0136] The present application embodiment provides a projection device, such as Fig.13 As shown, including:

[0137] A focusing module 1301 is used to perform a focusing operation on the projection device to complete image distance focusing;

[0138] The adjustment module 1302 is used to determine the target angle of the imaging plane or lens of the projection device, and control the imaging plane or lens to adjust to the target angle to complete the image plane focusing.

[0139] In one embodiment of the present application, the adjustment module 1302 is also used to rotate the imaging surface or the lens in a preset direction within a preset angle rotation range of the imaging surface or the lens, and to capture the projection screen image of the current projection at each rotation of the preset angle to obtain corresponding multiple projection screen images; and determine the target angle based on the image resolution of the multiple projection screen images.

[0140] In one embodiment of the present application, the adjustment module 1302 is also used to obtain a first angle of the projection device relative to the projection plane, and use a preset angle model to determine a first target angle of the imaging plane or the lens based on the first angle; when the projection device moves, obtain a second angle of the projection device relative to the projection plane, and use a preset angle model to determine a second target angle of the imaging plane or the lens based on the second angle; determine the difference between the second target angle and the first target angle as the target rotation angle of the imaging plane or the lens, and control the imaging plane or the lens to rotate the target rotation angle to complete the image plane focusing.

[0141] In one embodiment of the present application, the adjustment module 1302 is further used to obtain an angle error value of a pre-calibrated imaging surface or lens; and determine a preset angle rotation range based on the first target angle and the angle error value.

[0142] In one embodiment of the present application, the adjustment module 1302 is also used to obtain a first angle of the projection device relative to the projection surface, and use a preset angle model to determine a first target angle of the imaging surface or the lens based on the first angle; determine the difference between the first target angle and the target angle as the target compensation angle; when the projection device moves, obtain a third angle of the projection device relative to the projection surface, and use a preset angle model to determine a third target angle of the imaging surface or the lens based on the third angle; use the target compensation angle to compensate the third target angle to obtain a compensated angle, and control the imaging surface or the lens to adjust to the compensated angle to complete the image plane focusing.

[0143] In one embodiment of the present application, the adjustment module 1302 is also used to determine the image resolution of each projection screen image among multiple projection screen images; determine the projection screen image with the largest image resolution among the multiple projection screen images as the target image; and determine the angle of the imaging plane or lens when capturing the target image as the target angle.

[0144] In one embodiment of the present application, the adjustment module 1302 is also used to divide each of the multiple projection screen images into two regional images according to the left and right projection areas; respectively determine the image area resolutions of the two regional images corresponding to each projection screen image; determine the regional image with the maximum image area resolution among the regional images of the same projection area as the corresponding target regional image, and obtain a first target regional image corresponding to the left projection area and a second target regional image corresponding to the right projection area; determine the first angle of the imaging plane or the lens when capturing the projection screen image where the first target regional image is located as the target angle, or, determine the second angle of the imaging plane or the lens when capturing the projection screen image where the second target regional image is located as the target angle, or, determine the average of the first angle and the second angle as the target angle.

[0145] The embodiment of the present application provides a projection device, performs a focusing operation on the projection device to complete image distance focusing; determines the target angle of the imaging surface or lens of the projection device, and controls the imaging surface or lens to adjust to the target angle to complete image plane focusing. The projection device provided by the present application combines the projection picture focusing in two dimensions of image distance and image plane, so that the projection picture is within the effective depth of field, thereby improving the accuracy of focusing.

[0146] The present application embodiment provides a projection device, such as Fig.14 As shown, the projection device includes: a processor 1401, a focus motor 1402, and an imaging surface adjustment motor or a lens adjustment motor 1403;

[0147] The processor 1401 controls the focus motor 1402 to perform a focus operation on the projection device to complete image distance focusing;

[0148] The processor 1401 determines the target angle of the imaging plane or lens of the projection device, and controls the imaging plane adjustment motor or the lens adjustment motor 1403 to adjust the imaging plane or the lens to the target angle to complete the image plane focusing.

[0149] The embodiment of the present application provides a computer-readable storage medium, which stores one or more computer programs, and the one or more computer programs can be executed by one or more processors to implement the above-mentioned focusing method. The computer-readable storage medium can be a volatile memory (volatile memory), such as a random access memory (Random-Access Memory, RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (Read-Only Memory, ROM), a flash memory (flash memory), a hard disk (Hard Disk Drive, HDD) or a solid-state drive (Solid-State Drive, SSD); or it can be a respective device including one or any combination of the above-mentioned memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc.

[0150] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0151] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0152] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0153] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0154] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A focusing method, characterized in that: Applied to a projection device, the method comprises: Performing a focusing operation on the projection device to complete image distance focusing; Determine the target angle of the imaging plane or the lens of the projection device, and control the imaging plane or the lens to adjust to the target angle to complete the image plane focusing.

2. The method according to claim 1, characterized in that Determining the target angle of the imaging surface or lens of the projection device includes: Rotate the imaging surface or the lens in a preset direction within a preset angle rotation range of the imaging surface or the lens, and capture a currently projected projection screen image at each rotation of the preset angle to obtain a corresponding plurality of projection screen images; The target angle is determined based on image resolutions of the plurality of projection screen images.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: Acquire a first angle of the projection device relative to the projection surface, and determine a first target angle of the imaging surface or the lens based on the first angle by using a preset angle model; After controlling the imaging plane or the lens to adjust to the target angle to complete the image plane focusing, the method further includes: When the projection device moves, obtaining a second angle of the projection device relative to the projection surface, and using the preset angle model to determine a second target angle of the imaging surface or the lens based on the second angle; The difference between the second target angle and the first target angle is determined as the target rotation angle of the imaging plane or the lens, and the imaging plane or the lens is controlled to rotate the target rotation angle to complete image plane focusing.

4. The method according to claim 3, characterized in that Before rotating the imaging plane or the lens in a preset direction within a preset angle rotation range of the imaging plane or the lens, the method further includes: Obtaining a pre-calibrated angular error value of the imaging surface or the lens; The preset angle rotation range is determined based on the first target angle and the angle error value.

5. The method according to claim 1 or 2, characterized in that: The method further comprises: Acquire a first angle of the projection device relative to the projection surface, and determine a first target angle of the imaging surface or the lens based on the first angle by using a preset angle model; determining a difference between the first target angle and the target angle as a target compensation angle; Correspondingly, after controlling the imaging plane or the lens to adjust to the target angle to complete the image plane focusing, the method further includes: When the projection device moves, a third angle of the projection device relative to the projection surface is acquired, and a third target angle of the imaging surface or the lens is determined based on the third angle by using the preset angle model; The third target angle is compensated by using the target compensation angle to obtain a compensated angle, and the imaging plane or the lens is controlled to be adjusted to the compensated angle to complete image plane focusing.

6. The method according to claim 2, characterized in that The determining the target angle based on the image resolution of the plurality of projection screen images comprises: Determining the image resolution of each of the plurality of projection screen images; Determine the projection screen image with the maximum image resolution among the multiple projection screen images as the target image; The angle of the imaging plane or the lens when acquiring the target image is determined as the target angle.

7. The method according to claim 2, characterized in that The determining the target angle based on the image resolution of the plurality of projection screen images comprises: Dividing each of the plurality of projection screen images into two area images according to the left and right projection areas; Respectively determining the image area resolutions of the two area images corresponding to each projection screen image; Determine the regional image with the maximum image area resolution among the regional images of the same projection area as the corresponding target regional image, and obtain a first target regional image corresponding to the left projection area and a second target regional image corresponding to the right projection area; The first angle of the imaging plane or the lens when capturing the projection screen image where the first target area image is located is determined as the target angle, or the second angle of the imaging plane or the lens when capturing the projection screen image where the second target area image is located is determined as the target angle, or the average of the first angle and the second angle is determined as the target angle.

8. A projection device, characterized in that: include: A focusing module, used for performing a focusing operation on the projection device to complete image distance focusing; The adjustment module is used to determine the target angle of the imaging plane or the lens of the projection device, and control the imaging plane or the lens to adjust to the target angle to complete the image plane focusing.

9. A projection device, characterized in that: The projection device comprises: a processor, a focus motor, and an imaging surface adjustment motor or a lens adjustment motor; The processor controls the focus motor to perform a focus operation on the projection device to complete image distance focusing; The processor determines a target angle of an imaging plane or a lens of the projection device, and controls the imaging plane adjustment motor or the lens adjustment motor to adjust the imaging plane or the lens to the target angle to complete image plane focusing.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more computer programs, and the one or more computer programs can be executed by one or more processors to implement the focusing method according to any one of claims 1 to 7.