Method, device and electronic equipment for adjusting lens of projection light machine

By collecting and analyzing the test image parameter values ​​of the projection machine, the focus position of the lens is determined and adjusted to the target position, which solves the problem of inaccurate lens position adjustment in the projection machine and improves the imaging quality and the control of lens offset.

CN115802016BActive Publication Date: 2025-09-09GOERTEK OPTICAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211394228.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-08
Publication Date
2025-09-09
Estimated Expiration
2042-11-08

AI Technical Summary

Technical Problem

The position adjustment of the lens in existing projection optical machines is difficult to be precise, resulting in the projection image being clear in some parts and blurred in others or the lens offset being too large, seriously affecting the image quality.

Method used

By collecting and analyzing the parameter values ​​of the first test image and the second test image, the focus position of the lens is determined, and the lens is adjusted to the target position according to these parameter values ​​to ensure that the lens is aligned with the projection screen.

Benefits of technology

The image quality of the projection machine has been improved, the lens offset meets the requirements, and the imaging effect has reached the best state.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115802016B_ABST
    Figure CN115802016B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a method, device, and electronic device for adjusting the lens of a projection light machine. The method for adjusting the lens of a projection light machine includes: collecting a first test image corresponding to the projection light machine; wherein the first test image is an image in which a first image displayed on a first identification plate and a second image displayed on a projection screen are superimposed, wherein the first identification plate is located in front of the projection screen; determining a first parameter value of the second image within a first target area; collecting a second test image corresponding to the projection light machine; wherein the second test image is an image formed by superimposing a third image on the first target area of ​​the first test image, wherein the third image is an image displayed on a second identification plate, and the second identification plate is located in front of the projection screen; determining a second parameter value within the third image; determining a focus position of the lens based on the first parameter value and the second parameter value; and adjusting the lens to the target position based on the focus position of the lens.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of projection optical machines, and more specifically, to a lens adjustment method, device, and electronic device for a projection optical machine. Background Art

[0002] With the rapid development of smart projectors in recent years, their excellent image presentation and competitive pricing have quickly gained a large market share. A projection system, also known as a projector, is a device that projects images, text, or videos onto a screen or wall.

[0003] The projection system is mainly presented through the "optical machine". The position of the lens in the optical machine plays a vital role in the projection imaging, because how to adjust the lens in the projection optical machine is a technical problem that needs to be solved urgently. Summary of the Invention

[0004] The purpose of this application is to provide a method for adjusting the lens of a projection optical machine. The adjustment method includes:

[0005] Acquire a first test image corresponding to the projection optical machine; wherein the first test image is an image obtained by superimposing a first image displayed on a first identification plate and a second image displayed on a projection screen, wherein the first identification plate is located in front of the projection screen;

[0006] determining a first parameter value of the second image within the first target area;

[0007] Capturing a second test image corresponding to the projection optical machine; the second test image is an image formed by superimposing a third image on the first target area of ​​the first test image, the third image being an image displayed on a second identification plate, the second identification plate being located in front of the projection screen;

[0008] determining a second parameter value within the third image;

[0009] determining a focus position of the lens according to the first parameter value and the second parameter value;

[0010] According to the focus position of the lens, the lens is adjusted to a target position.

[0011] Optionally, adjusting the lens to a target position according to the focus position of the lens includes:

[0012] adjusting the lens to a first position;

[0013] The lens is adjusted to a second position according to the first position, where the second position is a target position of the lens.

[0014] Optionally, adjusting the lens to the first position according to the focus position of the lens includes:

[0015] During the lens adjustment process, a third test image corresponding to the projection optical machine is collected; wherein the third test image is an image obtained by superimposing the fourth image displayed on the first identification plate and the fifth image displayed on the projection screen;

[0016] determining a third parameter value of the fifth image in a second target area, and determining a fourth parameter value of the fifth image in a third target area, wherein the second target area and the third target area are two edge areas in the fifth image;

[0017] A first position of the lens is determined according to the third parameter value and the fourth parameter value.

[0018] Optionally, determining the first position of the lens according to the third parameter value and the fourth parameter value includes:

[0019] The difference between the third parameter value and the fourth parameter value is within a predetermined range, and the first position of the lens is determined.

[0020] Optionally, adjusting the lens to the second position according to the first position of the lens includes:

[0021] Determining a first coordinate position of a first target pixel in the first image;

[0022] During the process of adjusting the lens, collecting the third test image;

[0023] Determine a second coordinate position of a second target pixel point of a fourth image in the third test image;

[0024] The second position of the lens is determined according to the first coordinate position and the second coordinate position.

[0025] Optionally, the first target pixel point is a pixel point located in the first image and at the boundary between the first image and the second image; the second target pixel point is a pixel point located in the fourth image and at the boundary between the fourth image and the fifth image.

[0026] Optionally, determining the focus position of the lens according to the first parameter value and the second parameter value includes:

[0027] The first parameter value is smaller than the second parameter value, and the focus position of the lens is in front of the projection screen;

[0028] The first parameter value is greater than the second parameter value, and the focus position of the lens is behind the projection screen.

[0029] Optionally, the size of the first identification plate and the size of the second identification plate are both smaller than the size of the projection screen; and the first identification plate and the second identification plate are both arranged parallel to the projection screen.

[0030] Optionally, the first parameter value, the second parameter value, the third parameter value and the fourth parameter value are all MTF values.

[0031] In a second aspect, a lens adjustment device for a projection optical machine is provided. The adjustment device comprises:

[0032] A first acquisition module is configured to acquire a first test image corresponding to the projection optical machine; wherein the first test image is an image obtained by superimposing a first image displayed on a first identification plate and a second image displayed on a projection screen, wherein the first identification plate is located in front of the projection screen;

[0033] a first determining module, determining a first parameter value of the second image within a first target area;

[0034] a second acquisition module for acquiring a second test image corresponding to the projection light engine; the second test image is an image formed by superimposing a third image on the first target area of ​​the first test image, the third image being an image displayed on a second identification plate, the second identification plate being located in front of the projection screen;

[0035] a second determining module, determining a second parameter value in the third image;

[0036] a calculation module, configured to determine a focus position of the lens according to the first parameter value and the second parameter value;

[0037] An adjustment module adjusts the lens to a target position according to the focus position of the lens.

[0038] According to a third aspect, an electronic device is provided, comprising:

[0039] A memory and a processor, wherein the memory and the processor are communicatively connected via an internal bus, the memory stores program instructions that can be executed by the processor, and when the program instructions are executed by the processor, the lens adjustment method of the projection light machine described in the first aspect can be implemented.

[0040] In the technical solution provided in the embodiments of the present application, the focus position of the lens is determined based on the first parameter value of the second image in the first target area in the first test image and the second parameter value in the third image in the second test image. For example, it is determined whether the focus position of the lens is located in front of the projection screen or behind the projection screen. According to the specific focus position of the lens, the lens can be directionally and purposefully adjusted to the target position to meet the imaging requirements of the projection optical machine.

[0041] Other features and advantages of the present specification will become apparent from the following detailed description of exemplary embodiments of the present specification with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the specification and, together with the description, serve to explain the principles of the specification.

[0043] Figure 1 Shown is a flow chart of a lens adjustment method for a projection optical machine according to an embodiment of the application.

[0044] Figure 2 Shown is a block diagram of a lens adjustment method for a projection optical machine according to an embodiment of the present application.

[0045] Figure 3 Shown is a schematic structural diagram of an electronic device according to an embodiment of the present application.

[0046] Figure 4 This is a structural diagram of the first test image.

[0047] Figure 5 Schematic diagram of the structure of the second test image.

[0048] Figure 6 This is a structural diagram of the third test image. Description of the drawings:

[0050] 1. First test image; 11. First image; 12. Second image;

[0051] 2. Second test image; 21. Third image;

[0052] 3. Third test image; 31. Fourth image; 32. Fifth image. DETAILED DESCRIPTION

[0053] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangements of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present application.

[0054] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0055] Techniques and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the techniques and equipment should be considered part of the specification.

[0056] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0057] It should be noted that like reference numerals and letters refer to like items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0058] In the prior art, during the assembly and production of a projection optical engine, there may be a tilt between the surface of the lens, the DMD, and the projection screen. As a result, the light projected from the optical engine body is difficult to focus on the surface of the screen through the lens, resulting in some positions being clear and some positions being blurred, or even the focus position of the lens not being on the projection screen at all. At the same time, even if the focus position is focused on the display screen, the offset of the lens is too large, causing the picture to appear severely tilted.

[0059] To address the aforementioned issues, embodiments of the present application provide a method, apparatus, and electronic device for adjusting the lens of a projection machine. The lens's focal position is determined based on a first parameter value and a second parameter value, and the lens is adjusted to a target position based on the lens's focal position. When the lens is adjusted to the target position, the image quality projected by the projection machine meets the requirements, and the offset of the lens in the projection machine also meets the requirements.

[0060] Hereinafter, various embodiments and examples according to the present disclosure are described with reference to the accompanying drawings.

[0061] <Method Example>

[0062] See Figure 1 As shown, an embodiment of the present application provides a method for adjusting the lens of a projector. The present invention provides a method for adjusting a projector. The projector includes a main body and a lens. The lens is located on the light-emitting surface of the main body, and the projector projects an image through the lens. The projector includes a display chip (DMD), a light source, a heat dissipation system, an optical path, and a lens, all of which are designed in a chassis.

[0063] The adjustment method includes: steps S101 to S106.

[0064] Step S101: Capturing a first test image 1 corresponding to a projection optical machine; wherein the first test image 1 is an image obtained by superimposing a first image 11 displayed on a first identification plate and a second image 12 displayed on a projection screen, wherein the first identification plate is located in front of the projection screen;

[0065] Step S102: determining a first parameter value of the second image 12 within a first target area;

[0066] Step S103: Capturing a second test image 2 corresponding to the projection light machine; the second test image 2 is an image formed by superimposing a third image 21 on the first target area of ​​the first test image 1, wherein the third image 21 is an image displayed on a second identification plate, and the second identification plate is located in front of the projection screen;

[0067] Step S104: determining a second parameter value in the third image 21;

[0068] Step S105: determining a focus position of the lens according to the first parameter value and the second parameter value;

[0069] Step S106: adjusting the lens to a target position according to the focus position of the lens.

[0070] In step S101, when capturing the first test image 1, the position of the projector is fixed, and a camera is set in the light output direction of the projector. The camera can be an industrial camera, which is a key component in the machine vision system. Its most essential function is to convert light signals into orderly electrical signals.

[0071] A projection screen is positioned in the light-emitting direction of the projector, and a first identification plate is positioned in front of the projection screen. The first identification plate can be positioned in the center of the projection screen, or in the lower-middle area of ​​the projector. The placement of the first identification plate is related to the lens offset design.

[0072] For example, when the lens is at 0% offset, the first identification plate is placed in the center of the projection screen. When the lens is at 100% offset, the first identification plate is placed in the lower middle area of ​​the projection screen. The distance between the first identification plate and the projection screen can be set according to the focal length of the lens and user requirements.

[0073] In this case, the position of the display chip in the projection machine (installed inside the machine, and its position is difficult to adjust), as well as the tooling for fixing the projection machine, and the positions of the projection screen and the first identification plate arranged in the light emitting direction of the projection machine are relatively fixed. During the projection process, the lens is adjusted to improve defects in the projection picture.

[0074] In this step, since the first identification plate is set in front of the projection screen, when the projector projects the image, the image captured by the industrial camera is an image in which the first image 11 displayed on the first identification plate and the second image 12 displayed on the projection screen are superimposed. Figure 4 The first test image 1 includes a first image 11 and a second image 12, wherein the first image 11 is located in the central area of ​​the second image 12, that is, the first identification plate blocks the central area of ​​the projection screen.

[0075] In this embodiment, a first identification plate is set in front of the projection screen, and the first identification plate blocks the central area of ​​the projection screen to facilitate the subsequent determination of the first parameter value of the second image 12 and the position of the target pixel point in the first image 11.

[0076] In step S102, the first parameter value of the second image 12 within the first target area is determined. In this step, the first identification plate is set in front of the projection screen, the projector projects the image, and the industrial camera captures the first test image 1. Since the first image 11 occupies a partial area of ​​the second image 12, the first target area is an area outside the first image 11. When the industrial camera captures the first test image 1, it is convenient to select the image of the first target area and determine the first parameter value of the first target area. The first parameter value is used to characterize the imaging quality of the image of the first target area, for example, it can be clarity. For example, when the industrial camera captures the first test image 1 and selects the first target area, an area is selected within the first target area, the image of the area is analyzed, and a parameter value is obtained as the first parameter value of the second image 12 within the first target area.

[0077] For example, the first identification plate is located in the center area of ​​the projection screen, wherein the first target area is the edge area of ​​the second image 12. Figure 4 As shown, the first target area may be one of the four edge areas in the second image 12 , or the first target may be at least two edge areas of the four edge areas in the second image 12 .

[0078] The second identification plate is located in the middle and lower area of ​​the projection screen, wherein the first target area is the edge area in the second image 12, for example, the parameter Figure 4 As shown, the first target area may be one of the four edge areas in the second image 12 , or the first target may be at least two edge areas of the four edge areas in the second image 12 .

[0079] In this step, the first parameter value of the second image 12 in the first target area is determined. Specifically, the first parameter value of the first target area in the second image 12 is recorded to facilitate subsequent determination of the focus position of the lens.

[0080] In step S103, the second test image 2 corresponding to the projector is captured by the industrial camera. When the industrial camera captures the second test image 2, the setting position of the projector, the position of the lens, the position of the first identification plate and the position of the projection screen are all fixed. Only a second identification plate is additionally set in front of the projection screen. The projection of the second identification plate in the light emitting direction of the projector is located in the first target area of ​​the second image 12. Figure 5 A schematic diagram of a second test image 2 is shown.

[0081] Thus, when the projection light machine projects an image, the first identification plate blocks a portion of the projection screen, and the second identification plate blocks another portion of the projection screen. In the image, the third image 21 displayed on the second identification plate is located within the first target area of ​​the second image 12. If only one first target area is selected, one second identification plate is placed in front of the projection screen; if multiple first target areas are selected, multiple second identification plates are placed in front of the projection screen, with each second identification plate corresponding to a first target area.

[0082] When the industrial camera captures the second test image 2, due to the first and second identification plates placed in front of the projection screen, the second test image 2 is a superposition of the first image 11, the second image 12, and the third image 21. When the industrial camera captures the first and second test images 1 and 2, respectively, the images projected by the projector can be the same or different.

[0083] The second test image 2 is defined as an image formed by superimposing the third image 21 on the first target area of ​​the first test image 1. This indicates that when the industrial camera captures the first test image 1 and the second test image 2, the positions of the projector fixture, lens, projection screen, and first identification plate remain fixed, regardless of whether the projection images are the same or different. The second identification plate is simply placed in front of the projection screen to ensure alignment between the second identification plate and the first target area.

[0084] In step S104, a second parameter value in the third image 21 is determined. For example, an industrial camera captures the second test image 2, selects a region in the third image 21, analyzes the image in the region, and determines a parameter of the image in the region as the second parameter value in the third image 21. The second parameter value is used to characterize the imaging quality of the third image 21, for example, clarity.

[0085] In step S105 , the focus position of the lens is determined according to the first parameter value and the second parameter value obtained above.

[0086] Specifically, for example, a first target area is selected in the second image 12, and the first parameter value within the first target area is determined to be A. Correspondingly, the second test image 2 includes a third image 21, wherein the second parameter value within the third image 21 is B. The focus position of the lens is determined based on the numerical values ​​of A and B. The first parameter value A is the parameter value of the image displayed on the projection screen, and the second parameter value B is the parameter value of the image displayed on the second identification plate, where the second identification plate is positioned closer to the lens than the projection screen.

[0087] For example, two first target areas are selected in the second image 12, the two first target areas include a first first target area and a second first target area, and the first parameter value of the first first target area is determined to be A1, and the first parameter value of the second first target area is determined to be A2; correspondingly, the second test image 2 includes two third images 21, the two third images 21 include a first third image 21 and a second third image 21, wherein the first third image 21 corresponds to the first first target area, and the second third image 21 corresponds to the second first target area, and the second parameter value of the first third image 21 is determined to be B1, and the second parameter value of the second third image 21 is determined to be B2, and the focusing position of the lens is determined based on the sizes of A1 and B1, and based on the sizes of A2 and B2.

[0088] Therefore, in this step, the focus position of the lens is determined according to the magnitudes of the first parameter value and the second parameter value.

[0089] In step S106, the focus position of the lens has been determined in the above step S105. According to the determined focus position, the lens is adjusted in a direction and purposeful manner, so that the lens can be adjusted to the target position quickly and accurately.

[0090] Therefore, in this embodiment, the focus position of the lens is determined based on the first parameter value of the second image 12 in the first target area in the first test image 1 and the second parameter value in the third image 21 in the second test image 2. For example, it is determined whether the focus position of the lens is located in front of the projection screen or behind the projection screen. According to the specific focus position of the lens, the lens can be directionally and purposefully adjusted to the target position to meet the imaging requirements of the projection optical machine.

[0091] In one embodiment, adjusting the lens to a target position according to the focus position of the lens includes:

[0092] adjusting the lens to a first position;

[0093] The lens is adjusted to a second position according to the first position, where the second position is a target position of the lens.

[0094] In this embodiment, adjusting the lens to a target position based on the lens's focus position includes two sub-steps. The first sub-step is to adjust the lens to a first position to determine the image quality of the image projected by the projection engine. The lens is then adjusted to a second position based on the first position to determine the lens offset value, thereby preventing the lens offset value from not meeting the required image quality even though the image quality is satisfactory.

[0095] The setting position of the lens is continuously adjusted according to the parameter value of the image projected by the projection optical machine, so that when the lens is adjusted to the first position, the quality of the image is uniform and meets the requirements.

[0096] While meeting the imaging quality requirements, the offset of the lens is adjusted. For example, the theoretical design value of the lens offset (0% offset or 100% offset) and the actual offset value during the lens assembly process are compared. Through the projection effect, an industrial camera is used to analyze the information of the projected image to obtain the offset value of the actual offset, and the actual offset is continuously adjusted to meet the requirements.

[0097] The definition of Offset is the degree of positional difference between the projected image position and the horizontal line, i.e., the optical axis, when the projector is placed in a horizontal position.

[0098] In one embodiment, adjusting the lens to the first position according to the focus position of the lens includes:

[0099] S201: During lens adjustment, a third test image 3 corresponding to the projection optical machine is captured; wherein the third test image 3 is an image obtained by superimposing the fourth image 31 displayed on the first identification plate and the fifth image 32 displayed on the projection screen;

[0100] S202: Determine a third parameter value of the fifth image 32 in a second target area, and determine a fourth parameter value of the fifth image 32 in a third target area, wherein the second target area and the third target area are two edge areas in the fifth image 32;

[0101] S203: Determine a first position of the lens according to the third parameter value and the fourth parameter value.

[0102] In this embodiment, the lens is continuously adjusted according to the focus position of the lens until the lens is adjusted to the first position.

[0103] Specifically, during the process of adjusting the lens, the position of the fifth image 32 displayed on the projection screen is constantly changing, and the position of the fourth image 31 displayed on the first signboard is constantly changing.

[0104] In step S201 : for example, the lens is adjusted to a first preset position, and the industrial camera captures a third test image 3 , wherein the third test includes an image formed by superimposing the fourth image 31 and the fifth image 32 .

[0105] Since a first identification plate is set in front of the projection screen, which blocks part of the projection screen, the fourth image 31 displayed by the first identification plate will also block part of the fifth image 32 displayed on the projection screen during the projection of the image by the projection light machine.

[0106] Because fourth image 31 partially obscures fifth image 32, the second and third target areas selected in fifth image 32 are both outside fourth image 31. By partially obscuring fifth image 32 with fourth image 31, the industrial camera can more easily select the second and third target areas after capturing third test image 3.

[0107] The placement of the first indicator plate is related to the lens's designed offset. For example, when the lens has a 0% offset, the first indicator plate is placed in the center of the projection screen. When the lens has a 100% offset, the first indicator plate is placed in the lower-middle area of ​​the projection screen. The distance between the first indicator plate and the projection screen can be adjusted based on the lens' focal length and user requirements.

[0108] Specifically, the second target area and the third target area are both edge areas in the fifth image 32. For example, the second target area and the third target area may be two edge areas both located above the fourth image 31, or the second target area and the third target area may be two edge areas both located below the fourth image 31, or the second target area and the third target area may be areas at two diagonal corners to the fifth image 32.

[0109] In steps S202 and S203 , the first position of the lens is finally determined according to the determined third parameter value of the second target area and the determined fourth parameter value of the third target area.

[0110] For example, the first position of the lens is determined according to the magnitude of the third parameter value and the fourth parameter value. Specifically, when the difference between the third parameter value and the fourth parameter value is within a predetermined range, the first position of the lens is determined. For example, when the difference between the third parameter value and the fourth parameter value is not within the predetermined range, it is proved that the parameter value of the second target area and the parameter value of the third target area have a large gap, and the picture quality in the fifth image 32 is uneven. For example, if the third parameter value of the second target area is less than the fourth parameter value of the third target area, and the parameter value can represent the clarity of the image, it is proved that the clarity of the second target area is lower than the clarity of the third target area. At this time, the lens can be continuously adjusted according to the values ​​of the third parameter value and the fourth parameter value to narrow the gap between the third parameter value and the fourth parameter value, so that the image quality of the second target area and the image quality of the third target area can be basically consistent.

[0111] Generally speaking, in order to ensure the overall image quality of the fifth image 32, two groups of second target areas and two groups of third target areas can be selected, that is, two second target areas and two third target areas are selected, and the parameter values ​​of each second target area and each third target area are determined respectively, that is, the parameter values ​​of four target areas can be obtained, and the lens is continuously adjusted to narrow the gap between the parameter values ​​of the four target areas, so that the image quality of the four target areas can be basically consistent, thereby ensuring the overall image quality of the fifth image 32.

[0112] Therefore, in this embodiment, the first position of the lens is ultimately determined by determining parameter values ​​of at least two target areas in the fifth image 32 and based on the corresponding parameter values ​​of the at least two target areas. When the lens is adjusted to the first position, the focus position of the fifth image 32 projected by the projection engine on the projection screen is located on the projection screen, and the quality of the image projected by the projection engine meets the requirements. However, the lens offset may not meet the requirements. For example, if the lens offset is particularly severe, the projected fifth image 32 may not meet the requirements.

[0113] In one embodiment, adjusting the lens to a second position according to the first position of the lens includes:

[0114] S301: Determine a first coordinate position of a first target pixel in the first image 11;

[0115] S302: During the process of adjusting the lens, capturing the third test image 3;

[0116] S303: Determine a second coordinate position of a second target pixel point in the fourth image 31 in the third test image 3;

[0117] S304: Determine a second position of the lens according to the first coordinate position and the second coordinate position.

[0118] In this embodiment, in order to ensure that the image quality projected by the projector meets the requirements and that the offset of the lens in the projector also meets the requirements, the lens is adjusted based on the lens being in the first position to adjust the offset of the lens so that the offset of the lens meets the requirements.

[0119] Specifically, in step S301, an industrial camera captures a first test image 1, where the first test image 1 is an image in which the first image 11 and the second image 12 are superimposed. For example, if a first identification plate is located in front of a projection screen, when the projector is projecting the image, the image displayed by the first identification plate in the captured first test image 1 will partially obstruct the second image 12 displayed on the projection screen. Therefore, a dividing line will exist between the first image 11 and the second image 12.

[0120] In step S301 , a first coordinate position of a first target pixel in a first image 11 is determined.

[0121] For example, the number of first target pixel points may be one or more, and the first target pixel point may be a pixel point located in the first image 11 (e.g., a pixel point located at the center of the first image 11), or may be a pixel point located in the first image 11 and located at the boundary between the first image 11 and the second image 12. When the first target pixel point is a pixel point located in the first image 11 and located at the boundary between the first image 11 and the second image 12, it is convenient to determine the position of the target pixel point in the subsequent analysis process, thereby avoiding errors, for example, avoiding the second target pixel point in the fourth image 31 having a position in the fourth image 31 that is different from the position of the first target pixel point in the first image 11 in the first image 11.

[0122] For example, an industrial camera captures a first test image 1 , and a coordinate system is established to determine the first coordinate position of a first target pixel in the first image 11 , that is, to determine the specific position of the first image 11 in the first test image 1 .

[0123] In step S302 , during the process of adjusting the lens, the industrial camera continuously captures a plurality of third test images 3 .

[0124] For example, the lens is adjusted to the first preset position, and the industrial camera captures a third test image 3, wherein the third test image 3 corresponds to a fourth image 31 and a fifth image 32. When the projection screen displays the fifth image 32, the focus position of the lens is already on the projection screen, and the difference in parameter values ​​between the second target area and the third target area in the fifth image 32 meets the requirements.

[0125] For example, the lens is adjusted to the second preset position, and the industrial camera captures a third test image 3. Corresponding to the third test image 3 are a fourth image 31 and a fifth image 32. When the projection screen displays the fifth image 32, the lens's focus position is already on the projection screen. When the projection screen displays the fifth image 32, the lens's focus position is already on the projection screen, and the difference in parameter values ​​between the second target area and the third target area in the fifth image 32 meets the requirements.

[0126] The difference between the third test images 3 captured when the lens is adjusted to the first preset position and the second preset position is that the position of the fourth image 31 in the fifth image 32 is changed in the two test images.

[0127] In step S303 , a second coordinate position of a second target pixel point in the fourth image 31 in the third test image 3 is determined.

[0128] In this step, the industrial camera captures a third test image 3 and determines the second coordinate position of the second target pixel point of the fourth image 31, that is, determines the position of the fourth image 31 in the third test image 3, where the position of the second target pixel point in the fourth image 31 is the same as the position of the first target pixel point in the first image 11.

[0129] S304: Determine a second position of the lens according to the first coordinate position and the second coordinate position.

[0130] Specifically, the position of the first image 11 in the first test image 1 is compared with the position of the fourth image 31 in the third test image 3 to determine the magnitude of the lens offset. By continuously capturing the third test image 3 and continuously comparing the position of the fourth image 31 in the third test image 3 (the position of the fourth image 31 in the third test image 3 continuously changes during lens adjustment) with the position of the first image 11 in the first test image 1, the magnitude of the lens offset can be calculated. When the calculated lens offset meets the requirements, it is determined that the lens has been adjusted to the second position, that is, the lens has been adjusted to the final target position.

[0131] In this embodiment, after the lens is adjusted to the first position, the lens is adjusted again so that the focus position of the image projected by the projection light machine is located within the projection screen. On the basis that the image of the projection light machine meets the quality requirements, the offset of the lens also meets the requirements.

[0132] In one embodiment, the first target pixel point is a pixel point located in the first image 11 and at the boundary between the first image 11 and the second image 12; the second target pixel point is a pixel point located in the fourth image 31 and at the boundary between the fourth image 31 and the fifth image 32.

[0133] In this embodiment, the position of the first target pixel point and the position of the second target pixel point are limited, thereby avoiding the situation where the position of the second target pixel point in the fourth image 31 is inconsistent with the position of the first target pixel point in the first image 11.

[0134] In one embodiment, determining the focus position of the lens according to the first parameter value and the second parameter value includes:

[0135] The first parameter value is smaller than the second parameter value, and the focus position of the lens is in front of the projection screen;

[0136] The first parameter value is greater than the second parameter value, and the focus position of the lens is behind the projection screen.

[0137] In this embodiment, the focus position of the lens is determined by the numerical values ​​of the first parameter value and the second parameter value.

[0138] For example, the first parameter value of the first target area in second image 12 is smaller than the second parameter value in third image 21, where third image 21 is displayed on a second signboard positioned in front of the projection screen. In this case, the lens focus is considered to be in front of the projection screen. For example, as the second signboard moves closer to the projection screen, the second parameter value in third image 21 gradually decreases. In this case, the lens surface is tilted relative to the projection screen, and is tilted away from the projection screen (e.g., the lens surface is tilted backward).

[0139] Or in an optional embodiment, the lens surface is arranged parallel to the projection screen, but the display chip (DMD) in the projection optical machine is tilted relative to the projection screen, or is tilted relative to the lens. In this case, the first parameter value of the first target area in the second image 12 may be smaller than the second parameter value in the third image 21. At this time, since the position of the display chip is inconvenient to adjust, the lens also needs to be adjusted so that the lens and the display chip are relatively parallel to adjust the focus position of the picture so that the focus position of the picture is located on the projection screen.

[0140] Or in an optional embodiment, the lens surface and the display chip (DMD) are arranged parallel to the projection screen, but the tooling for fixing the projection optical machine is tilted, and the first parameter value of the first target area in the second image 12 may be smaller than the second parameter value in the third image 21. At this time, since the structure of the tooling (the tooling may be a standard tooling (such as the optical machine body), which is equivalent to the complete product) is inconvenient to adjust, the lens also needs to be adjusted so that the lens and the display chip are relatively parallel to adjust the focus position of the picture so that the focus position of the picture is located on the projection screen.

[0141] For example, the first parameter value of the first target area in second image 12 (which does not meet the requirement) is greater than the second parameter value in third image 21, where third image 21 is displayed on a second signboard located in front of the projection screen. In this case, the lens focus position is considered to be behind the projection screen. For example, as the second signboard moves closer to the projection screen, the second parameter value in third image 21 gradually increases. In this case, the lens surface is tilted relative to the projection screen, and is tilted toward the projection screen (e.g., the lens surface is tilted forward).

[0142] Or in an optional embodiment, the lens surface is arranged parallel to the projection screen, but the display chip (DMD) in the projection optical machine is tilted relative to the projection screen, or is tilted relative to the lens. In this case, the first parameter value of the first target area in the second image 12 may be greater than the second parameter value in the third image 21. At this time, since the position of the display chip is inconvenient to adjust, the lens also needs to be adjusted so that the lens and the display chip are relatively parallel to adjust the focus position of the picture so that the focus position of the picture is located on the projection screen.

[0143] Or in an optional embodiment, the lens surface and the display chip (DMD) are arranged parallel to the projection screen, but the tooling for fixing the projection optical machine is tilted, and the first parameter value of the first target area in the second image 12 may be greater than the second parameter value in the third image 21. At this time, since the structure of the tooling (the tooling may be a standard tooling (such as the optical machine body), which is equivalent to the complete product) is inconvenient to adjust, it is also necessary to adjust the lens so that the lens and the display chip are relatively parallel to adjust the focus position of the picture so that the focus position of the picture is located on the projection screen.

[0144] It should also be noted that, in general, the setting position of the display chip (DMD) and the structure of the standard tooling are external environmental factors. If the focus position caused by external environmental factors is not on the projection screen, it is also necessary to adjust the lens to solve the focus position of the picture.

[0145] In one embodiment, the size of the first identification plate and the size of the second identification plate are both smaller than the size of the projection screen; and the first identification plate and the second identification plate are both arranged parallel to the projection screen.

[0146] In this embodiment, the size of the first identification plate and the size of the second identification plate are both limited to be smaller than the size of the projection screen, thereby preventing the first identification plate from completely blocking the projection screen, and also preventing the second identification plate from completely blocking the projection screen. In addition, the combined size of the first identification plate and the second identification plate is also smaller than the size of the projection screen.

[0147] In this embodiment, the first identification plate and the second identification plate are both arranged parallel to the projection screen. For example, four points are obtained on the first identification plate, and four points are correspondingly obtained on the projection screen. The distance between each group of corresponding points is calculated. When the distances between the four groups of corresponding points are equal, it is proved that the first identification plate and the projection screen are arranged parallel, thereby avoiding imaging errors caused by the non-parallelism of the first identification plate and the projection screen.

[0148] In addition, whether the second identification plate and the projection screen are parallel is also determined by the above method.

[0149] In one embodiment, the first parameter value, the second parameter value, the third parameter value, and the fourth parameter value are all MTF values.

[0150] In this embodiment, the first parameter value, the second parameter value, the third parameter value, and the fourth parameter value are all defined as MTF values, that is, the imaging quality and the focus position of the lens are determined by the MTF values.

[0151] It should be noted that the first parameter value, the second parameter value, the third parameter value and the fourth parameter value may also be other parameter values ​​used to characterize imaging quality.

[0152] <Device Example>

[0153] See Figure 2 The embodiment of the present application further provides a lens adjustment device for a projection optical machine, the adjustment device comprising: a first acquisition module, a first determination module, a second acquisition module, a second determination module, a calculation module and an adjustment module.

[0154] The first acquisition module is used to acquire a first test image 1 corresponding to the projection optical machine; wherein the first test image 1 is an image obtained by superimposing a first image 11 displayed on a first identification plate and a second image 12 displayed on a projection screen, wherein the first identification plate is located in front of the projection screen;

[0155] The first determining module is used to determine a first parameter value of the second image 12 within the first target area;

[0156] The second acquisition module is used to acquire a second test image 2 corresponding to the projection light machine; the second test image 2 is an image formed by superimposing a third image 21 on the first target area of ​​the first test image 1, and the third image 21 is an image displayed on a second identification plate, and the second identification plate is located in front of the projection screen;

[0157] The second determining module is used to determine the second parameter value in the third image 21;

[0158] The calculation module is used to determine the focus position of the lens according to the first parameter value and the second parameter value;

[0159] The adjustment module is used to adjust the lens to a target position according to the focus position of the lens.

[0160] In an embodiment of the present application, a lens adjustment device for a projection optical machine is provided. Based on a first parameter value of a second image 12 within a first target area in a first test image 1 and a second parameter value of a third image 21 in a second test image 2, the focus position of the lens is determined. For example, the focus position of the lens is determined to be in front of or behind the projection screen. Based on the specific focus position of the lens, the lens can be directionally and purposefully adjusted to the target position to meet the imaging requirements of the projection optical machine.

[0161] It should be noted that the working process of the lens adjustment device of the projection light machine in this embodiment corresponds to the implementation steps of the lens adjustment method of the projection light machine mentioned above. Therefore, for the parts not described in this embodiment, please refer to the description in the above embodiment and will not be repeated here.

[0162] This embodiment further provides an electronic device, comprising a memory 301 and a processor 302. The memory 301 is configured to store an executable computer program. The processor 302 is configured to execute the lens adjustment method for a projection optical machine according to the method embodiment of the present application under the control of the executable computer program.

[0163] In addition, the logical instructions in the above-mentioned memory can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application, or the part 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 a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application.

[0164] In one embodiment, each module of the lens adjustment device of the above projection optical machine can be implemented by a processor running computer instructions stored in a memory.

[0165] <Medium Example>

[0166] In this embodiment, a computer-readable storage medium is also provided, which stores a computer program that can be read and executed by a computer. When the computer reads and executes the computer program, the computer program is used to execute the lens adjustment method of the projection light machine as in any of the above method embodiments of the present invention.

[0167] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments, but it should be clear to those skilled in the art that the above embodiments can be used alone or in combination with each other as needed. In addition, for the device embodiment, since it corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the corresponding part of the method embodiment. The system embodiment described above is merely illustrative, and the modules described as separate components may or may not be physically separated.

[0168] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.

[0169] A computer-readable storage medium can be a tangible device that can hold and store instructions for use by an instruction execution device. A computer-readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination thereof. As used herein, a computer-readable storage medium is not to be construed as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through an electrical wire.

[0170] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in the computer-readable storage medium in each computing / processing device.

[0171] The computer program instructions for performing the operations of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, and conventional procedural programming languages ​​such as "Like" or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, the state information of the computer-readable program instructions is used to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), which can execute the computer-readable program instructions to implement various aspects of the present invention.

[0172] Various aspects of the present invention are described herein with reference to flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present invention. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.

[0173] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0174] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0175] The flowcharts and block diagrams in the accompanying drawings show the possible implementation architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment or part of an instruction, and the module, program segment or part of the instruction contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are all equivalent.

[0176] While various embodiments of the present invention have been described above, the foregoing description is intended to be illustrative, non-exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, their practical applications, or technological improvements in the marketplace, or to enable others skilled in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.

Claims

1. A method for adjusting the lens of a projection light machine, characterized in that: The adjustment method includes: Acquiring a first test image (1) corresponding to the projection optical machine; wherein the first test image (1) is an image obtained by superimposing a first image (11) displayed on a first identification plate and a second image (12) displayed on a projection screen, wherein the first identification plate is located in front of the projection screen; determining a first parameter value of the second image (12) within a first target area; Acquiring a second test image (2) corresponding to the projection light machine; wherein the second test image (2) is an image formed by superimposing a third image (21) on the first target area of ​​the first test image (1), and the third image (21) is an image displayed on a second identification plate, and the second identification plate is located in front of the projection screen; determining a second parameter value within the third image (21); determining a focus position of the lens according to the first parameter value and the second parameter value; Adjusting the lens to a target position according to the focus position of the lens; Wherein, adjusting the lens to a target position according to the focus position of the lens includes: adjusting the lens to a first position; adjusting the lens to a second position according to the first position, wherein the second position is a target position of the lens; Adjusting the lens to a first position according to a focus position of the lens includes: During the lens adjustment process, a third test image (3) corresponding to the projection light machine is collected; wherein the third test image (3) is an image obtained by superimposing the fourth image (31) displayed on the first identification plate and the fifth image (32) displayed on the projection screen; Determining a third parameter value of the fifth image (32) in a second target area, and determining a fourth parameter value of the fifth image (32) in a third target area, wherein the second target area and the third target area are two edge areas in the fifth image (32); determining a first position of the lens according to the third parameter value and the fourth parameter value; According to the first position of the lens, adjusting the lens to the second position includes: Determining a first coordinate position of a first target pixel point in the first image (11); During the process of adjusting the lens, capturing the third test image (3); Determining a second coordinate position of a second target pixel point in the fourth image (31) in the third test image (3); The second position of the lens is determined according to the first coordinate position and the second coordinate position.

2. The lens adjustment method of a projection optical machine according to claim 1, characterized in that: Determining the first position of the lens according to the third parameter value and the fourth parameter value includes: The difference between the third parameter value and the fourth parameter value is within a predetermined range, and the first position of the lens is determined.

3. The lens adjustment method of a projection light machine according to claim 1, wherein: The first target pixel point is a pixel point located in the first image (11) and located at the boundary between the first image (11) and the second image (12); the second target pixel point is a pixel point located in the fourth image (31) and located at the boundary between the fourth image (31) and the fifth image (32).

4. The lens adjustment method of a projection light machine according to claim 1, wherein: Determining the focus position of the lens according to the first parameter value and the second parameter value includes: The first parameter value is smaller than the second parameter value, and the focus position of the lens is in front of the projection screen; The first parameter value is greater than the second parameter value, and the focus position of the lens is behind the projection screen.

5. The lens adjustment method of a projection optical machine according to claim 1, wherein: The size of the first identification plate and the size of the second identification plate are both smaller than the size of the projection screen; the first identification plate and the second identification plate are both arranged parallel to the projection screen.

6. The method for adjusting the lens of a projection light machine according to claim 1, wherein: The first parameter value, the second parameter value, the third parameter value, and the fourth parameter value are all MTF values.

7. A lens adjustment device for a projection light machine, characterized in that: The adjusting device (200) comprises: A first acquisition module (201) acquires a first test image (1) corresponding to the projection light machine; wherein the first test image (1) is an image obtained by superimposing a first image (11) displayed on a first identification plate and a second image (12) displayed on a projection screen, wherein the first identification plate is located in front of the projection screen; A first determination module (202) determines a first parameter value of the second image (12) within a first target area; A second acquisition module (203) acquires a second test image (2) corresponding to the projection light machine; the second test image (2) is an image formed by superimposing a third image (21) on the first target area of ​​the first test image (1), the third image (21) being an image displayed on a second identification plate, the second identification plate being located in front of the projection screen; A second determination module (204) determines a second parameter value in the third image (21); A calculation module (205) determines a focus position of the lens according to the first parameter value and the second parameter value; An adjustment module (206) adjusts the lens to a target position according to the focus position of the lens; The adjusting module (206) adjusts the lens to a target position according to the focus position of the lens, including: adjusting the lens to a first position; adjusting the lens to a second position according to the first position, wherein the second position is a target position of the lens; Adjusting the lens to a first position according to a focus position of the lens includes: During the lens adjustment process, a third test image (3) corresponding to the projection light machine is collected; wherein the third test image (3) is an image obtained by superimposing the fourth image (31) displayed on the first identification plate and the fifth image (32) displayed on the projection screen; Determining a third parameter value of the fifth image (32) in a second target area, and determining a fourth parameter value of the fifth image (32) in a third target area, wherein the second target area and the third target area are two edge areas in the fifth image (32); determining a first position of the lens according to the third parameter value and the fourth parameter value; According to the first position of the lens, adjusting the lens to the second position includes: Determining a first coordinate position of a first target pixel point in the first image (11); During the process of adjusting the lens, capturing the third test image (3); Determining a second coordinate position of a second target pixel point in the fourth image (31) in the third test image (3); The second position of the lens is determined according to the first coordinate position and the second coordinate position.

8. An electronic device, characterized in that: The electronic device comprises: A memory and a processor, wherein the memory and the processor are communicatively connected via an internal bus, the memory stores program instructions that can be executed by the processor, and when the program instructions are executed by the processor, the lens adjustment method of the projection light machine according to any one of claims 1 to 6 can be implemented.

Citation Information

Patent Citations

  • Method for correcting image measurement instrument

    CN104034259A

  • Projector calibration method based on lens distortion rule

    CN104299218A