An efficient location matching method based on heterogeneous projection
By analyzing the projection requirements of heterogeneous projections and screening key points, the projection boundaries and positions are determined, which solves the image distortion problem of heterogeneous projections in uneven areas and improves projection efficiency and quality.
Patent Information
- Application Number
- CN202311159923.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-09
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-09-09
AI Technical Summary
Heterogeneous projection causes distortion of the target image when projected in uneven areas, resulting in low efficiency. It is difficult for existing technology to effectively solve this problem.
By analyzing the projection requirements of heterogeneous projections, the key points of the projection area are screened, the projection boundaries and positions are determined, and the projection quality is ensured through flatness verification to improve position matching efficiency.
It effectively eliminates the image distortion of heterogeneous projection in uneven areas and improves the position matching efficiency and quality of heterogeneous projection.
Smart Images

Figure CN117132796B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of heterogeneous projection, and in particular to an efficient position matching method based on heterogeneous projection. Background Art
[0002] At present, with the development of science and technology, many technologies are closely related to people's lives. Heterogeneous projection means that the projected content is composed of heterogeneous images from multiple different sources, and the projection area is often not flat. Projecting to an uneven area will cause the projected target image to be distorted, especially the projection edge of the heterogeneous projection. This feature means that heterogeneous projection is inefficient in the position matching process.
[0003] Therefore, the present invention provides an efficient position matching method based on heterogeneous projection. Summary of the invention
[0004] The present invention provides an efficient position matching method based on heterogeneous projection, which is used for obtaining a plurality of to-be-projected areas by parsing the projection requirements of the heterogeneous projection, screening the projection key points corresponding to the to-be-projected areas according to the regional characteristics of each to-be-projected area, determining the projection boundary according to the target projection content of the heterogeneous projection, determining the heterogeneous projection position based on the projection boundary and the projection key points, and completing the projection if the heterogeneous projection position passes the flatness verification, thereby ensuring the projection quality of the heterogeneous projection and improving the efficiency of the position matching of the heterogeneous projection.
[0005] The present invention provides a method for efficient position matching based on heterogeneous projection, which is characterized by comprising:
[0006] Step 1: Analyze the projection requirements of heterogeneous projections to obtain several areas to be projected;
[0007] Step 2: According to the regional characteristics of each area to be projected, select the projection key points corresponding to the area to be projected;
[0008] Step 3: Determine the projection boundary according to the target projection content of the heterogeneous projection;
[0009] Step 4: Determine the heterogeneous projection position based on the projection boundary and the projection key point;
[0010] Step 5: If the heterogeneous projection position passes the flatness verification, the projection is completed.
[0011] Preferably, the present invention provides an efficient position matching method based on heterogeneous projection, which analyzes the projection requirements of heterogeneous projection and obtains several areas to be projected, including:
[0012] Based on the projection requirements of heterogeneous projections, the corresponding projection content at each moment is obtained;
[0013] Based on each projection content, a corresponding first projection illumination parameter for achieving clear projection is obtained;
[0014] The projection lighting parameter with the smallest value among all the first projection lighting parameters is used as the preset projection lighting parameter.
[0015] Preferably, the present invention provides an efficient position matching method based on heterogeneous projection, which analyzes the projection requirements of heterogeneous projection to obtain a plurality of areas to be projected, and further includes:
[0016] Based on each site to be projected, a corresponding second projection illumination parameter is obtained;
[0017] The sites to be placed whose second projection illumination parameters are smaller than the preset projection illumination parameters are retained;
[0018] Based on the reserved site to be projected, the corresponding area to be projected is obtained.
[0019] Preferably, the present invention provides an efficient position matching method based on heterogeneous projection, which screens the projection key points corresponding to the area to be projected according to the area characteristics of each area to be projected, including:
[0020] Based on the horizontal distance from the preset projection placement point to each projection point in each to-be-projected area, a projection distance map is obtained;
[0021] Based on the horizontal distance values corresponding to all the projection points in the projection distance map, a first projection point set with the same horizontal distance value is obtained;
[0022] Based on the number of projection points in each first projection point set, a second projection point set with the largest number of projection points is obtained;
[0023] Acquire a third projection point set excluding the second projection point set from all first projection point sets, and obtain a first projection distance graph of connections of projection points of each third projection point set;
[0024] Based on each first projection distance map, a corresponding closed attribute is obtained, wherein the closed attribute includes fully closed and not closed;
[0025] Based on the closed attribute corresponding to each first projection distance map, matching the corresponding uneven attribute, wherein the uneven attribute includes a concave attribute and a tilt attribute;
[0026] Based on the unevenness attribute of each first projection distance map, matching the corresponding unevenness algorithm;
[0027] Calculate the difference between the projection distances of every two projection points of each first projection distance graph to obtain a first difference;
[0028] Construct a first difference map according to the middle points of every two corresponding projection points for all the first difference values;
[0029] According to the unevenness algorithm of the same first projection distance map, every two first differences in the corresponding first difference map are analyzed to obtain the corresponding first function, and at the same time, all the first differences involved in the same first function are set with coordinate points and connected to obtain the corresponding continuous change map, wherein each connecting line corresponds to a first function;
[0030] The middle point corresponding to the first difference value greater than the preset difference value in each continuous change graph is retained, and the projection point corresponding to the retained middle point is used as the key point;
[0031] At the same time, the first difference of the retained middle point and the first function in the continuous change graph corresponding to the retained middle point are input into the restoration and smoothing model to obtain the corresponding restoration function.
[0032] Preferably, the present invention provides an efficient position matching method based on heterogeneous projections, which determines the projection boundary according to the target projection content of the heterogeneous projections, including:
[0033] Based on all target projection contents of heterogeneous projections, the corresponding projection bounding box is obtained;
[0034] Based on the projection coordinates of all projection frames, a projection frame schematic diagram is obtained;
[0035] Based on the projection frame schematic diagram, the outermost edge line and the non-outermost edge line that does not overlap with other projection frames are obtained as the projection boundary.
[0036] Preferably, the present invention provides an efficient position matching method based on heterogeneous projections, which determines the heterogeneous projection positions based on the projection boundaries and projection key points, including:
[0037] Based on the projection area of the projection boundary and the area to be projected, obtaining a first projection position of the projection boundary in the area to be projected;
[0038] Based on each first projection position, obtain the first number of projection points where the corresponding projection boundary overlaps the key point;
[0039] The first projection position corresponding to the first number with the smallest number among all the first numbers is taken as the heterogeneous projection position.
[0040] Preferably, the present invention provides an efficient position matching method based on heterogeneous projection, and if the heterogeneous projection position passes the flatness verification, the projection is completed, including:
[0041] Simulate all target projection contents according to heterogeneous projection positions to obtain a projection simulation map;
[0042] Based on the projection simulation image, obtaining a first key point covered by the target projection content;
[0043] Based on all the first key points and the corresponding restoration functions, calculate the corresponding restoration smoothing index;
[0044] If the restoration smoothing index is greater than the preset restoration smoothing index, the target projection contents corresponding to all the first key points are restored according to the restoration function to complete the projection.
[0045] Preferably, the present invention provides an efficient position matching method based on heterogeneous projection, which calculates the corresponding restoration flatness index based on all first key points and corresponding restoration functions, including:
[0046] Where R represents the restoration flatness index corresponding to all first key points; n represents the number of all first key points; x i Indicates the horizontal distance value corresponding to the i-th first key point; F i represents the recovery function corresponding to the i-th first key point; e represents the average horizontal distance value corresponding to the projection point of the second projection point set; t i Represents the projection illumination parameter of the target projection content projected by the i-th first key point; ε i represents the restoration weight corresponding to the projection illumination parameter of the target projection content projected by the i-th first key point, and the smaller the value of the projection illumination parameter, the larger the value of the corresponding restoration weight; x max Indicates the maximum horizontal distance value among the corresponding horizontal distance values of all first key points; x min Indicates the minimum horizontal distance value among the corresponding horizontal distance values of all first key points.
[0047] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0048] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0050] Figure 1This is a flow chart of an efficient location matching method based on heterogeneous projections in an embodiment of the present invention;
[0051] Figure 2 Schematic diagram of a projection distance diagram in an embodiment of the present invention. DETAILED DESCRIPTION
[0052] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0053] Embodiment 1:
[0054] The embodiment of the present invention provides a method for efficiently matching positions based on heterogeneous projections. Figure 1 As shown, including:
[0055] Step 1: Analyze the projection requirements of heterogeneous projections to obtain several areas to be projected;
[0056] Step 2: According to the regional characteristics of each area to be projected, select the projection key points corresponding to the area to be projected;
[0057] Step 3: Determine the projection boundary according to the target projection content of the heterogeneous projection;
[0058] Step 4: Determine the heterogeneous projection position based on the projection boundary and the projection key point;
[0059] Step 5: If the heterogeneous projection position passes the flatness verification, the projection is completed.
[0060] In this embodiment, the projection requirement refers to the content images of all projections to be heterogeneously projected.
[0061] In this embodiment, the area to be projected refers to an area where the intensity of light in the place to be projected is sufficient to clearly display the content images of all projections of the heterogeneous projection.
[0062] In this embodiment, the region feature refers to a function of a change in the inclination or depression of an uneven region in the to-be-projected region.
[0063] In this embodiment, the projection key point refers to a point where the degree of depression or inclination of the uneven area in the to-be-projected area can affect the image distortion of the projected content.
[0064] In this embodiment, the target projection content refers to the image of the target projection of the heterogeneous projection.
[0065] In this embodiment, the projection boundary refers to the outermost edge line in the frame affected by all target projection contents in the heterogeneous projection and the non-outermost edge line that does not overlap with other projection frames.
[0066] In this embodiment, the heterogeneous projection position refers to the position of the center point of the projection area corresponding to the projection boundary whose projection boundary overlaps the least number of key points in the projection area.
[0067] In this embodiment, the flatness verification refers to a verification process in which the target projection content corresponding to the heterogeneous projection position is calculated to obtain the degree of flatness restoration of the target projection content and the points where the key points coincide with each other, and the flatness restoration degree meets the requirements of the heterogeneous projection.
[0068] The working principle and beneficial effects of the above technical solution are: by analyzing the projection requirements of heterogeneous projection, a number of areas to be projected are obtained, and according to the regional characteristics of each area to be projected, the projection key points corresponding to the area to be projected are screened, and according to the target projection content of the heterogeneous projection, the projection boundary is determined, and based on the projection boundary and the projection key points, the heterogeneous projection position is determined. If the heterogeneous projection position passes the flatness verification, the projection is completed, the projection quality of the heterogeneous projection is guaranteed, and the efficiency of the position matching of the heterogeneous projection is improved.
[0069] Embodiment 2:
[0070] According to the method provided in Embodiment 1 of the invention, the projection requirements of the heterogeneous projections are analyzed to obtain several areas to be projected, including:
[0071] Based on the projection requirements of heterogeneous projections, the corresponding projection content at each moment is obtained;
[0072] Based on each projection content, a corresponding first projection illumination parameter for achieving clear projection is obtained;
[0073] The projection lighting parameter with the smallest value among all the first projection lighting parameters is used as the preset projection lighting parameter.
[0074] In this embodiment, the projection content refers to the content images of all projections to be heterogeneously projected at each moment.
[0075] In this embodiment, the first projection illumination parameter refers to a value of illumination intensity required for each projection content to achieve clear projection.
[0076] In this embodiment, the preset projection illumination parameter refers to the value of the illumination intensity with the smallest value among all the first projection illumination parameters that are preset to screen the area to be projected.
[0077] The working principle and beneficial effect of the above technical solution are: by analyzing the projection requirements of heterogeneous projections, the corresponding projection content at each moment is obtained, and the first projection lighting parameter corresponding to each projection content to achieve clear projection is obtained, and the projection lighting parameter with the smallest value among all the first projection lighting parameters is used as the preset projection lighting parameter, which is conducive to the subsequent screening of the area to be projected.
[0078] Embodiment 3:
[0079] According to the method provided in Embodiment 1 of the invention, the projection requirements of the heterogeneous projections are analyzed to obtain a number of areas to be projected, and the method further includes:
[0080] Based on each site to be projected, a corresponding second projection illumination parameter is obtained;
[0081] The sites to be placed whose second projection illumination parameters are smaller than the preset projection illumination parameters are retained;
[0082] Based on the reserved site to be projected, the corresponding area to be projected is obtained.
[0083] In this embodiment, the site to be projected refers to a place to be subjected to heterogeneous projection.
[0084] In this embodiment, the second projection illumination parameter refers to the value of the illumination intensity of all points in each site to be projected.
[0085] The working principle and beneficial effect of the above technical solution are: by screening the area to be projected, the clarity of heterogeneous projections is improved.
[0086] Embodiment 4:
[0087] According to the method provided in Embodiment 1 of the present invention, based on the regional characteristics of each area to be projected, the projection key points corresponding to the area to be projected are screened, including:
[0088] Based on the horizontal distance from the preset projection placement point to each projection point in each to-be-projected area, a projection distance map is obtained;
[0089] Based on the horizontal distance values corresponding to all the projection points in the projection distance map, a first projection point set with the same horizontal distance value is obtained;
[0090] Based on the number of projection points in each first projection point set, a second projection point set with the largest number of projection points is obtained;
[0091] Acquire a third projection point set excluding the second projection point set from all first projection point sets, and obtain a first projection distance graph of connections of projection points of each third projection point set;
[0092] Based on each first projection distance map, a corresponding closed attribute is obtained, wherein the closed attribute includes fully closed and not closed;
[0093] Based on the closed attribute corresponding to each first projection distance map, matching the corresponding uneven attribute, wherein the uneven attribute includes a concave attribute and a tilt attribute;
[0094] Based on the unevenness attribute of each first projection distance map, matching the corresponding unevenness algorithm;
[0095] Calculate the difference between the projection distances of every two projection points of each first projection distance graph to obtain a first difference;
[0096] Construct a first difference map according to the middle points of every two corresponding projection points for all the first difference values;
[0097] According to the unevenness algorithm of the same first projection distance map, every two first differences in the corresponding first difference map are analyzed to obtain the corresponding first function, and at the same time, all the first differences involved in the same first function are set with coordinate points and connected to obtain the corresponding continuous change map, wherein each connecting line corresponds to a first function;
[0098] The middle point corresponding to the first difference value greater than the preset difference value in each continuous change graph is retained, and the projection point corresponding to the retained middle point is used as the key point;
[0099] At the same time, the first difference of the retained middle point and the first function in the continuous change graph corresponding to the retained middle point are input into the restoration flattening model to obtain the corresponding restoration function. In this embodiment, the preset projection placement point refers to the preset point where the projector of the heterogeneous projection is placed.
[0100] In this embodiment, the projection point refers to a point in a heterogeneous projection image, because during the projection process, a scattered projection centered on the projection device is presented on the canvas.
[0101] In this embodiment, the projection distance map refers to a map including all projection points and the horizontal distances from the corresponding projection points to the preset projection placement points, wherein the map includes equidistant boundary lines composed of a number of identical horizontal distances. Due to the relevant influences during the projection process, such as the influence of the light propagation medium or the unstable projection, some lines may be broken, such as Figure 2 As shown, y01 is the equidistant boundary line 1, and y02 is the equidistant boundary line 2, wherein boundary line 1 is a fully closed line with a fully closed attribute, and boundary line 2 has a break and has an unclosed attribute.
[0102] In this embodiment, the first projection point set refers to a projection point set with the same horizontal distance values in the projection distance map.
[0103] In this embodiment, the second projection point set refers to a projection point set having the largest number of projection points in the first projection point set.
[0104] In this embodiment, the third projection point set refers to the projection point set in all the first projection point sets except the second projection point set.
[0105] In this embodiment, the first projection distance map refers to a map obtained by connecting all projection points in each third projection point set.
[0106] In this embodiment, the closed attribute refers to whether the connection of the projection points in each first projection distance map is closed, wherein the first projection point and the last projection point connected by the projection points are connected as fully closed, and the first projection point and the last projection point connected by the projection points are not connected as not closed.
[0107] In this embodiment, the uneven attribute refers to the uneven shape of the connection of the projection points corresponding to the first projection distance map corresponding to each closed attribute, including: a concave attribute and a tilt attribute.
[0108] In this embodiment, the uneven algorithm refers to a calculation method for a function of calculating the relationship between projection points corresponding to the uneven attribute, and the different algorithms are obtained based on matching of an uneven attribute-algorithm mapping table, which includes different uneven attributes and algorithm functions pre-configured with the attributes. Therefore, the relevant algorithm can be directly matched, and the common uneven algorithm is a cubic polynomial function.
[0109] In this embodiment, the first difference refers to the difference between the projection distances of every two projection points in each first projection distance map.
[0110] In this embodiment, the first difference map refers to a map including all the middle points and the corresponding first difference values, which is constructed according to the middle points of every two corresponding projection points.
[0111] In this embodiment, the first function refers to a function obtained by analyzing every two first differences in the corresponding first difference map according to the unevenness algorithm of the same first projection distance, and the latter first difference of every two corresponding first differences changes with the change of the previous first difference.
[0112] In this embodiment, the continuous change graph refers to a graph obtained by connecting all first difference values of the same first function and capable of showing continuous change of the first difference values.
[0113] In this embodiment, the preset difference refers to a preset difference in horizontal distances between two projection points and a preset projection placement point that will not cause distortion to the projected image.
[0114] In this embodiment, the restored smoothing model refers to a model obtained by training a function and a corresponding inverse function.
[0115] In this embodiment, the recovery function refers to inputting the first difference of the retained middle point and the first function in the continuous change graph corresponding to the retained middle point into the recovery smoothing model to obtain an inverse function corresponding to the first function.
[0116] The working principle and beneficial effects of the above technical solution are as follows: by obtaining the horizontal distance from the preset projection placement point to each projection point in each area to be projected, a first projection point set with the same horizontal distance value is obtained and analyzed, a second projection point set with the largest number of projection points in the first projection point set, and a third projection point set excluding the second projection point set in the first projection point set are obtained, the projection points of each third projection point set are obtained, and the first projection distance map is obtained by connecting, the closed property of each first projection distance map is analyzed, the corresponding unevenness algorithm is matched, the first difference map is constructed according to the difference in projection distance between each two projection points of each first projection distance map and the middle point of each two projection points, and the corresponding first difference is calculated according to the unevenness algorithm of the same first projection distance. Every two first differences in the figure are analyzed to obtain the corresponding first function, and all first differences of the same first function are connected to obtain the corresponding continuous change graph, wherein the first function of each connecting line is the regional feature of the corresponding continuous change graph, and the middle point in the continuous change graph where the first difference is greater than the preset difference is retained, and the projection point corresponding to the retained middle point is used as the key point, and the first difference corresponding to each key point and the first function in the continuous change graph corresponding to the retained middle point are input into the restoration flattening model to obtain the restoration function, and the key point matching restoration parameters that may be affected by the unevenness of the projection area to complete the display of the projection image are restored, so as to ensure the projection quality of heterogeneous projection and improve the efficiency of position matching based on heterogeneous projection.
[0117] Embodiment 5:
[0118] According to the method provided in Embodiment 1 of the present invention, determining a projection boundary according to target projection content of heterogeneous projections includes:
[0119] Based on all target projection contents of heterogeneous projections, the corresponding projection bounding box is obtained;
[0120] Based on the projection coordinates of all projection frames, a projection frame schematic diagram is obtained;
[0121] Based on the projection frame schematic diagram, the outermost edge line and the non-outermost edge line that does not overlap with other projection frames are obtained as the projection boundary.
[0122] In this embodiment, the projection frame refers to the outermost frame of the image of all target projection contents of the heterogeneous projection.
[0123] In this embodiment, the projection coordinates refer to the set of each projection point of each projection frame.
[0124] In this embodiment, the projection frame schematic diagram refers to a schematic diagram of all projection frames in one plane.
[0125] In this embodiment, the side line refers to the line of each side of the projection frame.
[0126] The working principle and beneficial effect of the above technical solution are: by displaying the projection frames of all target projection contents of heterogeneous projections in one plane, the outermost edge lines and non-outermost edge lines that do not overlap with other projection frames are obtained as projection boundaries, which is conducive to the subsequent elimination of the distortion of the projection frame that is most susceptible to image distortion.
[0127] Embodiment 6:
[0128] According to the method provided in Embodiment 1 of the invention, determining the heterogeneous projection position based on the projection boundary and the projection key point includes:
[0129] Based on the projection area of the projection boundary and the area to be projected, obtaining a first projection position of the projection boundary in the area to be projected;
[0130] Based on each first projection position, obtain the first number of projection points where the corresponding projection boundary overlaps the key point;
[0131] The first projection position corresponding to the first number with the smallest number among all the first numbers is taken as the heterogeneous projection position.
[0132] In this embodiment, the projection area refers to the area of the projected image within the projection boundary.
[0133] In this embodiment, the first projection position refers to the projection area and all positions of the center point of the projection boundary within the area to be projected.
[0134] In this embodiment, the first number refers to the number of projection points where the projection boundary corresponding to each first projection position overlaps with the key point.
[0135] The working principle and beneficial effects of the above technical solution are: by obtaining the first projection position of the projection boundary in the area to be projected according to the projection area of the projection boundary and the area to be projected, obtaining the first number of projection points of the projection boundary corresponding to each first projection position that overlaps with the key point, and taking the first projection position corresponding to the smallest first number among all the first numbers as the heterogeneous projection position, thereby eliminating the distortion of the projection frame that is most susceptible to image distortion to the greatest extent, and ensuring the projection quality of the heterogeneous projection.
[0136] Embodiment 7:
[0137] According to the method provided in Embodiment 1 of the invention, if the heterogeneous projection position passes the flatness verification, the projection is completed, including:
[0138] Simulate all target projection contents according to heterogeneous projection positions to obtain a projection simulation map;
[0139] Based on the projection simulation image, obtaining a first key point covered by the target projection content;
[0140] Based on all the first key points and the corresponding restoration functions, calculate the corresponding restoration smoothing index;
[0141] If the restoration smoothing index is greater than the preset restoration smoothing index, the target projection contents corresponding to all the first key points are restored according to the restoration function to complete the projection.
[0142] In this embodiment, the projection simulation image refers to an image of simulated heterogeneous projection obtained by simulating all target projection contents in the to-be-projected area according to heterogeneous projection positions.
[0143] In this embodiment, the first key point refers to a key point covered by the target projection content.
[0144] In this embodiment, the smoothing restoration index refers to a value of the degree of smoothing of the image of the first key point among all the first key points.
[0145] In this embodiment, the preset smoothing index refers to a preset value of the smoothing degree of the image of the first key point that is successfully restored.
[0146] The working principle and beneficial effects of the above technical solution are: by simulating all target projection contents according to heterogeneous projection positions, obtaining and analyzing the projection simulation diagram, obtaining the first key points covered by the target projection contents, and calculating the corresponding restoration smoothing index based on all first key points and the corresponding restoration function. If the restoration smoothing index is greater than the preset restoration smoothing index, the target projection contents corresponding to all first key points are restored according to the restoration function, the projection is completed, and the restored and smoothed heterogeneous projection images are screened to ensure the projection quality of the heterogeneous projection and improve the efficiency of position matching based on the heterogeneous projection.
[0147] Embodiment 8:
[0148] According to the method provided in Embodiment 7 of the invention, based on all first key points and corresponding restoration functions, a corresponding restoration smoothing index is calculated, including:
[0149] Where R represents the restoration flatness index corresponding to all first key points; n represents the number of all first key points; x i Indicates the horizontal distance value corresponding to the i-th first key point; F i represents the recovery function corresponding to the i-th first key point; e represents the average horizontal distance value corresponding to the projection point of the second projection point set; t i Represents the projection illumination parameter of the target projection content projected by the i-th first key point; ε i represents the restoration weight corresponding to the projection illumination parameter of the target projection content projected by the i-th first key point, and the smaller the value of the projection illumination parameter, the larger the value of the corresponding restoration weight; x max Indicates the maximum horizontal distance value among the corresponding horizontal distance values of all first key points; x min Indicates the minimum horizontal distance value among the corresponding horizontal distance values of all first key points.
[0150] In this embodiment, the restoration weight refers to the degree of difficulty of restoration corresponding to the projection illumination parameter, and the smaller the value of the projection illumination parameter, the larger the value of the corresponding restoration weight.
[0151] The working principle and beneficial effect of the above technical solution are: by calculating the restoration flatness index of all the first key points, the images of the restored flat heterogeneous projections are accurately screened, the projection quality of the heterogeneous projections is guaranteed, and the efficiency of position matching based on the heterogeneous projections is improved.
[0152] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. An efficient location matching method based on heterogeneous projection, It is characterized in that include: Step 1: Analyze the projection requirements of heterogeneous projections to obtain several areas to be projected; Step 2: According to the regional characteristics of each area to be projected, select the projection key points corresponding to the area to be projected; Step 3: Determine the projection boundary according to the target projection content of the heterogeneous projection; Step 4: Determine the heterogeneous projection position based on the projection boundary and the projection key point; Step 5: If the heterogeneous projection position passes the flatness verification, the projection is completed; Among them, according to the regional characteristics of each area to be projected, the projection key points corresponding to the area to be projected are screened, including: Based on the horizontal distance from the preset projection placement point to each projection point in each to-be-projected area, a projection distance map is obtained; Based on the horizontal distance values corresponding to all the projection points in the projection distance map, a first projection point set with the same horizontal distance value is obtained; Based on the number of projection points in each first projection point set, a second projection point set with the largest number of projection points is obtained; Acquire a third projection point set excluding the second projection point set from all first projection point sets, and obtain a first projection distance graph of connections of projection points of each third projection point set; Based on each first projection distance map, a corresponding closed attribute is obtained, wherein the closed attribute includes fully closed and not closed; Based on the closed attribute corresponding to each first projection distance map, matching the corresponding uneven attribute, wherein the uneven attribute includes a concave attribute and a tilt attribute; Based on the unevenness attribute of each first projection distance map, matching the corresponding unevenness algorithm; Calculate the difference between the projection distances of every two projection points of each first projection distance graph to obtain a first difference; Construct a first difference map according to the middle points of every two corresponding projection points for all the first difference values; According to the unevenness algorithm of the same first projection distance map, every two first differences in the corresponding first difference map are analyzed to obtain the corresponding first function, and at the same time, all the first differences involved in the same first function are set with coordinate points and connected to obtain the corresponding continuous change map, wherein each connecting line corresponds to a first function; The middle point corresponding to the first difference value greater than the preset difference value in each continuous change graph is retained, and the projection point corresponding to the retained middle point is used as the key point; At the same time, the first difference of the retained middle point and the first function in the continuous change graph corresponding to the retained middle point are input into the restoration and smoothing model to obtain the corresponding restoration function; Among them, if the heterogeneous projection position passes the flatness verification, the projection is completed, including: Simulate all target projection contents according to heterogeneous projection positions to obtain a projection simulation map; Based on the projection simulation image, obtaining a first key point covered by the target projection content; Based on all the first key points and the corresponding restoration functions, calculate the corresponding restoration smoothing index; If the restoration smoothing index is greater than the preset restoration smoothing index, the target projection contents corresponding to all the first key points are restored according to the restoration function to complete the projection; The restored smoothing model refers to a model obtained by training a function and its corresponding inverse function.
2. The method according to claim 1, It is characterized in that The projection requirements of heterogeneous projections are analyzed to obtain several areas to be projected, including: Based on the projection requirements of heterogeneous projections, the corresponding projection content at each moment is obtained; Based on each projection content, a corresponding first projection illumination parameter for achieving clear projection is obtained; The projection lighting parameter with the smallest value among all the first projection lighting parameters is used as the preset projection lighting parameter.
3. The method according to claim 2, It is characterized in that The projection requirements of heterogeneous projections are analyzed to obtain several areas to be projected, including: Based on each site to be projected, a corresponding second projection illumination parameter is obtained; The sites to be placed whose second projection illumination parameters are smaller than the preset projection illumination parameters are retained; Based on the reserved site to be projected, the corresponding area to be projected is obtained.
4. The method according to claim 1, It is characterized in that According to the target projection content of the heterogeneous projection, the projection boundary is determined, including: Based on all target projection contents of heterogeneous projections, the corresponding projection bounding box is obtained; Based on the projection coordinates of all projection frames, a projection frame schematic diagram is obtained; Based on the projection frame schematic diagram, the outermost edge line and the non-outermost edge line that does not overlap with other projection frames are obtained as the projection boundary.
5. The method according to claim 1, It is characterized in that Based on the projection boundary and the projection key point, determining the heterogeneous projection position includes: Based on the projection area of the projection boundary and the area to be projected, obtaining a first projection position of the projection boundary in the area to be projected; Based on each first projection position, obtain the first number of projection points where the corresponding projection boundary overlaps the key point; The first projection position corresponding to the first number with the smallest number among all the first numbers is taken as the heterogeneous projection position.
6. The method according to claim 1, It is characterized in that Based on all the first key points and the corresponding restoration functions, the corresponding restoration smoothing index is calculated, including: ;in, Indicates the restoration flatness index corresponding to all first key points; Indicates the number of all first key points; Indicates The horizontal distance value corresponding to the first key point; Indicates The recovery function corresponding to the first key point; Represents the average horizontal distance value corresponding to the projection points of the second projection point set; Indicates The projection illumination parameters of the target projection content where the first key point is projected; Indicates The restoration weight corresponding to the projection illumination parameter of the target projection content projected by the first key point is calculated, and the smaller the value of the projection illumination parameter is, the larger the value of the corresponding restoration weight is; Indicates the maximum horizontal distance value among the corresponding horizontal distance values of all first key points; Indicates the minimum horizontal distance value among the corresponding horizontal distance values of all first key points.
