Embodiments of the present disclosure relate to the technical field of digital projection and display, and in particular, relate to an automatic focusing projection method and system.
In recent years, with rapid development of semiconductor and display technologies, the projection technology is quickly advanced, and more and more projection devices are available in the market. At present, the motion projection technology is desired in various application scenarios, for example, large-scale stages, security and alarming, smart traffic and the like. Specific demands in different scenarios are accommodated by movement of the projection picture in the space. In a motion projection system, an important subject is real-time automatic focusing. Since a projection position of the motion projection system constantly varies, the projection distance may constantly vary correspondingly. Where a fixed-focus scheme is employed, a projection picture is inevitably subject to blurring. Therefore, in the motion projection system, the real-time automatic focusing technology is desired.
At present, some schemes have been attempted and applied in the motion projection system. For example, a time of flight (TOF) assembly is configured beside a projector optical engine, and the projector optical engine and the TOF assembly collaboratively move. Since the projection picture is constantly at the center of a detection region of the TOF assembly, a center detection distance of the TOF assembly is a projection distance of the system. In practice, a position of a focusing lens may be adjusted based on the projection distance, such that automatic focusing is achieved.
However, in a reflective motion projection (that is, motion of the projection picture is controlled by rotation of a mirror) system, an effective real-time automatic focusing scheme is still unavailable at present.
A technical solution employed by the embodiments of the present disclosure is an automatic focusing projection method. The method is applicable to an automatic focusing projection system. The automatic focusing projection system includes a ranging unit, a projection unit, and a reflection unit, wherein the ranging unit is configured to acquire a depth image, the projection unit is configured to project an image, and the reflection unit is configured to change a direction of outgoing light of the projection unit. The automatic focusing projection method includes: acquiring a depth image from the ranging unit, and acquiring a vertical projection distance from the ranging unit to a projection plane based on the depth image; acquiring position information of a center point of a projection picture in the depth image based on an elevation angle of the reflection unit and the vertical projection distance; acquiring a projection distance between the projection unit and the projection picture based on the position information; and performing focus adjustment on the projection unit based on the projection distance.
Some embodiments of the present disclosure further provide an automatic focusing projection system. The automatic focusing projection system includes: a ranging unit, a projection unit, a reflection unit, and a control unit; wherein the control unit is connected to the ranging unit, the projection unit, and the reflection unit; the ranging unit is configured to acquire a depth image; the projection unit is configured to project an image, wherein the projection unit includes a focusing device and a projection lens movable along an optical axis, the focusing device being configured to regulate a position of the projection lens; the reflection unit is configured to change a direction of outgoing light of the projection unit; and the control unit includes at least one processor, and a memory communicably connected to the at least one processor, wherein the memory is configured to store one or more instructions executable by the at least one processor, wherein the one or more instructions, when executed by the at least one processor, cause the at least one processor to perform the automatic focusing projection method as described above.
Some embodiments of the present disclosure further provide a non-volatile computer-readable storage medium storing one or more computer-executable instructions, wherein the one or more computer-executable instructions, when executed by a processor, cause the processor to perform the automatic focusing projection method as described above.
Some embodiments of the present disclosure further provide a computer program product. The computer program product includes one or more computer programs stored in a non-volatile computer-readable storage medium, wherein the one or more computer programs include one or more program instructions, which, when executed by a computer, cause the computer to perform the automatic focusing projection method according to the first aspect.
One or more embodiments are illustrated by way of example, and not by limitation, in the figures of the accompanying drawings, wherein elements/modules and steps having the same reference numeral designations represent like elements/modules and steps throughout. The drawings are not to scale, unless otherwise disclosed.
The present disclosure is further described with reference to some exemplary embodiments. The embodiments hereinafter facilitate further understanding of the present disclosure for a person skilled in the art, rather than causing any limitation to the present disclosure. It should be noted that persons of ordinary skill in the art may derive various variations and modifications without departing from the inventive concept of the present disclosure. Such variations and modifications shall pertain to the protection scope of the present disclosure.
For better understanding of the present disclosure, the present disclosure is described in detail with reference to attached drawings and specific embodiments. Unless the context clearly requires otherwise, throughout the specification and the claims, technical and scientific terms used herein denote the meaning as commonly understood by a person skilled in the art. Additionally, the terms used in the specification of the present disclosure are merely for describing the objectives of the specific embodiments, and are not intended to limit the present disclosure. As used herein, the term “and/or” in reference to a list of one or more items covers all of the following interpretations of the term: any of the items in the list, all of the items in the list and any combination of the items in the list.
It should be noted that, in the absence of conflict, embodiments of the present disclosure and features in the embodiments may be incorporated, which all fall within the protection scope of the present disclosure. In addition, although function module division is illustrated in the schematic diagrams of devices, and in some occasions, module division different from the divisions of the modules in the devices may be used. Further, the terms “first,” “second,” and the like used in this text do not limit data and execution sequences, and are intended to distinguish identical items or similar items having substantially the same functions and effects.
Referring to
The ranging unit 10 is configured to acquire a depth image. In some embodiments, the ranging unit 10 is a 3D camera, a TOF sensor, and/or a structured light camera. In some other embodiments, the ranging unit 10 may also be a microwave radar, or any other suitable ranging devices, which is not limited herein.
The reflection unit 30 is configured to change a direction of outgoing light of the projection unit 20. Specifically, the reflection unit 30 is disposed rightly opposite to the projection unit 20, and may adjust a relative angle with respect to the projection unit 20 and adjust a direction of a light ray emitted from the projection unit 20. In an embodiment of the present disclosure, the reflection unit 30 preferably employs an optical device with a high reflectivity, to ensure quality of a projection picture, and the reflection unit 30 is a reflection device provided with a rotation mechanism. The rotation mechanism preferably employs a device with a high measurement accuracy of a rotation angle, to ensure that a rotation angle of the reflection unit 30 is accurately and precisely adjusted.
The projecting unit 20 is configured to project projection content. Specifically, the projection content of the projection unit 20 includes an image, a video, or a Unity animation. In some embodiments, the projection unit 20 includes a focusing device and a projection lens movable along an optical axis. The focusing device is connected to the control unit 40, and is configured to adjust a position of the projection lens based on a signal from the control unit 40.
The control unit 40 is configured to control the ranging unit 10, the projection unit 20, and the reflection unit 30 to operate, and process data to acquire a result. The control unit 40 includes: at least one processor, and a memory communicably connected to the at least one processor; wherein the memory stores one or more instructions executable by the at least one processor, wherein the one or more instructions, when executed by the at least one processor, cause the at least one processor to perform the automatic focusing projection method according to any method embodiment hereinafter.
As illustrated in
The processor 41 and the memory 42 may be connected via a bus or in another manner, and
The memory 42, as a non-volatile computer readable storage medium, may be used to store non-volatile software programs, and non-volatile computer executable programs and modules. The non-volatile software programs, instructions and modules stored in the memory 42, when executed, cause the processor 41 to perform various function applications and data processing of the control unit, that is, performing the automatic focusing projection method according to any method embodiment hereinafter.
The memory 42 may include a program memory area and data memory area, wherein the program memory area may store operation systems and application programs needed by at least function; and the data memory area may store data created according to the use of the automatic focusing projection system. In addition, the memory 42 may include a high-speed random-access memory, or include a non-volatile memory, for example, at least one disk storage device, a flash memory device, or another non-volatile solid storage device. In some embodiments, the memory 42 optionally includes memories remotely configured relative to the processor 41. These memories may be connected to the processor over a network. Examples of the above network include, but not limited to, the Internet, Intranet, local area network, mobile communication network and a combination thereof.
In some embodiments, referring to
θ>½(βmax−βmin)
wherein θ represents the half angle of view of the ranging unit 10, βmin represents the minimum elevation angle of the mirror, βmax and represents the maximum elevation angle of the mirror. This relational formula is derived as follows:
First, still referring to
and an elevation angle of the ranging unit 10 in a normal d direction is
Then in order that the ranging unit 10 is capable of detecting a distance to the position of the projection picture, the following condition shall be satisfied:
βr+θ≥β
That is:
It is thus derived as follows:
θ≥βmax−β0
Second, referring to
and an elevation angle of the ranging unit 10 in the normal d direction is
Then in order that the ranging unit 10 is capable of detecting a distance to the position of the projection picture, the following condition shall be satisfied:
βr−θ<β
That is:
It is thus derived as follows:
θ<β0−βmin
A mounting angle and a minimum angle of view of the ranging unit 10 are acquired in combination with θ>βmax−β0−βmin:
β0=½(βmin+βmax)
θ= 7/2(βmax−βmin)
In practice, the ranging unit 10 with an even greater angle of view may also be used, that is, θ>½(βmax−βmax), to ensure that a motion region of the projection picture is sufficiently covered. In practice, the mounting angles of the ranging unit 10 and the mirror 30 may be defined according to the actual needs, as long as θ≥βmax−β0 and θ≥β0−βmin are satisfied.
The present disclosure further provides an embodiment of an automatic focusing projection method, which is applicable to the automatic focusing projection system as described above. Referring to
In step S1, a depth image from the ranging unit is acquired, and a vertical projection distance from the ranging unit to a projection plane is acquired based on the depth image.
Specifically, when the mirror is rotating, the projection picture is moving in a space, and in this case, the ranging unit is capable of measuring distances in real time in various directions and generating a depth image. The acquired depth image information shall include depth information of a projection plane, such that a vertical projection distance from the ranging unit to the projection plane is acquired. In some other embodiments, the depth image information further includes depth information of other objects in the space.
Specifically, referring to
sub-step S11: acquiring the depth image from the ranging unit, and determining a depth corresponding to a center position of the depth image as the vertical projection distance.
Since the ranging unit and the reflection center point of the reflection unit may be considered as the same point, a distance corresponding to a center position of the depth image acquired by the ranging unit is made to be approximate to a distance from the reflection center point of the reflection unit to the projection plane. Therefore, the vertical projection distance from the ranging unit to the projection plane is approximately considered as a vertical projection distance from the reflection center point of the reflection unit to the projection plane.
In step S2, position information of a center point of a projection picture in the depth image is acquired based on an elevation angle of the reflection unit and the vertical projection distance.
Specifically, referring to
sub-step S21: acquiring the position information based on the elevation angle, the vertical projection distance, and a first correspondence table, wherein the first correspondence table indicates a corresponding relationship among the elevation angle, the vertical projection distance, and the position information.
First, referring to
In the case that the angle defined between the ranging unit and the mirror is β0, the elevation angle of the ranging unit in the normal d direction is
Accordingly, in the vertical direction, the reflected light ray e of the projection unit is not parallel to the normal d of the ranging unit. Therefore, the projection picture is not positioned at a vertical center position of the depth image acquired by the ranging unit, and the position of the center point of the projection picture in the depth image is related to the elevation angle of the mirror and the vertical projection distance from the reflection center point to the projection plane. Meanwhile, during manufacture of the automatic focusing projection system, referring to
Therefore, a corresponding relationship among the elevation angle of the mirror, the vertical projection distance, and the position of the center point of the projection picture in the depth image may be pre-established. Specifically, in some embodiments, the corresponding relationship among the elevation angle, the vertical projection distance, and the position information indicated in the first correspondence table are acquired first; and the first correspondence table is established based on the corresponding relationship. For example, a first correspondence table among coordinates (x, y) of the projection picture in the depth image acquired by the ranging unit, the elevation angle β of the mirror, and the vertical projection distance Rp of the reflection center point of the mirror to the projection plane may be established first, wherein βmin≤β≤βmax, Rpmin≤R≤Rpmax, 1≤x≤m,1≤y≤n, and βmin represent the minimum elevation angles of the mirror, βmax represents the maximum elevation angle of the mirror, Rpmin represents a minimum vertical projection distance from the reflection center point of the mirror to the projection plane, Rpmax represents a maximum vertical projection distance from the reflection center point of the mirror to the projection plane, and m and n respectively represent a width and a height of the depth image acquired by the ranging unit. Then, the first correspondence table is a set of coordinates of the corresponding center point of the projection picture in the depth image under different elevation angles of the mirror, and different vertical projection distances from the reflection center point of the mirror to the projection plane. It should be noted that during establishment of the first correspondence table, the light ray reflected by the mirror shall be made to be perpendicular to the projection plane, and the projection picture shall be made square. In a practical establishment process, operations may be performed using a variable control method. For example, the angle of the mirror may be first made to a fixed predetermined angle, and then a corresponding relationship between the vertical projection distance and the coordinates is established. In practice, the establishment process may be flexibly configured, which is not limited to the description in the embodiments of the present disclosure.
Since in step S1, the vertical projection distance from the ranging unit to the projection plane is approximately considered as the vertical projection distance from the reflection center point of the mirror to the projection plane, then in the case that a distance corresponding to the center position of the depth image acquired by the ranging unit is acquired, the distance is considered as the vertical projection distance from the reflection center point to the projection plane. Afterwards, position information is acquired by querying based on the elevation angle and the first correspondence table, that is, the coordinates of the center point of the projection picture in the depth image acquired by the ranging unit are acquired.
In step S3, a projection distance between the projection unit and the projection picture is acquired based on the position information.
Specifically, in the case that the coordinates of the position of the center of the projection picture in the depth image are acquired, depth information corresponding to the position coordinates is determined in the depth image, and the projection distance from the projection unit to the projection picture is acquired by adding a fixed predetermined distance from the projection unit to the reflection center point of the reflection unit to the distance corresponding to the depth information. In practice, the fixed predetermined distance may be defined according to the actual needs, which is not limited herein.
In step S4, focus adjustment is performed on the projection unit based on the projection distance.
Since a focal length of the projection lens in the automatic focusing projection system is adjustable between a minimum focal length and a maximum focal length, and in addition, within the zooming range of the projection lens, the focal length of the projection lens is in one-to-one correspondence with the projection distance, the minimum focal length corresponds to a minimum adjustable projection distance, and the maximum focal length corresponds to a maximum adjustable projection distance. The minimum adjustable projection distance and the maximum adjustable projection distance determine the zooming range [D0, D1]. That is, within a projection distance range [D0, D1], the focal length of the projection lens movable along the optical axis may be adjusted by the focusing device, such that the projection picture is clearer.
Specifically, referring to
sub-step S41: acquiring a target position of the projection lens based on the projection distance; and
sub-step S42: controlling, based on the target position, the focusing device to move the projection lens to the target position.
Specifically, the target position of the projection lens is acquired based on the projection distance and a second correspondence table, wherein the second correspondence table indicates a corresponding relationship between the projection distance and a position of the projection lens.
In some embodiments, a second correspondence table between the position of the projection lens and the projection distance may be pre-established within a zooming range of the projection lens. The second correspondence table is a set of the corresponding lens positions under different projection distances within the zooming range of the projection lens. In the case that the projection distance between the projection unit and the projection position is acquired, the target position of the projection lens corresponding to the projection distance is found by querying the second correspondence table, and subsequently, the projection lens is adjusted to the target position by the focusing device, thereby achieving automatic focusing.
In the automatic focusing projection method according to the embodiments of the present disclosure, automatic focusing in reflective motion projection may be achieved in real time. In the case that the elevation angle of the reflection unit or the position of the projection plane is changed, the projection picture may be still maintained clear in the case of moving in the space, such that user visual experience is improved.
An embodiment of the present disclosure further provides a non-volatile computer-readable storage medium. The non-volatile computer-readable storage medium stores one or more computer-executable instructions, which, when executed by one or more processors, for example, the processor 41 as illustrated in
An embodiment of the present disclosure further provides a computer program product. The computer program product includes one or more computer programs stored in a non-volatile computer-readable storage medium. The one or more computer programs include one or more program instructions, which, when executed by a computer, cause the computer to perform the automatic focusing projection method in any of the above method embodiments, for example, performing the steps in the methods as illustrated in
The embodiments of the present disclosure provide an automatic focusing projection method. The method is applicable to an automatic focusing projection system. The automatic focusing projection system includes a ranging unit, a projection unit, and a reflection unit. The automatic focusing projection method includes: acquiring a depth image from the ranging unit, and acquiring a vertical projection distance from the ranging unit to a projection plane based on the depth image; acquiring position information of a center point of a projection picture in the depth image based on an elevation angle of the reflection unit and the vertical projection distance; acquiring a projection distance between the projection unit and the projection picture based on the position information; and performing focus adjustment on the projection unit based on the projection distance. By the method, automatic focusing may be implemented in a reflective motion projection system.
It should be noted that the above described device embodiments are merely for illustration purpose only. The units which are described as separate components may be physically separated or may be not physically separated, and the components which are illustrated as units may be or may not be physical units, that is, the components may be disposed at the same position or may be distributed into a plurality of network units. Part or all of the modules may be selected according to the actual needs to achieve the objectives of the technical solutions of the embodiments.
According to the above embodiments of the present disclosure, a person skilled in the art may clearly understand that the embodiments of the present disclosure may be implemented by means of hardware or by means of software plus a necessary general hardware platform. Based on such understanding, portions of the technical solutions of the present disclosure that essentially contribute to the related art may be embodied in the form of a software product, the computer software product may be stored in a computer-readable storage medium, such as a read-only memory (ROM)/random-access memory (RAM), a magnetic disk, or a compact disc read-only memory (CD-ROM), including several instructions for causing a computer device (a personal computer, a server, or a network device) to perform the method in various embodiments or some of the embodiments of the present disclosure.
Finally, it should be noted that the above embodiments are merely used to illustrate the technical solutions of the present disclosure rather than limiting the technical solutions of the present disclosure. Under the concept of the present disclosure, the technical features of the above embodiments or other different embodiments may be combined, the steps therein may be performed in any sequence, and various variations may be derived in different aspects of the present disclosure, which are not detailed herein for brevity of description. Although the present disclosure is described in detail with reference to the above embodiments, persons of ordinary skill in the art should understand that they may still make modifications to the technical solutions described in the above embodiments, or derive equivalent replacements to some of the technical features; however, such modifications or replacements do not cause the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202011623664.5 | Dec 2020 | CN | national |
This application is a continuation of International Patent Application NO. PCT/CN2021/082411, filed on Mar. 23, 2021, which is based upon and claims priority to Chinese Patent Application No. 202011623664.5, filed before China National Intellectual Property Administration on Dec. 31, 2020 and entitled “AUTOMATIC FOCUSING PROJECTION METHOD AND SYSTEM,” the entire contents of which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
7980703 | Yamamoto | Jul 2011 | B2 |
10104351 | Muramatsu | Oct 2018 | B2 |
20210033710 | Matsumoto | Feb 2021 | A1 |
Number | Date | Country |
---|---|---|
101025551 | Aug 2007 | CN |
107885023 | Apr 2018 | CN |
110191328 | Aug 2019 | CN |
110677630 | Jan 2020 | CN |
5262253 | Aug 2013 | JP |
Number | Date | Country | |
---|---|---|---|
20220210381 A1 | Jun 2022 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2021/082411 | Mar 2021 | US |
Child | 17544121 | US |