An image projection method, apparatus, projection system, and storage medium.
By adjusting the preset calibration dot matrix of the projector in the projection system, the superimposed projection effect was optimized, the accuracy of the projected image overlap was improved, and the cost was reduced.
Patent Information
- Application Number
- CN202210728008.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-23
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2042-06-23
AI Technical Summary
In existing technologies, projection systems that use multiple projectors to achieve superimposed projection suffer from low resolution of the superimposed projection image.
By adjusting the position of the correction points in the preset correction dot matrix of the projector in the projection system, the projected image and the degree of overlap are calculated until the highest degree of overlap is obtained, so as to optimize the superimposed projection effect.
It improves the accuracy of overlapping projected images during overlay projection and reduces the cost of obtaining high-brightness projected images in the projection system.
Smart Images

Figure CN117319615B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of projectors, and more specifically, to an image projection method, apparatus, projection system, and storage medium. Background Technology
[0002] In the field of projection, to increase the brightness of the projected image, multiple projectors are typically used to overlay the same image. However, projection systems that use multiple projectors to overlay the image suffer from low resolution. Summary of the Invention
[0003] This application proposes an image projection method, apparatus, projection system, and storage medium to improve the above-mentioned problems.
[0004] In a first aspect, embodiments of this application provide an image projection method applied to a projection system including at least two projectors, the at least two projectors including a first projector and a second projector having the same projection surface. The method includes: obtaining a projection line map according to a preset correction dot matrix; acquiring a first projection image obtained by the first projector projecting the projection line map onto the projection surface according to the preset correction dot matrix, and acquiring a second projection image obtained by the second projector projecting the projection line map onto the projection surface according to the preset correction dot matrix; calculating the overlap between the first projection image and the second projection image as an initial overlap; adjusting the positions of correction points in the preset correction dot matrix, and returning to the steps of acquiring the second projection image obtained by the second projector projecting the projection line map onto the projection surface according to the preset correction dot matrix, and calculating the overlap between the first projection image and the second projection image, until the obtained overlap is the highest and greater than or equal to the initial overlap; acquiring a target correction dot matrix corresponding to the highest overlap, so that the second projector projects according to the target correction dot matrix.
[0005] Secondly, embodiments of this application also provide a superimposed projection effect optimization device, applied to a projection system including at least two projectors, the at least two projectors including a first projector and a second projector having the same projection surface, the device including: a projection image acquisition unit, a projection unit, an overlap calculation unit, a correction point adjustment unit, and a target correction dot matrix acquisition unit. The system includes: a projection image acquisition unit for obtaining a projection line map based on a preset correction dot matrix; a projection unit for acquiring a first projection image obtained by the first projector projecting the projection line map onto the projection surface based on the preset correction dot matrix, and a second projection image obtained by the second projector projecting the projection line map onto the projection surface based on the preset correction dot matrix; an overlap calculation unit for calculating the overlap between the first and second projection images as an initial overlap; a correction point adjustment unit for adjusting the positions of correction points in the preset correction dot matrix and returning to the steps of acquiring the second projection image obtained by the second projector projecting the projection line map onto the projection surface based on the preset correction dot matrix, and calculating the overlap between the first and second projection images, until the obtained overlap is the highest and greater than or equal to the initial overlap; and a target correction dot matrix acquisition unit for acquiring the target correction dot matrix corresponding to the highest overlap, so that the second projector can project based on the target correction dot matrix.
[0006] In one embodiment, the projected line graph includes a vertical line graph and / or a horizontal line graph. The projected image acquisition unit is further configured to obtain a vertical line graph based on the column direction of a preset correction dot matrix; or to obtain a horizontal line graph based on the row direction of a preset correction dot matrix.
[0007] In one embodiment, the correction point adjustment unit is further configured to adjust the position of the correction point in the preset correction point array in a first direction if the projected line graph is a vertical line graph; and to adjust the position of the correction point in the preset correction point array in a second direction if the projected line graph is a horizontal line graph, wherein the first direction is perpendicular to the second direction.
[0008] In one embodiment, the overlap calculation unit is further configured to obtain an adjusted projection image obtained by simultaneously projecting the first projection image and the second projection image onto the projection surface; preprocess the adjusted projection image to obtain a binary image corresponding to the adjusted projection image; calculate the line width in the binary image; and obtain the overlap degree of the first projection image and the second projection image according to the correspondence between the line width and the overlap degree of the first projection image and the second projection image.
[0009] In one embodiment, the overlap calculation unit is further used to perform grayscale processing, filtering processing and binarization processing on the adjusted projection screen to obtain a binary image corresponding to the adjusted projection screen.
[0010] In one embodiment, the overlap calculation unit is further configured to perform region segmentation on the binary image based on the correction points in the preset correction dot matrix corresponding to the second projector when the binary image is obtained, to obtain multiple projection regions corresponding to the binary image; perform traversal calculation on each projection region to obtain the line width of each projection region; and perform mean calculation on the line widths of the multiple projection regions corresponding to the binary image to obtain the line width in the binary image.
[0011] Thirdly, embodiments of this application also provide a projection system, including: a first projector, a second projector, one or more processors, a memory, and one or more application programs. The first and second projectors have the same projection surface; the processors are respectively connected to the first and second projectors; one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more application programs are configured to execute to implement the method described in the first aspect above.
[0012] In one embodiment, the projection system further includes a camera, which is used to capture a first projected image obtained by the first projector projecting the projection line diagram onto the projection surface according to a preset correction dot matrix, and to capture a second projected image obtained by the second projector projecting the projection line diagram onto the projection surface according to the preset correction dot matrix; the processor is further used to obtain a target transformation relationship based on the projection line diagram and the first projected image; and to transform the projected image obtained by simultaneously projecting the first projected image and the second projected image onto the projection surface according to the target transformation relationship to obtain an adjusted projected image; and to calculate the overlap between the first projected image and the second projected image based on the adjusted projected image.
[0013] Fourthly, embodiments of this application also provide a computer-readable storage medium storing program code that can be invoked by a processor to execute the method described in the first aspect above.
[0014] The technical solution provided by this invention is applied to a projection system including at least two projectors, wherein the at least two projectors include a first projector and a second projector having the same projection surface. The system obtains a projection line pattern based on a preset correction dot matrix; acquires a first projected image obtained by the first projector projecting the projection line pattern onto the projection surface according to the preset correction dot matrix, and acquires a second projected image obtained by the second projector projecting the projection line pattern onto the projection surface according to the preset correction dot matrix; calculates the overlap between the first and second projected images as an initial overlap; adjusts the positions of the correction points in the preset correction dot matrix, and returns to the steps of acquiring the second projected image obtained by the second projector projecting the projection line pattern onto the projection surface according to the preset correction dot matrix, and calculating the overlap between the first and second projected images, until the obtained overlap is the highest and greater than or equal to the initial overlap; acquires a target correction dot matrix corresponding to the highest overlap, so that the second projector projects according to the target correction dot matrix. Therefore, by adopting the above-described method of this application, based on the overlay projection line diagram of the projection system, by adjusting the position of the correction points in the preset correction point array of the projector in the projection system, a correction point array with the highest overlap of the projected images of the overlay projection line diagram of the projector in the projection system is obtained, so that the projector can project images according to the correction point array, thereby optimizing the overlay effect of the projection system and improving the accuracy of the overlap of the projected images during overlay projection. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 A schematic diagram of a projection system with a projector arranged vertically in an embodiment of the present application is shown.
[0017] Figure 2 A schematic diagram of a projection system with a projector arranged horizontally is shown, which implements an image projection method provided in an embodiment of this application;
[0018] Figure 3 A schematic diagram of a projection system for implementing an image projection method provided in an embodiment of this application is shown, showing the projectors arranged vertically and horizontally.
[0019] Figure 4 A schematic flowchart of an image projection method according to an embodiment of this application is shown;
[0020] Figure 5A schematic diagram of a preset correction dot matrix with m rows × n columns is shown;
[0021] Figure 6 A schematic diagram of a vertical line graph with n columns of vertical lines is shown;
[0022] Figure 7 This is a schematic diagram of a line graph with m rows of lines;
[0023] Figure 8 A schematic diagram of an image acquired by performing an image projection method according to an embodiment of this application is shown;
[0024] Figure 9 This illustration shows a projection image acquired by an image projection method provided in an embodiment of this application after being transformed by a target transformation relationship;
[0025] Figure 10 This diagram illustrates a region segmentation of a projected image obtained by performing an image projection method according to an embodiment of this application.
[0026] Figure 11 This diagram illustrates the calculation of the region linewidth of a projected image obtained by performing an image projection method according to an embodiment of this application.
[0027] Figure 12 It shows that Figure 10 A magnified view of a portion of the projected image;
[0028] Figure 13 This diagram illustrates the process of traversing and calculating the line width in a projected image using an embodiment of the image projection method provided in this application.
[0029] Figure 14 This illustration shows a structural block diagram of an image projection device according to an embodiment of this application;
[0030] Figure 15 This invention provides a structural block diagram of a projection system according to an embodiment of the present application.
[0031] Figure 16 This illustration shows a structural block diagram of a computer storage medium provided in one embodiment of this application. Detailed Implementation
[0032] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0033] Currently, overlay projection is a commonly used technology in the projector industry to increase the brightness of the projected image while controlling costs. Specifically, overlay projection can be achieved by cropping or scaling the projected images from multiple low-brightness projectors and finally stacking them together to form a high-brightness projected image. Each projector uses the same image source, and the total brightness of the overlay image increases linearly with the number of overlay machines.
[0034] Currently, the commonly used automated overlay projection method in projection systems involves projecting different test images onto different projectors within the system. This process establishes the transformation relationships between the projectors, allowing for the calculation of the projected image coordinates. The projected images are then cropped or scaled to achieve a high degree of overlap. However, this method requires precise human control and is significantly affected by the accuracy of the images captured by the camera. Achieving a high-precision overlay projection using this method demands advanced equipment and technology.
[0035] Therefore, in related technologies, there is a problem of low overlap accuracy of projected images when using multiple projectors to achieve superimposed projection.
[0036] To alleviate the aforementioned problems, the inventors of this application propose an image projection method, apparatus, device, and storage medium according to an embodiment of this application, applied to a projection system including at least two projectors, wherein the at least two projectors include a first projector and a second projector having the same projection surface. The method includes: obtaining a projection line pattern based on a preset correction dot matrix; acquiring a first projection image obtained by the first projector projecting the projection line pattern onto the projection surface according to the preset correction dot matrix, and acquiring a second projection image obtained by the second projector projecting the projection line pattern onto the projection surface according to the preset correction dot matrix; calculating the overlap between the first projection image and the second projection image as an initial overlap; adjusting the positions of correction points in the preset correction dot matrix, and returning to the steps of acquiring the second projection image obtained by the second projector projecting the projection line pattern onto the projection surface according to the preset correction dot matrix, and calculating the overlap between the first projection image and the second projection image, until the obtained overlap is the highest and greater than or equal to the initial overlap; acquiring a target correction dot matrix corresponding to the highest overlap, so that the second projector projects according to the target correction dot matrix. Therefore, by using the method described in this application, multiple projectors are used to overlay projection to obtain a high-brightness projected image, which effectively reduces the cost of obtaining a high-brightness projected image in the projection system. At the same time, based on the overlay projection line diagram of the projection system, by adjusting the preset correction dot matrix of the projectors in the projection system, the correction dot matrix with the highest overlap of the projected image of the projector that realizes the overlay projection line diagram of the projection system is obtained, so that the projector projects the image according to the correction dot matrix, thereby optimizing the overlay projection effect of the projection system and increasing the overlap of the overlay projection.
[0037] The present application provides an image projection method applied to a projection system including at least two projectors, wherein the at least two projectors include a first projector and a second projector having the same projection surface.
[0038] The projection system is an optical system that projects an image onto a projection screen after illuminating an object. This system is based on motion tracking technology and is suitable for any projector, LCD screen, LED large screen, plasma screen, and digital video wall. Specifically, the projector can be a laser projector, LED projector, CRT projector, LCD projector, DLP projector, LCOS projector, traditional light source projector, and other types of devices with projection capabilities, without limitation here.
[0039] For example, please refer to Figure 1 , Figure 2 as well as Figure 3 , Figure 1 A schematic diagram of a projection system in which projectors are arranged in a vertically superimposed manner is shown. Figure 2 A schematic diagram of a projection system in which projectors are arranged in a horizontally superimposed manner is shown. Figure 3 A schematic diagram of a projection system in which projectors are arranged in a horizontal and vertical superimposed manner is shown.
[0040] It should be noted that, in addition to arranging projectors in a horizontal and vertical manner, the projection system implementing the image projection method provided in this application can also arrange projectors in a fan-shaped or other different manner, so that the projected images of each projector in the projection system are displayed in the same display area (i.e., each projector has the same projection surface). The specific arrangement of projectors in the projection system is not limited here.
[0041] In this context, "identical projection surface" can be understood as the images projected by different projectors in a projection system overlapping by more than 90% within a preset orientation. That is, if the overlap of the images projected by different projectors in a projection system is greater than 90% within a preset range, it can be considered an identical projection surface. The distance between different projectors in the projection system and the projection surface is not limited here.
[0042] The first projector can be any one of the at least two projectors included in the projection system. For example, the projection system includes three projectors placed in parallel, and the first projector can be the projector located in the center of the three parallel projectors; the projection system includes nine projectors, such as those placed in a 3×3 configuration, and the first projector can be the projector located in the center of the nine projectors.
[0043] Furthermore, the second projector can be any one of the at least two projectors included in the projection system, excluding the first projector.
[0044] The projection surface refers to the surface on which the projected image is displayed. In some implementations, the projection surface of the projection system can be a wall, screen, floor, ceiling, or a specific landscape feature. Specifically, the projection surface of the projector in the projection system is not limited here.
[0045] The embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0046] Please see Figure 4 , Figure 4 A schematic flowchart of an image projection method according to an embodiment of this application is shown. This method is applied to a projection system including at least two projectors, wherein the at least two projectors include a first projector and a second projector having the same projection surface. (Refer to...) Figure 4 As shown, the method includes at least steps S110 to S150.
[0047] Step S110: Obtain the projection line diagram according to the preset correction dot matrix.
[0048] Each projector has a calibration dot matrix. The calibration dot matrix of a projector is selected according to the required calibration accuracy of the projector and the application scenario of the projector. The larger the dimension of the calibration dot matrix, the higher the accuracy of the projected image calibrated by the calibration dot matrix.
[0049] In some implementations, the projection of the projector is controlled by a software program, and the correction pixel dimension of the projected line graph is configured according to a first instruction from the software program, thereby achieving multi-scene adaptation. The first instruction can be actively set by the user in the software program; alternatively, it can be pre-stored and set in the software program using third-party experimental data to configure the correction pixel dimension of the projected line graph, thus achieving multi-scene adaptation and improving the efficiency and versatility of image projection.
[0050] In some implementations, the preset calibration dot matrix is the calibration dot matrix of each projector in the projection system, that is, the calibration dot matrix of each projector in the projection system is the same, and is the preset calibration dot matrix. The preset calibration dot matrix can be a four-point calibration dot matrix, a nine-point calibration dot matrix, a sixteen-point calibration dot matrix, etc., and is not limited here.
[0051] It should be understood that the preset calibration dot matrix can be pre-stored in the projection system, or it can be obtained by the projection system from the associated cloud or electronic device through wireless communication technology (such as WiFi, Bluetooth, Zigbee, etc.), or it can be obtained from the associated electronic device through a serial communication interface, without limitation here.
[0052] It should be noted that for a given image, the position of certain feature points can be selected to represent the image's position. For example, the four corner points or nine corner points can be selected. Specifically, the nine corner points can be the four vertex corners, the center points of the four sides, and the center point of the image. These feature points allow us to obtain the image's offset or deflection transformation relationships. Similarly, the projector's calibration point array can select either the four or nine corner points of the image as calibration points. These calibration points allow us to obtain the offset or deflection transformation relationships between the image and the projected image obtained by the projector.
[0053] In some embodiments, the projection line graph includes vertical line graphs and / or horizontal line graphs. Obtaining the projection line graph based on a preset correction dot matrix can be achieved by obtaining a vertical line graph based on the column direction of the preset correction dot matrix, or by obtaining a horizontal line graph based on the row direction of the preset correction dot matrix. For example, if the preset correction dot matrix is a nine-dot correction dot matrix, the straight lines containing the correction points in the same row of the correction dot matrix constitute a correction line, and multiple rows of correction points in the correction dot matrix constitute multiple correction lines, which together form a horizontal line graph; similarly, the straight lines containing the correction points in the same column of the correction dot matrix constitute a correction line, and multiple columns of correction points in the correction dot matrix constitute multiple correction lines, which together form a vertical line graph.
[0054] For example, please refer to Figure 5 , Figure 6 as well as Figure 7 .in, Figure 5 A schematic diagram of a preset correction dot matrix with m rows × n columns is shown; Figure 6 It shows according to Figure 5 The column-oriented dot matrix of the preset correction dot matrix shown is used to obtain a vertical line diagram with n columns of vertical lines; Figure 7 It shows according to Figure 5 The preset correction dot matrix shown is used to obtain a horizontal line diagram with m rows of horizontal lines.
[0055] It should be understood that the image projected by the projector can be represented by a line graph. The line graph is designed according to the distribution of the projector's correction dot matrix, so that the projector can project the line graph according to the correction dot matrix. This ensures that the correction points in each correction dot matrix are on the lines of the projected image. The offset transformation relationship or deflection transformation relationship between the image and the projected image obtained after projection can be obtained based on the position of the correction points in the projected image.
[0056] Step S120: Obtain a first projected image obtained by the first projector projecting the projection line diagram onto the projection surface according to the preset correction dot matrix, and obtain a second projected image obtained by the second projector projecting the projection line diagram onto the projection surface according to the preset correction dot matrix.
[0057] In some implementations, the projection system includes a camera or a vision sensor, which can be used to acquire a first projected image obtained by a first projector projecting a projection line diagram onto the projection surface according to a preset correction dot matrix, and a second projector projecting a projection line diagram onto the projection surface according to a preset correction dot matrix to acquire multiple second projected images.
[0058] It should be noted that the images captured by the camera can include all projected images obtained by the projector when displaying the projected lines, as well as some blank images that are not projected. Blank images refer to the images outside the projection area on the projection surface where the projector's projected lines are displayed.
[0059] For example, please refer to Figure 8 , Figure 8 An image captured by a camera. Figure 8 The dashed box in the middle shows the projection area, and the projection line diagram projected by the projector is a vertical line diagram.
[0060] In some implementations, after the projection system acquires an image captured by a camera, it can obtain a target transformation relationship based on the image captured by the camera and the projection line diagram projected by the projector. This can be achieved by: establishing a coordinate system with a vertex of the image as the origin and the two sides of the image intersecting at that vertex as the x-axis and y-axis as the y-axis, respectively, and obtaining the coordinates of the image's feature points in this coordinate system; establishing a coordinate system with a vertex of the projection line diagram as the origin and the two sides of the projection line diagram intersecting at that vertex as the x-axis and y-axis as the y-axis, respectively, and obtaining the coordinates of the feature points in the projection line diagram; and then using a coordinate transformation method to obtain the target transformation relationship between the image and the projection line diagram based on the coordinates of the feature points in both the image and the projection line diagram.
[0061] The feature points can be the center point, the brightest point, the point with the greatest brightness change, the edge point, etc., of the image, and are not limited here. It should be noted that the selected feature points of the image need to correspond to the feature points of the projection line graph.
[0062] In other embodiments, obtaining the target transformation relationship can be achieved by the projection system based on the image captured by the camera and the feature image projected by the projector. Specifically, the first projector projects the feature image; the camera captures an image of the feature image projected onto the projection surface by the first projector; the projection system obtains the position coordinates of the feature points of the captured image in a coordinate system established based on the two perpendicular sides of the captured image as the horizontal and vertical axes; and obtains the position coordinates of the corresponding feature points of the captured image in a coordinate system established based on the two perpendicular sides of the feature image as the horizontal and vertical axes; the projection system uses a coordinate transformation method to calculate the target transformation relationship between the captured image and the feature image projected by the projector based on the position coordinates of the feature points of the captured image and the position coordinates of the corresponding feature points in the feature image.
[0063] The coordinates of the feature points in the above process can also be obtained through other coordinate systems, which are not limited here; the feature image can be a checkerboard pattern, a grid pattern, a pie chart, a dot pattern, a line chart, etc., which are not limited here.
[0064] In some implementations, after obtaining the target transformation relationship, the projection system can transform the first projection image and the second projection image on the projection surface according to the target transformation relationship to obtain an adjusted projection image in which the transformed first projection image and the transformed second projection image are simultaneously projected onto the projection surface; alternatively, it can transform the projection image in which the first projection image and the second projection image simultaneously projected onto the projection surface overlaps according to the target transformation relationship to obtain an adjusted projection image in which the first projection image and the second projection image are simultaneously projected onto the projection surface.
[0065] For example, please refer to Figure 8 and Figure 9 , Figure 8 An image captured by a camera is projected by the projection system according to the target transformation relationship. Figure 8 Perform the transformation to obtain the transformed image as follows: Figure 9 As shown.
[0066] It should be noted that when transforming the projected image using the target transformation relationship, the projected line graph obtained based on the preset correction dot matrix is not a line graph that completely corresponds to the correction points and may contain errors. Therefore, when using the camera to capture images, the image includes blank areas smaller than the area threshold as a design margin to reduce the error of the projector's projected line graph, thus making it easier to find the lines in the projected image.
[0067] The region threshold can be pre-stored in the projection system, obtained from associated devices or the cloud via wireless communication technology, or obtained from associated devices via a serial communication interface. The size of the region threshold can be set by the user or obtained from third-party experimental data. For example, the region threshold can be pre-stored in the projection system, and the size of the region threshold obtained from third-party experimental data can be 1 / 3 of the size of the projected region in the image captured by the camera.
[0068] Step S130: Calculate the overlap between the first projected image and the second projected image as the initial overlap.
[0069] In some implementations, calculating the overlap between the first and second projected images can involve: obtaining an adjusted projected image obtained by simultaneously projecting the first and second projected images onto a projection surface; preprocessing the adjusted projected image to obtain a binary image corresponding to the adjusted projected image; calculating the line widths in the binary image; and obtaining the overlap between the first and second projected images based on the correspondence between the line widths and the overlap between the first and second projected images. The line widths may be inversely proportional to the overlap between the first and second projected images.
[0070] In some implementations, preprocessing the adjusted projection image to obtain a binary image corresponding to the adjusted projection image can be performed by grayscale processing, filtering processing, and binarization processing on the adjusted projection image to obtain a binary image corresponding to the adjusted projection image.
[0071] Optionally, calculating the line width in the binary image can be done by segmenting the binary image into regions based on the correction points in the preset correction dot matrix corresponding to the second projector, obtaining multiple projection regions corresponding to the binary image; traversing and calculating each projection region to obtain the line width of each projection region; and calculating the average of the line widths of the multiple projection regions corresponding to the binary image to obtain the line width in the binary image.
[0072] As one implementation method, the binary image is segmented into regions based on the positions of the correction points in the preset correction dot matrix corresponding to the second projector to obtain multiple projection regions corresponding to the binary image. This can be done as follows: if the projected line graph is a vertical line graph, the binary image is horizontally segmented based on the correction points in the preset correction dot matrix; if the projected line graph is a horizontal line graph, the binary image is vertically segmented based on the correction points in the preset correction dot matrix; in the binary image, the lines are evenly segmented according to the spacing between the lines.
[0073] For example, please refer to Figure 10 and Figure 11The projected line graph is a vertical line graph. Based on the correction points in the preset 9×9 correction dot matrix corresponding to the second projector, and by dividing the lines evenly according to the spacing between the lines, the binary image corresponding to the projected line graph is cut into the following... Figure 10 The diagram shows 9×9 projection areas, each corresponding to a line segment in the vertical line drawing. For example... Figure 11 As shown, for a correction point located at the vertical edge of a binary image, the line width of a line segment in a projection region centered on the correction point is calculated; for a correction point located in the middle of a binary image, the line width of a line segment in a projection region centered on the correction point is calculated.
[0074] In some implementations, the lines in the projected image may appear irregular due to the projection effect of the projector, environmental factors during projection, and the quality of the image captured by the camera.
[0075] For example, please refer to Figure 10 and Figure 12 , Figure 12 It shows that Figure 10 When the projected image is magnified in a specific area, there may be issues with line shape. Adjusting the projected image on the projection surface may reveal variations in line width, non-overlapping, intersections, or breaks in the same line segment corresponding to the projected area. The dashed box represents the projected area in the projected image.
[0076] In some implementations, considering that the widths of the same line segment in the projection line diagram corresponding to the projection area in the adjusted projection image may be unequal, non-overlapping, intersecting, or broken, the line width in the binary image can be calculated by traversing and calculating multiple projection areas corresponding to the binary image to obtain the line width at different positions in each projection area; and by calculating the mean, mode, median, or arithmetic mean of the line widths at different positions in multiple projection areas corresponding to the binary image as the line width in the binary image.
[0077] In one optional embodiment provided in this application, in order to reduce the error of line width in the obtained binary image, the binary image can be segmented into regions according to the correction points in the preset correction dot matrix to obtain multiple projection regions corresponding to the binary image; the line width of each projection region is obtained by traversing and calculating each projection region; the average value of the line widths of the multiple projection regions corresponding to the binary image is calculated to obtain the line width in the binary image.
[0078] For example, please refer to Figure 13If the projected line graph is a vertical line graph, the starting point of the line width can be obtained by traversing horizontally from the beginning of the projected area; then horizontally from the end point of the line width in the area; the line width of that pixel row is obtained by subtracting the starting and ending points of the corresponding line width in the projected area; then vertically traversing to calculate the line width of all lines in the projected area; the average line width of each projected area is calculated by averaging the line widths of each area; the average line width of the binary image is obtained by averaging the line widths of multiple projected areas corresponding to the binary image. By using the average line width of the projected area to calculate the line width of each projected area, and merging the branching lines in the projected area for line width calculation, the error in line width calculation is reduced.
[0079] The initial overlap can be calculated based on the overlap between the first and second projected images obtained by the camera on the projection surface, where both the first and second projectors are projected onto the projection surface according to a preset correction dot matrix projection line diagram. This is also the initial accuracy of the projection system's overlay projection.
[0080] In some implementations, to obtain the overlap of projection line patterns from different projectors in a projection surface system, a Cartesian coordinate system can be established with a vertex in the image captured by the camera on the projection surface as the origin, and the two sides intersecting at that vertex as the horizontal and vertical axes, respectively. Based on this Cartesian coordinate system, the original coordinates of a certain correction point in the preset correction dot matrix in the image are obtained, and the first linewidth of the projection image corresponding to that correction point is calculated, thereby obtaining the overlap degree of projection line patterns from different projectors in the projection system.
[0081] Step S140: Adjust the position of the correction points in the preset correction dot matrix, and return to the step of obtaining the second projection image obtained by the second projector projecting the projection line diagram onto the projection surface according to the preset correction dot matrix, and calculating the overlap between the first projection image and the second projection image, until the obtained overlap is the highest and greater than or equal to the initial overlap.
[0082] In some implementations, when both the first projector and the second projector project vertical line diagrams, the overlapping image of the first and second projected images obtained on the projection surface corresponds to the horizontal overlap accuracy of the projected image obtained by the projection system overlaying the vertical line diagram; when both the first projector and the second projector project horizontal line diagrams, the overlapping image of the first and second projected images obtained on the projection surface corresponds to the vertical overlap accuracy of the projected image obtained by the projection system overlaying the horizontal line diagram.
[0083] In some implementations, adjusting the position of the correction points in the preset correction matrix can be done as follows: if the projected line graph is a vertical line graph, adjust the position of the correction points in the preset correction matrix in a first direction; if the projected line graph is a horizontal line graph, adjust the position of the correction points in the preset correction matrix in a second direction. The first direction can be left or right, and the second direction can be upward or downward. The first direction can be perpendicular to the second direction.
[0084] Optionally, adjusting the position of the correction points in the preset correction matrix can be achieved by the projection system or electronic devices or the cloud associated with the projection system, through software program control to move the correction points in the preset correction matrix in a first direction or a second direction, so as to adjust the projected image emitted by the second projector; alternatively, the position of the correction points in the preset correction matrix can be adjusted manually to adjust the projected image emitted by the second projector.
[0085] In one optional implementation provided in this application, considering the accuracy and efficiency of adjusting the position of the correction points in the preset correction point array, a software program is used to adjust the position of the correction points in the preset correction point array, so as to improve the accuracy and efficiency of adjusting the position of the correction points in the preset correction point array.
[0086] In some implementations, the positions of the correction points in the preset correction dot matrix are adjusted, and the process returns to obtain the second projected image obtained by the second projector projecting the projection line diagram onto the projection surface according to the preset correction dot matrix, and calculates the overlap between the first and second projected images until the obtained overlap is the highest and greater than or equal to the initial overlap. In order to improve the overlap between the first and second projected images, the correction points in the preset correction dot matrix can be controlled to move from the position corresponding to the initial overlap in the first direction or the second direction to adjust the position coordinates of the correction points.
[0087] Specifically, after obtaining the positions of the correction points in the preset correction dot matrix, the second projected image is obtained by the second projector projecting the projection line diagram onto the projection surface according to the preset correction dot matrix with the adjusted correction point positions. The overlap between the first and second projected images is then calculated.
[0088] In some implementations, after adjusting the positions of the correction points in the preset correction dot matrix, a second projected image is obtained by projecting the projection line diagram obtained by the second projector onto the projection surface based on the preset correction dot matrix with adjusted correction point positions. The overlap between the first and second projected images can be calculated based on a Cartesian coordinate system established by calculating the initial overlap, i.e., the first linewidth. The overlap between the first and second projected images is calculated as the second linewidth. If the first linewidth is greater than the second linewidth, the position of the correction point is moved in the same direction as described above. If the first linewidth is less than the second linewidth, the position of the correction point is adjusted in the opposite direction to the direction in which the position of the correction point in the preset correction is adjusted. The first linewidth is the linewidth in the adjusted projected image corresponding to the initial overlap, and the second linewidth is the linewidth in the adjusted projected image obtained by the second projector based on the projection line diagram of the preset correction dot matrix after adjusting the positions of the correction points in the preset correction dot matrix, where the second projected image and the first projected image are simultaneously projected onto the projection surface.
[0089] Specifically, when adjusting the correction points in the preset correction matrix in one direction, the line width of the overlapping first and second projected images on the projection surface transitions from decreasing to increasing. The line width reaches its minimum value during this transition, corresponding to the maximum overlap between the first and second projected images. If adjusting the position of the correction points in either the first or second direction (positive or negative) causes the line width of the overlapping first and second projected images on the projection surface to increase, then the initial line width of the overlapping first and second projected images on the projection surface is determined to be the minimum value, corresponding to the maximum overlap between the first and second projected images.
[0090] In some implementations, if the linewidth within the correction point area decreases after adjustment, the linewidth value within the correction point area and the adjusted coordinate value of the correction point are recorded. If the linewidth change transitions from decreasing to increasing during adjustment in a certain direction, the recorded linewidth value is the minimum value, meaning the overlap between the first and second projected images is the highest. If the linewidth values increase in both forward and reverse adjustments, the original value is the minimum value, meaning the initial overlap is the highest overlap.
[0091] It should be understood that the line width of the overlap between the first and second projected images is inversely proportional to the degree of overlap between the first and second projected images. That is, the larger the line width of the overlap between the first and second projected images, the smaller the degree of overlap between the first and second projected images.
[0092] In some implementations, adjusting the positions of correction points in a preset correction dot matrix and returning to the execution of obtaining a second projected image obtained by the second projector projecting a projection line diagram onto a projection surface according to the preset correction dot matrix, calculating the overlap between the first and second projected images, until the obtained overlap is the highest and greater than or equal to the initial overlap, may involve adjusting the positions of correction points in the preset correction dot matrix to obtain multiple adjusted correction dot matrices, obtaining a first projected image obtained by the first projector projecting a projection line diagram onto a projection surface according to the preset correction dot matrix, and obtaining multiple second projected images obtained by the second projector projecting a projection line diagram onto a projection surface according to each adjusted correction dot matrix, and obtaining a target projected image with the highest overlap with the first projected image from the multiple second projected images.
[0093] Among them, obtaining the target projection image with the highest overlap with the first projection image from multiple second projection images can be done by obtaining the adjusted projection image corresponding to each second projection image obtained by simultaneously projecting the first projection image and each second projection image onto the projection surface, preprocessing each adjusted projection image to obtain multiple binary images, calculating the line width in each binary image, and obtaining the second projection image corresponding to the line width being less than the width threshold as the target projection image.
[0094] The width threshold can be pre-set and stored in the projection system, or obtained from a related cloud or electronic device via wireless communication technology, or from a related electronic device via a serial communication interface; no limitation is made here. The size of the width threshold can be set by the user or obtained from third-party experimental data. The width threshold can be set according to the projection system's requirements for the overlay effect; the higher the overlay effect requirement, i.e., the higher the overlay accuracy requirement, the smaller the corresponding width threshold should be.
[0095] Understandably, the second projected image corresponding to a line width less than a width threshold is selected as the target projected image; that is, the target projected image with the highest overlap with the first projected image is selected. Here, a line width less than the width threshold means that the overlap between the second and first projected images meets the projection system's requirements for overlay effect. Selecting the target projected image with the highest overlap with the first projected image improves the overlay accuracy of the projection system. Furthermore, comparing the line width with the width threshold to obtain the target projected image improves the efficiency of acquiring a high-precision projection system.
[0096] If there are multiple lines with a width less than the width threshold, the second projection image corresponding to the line with the smallest line width among these multiple lines can be selected as the target projection image; alternatively, the second projection image corresponding to a certain line among these multiple lines can be randomly selected as the target projection image; or the second projection image corresponding to the line with the median line width among these multiple lines can be selected as the target projection image, which is not limited here.
[0097] In one possible implementation of this application, in order to improve the accuracy of the projection system overlay, if there are multiple lines with a line width less than a width threshold, the second projection image corresponding to the line with the smallest line width among the multiple lines can be selected as the target projection image to improve the accuracy of the projection system overlay.
[0098] Step S150: Obtain the target correction dot matrix corresponding to the highest overlap, so that the second projector can project according to the target correction dot matrix.
[0099] In some implementations, the highest degree of overlap is greater than the initial degree of overlap. Obtaining the target correction point array corresponding to the highest degree of overlap can be achieved by obtaining a preset correction point array of the second projector projection image corresponding to the highest degree of overlap as the target correction point array.
[0100] In some implementations, the highest degree of overlap is equal to the initial degree of overlap. That is, during the process of adjusting the position of the correction points in the preset correction matrix and returning to execute the step of obtaining the second projected image obtained by the second projector projecting the projection line diagram onto the projection surface according to the preset correction matrix, and calculating the degree of overlap between the first projected image and the second projected image, if the calculated degree of overlap between the first projected image and the second projected image is less than or equal to the initial degree of overlap, then the preset correction matrix corresponding to the first projector is confirmed to be the correction matrix with the best superposition effect of the projected image in the projection system, and the preset correction matrix is confirmed to be the target correction matrix.
[0101] In some implementations, after obtaining the target correction dot matrix corresponding to the highest degree of overlap, the second projector projects according to the target correction dot matrix. The projection system can use a communication protocol (such as IIC protocol, SPI protocol, UART protocol, etc.) to set the target adjustment correction dot matrix in the second projector so that the second projector projects according to the target adjustment correction dot matrix.
[0102] The technical solution provided in this application is applied to a projection system including at least two projectors, which include a first projector and a second projector having the same projection surface. The system obtains a projection line pattern based on a preset correction dot matrix; acquires a first projected image obtained by the first projector projecting the projection line pattern onto the projection surface according to the preset correction dot matrix; acquires a second projected image obtained by the second projector projecting the projection line pattern onto the projection surface according to the preset correction dot matrix; calculates the overlap between the first and second projected images as an initial overlap; adjusts the positions of the correction points in the preset correction dot matrix, and returns to the steps of acquiring the second projected image obtained by the second projector projecting the projection line pattern onto the projection surface according to the preset correction dot matrix and calculating the overlap between the first and second projected images, until the obtained overlap is the highest and greater than or equal to the initial overlap; and acquires the target correction dot matrix corresponding to the highest overlap, so that the second projector projects according to the target correction dot matrix. Therefore, by adopting the above-described method of this application, based on the superimposed projection line diagram of the projection system, by adjusting the preset correction dot matrix of the projector in the projection system, the correction dot matrix with the highest overlap of the projected image of the projector that realizes the superimposed projection line diagram of the projection system is obtained, so that the projector projects the image according to the correction dot matrix, thereby optimizing the superimposed projection effect of the projection system and improving the accuracy of the superimposed projection of the projection system.
[0103] Please see Figure 14 This application illustrates an image projection device according to an embodiment of the present application, applied to a projection system including at least two projectors, wherein the at least two projectors include a first projector and a second projector having the same projection surface. The device 200 includes: a projection image acquisition unit 210, a projection unit 220, an overlap calculation unit 230, a correction point adjustment unit 240, and a target correction dot matrix acquisition unit 250. The system includes: a projection image acquisition unit 210, used to obtain a projection line map based on a preset correction dot matrix; a projection unit 220, used to acquire a first projection image obtained by the first projector projecting the projection line map onto the projection surface based on the preset correction dot matrix, and a second projection image obtained by the second projector projecting the projection line map onto the projection surface based on the preset correction dot matrix; an overlap calculation unit 230, used to calculate the overlap between the first projection image and the second projection image as an initial overlap; a correction point adjustment unit 240, used to adjust the position of the correction points in the preset correction dot matrix, and return to the steps of acquiring the second projection image obtained by the second projector projecting the projection line map onto the projection surface based on the preset correction dot matrix, and calculating the overlap between the first projection image and the second projection image, until the obtained overlap is the highest and greater than or equal to the initial overlap; and a target correction dot matrix acquisition unit 250, used to acquire the target correction dot matrix corresponding to the highest overlap, so that the second projector can project based on the target correction dot matrix.
[0104] In one embodiment, the projection line graph includes a vertical line graph and / or a horizontal line graph. The projection image acquisition unit 210 is further configured to obtain a vertical line graph based on the column direction of the preset correction dot matrix; or to obtain a horizontal line graph based on the row direction of the preset correction dot matrix.
[0105] In one embodiment, the correction point adjustment unit 240 is further configured to adjust the position of the correction point in the preset correction point array in a first direction if the projected line graph is a vertical line graph; and to adjust the position of the correction point in the preset correction point array in a second direction if the projected line graph is a horizontal line graph, wherein the first direction is perpendicular to the second direction.
[0106] In one embodiment, the overlap calculation unit 230 is further configured to acquire an adjusted projection image obtained by simultaneously projecting the first projection image and the second projection image onto the projection surface; preprocess the adjusted projection image to obtain a binary image corresponding to the adjusted projection image; calculate the line width in the binary image; and obtain the overlap degree of the first projection image and the second projection image according to the correspondence between the line width and the overlap degree of the first projection image and the second projection image.
[0107] In one embodiment, the overlap calculation unit 230 is further configured to perform grayscale processing, filtering processing and binarization processing on the adjusted projection screen to obtain a binary image corresponding to the adjusted projection screen.
[0108] In one embodiment, the overlap calculation unit 230 is further configured to perform region segmentation on the binary image based on the correction points in the preset correction dot matrix corresponding to the second projector when the binary image is obtained, to obtain multiple projection regions corresponding to the binary image; perform traversal calculation on each projection region to obtain the line width of each projection region; and perform mean calculation on the line widths of the multiple projection regions corresponding to the binary image to obtain the line width in the binary image.
[0109] Using the technical solution provided in this application, a projection line diagram is obtained according to a preset correction dot matrix; a first projection image is obtained by a first projector projecting the projection line diagram onto a projection surface according to the preset correction dot matrix, and a second projection image is obtained by a second projector projecting the projection line diagram onto a projection surface according to the preset correction dot matrix; the overlap between the first projection image and the second projection image is calculated as the initial overlap; the positions of the correction points in the preset correction dot matrix are adjusted, and the process returns to the steps of obtaining the second projection image obtained by the second projector projecting the projection line diagram onto the projection surface according to the preset correction dot matrix and calculating the overlap between the first projection image and the second projection image, until the obtained overlap is the highest and greater than or equal to the initial overlap; the target correction dot matrix corresponding to the highest overlap is obtained, so that the second projector can project according to the target correction dot matrix. Specifically, the adjusted projection image obtained by simultaneously projecting the first and second projection images onto the projection surface is divided into regions. The line width in each region of the adjusted projection image is calculated. Based on the correspondence between the line width and the overlap between the first and second projection images, the target projection image with the highest overlap with the first projection image is obtained from multiple second projection images. The target correction dot matrix corresponding to the highest overlap is obtained so that the second projector can project according to the target correction dot matrix, which increases the brightness of the projected image obtained by the projection system and improves the accuracy of the superimposed projection of the projection system.
[0110] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For device embodiments, since they are basically similar to method embodiments, the description is relatively simple; relevant parts can be referred to in the descriptions of the method embodiments. Any processing method described in the method embodiments can be implemented in the device embodiments through corresponding processing modules, and will not be elaborated upon further in the device embodiments.
[0111] Please see Figure 15 Based on the aforementioned image projection method, this application also provides another projection system capable of executing the aforementioned image projection method. The projection system 300 includes: a first projector 310, a second projector 320, one or more processors 330, a memory 340, and one or more application programs. The first projector 310 and the second projector 320 have the same projection surface; the memory 340 stores programs capable of executing the content described in the aforementioned embodiments; and the processors 330 are respectively connected to the first projector 310 and the second projector 320, and can execute the programs stored in the memory 340. The projection system 300 can be a CRT large-screen projection system, a DLP large-screen projection system, an LCD large-screen projection system, a PDP plasma large-screen projection system, etc.
[0112] Specifically, a projector, also known as a projector, is a device that projects images or videos onto a screen. It can be connected to computers, VCD players, DVD players, Blu-ray players, game consoles, DV cameras, etc., through various interfaces to play corresponding video signals. Projectors are widely used in homes, offices, schools, and entertainment venues. Depending on their operating method, there are different types such as CRT, LCD, and DLP. They can also be classified by interface type: VGA interface projectors, HDMI interface projectors, and projectors with network ports. Projector performance indicators include: light output, horizontal scanning frequency, vertical scanning frequency, video bandwidth, resolution, and convergence.
[0113] The first projector 310 and the second projector 320 can be traditional lamp projectors, LED projectors, or laser projectors; the first projector 310 and the second projector 320 can be projectors of the same type or different types, and this is not limited here.
[0114] The processor 330 is connected to the first projector 310 and the second projector 320 respectively. In some embodiments, the processor 330 can communicate with the first projector 310 and the second projector 320 via wireless communication technology (such as WiFi, Bluetooth, Zigbee, etc.); the processor 330 can also communicate with the first projector 310 and the second projector 320 via a serial communication interface (such as SPI), which is not limited here.
[0115] The processor 330 may include one or more cores for data processing and message matrix units. The processor 330 connects to various parts of the projection system 300 using various interfaces and lines, and performs various functions and processes data of the projection system 300 by running or executing instructions, programs, code sets, or instruction sets stored in the memory 340, and by calling data stored in the memory 340. Optionally, the processor 330 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 330 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also be implemented separately as a communication chip, without being integrated into the processor.
[0116] The memory 340 may include random access memory (RAM) or read-only memory (ROM). The memory 340 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 340 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), and instructions for implementing the various method embodiments described above. The data storage area may also store data created by the terminal during use (such as audio data, text data, image data, etc.).
[0117] In some embodiments, the projection system 300 further includes a camera, which is used to capture a first projected image obtained by the first projector 310 projecting a projection line diagram onto a projection surface according to a preset correction dot matrix, and to capture a second projected image obtained by the second projector 320 projecting a projection line diagram onto a projection surface according to a preset correction dot matrix; the processor 330 is further used to obtain a target transformation relationship based on the projection line diagram and the first projected image; and to transform the projected image obtained by simultaneously projecting the first projected image and the second projected image onto the projection surface according to the target transformation relationship to obtain an adjusted projected image; and to calculate the overlap between the first projected image and the second projected image based on the adjusted projected image.
[0118] Please see Figure 16 This diagram illustrates a structural block diagram of a computer-readable storage medium provided in an embodiment of this application. The computer-readable storage medium 400 stores program code 410, which can be called by a processor to execute the methods described in the above method embodiments.
[0119] The computer-readable storage medium 400 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 400 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 400 has storage space for program code 410 that performs any of the method steps described above. This program code 410 can be read from or written to one or more computer program products. The program code may be compressed, for example, in a suitable form.
[0120] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. An image projection method, characterized in that, The method, applied to a projection system comprising at least two projectors, said at least two projectors including a first projector and a second projector having the same projection surface, comprises: The projection line diagram is obtained based on the preset correction dot matrix; A first projected image is obtained by the first projector projecting the projection line diagram onto the projection surface according to the preset correction dot matrix; and a second projected image is obtained by the second projector projecting the projection line diagram onto the projection surface according to the preset correction dot matrix. Calculate the overlap between the first projected image and the second projected image, and use it as the initial overlap. Adjust the position of the correction points in the preset correction dot matrix, and return to the step of obtaining the second projected image obtained by the second projector projecting the projection line diagram onto the projection surface according to the preset correction dot matrix, and calculating the overlap between the first projected image and the second projected image, until the obtained overlap is the highest and greater than or equal to the initial overlap. Obtain the target correction dot matrix corresponding to the highest degree of overlap, so that the second projector can project according to the target correction dot matrix.
2. The method according to claim 1, characterized in that, The projection line graph includes vertical line graphs and / or horizontal line graphs, and obtaining the projection line graph according to the preset correction dot matrix includes: Based on the column matrix of the preset correction matrix, a vertical line diagram is obtained; or A horizontal line graph is obtained based on the row direction dot matrix of the preset correction dot matrix.
3. The method according to claim 2, characterized in that, Adjusting the position of the correction points in the preset correction matrix includes: If the projected line graph is a vertical line graph, adjust the position of the correction point in the preset correction matrix in the first direction; If the projected line graph is a horizontal line graph, the position of the correction point in the preset correction matrix is adjusted in the second direction, wherein the first direction is perpendicular to the second direction.
4. The method according to claim 1, characterized in that, The calculation of the overlap between the first projected image and the second projected image includes: Obtain an adjusted projection image obtained by simultaneously projecting the first projection image and the second projection image onto the projection surface; The adjusted projection image is preprocessed to obtain a binary image corresponding to the adjusted projection image; Calculate the line widths in the binary image; The overlap between the first and second projected images is obtained based on the correspondence between the line width and the overlap between the first and second projected images.
5. The method according to claim 4, characterized in that, The step of preprocessing the adjusted projection image to obtain a binary image corresponding to the adjusted projection image includes: The adjusted projection image is subjected to grayscale processing, filtering processing, and binarization processing to obtain a binary image corresponding to the adjusted projection image.
6. The method according to claim 4, characterized in that, The calculation of line widths in the binary image includes: Based on the correction points in the preset correction dot matrix corresponding to the second projector when the binary image is obtained, the binary image is segmented into regions to obtain multiple projection regions corresponding to the binary image; The line width of each projection region is obtained by traversing and calculating each of the projection regions. The line widths in the binary image are obtained by averaging the line widths of the multiple projection regions corresponding to the binary image.
7. An image projection device, characterized in that, An apparatus for use in a projection system comprising at least two projectors, said at least two projectors including a first projector and a second projector having the same projection surface, the apparatus comprising: The projection image acquisition unit is used to obtain a projection line map based on a preset correction dot matrix. The projection unit is used to acquire a first projection image obtained by the first projector projecting the projection line diagram onto the projection surface according to the preset correction dot matrix, and to acquire a second projection image obtained by the second projector projecting the projection line diagram onto the projection surface according to the preset correction dot matrix; The overlap calculation unit is used to calculate the overlap between the first projected image and the second projected image as the initial overlap. The calibration point adjustment unit is used to adjust the position of the calibration points in the preset calibration point matrix, and return to execute the steps of obtaining the second projection image obtained by the second projector projecting the projection line diagram onto the projection surface according to the preset calibration point matrix, and calculating the overlap between the first projection image and the second projection image, until the obtained overlap is the highest and greater than or equal to the initial overlap. The target correction dot matrix acquisition unit is used to acquire the target correction dot matrix corresponding to the highest overlap, so that the second projector can project according to the target correction dot matrix.
8. A projection system, characterized in that, include: First projector; A second projector, wherein the first projector and the second projector have the same projection surface; One or more processors, each connected to the first projector and the second projector respectively; Memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications being configured to perform the method as described in any one of claims 1-6.
9. The projection system according to claim 8, characterized in that, The projection system also includes a camera, which is used to capture a first projection image obtained by the first projector projecting the projection line diagram onto the projection surface according to a preset correction dot matrix, and to capture a second projection image obtained by the second projector projecting the projection line diagram onto the projection surface according to the preset correction dot matrix. The processor is further configured to obtain the target transformation relationship based on the projection line diagram and the first projection image; as well as According to the target transformation relationship, the projection image obtained by simultaneously projecting the first projection image and the second projection image onto the projection surface is transformed to obtain an adjusted projection image; as well as The overlap between the first and second projected images is calculated based on the adjusted projection images.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores program code that can be invoked by a processor to execute the method as described in any one of claims 1-6.
Citation Information
Patent Citations
Projection image adjustment system and projection image adjustment method
CN107027013A
Trapezoid correction method and device, electronic equipment and readable storage medium
CN110996083A