Projection equipment adjusting method and device, equipment and storage medium

The processor controls the projection equipment to project and capture images, and uses the pixel grayscale matrix to calculate the image position, thereby realizing automatic adjustment of the projection equipment, solving the problem of low adjustment efficiency of the projection equipment in the existing technology, and improving the adjustment efficiency and accuracy.

CN118741058APending Publication Date: 2024-10-01YINWANG INTELLIGENT TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310340770.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing projection equipment is inefficient when adjusting the position of the projected image, requiring manual movement and repeated adjustments, affecting efficiency and accuracy.

Method used

The processor controls the projection device to project the target image and the captured image, determines the position of the target image in the reference captured image, uses the pixel grayscale matrix to calculate the image position, automatically adjusts the position of the projection device, and improves adjustment efficiency and accuracy.

Benefits of technology

It realizes the automatic adjustment of the projection equipment, avoids the complicated operation of manual adjustment, and improves the adjustment efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118741058A_ABST
    Figure CN118741058A_ABST
Patent Text Reader

Abstract

The invention provides a projection equipment adjusting method and device, equipment and a storage medium, and belongs to the technical field of projection. The method can be executed by the projection equipment, and the processor adopts the reference shot image as reference and controls the adjusting part to adjust the position of the projection equipment in combination with the shot image of the projection picture at the current position, so that automatic adjustment of the projection equipment is completed. The complex operations of repeatedly moving the position of the projection equipment and judging whether the projection picture is appropriate or not in the manual adjustment process are avoided, and the adjustment efficiency of the projection equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] The projection device can project a projection image onto an optical screen. After projection, if the projection image is offset, the position of the projection device needs to be manually adjusted.

[0003] When manually moving the position of the projection device, it is necessary to observe the projection image at the same time to determine whether the current position is appropriate. It may be necessary to repeatedly move the position of the projection device to complete the adjustment, resulting in low adjustment efficiency. Summary of the invention

[0004] The present disclosure provides a projection device adjustment method, apparatus, device and storage medium, which can solve the problems of related technologies.

[0005] In a first aspect, a method for adjusting a projection device is provided. The method is applied to a first projection device, and the first projection device may include a first processor, a first shooting component, a first projection component, and a first adjustment component. The first processor may first control the first projection component to project a target image onto a projection surface, and then control the first shooting component to shoot the projection surface to obtain a first shot image, and determine the image position of a first area image corresponding to the target image in the first shot image. Afterwards, the first processor controls the first adjustment component to adjust the position of the first projection component based on the image position of the first area image and the first reference image position, wherein the first reference image position is the image position of the reference area image corresponding to the target image in the reference shot image.

[0006] In the present technical solution, the target image can be a single color image with a different pixel grayscale or color from the projection surface, or it can be other complex images. Since the pixel grayscale of the target image is different from that of the projection surface, the pixel grayscale matrix of the reference area image corresponding to the target image in the reference captured image can be determined based on the pixel grayscale value. The image position of the reference area image can be determined based on the pixel grayscale matrix of the reference captured image, and the position of the pixel grayscale matrix of the reference area image (such as the coordinates of the four vertices of the reference area image, or the coordinates of all the pixels in the reference area image) can be used as the image position corresponding to the target image in the reference captured image. The position of a specific pixel point in the reference area image (such as the center point of the reference area image) can be used as the image position of the reference area image corresponding to the target image in the reference captured image.

[0007] With the above solution, the processor uses the reference captured image as a reference, and then controls the adjustment component to adjust the position of the projection device in combination with the captured image of the projection screen at the current position, thereby completing the automatic adjustment of the projection device. This avoids the complex operations of repeatedly moving the position of the projection device and judging whether the projection screen is appropriate during the manual adjustment process, thereby improving the efficiency of adjusting the projection device.

[0008] In a possible implementation, the first processor may determine an overlapping area between the first area image and the reference area image based on an image position of the first area image and a first reference image position. Then, based on a size of the overlapping area, a size of the reference area image, an image position of the first area image, and a first reference image position, a vector distance of the first area image relative to the reference area image is determined. Thereafter, the first adjustment component is controlled to adjust the position of the first projection component based on the vector distance.

[0009] In the technical solution, the size of the overlapping area can be represented by the longitudinal length and the transverse length of the overlapping area, and the size of the reference area image can be represented by the longitudinal length and the transverse length of the reference area image. The overlapping area can be determined by the pixel grayscale matrix of the first area image and the reference area image.

[0010] By adopting the above scheme, the calculation process is simple and efficient, and the accuracy and efficiency of adjusting the projection device can be guaranteed.

[0011] In a possible implementation, the first processor may first determine the moving target area based on the first reference image position, and then determine the overlapping area between the first area image and the moving target area based on the image position of the first area image and the image position of the moving target area. Then, based on the size of the overlapping area, the size of the moving target area, the image position of the first area image, and the image position of the moving target area, determine the vector distance of the first area image relative to the moving target area. Thereafter, the first adjustment component is controlled to adjust the position of the first projection component based on the vector distance. The moving target area has the same image size as the reference area, the longitudinal component of the distance between the image position of the moving target area and the first reference image position is an integer multiple of the longitudinal side length of the reference area image, and the transverse component of the distance is an integer multiple of the transverse side length of the reference area image.

[0012] In the present technical solution, the size of the moving target area can be represented by the longitudinal side length and the transverse side length of the moving target area.

[0013] By adopting the above scheme, the calculation process is simple and efficient, and the accuracy and efficiency of adjusting the projection device can be guaranteed.

[0014] In a possible implementation, the first processor may determine a vector distance of the first region image relative to the reference region image based on a position of a center of the first region image in the first captured image and a position of a center of the reference region image in the reference captured image, and then control the first adjustment component to adjust the position of the first projection component based on the vector distance.

[0015] By adopting the above scheme, the calculation process is simple and efficient, and the accuracy and efficiency of adjusting the projection device can be guaranteed.

[0016] In a possible implementation, the first processor may determine the moving target area based on the position of the first reference image, and then determine the vector distance of the first area image relative to the moving target area based on the position of the center of the first area image in the first captured image and the position of the center of the moving target area in the reference captured image. Afterwards, the first adjustment component is controlled to adjust the position of the first projection component based on the vector distance. The moving target area has the same image size as the reference area, the longitudinal component of the distance between the image position of the moving target area and the position of the first reference image is an integer multiple of the longitudinal length of the reference area image, and the transverse component of the distance is an integer multiple of the transverse length of the reference area image.

[0017] By adopting the above scheme, the calculation process is simple and efficient, and the accuracy and efficiency of adjusting the projection device can be guaranteed.

[0018] In a possible implementation, the first processor may place the first projection component in a reference position before controlling the first projection component to project the target image onto the projection surface, and then control the first projection component to project the target image onto the projection surface, and control the first shooting component to shoot the projection surface to obtain a second shot image as the reference shot image. Afterwards, the first processor determines the image position corresponding to the target image in the reference shot image as the first reference image position.

[0019] In this technical solution, when the projection device is factory calibrated or after the projection device is installed, the technician (or user) can first determine a reference position for the first projection component, which can be determined by manual adjustment. When the projection device projects at the reference position, the optical axis of the projection component is perpendicular to the projection surface.

[0020] By adopting the above solution, in the case of a single projection device and the projection device including one projection component, the position of the first reference image can be determined accurately and efficiently.

[0021] In a possible implementation, the first projection device may further include a second projection component. Before controlling the first projection component to project the target image onto the projection surface, the first processor may control the second projection component to project the target image onto the projection surface and control the first shooting component to shoot the projection surface to obtain a third shot image as a reference shot image. Afterwards, the first processor determines the image position corresponding to the target image in the reference shot image as the first reference image position.

[0022] In the technical solution, the second projection component may be a reference projection component pre-selected by a technician, and other projection components are adjusted based on the projection image generated by the projection component as a reference.

[0023] By adopting the above solution, in the case of a single projection device and the projection device including a plurality of projection components, the position of the first reference image can be determined accurately and efficiently.

[0024] In a possible implementation, the first projection device may further include a second projection component and a second shooting component. Before controlling the first projection component to project the target image onto the projection surface, the first processor may first control the second projection component to project the target image onto the projection surface and control the second shooting component to shoot the projection surface to obtain a fourth shot image as a reference shot image. Afterwards, the first processor converts the image position corresponding to the target image in the reference shot image into a unified coordinate system to obtain a first reference image position. The first processor may also convert the image position of the first area image into a unified coordinate system to obtain a converted image position. Based on the converted image position and the first reference image position, the first adjustment component is controlled to adjust the position of the first projection component.

[0025] In the present technical solution, the image position of the reference area image is related to the relative position of the coordinate system in the unified coordinate system and the coordinate system in the reference captured image. The origin of the unified coordinate system is (0, 0). If the coordinates of the origin of the coordinate system in the reference captured image in the unified coordinate system are (m1, n1), the first processor converts the image position corresponding to the target image in the reference captured image into the unified coordinate system. It is necessary to convert the pixel coordinates (x, y) of the coordinate system in all reference captured images into (x+m1, y+n1).

[0026] By adopting the above solution, in the case of a single projection device and the projection device including a plurality of projection components and a plurality of shooting components, the position of the first reference image can be determined accurately and efficiently.

[0027] In one possible implementation, the first projection device may further include a first communication component. The first processor may control the first adjustment component to adjust the position of the first projection component based on the image position of the first area image and the first reference image position. Afterwards, the first processor controls the first shooting component to shoot the projection surface to obtain a fifth shot image as a reference shot image. The first processor may convert the image position corresponding to the target image in the reference shot image into a unified coordinate system to obtain a second reference image position, and then control the first communication component to send the second reference image position to the second projection device, wherein the second reference image position is used to adjust the position of the second projection component in the second projection device.

[0028] By adopting the above solution, in the case where there are multiple projection devices and each projection device includes a projection component and a shooting component, the position of the first reference image can be determined accurately and efficiently.

[0029] In a second aspect, a projection device adjustment apparatus is provided, the apparatus comprising at least one module, and the at least one module is used to implement the projection device adjustment method provided by the first aspect and possible implementations thereof.

[0030] In a third aspect, a computer device is provided, the computer device comprising a memory and a processor, the memory being used to store computer instructions. The processor executes the computer instructions stored in the memory, so that the computer device executes the projection device adjustment method provided in the first aspect and possible implementations thereof.

[0031] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program code. In response to the computer program code being executed by a computer device, the computer device executes the projection device adjustment method provided by the first aspect and possible implementations thereof.

[0032] In a fifth aspect, a computer program product is provided, the computer program product comprising a computer program code, in response to the computer program code being executed by a computer device, the computer device executes the projection device adjustment method provided by the first aspect and possible implementations thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 is a structural schematic diagram of a projection device provided by an embodiment of the present disclosure;

[0034] Figure 2 is a method flow chart of a projection device adjustment method provided by an embodiment of the present disclosure;

[0035] Figure 3 is a schematic diagram of a pixel coordinate system provided by an embodiment of the present disclosure;

[0036] Figure 4 is a schematic diagram of a pixel coordinate system provided by an embodiment of the present disclosure;

[0037] Figure 5 is a method flow chart of a projection device adjustment method provided by an embodiment of the present disclosure;

[0038] Figure 6 is a schematic diagram of a pixel coordinate system provided by an embodiment of the present disclosure;

[0039] Figure 7 is a schematic diagram of a pixel coordinate system provided by an embodiment of the present disclosure;

[0040] Figure 8 is a method flow chart of a projection device adjustment method provided by an embodiment of the present disclosure;

[0041] Fig. 9 is a schematic diagram of a pixel coordinate system provided by an embodiment of the present disclosure;

[0042] Fig.10 is a schematic diagram of a pixel coordinate system provided by an embodiment of the present disclosure;

[0043] Fig.11 is a method flow chart of a projection device adjustment method provided by an embodiment of the present disclosure;

[0044] Fig.12 It is a structural schematic diagram of a projection equipment adjustment device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0045] The present disclosure provides a projection device. From the perspective of hardware composition, the projection device includes a processor, a shooting component, a projection component, and an adjustment component. Figure 1 shown.

[0046] The processor may be a central processing unit (CPU) or a system on chip (SoC), etc. The processor may be used to perform related processing of adjusting the projection device, for example, calculating the vector distance, etc.

[0047] The shooting component can be a linear array or area array charge coupled device (CCD) camera, a digital camera, etc. The shooting component can be used to shoot the projection surface.

[0048] The projection component may be a cathode ray tube (CRT) projector, a liquid crystal display (LCD) projector or a digital light processor (DLP) projector, and the projection component may be used to project an image on a projection surface.

[0049] The adjusting component may be a hydraulic adjusting component or an electronic adjusting component, etc. The adjusting component may move on a plane parallel to the projection plane in the actual space, or may move perpendicular to the projection plane, and the adjusting component is used to adjust the position of the projection component. The adjusting component may include a fixed platform, three mobile platforms and three motors. The first mobile platform is slidably connected to the fixed platform. The first motor is fixedly connected to the fixed platform and is transmission-connected to the first mobile platform, and is used to control the first mobile platform to slide on the fixed platform. The second mobile platform is slidably connected to the first mobile platform. The second motor is fixedly connected to the first mobile platform and is transmission-connected to the second mobile platform, and is used to control the second mobile platform to slide on the first mobile platform. The third mobile platform is slidably connected to the second mobile platform. The third mobile platform is used to fix the projection component. The third motor is fixedly connected to the second mobile platform and is transmission-connected to the third mobile platform, and is used to control the third mobile platform to slide on the second mobile platform. The sliding directions of the three mobile platforms are perpendicular to each other, namely the optical axis direction, the horizontal direction on the plane perpendicular to the optical axis, and the vertical direction. The three mobile platforms and three motors can complete three-way movement. For the case where only two-way movement is required, only two mobile platforms and two motors can be set, and for the case where only one-way movement is required, only one mobile platform and one motor can be set.

[0050] The connection relationship of the above components can be as follows:

[0051] The projection device may further include a base, and the processor, the shooting component and the adjusting component may be connected to the base respectively. The projection component may be connected to the adjusting component.

[0052] The base can be placed on a table or a bracket, or can be fixedly installed on a roof, a wall, etc. The shooting component can be fixed on the base to keep the position and shooting direction unchanged. The fixing platform of the adjustment component is fixed on the base. The projection component is fixed on the last stage of the adjustment component. For example, in the case of the three moving platforms mentioned above, the projection component is fixed on the third moving platform.

[0053] In the case where the projection device includes a plurality of projection components and a plurality of adjustment components, the number of projection components and adjustment components may be the same. The base may have a long strip structure, a plurality of adjustment components are horizontally distributed on the base, and each projection component is mounted on one adjustment component. Alternatively, the base may also have a frame structure, a plurality of adjustment components are distributed in a matrix on the base, and each projection component is mounted on one adjustment component.

[0054] In the above situation, the projection device may have one or more shooting components. If there is one shooting component, it can be fixed at any position on the base, such as the center of the base. If there are multiple shooting components, the number of shooting components, projection components, and adjustment components can be the same, and each shooting component can be fixed at a position next to an adjustment component.

[0055] In actual applications, due to changes in the installation or placement of the projection device, the position of the projection image projected by the projection device on the projection surface may be offset. In this case, the position of the projection device needs to be adjusted so that the projection image is located at a suitable position. The embodiment of the present disclosure provides a projection device adjustment method, which can be applied to the case where a single projection device projects a complete projection image. The projection device has a processor, a projection component, a shooting component and an adjustment component, such as Figure 2 As shown, the method comprises the following steps:

[0056] 201. When the first projection component is at a reference position, the first processor controls the first projection component to project a target image onto a projection surface.

[0057] The projection surface may be a screen plane, or other planes such as a wall.

[0058] When the projection device is calibrated at the factory or after the projection device is installed, the technician (or user) can first determine a reference position for the first projection component, which can be determined by manual adjustment. When the projection device is projecting at the reference position, the optical axis of the projection component is perpendicular to the projection surface. After determining the reference position, the technician can operate the projection device for projection, and the first processor of the projection device controls the first projection component to project the target image onto the projection surface. The target image can be a single-color image with a different grayscale or color from the projection surface pixels, or it can be other complex images. The embodiment of the present disclosure takes the target image as a single-color image as an example for explanation.

[0059] 202. The first processor controls the first photographing component to photograph the projection surface to obtain a second photographed image as a reference photographed image.

[0060] The first shooting component is fixed in position and can be installed in various fixed installation ways, for example, the base is fixedly installed on a wall, a roof or a desktop, and the first shooting component is fixedly installed on the base.

[0061] When the first shooting component shoots the projection surface, it can shoot the entire projection surface, or it can shoot a portion of the projection surface including the target image.

[0062] 203. The first processor determines an image position corresponding to the target image in the reference captured image as a first reference image position.

[0063] The first reference image position is an image position of a reference area image corresponding to the target image in the reference captured image.

[0064] The first processor performs a grayscale matrix operation on the reference captured image to obtain a pixel grayscale matrix of the reference captured image. For example, if the projection surface is a white screen and the target image is a black image, the pixel grayscale matrix of the reference captured image may be a 7*11 matrix, as shown in Table 1, where 0 represents a black pixel grayscale value and 255 represents a white pixel grayscale value.

[0065] Table 1

[0066] 255 255 255 255 255 255 255 255 255 255 255 255 255 0 0 0 0 0 0 0 255 255 255 255 0 0 0 0 0 0 0 255 255 255 255 0 0 0 0 0 0 0 255 255 255 255 0 0 0 0 0 0 0 255 255 255 255 0 0 0 0 0 0 0 255 255 255 255 255 255 255 255 255 255 255 255 255

[0067] Since the pixel grayscale of the target image is different from that of the projection surface, the pixel grayscale matrix of the reference area image corresponding to the target image in the reference captured image can be determined based on the pixel grayscale value. The image position of the reference area image can be determined based on the pixel grayscale matrix of the reference captured image. The image position of the reference area image can be expressed in multiple ways:

[0068] Method 1: The position of the pixel grayscale matrix of the reference region image (such as the coordinates of the four vertices of the reference region image, or the coordinates of all pixels in the reference region image) can be used as the image position corresponding to the target image in the reference captured image.

[0069] Continuing with Table 1 as an example, the pixel grayscale matrix of the reference area image is a 5*7 matrix. If the center point of the reference captured image is taken as the coordinate origin, the following is established: Figure 3 In the pixel coordinate system shown, each pixel is a unit length, so the position of the rectangle enclosed by the four vertex coordinates (3, 2), (-3, 2), (3, -2) and (-3, -2) of the reference area image is the image position of the reference area image.

[0070] Method 2: The position of a specific pixel point in the reference area image (such as the center point of the reference area image) may be used as the image position of the reference area image corresponding to the target image in the reference captured image.

[0071] Taking the center point of the reference region image as an example, the coordinates (0, 0) of the center point of the reference region image are used as the image position of the reference region image.

[0072] Afterwards, the first processor may determine the image position of the reference area image as a first reference image position, and the first processor may store the first reference image position.

[0073] 204. The first processor controls the first projection component to project the target image onto the projection surface.

[0074] After the first processor determines the position of the first reference image, if the position of the projection device moves, the projection device can start automatic adjustment. Alternatively, the subsequent projection device can start automatic adjustment before each use. The first processor first controls the first projection component to project a target image onto the projection surface. The target image can be the same as the target image in step 201 or different. The embodiment of the present disclosure takes the same target image as an example for explanation.

[0075] 205. The first processor controls the first photographing component to photograph the projection surface to obtain a first photographed image.

[0076] The position of the first shooting component is the same as that in step 202 .

[0077] 206 , the first processor determines an image position of a first area image corresponding to the target image in the first captured image.

[0078] The first processor performs a grayscale matrix operation on the first captured image to obtain a pixel grayscale matrix of the first captured image. For example, if the projection surface is a white curtain and the target image is a black image, the pixel grayscale matrix of the first captured image may be a 7*11 matrix, as shown in Table 2, where 0 represents a black pixel grayscale value and 255 represents a white pixel grayscale value.

[0079] Table 2

[0080] 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 0 0 0 0 0 0 0 255 255 255 255 0 0 0 0 0 0 0 255 255 255 255 0 0 0 0 0 0 0 255 255 255 255 0 0 0 0 0 0 0 255 255 255 255 0 0 0 0 0 0 0 255

[0081] Since the pixel grayscale of the target image is different from that of the projection surface, the pixel grayscale matrix of the first region image corresponding to the target image can be determined according to the pixel grayscale value. The image position of the first region image can be determined according to the pixel grayscale matrix of the first region image. The image position of the first region image can be expressed in multiple ways:

[0082] Method 1: The position of the pixel grayscale matrix of the first region image (such as the coordinates of four vertices of the first region image, or the coordinates of all pixels in the first region image) can be used as the image position of the first region image.

[0083] Continuing with Table 2 as an example, the pixel grayscale matrix corresponding to the target image in the first captured image is a 5*7 matrix. If the center point of the first captured image is taken as the coordinate origin, the following is established: Figure 4In the pixel coordinate system shown, each pixel is a unit length, so the position of the rectangle enclosed by the four vertices (4, 1), (-2, 1), (4, -3) and (-2, -3) of the first area image is the image position of the first area image.

[0084] Method 2: The position of a pixel point in the first region image (such as the center point of the first region image) may be used as the image position of the first region image.

[0085] Taking the center point of the first region image as an example, the coordinates (1, -1) of the center point of the first region image are set as the image position of the first region image.

[0086] 207 , the first processor controls the first adjustment component to adjust the position of the first projection component based on the image position of the first area image and the first reference image position.

[0087] The first processor may first determine the vector distance that the first adjustment component needs to adjust, specifically in the following ways:

[0088] Method 1: The first processor first determines the overlapping area of ​​the first area image and the reference area image based on the image position of the first area image in the first captured image and the position of the first reference image. The first processor determines the vector distance of the first area image relative to the reference area image based on the size of the overlapping area (the longitudinal length of the overlapping area is H, and the transverse length is W), the size of the reference area image (the longitudinal length of the reference area image is H0, and the transverse length is W0), the image position of the first area image in the first captured image, and the position of the first reference image. According to formula (1), we can determine Size The direction is the direction in which the vertex (such as the upper right corner point) of the first region image points to the corresponding vertex (such as the upper right corner point) of the reference region image.

[0089]

[0090] Among them, H, W, H0, and W0 are the numbers of pixels in the corresponding captured images.

[0091] Continuing to use Table 1 and Table 2 as examples, the position of the rectangle surrounded by (3, 2), (-3, 2), (3, -2) and (-3, -2) is the image position of the reference area image, and the position of the rectangle surrounded by (4, 1), (-2, 1), (4, -3) and (-2, -3) is the image position of the first area image. The overlapping area is the rectangle surrounded by (3, 1), (-2, 1), (3, -2) and (-2, -2). Then H = 4, W = 6, H0 = 5, W0 = 7. According to formula (1), we can get The direction is from point (4, 1) to point (3, 2).

[0092] Method 2: The first processor determines the vector distance of the first region image relative to the reference region image according to formula (2) based on the position (m, n) of the center of the first region image in the first captured image and the position (m0, n0) of the center of the reference region image in the reference captured image.

[0093]

[0094] Continuing to use Table 1 and Table 2 as examples, the coordinates (0, 0) of the center point of the reference area image are the image position of the reference area image, and the coordinates (1, -1) of the center point of the first area image are the image position of the first area image. Then, from formula (2), we can get

[0095] Determine the vector distance that the first adjustment component needs to adjust Afterwards, the first processor uses the vector distance The projection ratio M of the projection component, the vertical distance L between the projection component and the projection surface, the horizontal length W0 of the reference area image and formula (3) determine the actual distance d that the adjustment component needs to move. The moving direction is Then the first processor controls the first adjusting component to adjust the position of the first projection component.

[0096]

[0097] Among them, the projection ratio M is the ratio of the vertical distance between the projection component and the projection surface to the actual width of the target image on the projection surface, and the projection ratio M is a fixed parameter of the projection component. The common projection ratio is 1.2, that is, when the vertical distance between the projection component and the projection surface is 1.2 meters, the actual width of the target image on the projection surface is 1 meter. The vertical distance L between the projection component and the projection surface can be obtained by measurement, and the horizontal side length W0 of the reference area image can be obtained by processor image processing.

[0098] Continuing to use Table 1 and Table 2 as examples, M = 1.2 m, L = 1.2 m, W0 = 7, then the actual distance that the adjustment component needs to move can be calculated by formula (3): m, moving direction The first processor controls the first adjustment component to move along Move in the direction of meters to adjust the position of the first projection component.

[0099] The embodiment of the present disclosure provides a projection device adjustment method, which can be applied to a single projection device and the projection device has a processor, a shooting component, multiple projection components and multiple adjustment components, each projection component projects a partial image, multiple images are spliced ​​into a complete image or each projection component projects the same image at different angles for 3D projection. The embodiment of the present disclosure takes the case of splicing projection by multiple projection components as an example for explanation, such as Figure 5 As shown, the method comprises the following steps:

[0100] 501. The first processor controls the second projection component to project a target image onto a projection surface.

[0101] The second projection component may be a projection component at a reference position, or a projection component that has been adjusted.

[0102] The embodiment of the present disclosure is described by taking the example of nine projection components arranged in a nine-square grid for splicing projection. The second projection component can be a reference projection component pre-selected by a technician. Any projection component other than the reference projection component can be adjusted based on the captured image corresponding to the projection image generated by the reference projection component, or can be adjusted based on the captured image corresponding to the projection image generated by an adjusted projection component. The second projection component can be the projection component corresponding to the central projection image, the first projection component can be the projection component whose position is adjacent to the position of the second projection component, or can be the projection component whose projected image is adjacent to the projection image of the second projection component. The embodiment of the present disclosure is described by taking the example of the image projected by the second projection component being adjacent to the left edge of the image projected by the first projection component.

[0103] 502. The first processor controls the first photographing component to photograph the projection surface to obtain a third photographed image as a reference photographed image.

[0104] 503. The first processor determines an image position corresponding to the target image in the reference captured image as a first reference image position.

[0105] The first processor performs a grayscale matrix operation on the reference captured image to obtain a pixel grayscale matrix of the reference captured image. For example, if the projection surface is a white curtain and the target image is a black image, the pixel grayscale matrix of the reference captured image may be a 7*11 matrix, which may be as shown in Table 3, where 0 represents a black pixel grayscale value and 255 represents a white pixel grayscale value.

[0106] Table 3

[0107] 255 255 255 255 255 255 255 255 255 255 255 255 255 0 0 0 255 255 255 255 255 255 255 255 0 0 0 255 255 255 255 255 255 255 255 0 0 0 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255

[0108] Since the pixel grayscale of the target image is different from that of the projection surface, the pixel grayscale matrix of the reference area image corresponding to the target image in the reference captured image can be determined based on the pixel grayscale value. The image position of the reference area image can be determined based on the pixel grayscale matrix of the reference captured image. The image position of the reference area image can be expressed in multiple ways:

[0109] Method 1: The position of the pixel grayscale matrix of the reference region image (such as the coordinates of the four vertices of the reference region image, or the coordinates of all pixels in the reference region image) can be used as the image position corresponding to the target image in the reference captured image.

[0110] Continuing with Table 3 as an example, the pixel grayscale matrix of the reference area image is a 3*3 matrix. If the center point of the reference captured image is taken as the coordinate origin, the following is established: Figure 6 In the pixel coordinate system shown, each pixel is a unit length, and the position of the rectangle enclosed by the four vertex coordinates (-1, 2), (-1, 0), (-3, 2) and (-3, 0) of the reference area image is the image position of the reference area image.

[0111] Method 2: The position of a pixel point in the reference area image (such as the center point of the reference area image) may be used as the image position of the reference area image corresponding to the target image in the reference captured image.

[0112] Taking the center point of the reference region image as an example, the coordinates (-2, 1) of the center point of the reference region image are used as the image position of the reference region image.

[0113] Afterwards, the first processor may determine the image position of the reference area image as a first reference image position, and the first processor may store the first reference image position.

[0114] 504. The first processor controls the first projection component to project the target image onto the projection surface.

[0115] 505. The first processor controls the first photographing component to photograph the projection surface to obtain a first photographed image.

[0116] 506. The first processor determines an image position of a first area image corresponding to the target image in the first captured image.

[0117] The first processor performs a grayscale matrix operation on the first captured image to obtain a pixel grayscale matrix of the first captured image. For example, if the projection surface is a white curtain and the target image is a black image, the pixel grayscale matrix of the first captured image may be a 7*11 matrix, which may be as shown in Table 4, where 0 represents a black pixel grayscale value and 255 represents a white pixel grayscale value.

[0118] Table 4

[0119]

[0120]

[0121] Since the pixel grayscale of the target image is different from that of the projection surface, the pixel grayscale matrix of the first region image corresponding to the target image can be determined according to the pixel grayscale value. The image position of the first region image can be determined according to the pixel grayscale matrix of the first region image. The image position of the first region image can be expressed in multiple ways:

[0122] Method 1: The position of the pixel grayscale matrix of the first region image (such as the coordinates of four vertices of the first region image, or the coordinates of all pixels in the first region image) can be used as the image position of the first region image.

[0123] Continuing with Table 4 as an example, the pixel grayscale matrix corresponding to the target image in the first captured image is a 3*3 matrix. If the center point of the first captured image is taken as the coordinate origin, the following is established: Figure 7 In the pixel coordinate system shown, each pixel is a unit length, so the position of the rectangle enclosed by the four vertex coordinates (0, 1), (0, -1), (-2, 1) and (-2, -1) of the first area image is the image position of the first area image.

[0124] Method 2: The position of a pixel point in the first region image (such as the center point of the first region image) may be used as the image position of the first region image.

[0125] Taking the center point of the first region image as an example, the coordinates (-1, 0) of the center point of the first region image are used as the image position of the first region image.

[0126] 507. The first processor controls the first adjustment component to adjust the position of the first projection component based on the image position of the first area image and the first reference image position.

[0127] The vector distance that needs to be adjusted by the first adjustment component may be determined first, and there are several specific determination methods as follows:

[0128] Method 1: The first processor first determines the overlapping area of ​​the first area image and the reference area image based on the image position of the first area image in the first captured image and the position of the first reference image. The first processor determines the vector distance of the first area image relative to the reference area image based on the size of the overlapping area (the longitudinal length of the overlapping area is H, and the transverse length is W), the size of the reference area image (the longitudinal length of the reference area image is H0, and the transverse length is W0), the image position of the first area image in the first captured image, and the position of the first reference image. According to formula (4), we can determine Size The direction is the direction in which the vertices of the first region image point to the corresponding vertices of the reference region image.

[0129]

[0130] Continuing to use Table 3 and Table 4 as examples, the position of the rectangle surrounded by (-1, 2), (-1, 0), (-3, 2) and (-3, 0) is the image position of the reference area image, and the position of the rectangle surrounded by (0, 1), (0, -1), (-2, 1) and (-2, -1) is the image position of the first area image. The overlapping area is the rectangle surrounded by (-2, 0), (-2, 1), (-1, 0) and (-1,). Then H = 2, W = 2, H0 = 3, W0 = 3. According to formula (4), we can get The direction is from point (-2, 1) to point (-1, 2).

[0131] Method 2: The first processor determines the moving target area based on the position of the first reference image. The first processor determines the overlapping area between the first area image and the moving target area based on the image position of the first area image in the first captured image and the image position of the moving target area (the longitudinal length of the reference area image is H0, and the transverse length is W0). Then, the first processor determines the vector distance of the first area image relative to the moving target area based on the size of the overlapping area (the longitudinal length of the overlapping area is H, and the transverse length is W), the size of the moving target area (the longitudinal length of the moving target area is H1, and the transverse length is W1), the image position of the first area image in the first captured image, and the image position of the moving target area. According to formula (5), we can determine Size The direction is the direction in which the vertices of the first region image point to the corresponding vertices of the moving target region.

[0132]

[0133] The moving target area has the same image size as the reference area, the longitudinal component of the distance between the image position of the moving target area and the first reference image position is an integer multiple of the longitudinal side length of the reference area image, and the lateral component of the distance is an integer multiple of the lateral side length of the reference area image.

[0134] Since the image projected by the second projection component needs to be adjacent to the left edge of the image projected by the first projection component in the embodiment of the present disclosure, the image position of the moving target area can be determined as the position of the image position of the reference area image after being translated W1 along the positive x-axis. Continuing to use Tables 3 and 4 as examples, the position of the rectangle surrounded by (2, 2), (2, 0), (0, 2) and (0, 0) is the image position of the moving target area. The specific processing of method 2 is similar to the processing of method 1 in step 207, the only difference is that the size of the reference area image is replaced by the size of the moving target area, and the first reference image position is replaced by the image position of the moving target area, which will not be repeated here.

[0135] Method 3: The first processor determines the moving target area based on the position of the first reference image. The first processor determines the vector distance of the first area image relative to the reference area image according to formula (6) based on the position (m, n) of the center of the first area image in the first captured image and the position (m1, n1) of the center of the moving target area in the reference captured image.

[0136]

[0137] Since the image projected by the second projection component needs to be adjacent to the left edge of the image projected by the first projection component in the embodiment of the present disclosure, the image position of the moving target area can be determined as the image position of the reference area image after being translated along the positive x-axis by the horizontal side length W1 of the reference area image. Continuing to use Tables 3 and 4 as examples, the coordinates (1, 1) of the center point of the moving target area are the image position of the moving target area, and the coordinates (-1, 0) of the center point of the first area image are the image position of the first area image. Then, according to formula (6),

[0138] The moving target area has the same image size as the reference area, the longitudinal component of the distance between the image position of the moving target area and the first reference image position is an integer multiple of the longitudinal side length of the reference area image, and the lateral component of the distance is an integer multiple of the lateral side length of the reference area image.

[0139] Determine the vector distance that the first adjustment component needs to adjust Afterwards, the calculation of the distance d that the adjusting component actually needs to move is similar to the process in step 207 and will not be repeated here.

[0140] Then the first processor controls the first adjusting component to adjust the position of the first projection component.

[0141] The disclosed embodiment provides a projection device adjustment method, which can be applied to a single projection device and the projection device has a processor, a shooting component, multiple projection components and multiple adjustment components, each projection component projects a partial image, multiple images are spliced ​​into a complete image or each projection component projects the same image at different angles for 3D projection. The disclosed embodiment takes the case of multiple projection components performing 3D projection as an example, that is, the projection images generated by all projection components need to be adjusted to the same position, and the specific adjustment method is similar to the processing of steps 201-207. However, since the angle between the optical axis of each projection component and the projection surface may not be 90 degrees during 3D projection, the vector distance is used. When calculating the distance d that the adjustment component actually needs to move, the following formula (7) needs to be used for calculation.

[0142]

[0143] Vector distance The specific calculation process of is similar to that of step 207, and will not be repeated here. Determine the vector distance that the first adjustment component needs to adjust Afterwards, the first processor uses the vector distance The projection ratio M of the projection component, the vertical distance L between the projection component and the projection surface, the horizontal length W0 of the reference area image and formula (7) determine the actual distance d that the adjustment component needs to move. The moving direction is Then the first processor controls the first adjusting component to adjust the position of the first projection component.

[0144] The embodiment of the present disclosure provides a projection device adjustment method, which can be applied to a single projection device and the projection device has a processor, multiple shooting components, multiple projection components and multiple adjustment components, each projection component projects a partial image, multiple images are spliced ​​into a complete image or each projection component projects the same image at different angles for 3D projection. The embodiment of the present disclosure takes the case of multiple projection components performing 3D projection as an example for explanation, such as Figure 8 As shown, the method comprises the following steps:

[0145] 801. The first processor controls the second projection component to project a target image onto a projection surface.

[0146] The second projection component may be a projection component at a reference position, or a projection component that has been adjusted. The second projection component may be a projection component adjacent to the first projection component.

[0147] 802. The first processor controls the second photographing component to photograph the projection surface to obtain a fourth photographed image as a reference photographed image.

[0148] 803 , the first processor converts the image position corresponding to the target image in the reference captured image into a unified coordinate system to obtain a first reference image position.

[0149] The first processor performs grayscale matrix operation on the reference captured image to obtain a pixel grayscale matrix of the reference captured image. For example, the projection surface is a white curtain, the target image is a black image, and the pixel grayscale matrix of the reference captured image can be a 7*9 matrix, which can be as shown in Table 5, where 0 represents a black pixel grayscale value and 255 represents a white pixel grayscale value.

[0150] Table 5

[0151] 255 255 255 255 255 255 255 255 255 255 0 0 0 0 0 0 0 255 255 0 0 0 0 0 0 0 255 255 0 0 0 0 0 0 0 255 255 0 0 0 0 0 0 0 255 255 0 0 0 0 0 0 0 255 255 255 255 255 255 255 255 255 255

[0152] Since the pixel grayscale of the target image and the projection surface is different, the pixel grayscale matrix of the reference area image corresponding to the target image in the reference captured image can be determined according to the pixel grayscale value. The image position of the reference area image is related to the relative position of the coordinate system in the unified coordinate system and the reference captured image. If the origin of the unified coordinate system is (0, 0), the coordinates of the origin of the coordinate system in the reference captured image in the unified coordinate system are (m1, n1), and the first processor converts the image position corresponding to the target image in the reference captured image to the unified coordinate system. It is necessary to convert the pixel point coordinates (x, y) of the coordinate system in all reference captured images into (x+m1, y+n1). The embodiment of the present disclosure takes the unified coordinate system as the coordinate system in the reference captured image as an example for explanation, so m1=n1=0, that is, the pixel point coordinates of the coordinate system in the reference captured image do not need to be converted. The image position of the reference area image can be determined according to the pixel grayscale matrix of the reference captured image. The image position of the reference area image can be expressed in a variety of ways:

[0153] Method 1: The position of the pixel grayscale matrix of the reference region image (such as the coordinates of the four vertices of the reference region image, or the coordinates of all pixels in the reference region image) can be used as the image position corresponding to the target image in the reference captured image.

[0154] Continuing with Table 5 as an example, the pixel grayscale matrix of the reference area image is a 5*7 matrix. If the center point of the reference captured image is taken as the coordinate origin, the following is established: Fig. 9 In the pixel coordinate system shown, each pixel is a unit length, so the position of the rectangle enclosed by the four vertex coordinates (3, 2), (-3, 2), (3, -2) and (-3, -2) of the reference area image is the image position of the reference area image.

[0155] Method 2: The position of a pixel point in the reference area image (such as the center point of the reference area image) may be used as the image position of the reference area image corresponding to the target image in the reference captured image.

[0156] Taking the center point of the reference region image as an example, the coordinates (0, 0) of the center point of the reference region image are used as the image position of the reference region image.

[0157] 804. The first processor controls the first projection component to project the target image onto the projection surface.

[0158] 805. The first processor controls the first photographing component to photograph the projection surface to obtain a first photographed image.

[0159] 806. The first processor determines an image position of a first area image corresponding to the target image in the first captured image.

[0160] The first processor performs a grayscale matrix operation on the first captured image to obtain a pixel grayscale matrix of the first captured image. For example, if the projection surface is a white curtain and the target image is a black image, the pixel grayscale matrix of the first captured image may be a 7*9 matrix, which may be as shown in Table 6, where 0 represents a black pixel grayscale value and 255 represents a white pixel grayscale value.

[0161] Table 6

[0162] 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 0 0 0 0 0 0 0 255 255 0 0 0 0 0 0 0 255 255 0 0 0 0 0 0 0 255 255 0 0 0 0 0 0 0 255 255 0 0 0 0 0 0 0

[0163] Since the pixel grayscale of the target image is different from that of the projection surface, the pixel grayscale matrix of the first region image corresponding to the target image can be determined according to the pixel grayscale value. The image position of the first region image can be determined according to the pixel grayscale matrix of the first region image. The image position of the first region image can be expressed in multiple ways:

[0164] Method 1: The position of the pixel grayscale matrix of the first region image (such as the coordinates of four vertices of the first region image, or the coordinates of all pixels in the first region image) can be used as the image position of the first region image.

[0165] Continuing with Table 6 as an example, the pixel grayscale matrix corresponding to the target image in the first captured image is a 5*7 matrix. If the center point of the first captured image is taken as the coordinate origin, the following is established: Fig.10 In the pixel coordinate system of the first captured image shown, each pixel is a unit length, and the position of the rectangle enclosed by the four vertex coordinates (4, 1), (-2, 1), (4, -3) and (-2, -3) of the first area image is the image position of the first area image.

[0166] Method 2: The position of a pixel point in the first region image (such as the center point of the first region image) may be used as the image position of the first region image.

[0167] Taking the center point of the first region image as an example, the coordinates (1, -1) of the center point of the first region image are used as the image position of the first region image.

[0168] 807. The first processor controls the first adjustment component to adjust the position of the first projection component based on the image position of the first area image and the first reference image position.

[0169] The first processor converts the image position of the first region image in the first captured image into the unified coordinate system to obtain the converted image position. The image position of the first region image is related to the relative position of the unified coordinate system and the coordinate system in the first captured image. If the origin of the unified coordinate system is (0, 0), the coordinates of the origin of the coordinate system in the first captured image in the unified coordinate system are (m2, n2). The first processor converts the image position corresponding to the target image in the first captured image into the unified coordinate system. The pixel coordinates (x, y) of the coordinate system in the first captured image need to be converted to (x+m2, y+n2).

[0170] The embodiment of the disclosure is described by taking the coordinate system in the image captured by the unified coordinate system as an example. Assuming that the coordinates of the origin of the coordinate system in the first captured image are (1, -2) in the unified coordinate system, the position of the rectangle surrounded by the four vertex coordinates (5, -1), (-1, -1), (5, -5) and (-1, -5) of the first region image in the unified coordinate system is the position of the converted image. Or taking the center point of the first region image as an example, the coordinates (2, -3) of the center point of the first region image in the unified coordinate system is the position of the converted image.

[0171] The first processor controls the first adjustment component to adjust the position of the first projection component based on the converted image position and the first reference image position.

[0172] The first processor may first determine the vector distance that the first adjustment component needs to adjust Vector distance The specific calculation process of is similar to that of step 207 and will not be repeated here.

[0173] Determine the vector distance that the first adjustment component needs to adjust Afterwards, the first processor uses the vector distance The projection ratio M of the projection component, the vertical distance L between the projection component and the projection surface, the horizontal length W0 of the reference area image and formula (8) determine the actual distance d that the adjustment component needs to move. The moving direction is Then the first processor controls the first adjusting component to adjust the position of the first projection component.

[0174]

[0175] The embodiment of the present disclosure provides a projection device adjustment method, which can be applied to multiple projection devices and each projection device has a processor, a projection component, a shooting component, an adjustment component and a communication component. The projection component of each projection device projects a partial image, multiple images are spliced ​​into a complete image, or the projection component of each projection device projects the same image at different angles for 3D projection. Fig.11 As shown, the method comprises the following steps:

[0176] 1101. The first processor controls the first projection component to project a target image onto a projection surface.

[0177] 1102. The first processor controls the first photographing component to photograph the projection surface to obtain a first photographed image.

[0178] 1103. The first processor determines an image position of a first area image corresponding to the target image in the first captured image.

[0179] 1104. The first processor controls the first adjustment component to adjust the position of the first projection component based on the image position of the first area image and the first reference image position.

[0180] The specific processing of steps 1101-1104 is similar to that of steps 204-207, and will not be repeated here.

[0181] 1105. The first processor controls the first projection component to project the target image onto the projection surface.

[0182] 1106. The first processor controls the first photographing component to photograph the projection surface to obtain a fifth photographed image as a reference photographed image.

[0183] 1107 , the first processor converts the image position corresponding to the target image in the reference captured image into a unified coordinate system to obtain a second reference image position.

[0184] The second reference image position is used to adjust the position of the second projection component in the second projection device.

[0185] The specific processing of steps 1105-1107 is similar to that of steps 201-203, and will not be repeated here.

[0186] 1108. The first processor controls the first communication component to send the second reference image position to the second projection device.

[0187] If the position of the second projection device moves, the second projection device can use the second reference position image to automatically adjust. Alternatively, the second projection device can start automatic adjustment before each subsequent use. The specific adjustment method is similar to the processing of steps 804-807 and will not be repeated here.

[0188] The above disclosed embodiments are all described by taking two-dimensional adjustment (adjustment in the horizontal and vertical directions on a plane perpendicular to the optical axis) as an example. In actual processing, the position of the projection component can also be adjusted forward and backward in the direction of the optical axis by adjusting the component, thereby changing the size of the projected image. Specifically, the distance and direction to be adjusted can be determined based on the size of the regional image corresponding to the target image in the captured image, the size of the reference regional image, and the corresponding relationship between the size of the regional image and the projection distance. After the forward and backward adjustment is completed and a projection image of appropriate size is obtained, the above method can be used to adjust the position of the projection image.

[0189] In implementation, the corresponding relationship can be determined by a technician through experiments and stored in the memory of the projection device. After determining the area image corresponding to the target image in the captured image, the size of the area image can be obtained, and the corresponding first projection distance can be found in the corresponding relationship. In addition, the reference projection distance corresponding to the size of the reference area image in the corresponding relationship is obtained. The absolute value of the difference between the first projection distance and the reference projection distance is determined. If the first projection distance is less than the reference projection distance, the projection component is controlled to move the absolute value of the difference in a direction away from the projection surface. If the first projection distance is greater than the reference projection distance, the projection component is controlled to move the absolute value of the difference in a direction close to the projection surface.

[0190] For example, the corresponding relationship between the size of the regional image and the projection distance can be calculated by the projection ratio M (taking M=1.2), and the size of the regional image can be first converted into the size of the target image in the actual space. The screen width of the regional image is 800 pixels, and each pixel corresponds to 0.001 meters. The screen width of the target image currently projected by the projection component is 0.8 meters, and the target screen width (the actual screen width of the target image corresponding to the reference regional image or the preset screen width) is 1 meter. According to the projection ratio M and the screen width currently projected by the projection component, the first projection distance can be calculated to be 0.96 meters, and according to the projection ratio M and the target screen width, the reference projection distance can be calculated to be 1.2 meters. Since the first projection distance of 0.96 meters is less than the reference projection distance of 1.2 meters, the processor controls the adjustment component to move the projection component 0.24 meters away from the projection surface.

[0191] The method provided in the embodiment of the present disclosure is used to adjust the projection device. The processor uses the reference captured image as a reference, and then controls the adjustment component to adjust the position of the projection device in combination with the captured image of the projection screen at the current position, thereby completing the automatic adjustment of the projection device. This avoids the complex operations of repeatedly moving the position of the projection device and judging whether the projection screen is appropriate during the manual adjustment process, thereby improving the efficiency of adjusting the projection device.

[0192] Based on the same technical concept, the embodiment of the present disclosure also provides a projection device adjustment device. Fig.12 As shown, the device comprises:

[0193] The projection module 1210 is used to project the target image onto the projection surface, and can specifically implement the projection functions in the above steps 201, 204, 501, 504, 801, 804, 1101 and 1105, as well as other implicit steps.

[0194] The shooting module 1220 is used to shoot the projection surface to obtain a first shot image. Specifically, it can implement the shooting functions in the above steps 205, 505, 805, and 1102, as well as other implicit steps.

[0195] The determination module 1230 is used to determine the image position of the first area image corresponding to the target image in the first captured image, and can specifically implement the determination functions in the above steps 206, 506, 806, and 1103, as well as other implicit steps.

[0196] The adjustment module 1240 is used to control the first adjustment component to adjust the position of the first projection component based on the image position of the first region image and the first reference image position, wherein the first reference image position is the image position of the reference region image corresponding to the target image in the reference captured image. Specifically, the adjustment functions in the above steps 207, 507, 807, and 1104, as well as other implicit steps, can be realized.

[0197] Optionally, the adjustment module 1240 is used to determine an overlapping area between the first area image and the reference area image based on the image position of the first area image and the first reference image position. Determine a vector distance of the first area image relative to the reference area image based on the size of the overlapping area, the size of the reference area image, the image position of the first area image, and the first reference image position. Based on the vector distance, control the first adjustment component to adjust the position of the first projection component.

[0198] Optionally, the adjustment module 1240 is used to determine the moving target area based on the first reference image position, and determine the overlapping area between the first area image and the moving target area based on the image position of the first area image and the image position of the moving target area. Based on the size of the overlapping area, the size of the moving target area, the image position of the first area image and the image position of the moving target area, the vector distance of the first area image relative to the moving target area is determined. Based on the vector distance, the first adjustment component is controlled to adjust the position of the first projection component. The moving target area has the same size as the reference area image, the longitudinal component of the distance between the image position of the moving target area and the first reference image position is an integer multiple of the longitudinal side length of the reference area image, and the transverse component of the distance is an integer multiple of the transverse side length of the reference area image.

[0199] Optionally, the adjustment module 1240 is used to determine the vector distance of the first region image relative to the reference region image based on the position of the center of the first region image in the first captured image and the position of the center of the reference region image in the reference captured image, and control the first adjustment component based on the vector distance to adjust the position of the first projection component.

[0200] Optionally, the adjustment module 1240 is used to determine the moving target area based on the position of the first reference image, and determine the vector distance of the first area image relative to the moving target area based on the position of the center of the first area image in the first captured image and the position of the center of the moving target area in the reference captured image. Based on the vector distance, the first adjustment component is controlled to adjust the position of the first projection component. The moving target area has the same image size as the reference area, the longitudinal component of the distance between the image position of the moving target area and the position of the first reference image is an integer multiple of the longitudinal length of the reference area image, and the transverse component of the distance is an integer multiple of the transverse length of the reference area image.

[0201] Optionally, the projection module 1210 is further configured to project a target image onto the projection surface when the first projection component is in the reference position. The shooting module 1220 is further configured to shoot the projection surface to obtain a second shot image as the reference shot image. The determination module 1230 is further configured to determine the image position corresponding to the target image in the reference shot image as the first reference image position.

[0202] Optionally, the first projection device further includes a second projection component. The projection module 1210 is further configured to project a target image onto a projection surface. The shooting module 1220 is further configured to shoot the projection surface to obtain a third shot image as a reference shot image. The determination module 1230 is further configured to determine an image position corresponding to the target image in the reference shot image as a first reference image position.

[0203] Optionally, the first projection device also includes a second projection component and a second shooting component. The projection module 1210 is also used to project a target image onto the projection surface. The shooting module 1220 is also used to shoot the projection surface to obtain a fourth shot image as a reference shot image. The determination module 1230 is also used to convert the image position corresponding to the target image in the reference shot image into a unified coordinate system to obtain a first reference image position. The adjustment module 1240 is used to convert the image position of the first area image into a unified coordinate system to obtain a converted image position. Based on the converted image position and the first reference image position, the first adjustment component is controlled to adjust the position of the first projection component.

[0204] Optionally, the first projection device further includes a first communication component. The shooting module 1220 is further used to shoot the projection surface to obtain a fifth shot image as a reference shot image. The determination module 1230 is further used to convert the image position corresponding to the target image in the reference shot image into a unified coordinate system to obtain a second reference image position. The adjustment module 1240 is further used to control the first communication component to send the second reference image position to the second projection device, wherein the second reference image position is used to adjust the position of the second projection component in the second projection device.

[0205] The projection module 1210, the shooting module 1220, the determination module 1230 and the adjustment module 1240 can be implemented by a processor in a computer device, or by the processor in conjunction with a memory, or by the processor executing program instructions in the memory.

[0206] When the device provided by the embodiment of the present disclosure is used to adjust the projection device, the processor uses the reference captured image as a reference, and then controls the adjustment component to adjust the position of the projection device in combination with the captured image of the projection screen at the current position, thereby completing the automatic adjustment of the projection device. This avoids the complex operations of repeatedly moving the position of the projection device and judging whether the projection screen is appropriate during the manual adjustment process, thereby improving the efficiency of adjusting the projection device.

[0207] The projection device adjustment device provided in the above embodiment is only illustrated by the division of the above functional modules when adjusting the projection device. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the projection device adjustment device is divided into different functional modules to complete all or part of the functions described above. In addition, the projection device adjustment device provided in the above embodiment and the projection device adjustment method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0208] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the device, the process or function described in the embodiment of the present disclosure is generated in whole or in part. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that can be accessed by the device or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, and a tape, etc.), or an optical medium (e.g., a digital video disk (digital video disk, DVD), etc.), or a semiconductor medium (e.g., a solid-state hard disk, etc.).

[0209] The terms used in the embodiments of the present disclosure are only used to explain the embodiments of the present disclosure, and are not intended to limit the present disclosure. Unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should be the common meanings understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the present disclosure specification and claims do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, similar words such as "one" or "one" do not indicate a quantity limit, but indicate that there is at least one. Similar words such as "include" or "include" mean that the elements or objects appearing in front of "include" or "include" include the elements or objects listed after "include" or "include" and their equivalents, and do not exclude other elements or objects. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly. "Multiple" refers to two or more, unless otherwise clearly defined.

[0210] The above description is only one embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.

[0211] The information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals (including but not limited to signals transmitted between user terminals and other devices, etc.) involved in this disclosure are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

Claims

1. A method for adjusting a projection device, It is characterized in that The method is applied to a first projection device, the first projection device includes a first processor, a first shooting component, a first projection component and a first adjustment component, and the method includes: The first processor controls the first projection component to project a target image onto a projection surface; The first processor controls the first photographing component to photograph the projection surface to obtain a first photographed image; The first processor determines an image position of a first area image corresponding to the target image in the first captured image; The first processor controls the first adjustment component to adjust the position of the first projection component based on the image position of the first area image and a first reference image position, wherein the first reference image position is the image position of a reference area image corresponding to the target image in a reference captured image.

2. The method according to claim 1, It is characterized in that The first processor controls the first adjustment component to adjust the position of the first projection component based on the image position of the first regional image and the first reference image position, including: The first processor determines an overlapping area between the first area image and the reference area image based on an image position of the first area image and a first reference image position; The first processor determines a vector distance of the first region image relative to the reference region image based on a size of the overlapping region, a size of the reference region image, an image position of the first region image, and a position of the first reference image; Based on the vector distance, the first adjustment component is controlled to adjust the position of the first projection component.

3. The method according to claim 1, It is characterized in that The first processor controls the first adjustment component to adjust the position of the first projection component based on the image position of the first regional image and the first reference image position, including: The first processor determines a moving target region based on the first reference image position, wherein the moving target region has the same size as the reference region image, a longitudinal component of a distance between the image position of the moving target region and the first reference image position is an integer multiple of a longitudinal side length of the reference region image, and a transverse component of the distance is an integer multiple of a transverse side length of the reference region image; The first processor determines an overlapping area between the first area image and the moving target area based on an image position of the first area image and an image position of the moving target area; The first processor determines a vector distance of the first regional image relative to the moving target region based on a size of the overlapping region, a size of the moving target region, an image position of the first regional image, and an image position of the moving target region; Based on the vector distance, the first adjustment component is controlled to adjust the position of the first projection component.

4. The method according to claim 1, It is characterized in that The first processor controls the first adjustment component to adjust the position of the first projection component based on the image position of the first regional image and the first reference image position, including: The first processor determines a vector distance of the first region image relative to the reference region image based on a position of a center of the first region image in the first captured image and a position of a center of the reference region image in the reference captured image; Based on the vector distance, the first adjustment component is controlled to adjust the position of the first projection component.

5. The method according to claim 1, It is characterized in that The first processor controls the first adjustment component to adjust the position of the first projection component based on the image position of the first regional image and the first reference image position, including: The first processor determines a moving target region based on the first reference image position, wherein the moving target region has the same size as the reference region image, a longitudinal component of a distance between the image position of the moving target region and the first reference image position is an integer multiple of a longitudinal side length of the reference region image, and a transverse component of the distance is an integer multiple of a transverse side length of the reference region image; The first processor determines a vector distance of the first area image relative to the moving target area based on a position of a center of the first area image in the first captured image and a position of a center of the moving target area in the reference captured image; Based on the vector distance, the first adjustment component is controlled to adjust the position of the first projection component.

6. The method according to any one of claims 1 to 5, It is characterized in that Before the first processor controls the first projection component to project the target image onto the projection surface, the method further includes: When the first projection component is in a reference position, the first processor controls the first projection component to project a target image onto the projection surface; The first processor controls the first photographing component to photograph the projection surface to obtain a second photographed image as a reference photographed image; The first processor determines an image position corresponding to the target image in the reference captured image as a first reference image position.

7. The method according to any one of claims 1 to 5, It is characterized in that The first projection device also includes a second projection component; Before the first processor controls the first projection component to project the target image onto the projection surface, the method further includes: The first processor controls the second projection component to project the target image onto the projection surface; The first processor controls the first photographing component to photograph the projection surface to obtain a third photographed image as a reference photographed image; The first processor determines an image position corresponding to the target image in the reference captured image as a first reference image position.

8. The method according to any one of claims 1 to 5, It is characterized in that The first projection device also includes a second projection component and a second shooting component; Before the first processor controls the first projection component to project the target image onto the projection surface, the method further includes: The first processor controls the second projection component to project the target image onto the projection surface; The first processor controls the second photographing component to photograph the projection surface to obtain a fourth photographed image as a reference photographed image; The first processor converts the image position corresponding to the target image in the reference captured image into a unified coordinate system to obtain a first reference image position; The first processor controls the first adjustment component to adjust the position of the first projection component based on the image position of the first regional image and the first reference image position, including: The first processor converts the image position of the first area image into a unified coordinate system to obtain a converted image position; The first processor controls the first adjustment component to adjust the position of the first projection component based on the converted image position and the first reference image position.

9. The method according to any one of claims 1 to 8, It is characterized in that The first projection device also includes a first communication component; After the first processor controls the first adjustment component to adjust the position of the first projection component based on the image position of the first regional image and the first reference image position, the method further includes: The first processor controls the first photographing component to photograph the projection surface to obtain a fifth photographed image as a reference photographed image; The first processor converts the image position corresponding to the target image in the reference captured image into a unified coordinate system to obtain a second reference image position; The first processor controls the first communication component to send the second reference image position to the second projection device, wherein the second reference image position is used to adjust the position of the second projection component in the second projection device.

10. A projection device adjustment device, It is characterized in that The device is applied to a first projection device, the first projection device includes a first processor, a first shooting component, a first projection component and a first adjustment component, and the device includes: A projection module, used for projecting a target image onto a projection surface; A shooting module, used for shooting the projection surface to obtain a first shot image; a determination module, configured to determine an image position of a first area image corresponding to the target image in the first captured image; An adjustment module is used to control the first adjustment component to adjust the position of the first projection component based on the image position of the first area image and the first reference image position, wherein the first reference image position is the image position of the reference area image corresponding to the target image in the reference captured image.

11. The device according to claim 10, It is characterized in that The regulating module is used for: Determining an overlapping area between the first region image and the reference region image based on an image position of the first region image and a first reference image position; determining a vector distance of the first region image relative to the reference region image based on a size of the overlapping region, a size of the reference region image, an image position of the first region image, and a position of the first reference image; Based on the vector distance, the first adjustment component is controlled to adjust the position of the first projection component.

12. The device according to claim 10, It is characterized in that The regulating module is used for: Determine a moving target region based on the first reference image position, wherein the moving target region has the same size as the reference region image, a longitudinal component of a distance between the image position of the moving target region and the first reference image position is an integer multiple of a longitudinal side length of the reference region image, and a transverse component of the distance is an integer multiple of a transverse side length of the reference region image; determining an overlapping area between the first region image and the moving target region based on an image position of the first region image and an image position of the moving target region; determining a vector distance of the first region image relative to the moving target region based on a size of the overlapping region, a size of the moving target region, an image position of the first region image, and an image position of the moving target region; Based on the vector distance, the first adjustment component is controlled to adjust the position of the first projection component.

13. The device according to claim 10, It is characterized in that The regulating module is used for: determining a vector distance of the first region image relative to the reference region image based on a position of a center of the first region image in the first captured image and a position of a center of the reference region image in the reference captured image; Based on the vector distance, the first adjustment component is controlled to adjust the position of the first projection component.

14. The device according to claim 10, It is characterized in that The regulating module is used for: Determine a moving target region based on the first reference image position, wherein the moving target region has the same size as the reference region image, a longitudinal component of a distance between the image position of the moving target region and the first reference image position is an integer multiple of a longitudinal side length of the reference region image, and a transverse component of the distance is an integer multiple of a transverse side length of the reference region image; determining a vector distance of the first region image relative to the moving target region based on a position of a center of the first region image in the first captured image and a position of a center of the moving target region in the reference captured image; Based on the vector distance, the first adjustment component is controlled to adjust the position of the first projection component.

15. The device according to any one of claims 10 to 14, It is characterized in that The projection module is further used to project a target image onto the projection surface when the first projection component is in a reference position; The shooting module is further used to shoot the projection surface to obtain a second shot image as a reference shot image; The determination module is further configured to determine the image position corresponding to the target image in the reference captured image as a first reference image position.

16. The device according to any one of claims 10 to 14, It is characterized in that The first projection device also includes a second projection component; The projection module is further used to project the target image onto the projection surface; The shooting module is further used to shoot the projection surface to obtain a third shot image as a reference shot image; The determination module is further configured to determine the image position corresponding to the target image in the reference captured image as a first reference image position.

17. The device according to any one of claims 10 to 14, It is characterized in that The first projection device also includes a second projection component and a second shooting component; The projection module is further used to project the target image onto the projection surface; The shooting module is further used to shoot the projection surface to obtain a fourth shot image as a reference shot image; The determination module is further used to convert the image position corresponding to the target image in the reference captured image into a unified coordinate system to obtain a first reference image position; The regulating module is used for: Converting the image position of the first region image into a unified coordinate system to obtain a converted image position; Based on the converted image position and the first reference image position, the first adjusting component is controlled to adjust the position of the first projecting component.

18. The device according to any one of claims 10 to 14, It is characterized in that The first projection device also includes a first communication component; The shooting module is further used to shoot the projection surface to obtain a fifth shot image as a reference shot image; The determination module is further used to convert the image position corresponding to the target image in the reference captured image into a unified coordinate system to obtain a second reference image position; The adjustment module is further used to control the first communication component to send the second reference image position to the second projection device, wherein the second reference image position is used to adjust the position of the second projection component in the second projection device.

19. A computer device, It is characterized in that The computer device comprises a memory and a processor, wherein the memory is used to store computer instructions; The processor executes the computer instructions stored in the memory to enable the computer device to perform the method according to any one of claims 1 to 9.

20. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program code. In response to the computer program code being executed by a computer device, the computer device executes the method according to any one of claims 1 to 9.