Multi-display data projection automatic layout method and device
Through the unified processing of image data and edge smoothing alignment technology, the projection display position is automatically determined, which solves the problems of low efficiency and poor accuracy in the projection of multiple display data in the existing technology, and realizes efficient and accurate automatic multi-image data projection. layout.
Patent Information
- Application Number
- CN202410894692.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-10-08
AI Technical Summary
In the prior art, the method of projecting multiple display data onto the same screen requires a lot of labor costs, resulting in low projection efficiency, and is prone to problems such as projection gaps, inconsistent resolution, and obvious color differences in the screen.
By acquiring image data at different locations in the target environment, unify the image format, identify the environment area and projection display position, identify the edges of adjacent image data, and perform edge smoothing and alignment processing to automatically determine the projection display position and image splicing characteristics. Implement automatic layout.
It improves the projection efficiency and accuracy of projecting multiple display data onto the same screen, avoids the problems of projection gaps, inconsistent resolutions, and obvious screen color differences, and improves the precise distribution efficiency of automatic projection layout.
Smart Images

Figure CN118748705A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of multi-venue video conferencing, and in particular to a method and device for automatic layout of projection of multi-display data. Background Art
[0002] With the development of projection technology, in order to more comprehensively understand the actual layout of different environments, multiple image data of the same environment are often collected through multiple acquisition devices, and multiple image data are projected into the same screen, so as to obtain more three-dimensional and more intuitive projection data. This method not only improves the user's projection experience, but also enables a more intuitive and comprehensive understanding of the multi-location data of the environment. Therefore, how to project multiple display data into the same screen is the current research focus.
[0003] The traditional method of projecting multiple display data onto the same screen is to manually mark each display data, then manually adjust the range and resolution of each display mark in the screen, and then project multiple display data onto the same screen through the technology of marking the corresponding projection. However, this method requires a lot of manpower costs, and due to manual projection layout, projection gaps, inconsistent resolutions, and obvious differences in picture colors will occur, resulting in low projection efficiency for projecting multiple display data onto the same screen. Summary of the invention
[0004] The main purpose of the present invention is to provide a method and device for automatic layout of projection of multiple display data, aiming to solve the problem that the existing method requires a lot of manpower costs, and when manual projection layout is performed, projection gaps, inconsistent resolutions, and obvious differences in picture colors will occur, resulting in low projection efficiency of projecting multiple display data onto the same screen.
[0005] To achieve the above object, the present invention provides a projection automatic layout method for multiple display data, which is applied to a navigation system. The method comprises:
[0006] Acquire image data of different locations of the target environment, and analyze the image format of each image data and the image range of each image data;
[0007] Performing format unification processing on the image formats of the image data to obtain new image data, and identifying the environmental area corresponding to each position;
[0008] Based on the regional position of each of the environmental areas in the target environment, determining the projection display position corresponding to each of the positions, and based on the projection display position corresponding to each position, identifying each pair of adjacent new image data;
[0009] For each pair of adjacent new image data, based on the projection display position corresponding to the position of each new image data of the adjacent new image data, the adjacent image edges between the adjacent new image data are identified, and based on the image range of each new image data of the adjacent image data, the adjacent image edges are subjected to edge smoothing and alignment processing to obtain each target image data;
[0010] Each target image data is projected to a projection display position corresponding to the position where each target image data is located, so as to obtain target projection data of the target environment.
[0011] Optionally, the analyzing the image format of each image data and the image range of each image data includes:
[0012] For the image data of each image, identifying the format parameters of each image format type of the image data, and using the format parameters of all image format types as the image format of the image data;
[0013] Based on the image format of the image data, a scaling ratio of the image data is identified, and based on the scaling ratio of the image data and the image size of the image data, an image range of the image data is calculated.
[0014] Optionally, the step of performing format unification processing on the image formats of the image data to obtain new image data includes:
[0015] Acquire projection configuration information of a projection device, and based on the projection configuration information, identify an optimal image format that can be projected by the projection device;
[0016] Based on the optimal image format, identifying the optimal format parameters of each image format type, and for each image data, adjusting the format parameters of each image format type of the image data to the optimal format parameters, so as to obtain initial new image data corresponding to each image data;
[0017] The image clarity of each initial new image data is identified through an image clarity identification strategy, and the initial new image data corresponding to the image clarity below the image clarity threshold is regarded as abnormal image data;
[0018] Using the optimal format parameters of each image format type, adjusting the device parameters of the acquisition device corresponding to the abnormal image data to obtain target device parameters, and re-acquiring image data based on the target device parameters to obtain new image data corresponding to the abnormal image data;
[0019] The initial new image data of the non-abnormal image data is marked as new image data.
[0020] Optionally, determining the projection display position corresponding to each position based on the regional position of each environmental area in the target environment includes:
[0021] Acquire regional position information of each spatial area of the target environment and projection area distribution information, and identify the spatial area collected at each position based on the regional position information of each spatial area and the spatial position information corresponding to each position;
[0022] Based on the projection area distribution information, identify the spatial area corresponding to each projection partition, and based on the spatial area corresponding to each projection partition and the spatial area collected at each position, identify the projection partition corresponding to each position;
[0023] The position range of the projection partition corresponding to each position in the projection area is used as the projection display position corresponding to each position.
[0024] Optionally, the identifying each pair of adjacent new image data based on the projection display position corresponding to each position includes:
[0025] Based on the position range of each projection partition in the projection area, identifying adjacent projection partitions having the same position point, and identifying the same position point sequence in each pair of adjacent projection partitions;
[0026] Using edge lines corresponding to the same position point sequence in each pair of adjacent projection partitions as adjacent edge lines of each pair of adjacent projection partitions, and identifying new image data corresponding to each projection partition based on the projection display position corresponding to each position;
[0027] Based on each pair of adjacent projection partitions and the new image data corresponding to each projection partition, each pair of adjacent new image data is identified, and based on the adjacent edge lines of each pair of adjacent projection partitions, the adjacent image edges of each pair of adjacent new image data are identified.
[0028] Optionally, the image range of each new image data based on the adjacent image data, performing edge smoothing and alignment processing on the edges of the adjacent images to obtain each target image data, includes:
[0029] For each pair of adjacent new image data, obtaining an adjacent edge range corresponding to the adjacent edge lines of the adjacent projection partitions, and screening an edge range image corresponding to the adjacent edge range in each new image data of the adjacent new image data;
[0030] Performing image alignment processing on each of the edge range images according to the position points of each of the edge range images in the new image data to obtain an edge stitching image, and extracting each image stitching feature of the edge stitching image;
[0031] Identify the stitching type of each image stitching feature, and select abnormal image stitching features of abnormal stitching types and image content ranges corresponding to each abnormal image stitching feature from among the image stitching features;
[0032] Based on each of the abnormal splicing types, the abnormal processing strategy corresponding to each abnormal splicing type is queried in the abnormal processing database, and based on the abnormal processing strategy, image adjustment processing is performed on each of the new image data to obtain each target image data.
[0033] In addition, to achieve the above-mentioned purpose, the present invention further provides a projection automatic layout device for multiple display data, the projection automatic layout device for multiple display data is applied to a projection imaging system, and the device comprises:
[0034] An acquisition module, used for acquiring image data of different positions of a target environment, and analyzing an image format of each image data and an image range of each image data;
[0035] A unification module, used for unifying the image formats of the image data to obtain new image data and identify the environmental area corresponding to each position;
[0036] an identification module, configured to determine, based on the regional position of each of the environmental areas in the target environment, a projection display position corresponding to each of the positions, and to identify each pair of adjacent new image data based on the projection display position corresponding to each position;
[0037] a processing module, configured to identify, for each pair of adjacent new image data, adjacent image edges between the adjacent new image data based on a projection display position corresponding to a position of each new image data of the adjacent new image data, and perform edge smoothing and alignment processing on the adjacent image edges based on an image range of each new image data of the adjacent image data to obtain each target image data;
[0038] The projection module is used to project each target image data to a projection display position corresponding to the position where each target image data is located, so as to obtain the target projection data of the target environment.
[0039] Optionally, the acquisition module is specifically used to:
[0040] For the image data of each image, identifying the format parameters of each image format type of the image data, and using the format parameters of all image format types as the image format of the image data;
[0041] Based on the image format of the image data, a scaling ratio of the image data is identified, and based on the scaling ratio of the image data and the image size of the image data, an image range of the image data is calculated.
[0042] Optionally, the unified module is specifically used for:
[0043] Acquire projection configuration information of a projection device, and based on the projection configuration information, identify an optimal image format that can be projected by the projection device;
[0044] Based on the optimal image format, identifying the optimal format parameters of each image format type, and for each image data, adjusting the format parameters of each image format type of the image data to the optimal format parameters, so as to obtain initial new image data corresponding to each image data;
[0045] The image clarity of each initial new image data is identified through an image clarity identification strategy, and the initial new image data corresponding to the image clarity below the image clarity threshold is regarded as abnormal image data;
[0046] Using the optimal format parameters of each image format type, adjusting the device parameters of the acquisition device corresponding to the abnormal image data to obtain target device parameters, and re-acquiring image data based on the target device parameters to obtain new image data corresponding to the abnormal image data;
[0047] The initial new image data of the non-abnormal image data is marked as new image data.
[0048] Optionally, the identification module is specifically used to:
[0049] Acquire regional position information of each spatial area of the target environment and projection area distribution information, and identify the spatial area collected at each position based on the regional position information of each spatial area and the spatial position information corresponding to each position;
[0050] Based on the projection area distribution information, identify the spatial area corresponding to each projection partition, and based on the spatial area corresponding to each projection partition and the spatial area collected at each position, identify the projection partition corresponding to each position;
[0051] The position range of the projection partition corresponding to each position in the projection area is used as the projection display position corresponding to each position.
[0052] Optionally, the identification module is specifically used to:
[0053] Based on the position range of each projection partition in the projection area, identifying adjacent projection partitions having the same position point, and identifying the same position point sequence in each pair of adjacent projection partitions;
[0054] Using edge lines corresponding to the same position point sequence in each pair of adjacent projection partitions as adjacent edge lines of each pair of adjacent projection partitions, and identifying new image data corresponding to each projection partition based on the projection display position corresponding to each position;
[0055] Based on each pair of adjacent projection partitions and the new image data corresponding to each projection partition, each pair of adjacent new image data is identified, and based on the adjacent edge lines of each pair of adjacent projection partitions, the adjacent image edges of each pair of adjacent new image data are identified.
[0056] Optionally, the processing module is specifically used to:
[0057] For each pair of adjacent new image data, obtaining an adjacent edge range corresponding to the adjacent edge lines of the adjacent projection partitions, and screening an edge range image corresponding to the adjacent edge range in each new image data of the adjacent new image data;
[0058] Performing image alignment processing on each of the edge range images according to the position points of each of the edge range images in the new image data to obtain an edge stitching image, and extracting each image stitching feature of the edge stitching image;
[0059] Identify the stitching type of each image stitching feature, and select abnormal image stitching features of abnormal stitching types and image content ranges corresponding to each abnormal image stitching feature from among the image stitching features;
[0060] Based on each of the abnormal splicing types, the abnormal processing strategy corresponding to each abnormal splicing type is queried in the abnormal processing database, and based on the abnormal processing strategy, image adjustment processing is performed on each of the new image data to obtain each target image data.
[0061] In a third aspect, the present application provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any one of the methods in the first aspect are implemented.
[0062] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0063] In a fifth aspect, the present application provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0064] The present invention provides a method and device for automatic layout of projection of multiple display data, which is applied to a projection imaging system, and comprises: acquiring image data of different positions of a target environment, and analyzing the image format of each image data and the image range of each image data; performing format unification processing on the image formats of each of the image data to obtain each new image data, and identifying the environment area corresponding to each position; determining the projection display position corresponding to each of the positions based on the area position of each of the environment areas in the target environment, and identifying each pair of adjacent new image data based on the projection display position corresponding to the position where each of the new image data of the adjacent new image data is located; for each pair of adjacent new image data, identifying the adjacent image edges between the adjacent new image data based on the projection display position corresponding to the position where each of the new image data of the adjacent new image data is located, and performing edge smoothing alignment processing on the adjacent image edges based on the image range of each of the new image data of the adjacent image data to obtain each target image data; projecting each of the target image data to the projection display position corresponding to the position where each of the target image data is located to obtain the target projection data of the target environment. This solution unifies the image format of each image data after acquiring the image data at different positions of the target environment, thereby avoiding the problem of poor intuitiveness caused by abnormal image format after image data splicing. Then, this solution automatically matches the projection display position corresponding to each image data by identifying the environmental area corresponding to each position, so that there is no need to identify each photographic device and the projection position, thereby solving the inefficient problem of projection distribution processing. The projection distribution position to which each image belongs can be automatically laid out by directly uploading the position of each image data, thereby improving the efficiency of accurate projection distribution of multiple image data and the accuracy of projection distribution. After that, this solution automatically performs edge smoothing processing on each image data by identifying the adjacent image edges between each adjacent new image data to obtain each target image data, thereby avoiding the problems of projection gaps, inconsistent resolution, and obvious color differences in the picture, thereby improving the projection efficiency of multiple display data projected onto the same picture. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0066] Figure 1 is a flow chart of a method for automatic layout of projection of multiple display data provided by an embodiment of the present invention;
[0067] Figure 2 is a comparison diagram of images before and after adjusting the edge gap provided by an embodiment of the present invention;
[0068] Figure 3 is a schematic diagram of the structure of a projection automatic layout device for multiple display data provided by an embodiment of the present invention;
[0069] Figure 4 An internal structure diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0070] The projection automatic layout method of multiple display data provided by the embodiment of the present invention is applied to the projection automatic layout system of multiple display data. Unless otherwise defined, all technical and scientific terms used in this article have the same meaning as those generally understood by technicians in the technical field of this application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of this application or the above-mentioned figures are used to distinguish different objects, not to describe a specific order.
[0071] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0072] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0073] The projection automatic layout method of multiple display data provided by the embodiment of the present application can be applied to the application environment of the projection imaging system. The method can be applied to a terminal, a server, or a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. Among them, the terminal can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, etc. Among them, the terminal uniformly processes the image format of each image data after acquiring the image data at different positions of the target environment, thereby avoiding the problem of poor intuitiveness caused by abnormal image format after image data splicing. Then, this solution automatically matches the projection display position corresponding to each image data by identifying the environmental area corresponding to each position, so that there is no need to identify each acquisition device and the projection position, thereby solving the inefficient problem of projection distribution processing. The projection distribution position to which each image belongs can be automatically laid out by directly uploading the position of each image data, thereby improving the efficiency of accurate distribution of projections of multiple image data and the accuracy of projection distribution. Then, this solution automatically performs edge smoothing on each image data by identifying the adjacent image edges between adjacent new image data to obtain target image data, thereby avoiding the problems of projection gaps, inconsistent resolution, and obvious color differences in the picture, thereby improving the projection efficiency of projecting multiple display data onto the same screen.
[0074] In one embodiment, Figure 1 As shown, a projection automatic layout method for multiple display data is provided, and the method is applied to a terminal as an example for explanation, including the following steps:
[0075] Step S101 , acquiring image data of different positions of a target environment, and analyzing the image format and image range of each image data.
[0076] In this embodiment, the terminal collects image data at different positions through acquisition devices set at different positions of the target environment. The target environment can also be multiple display screens or multiple terminals. For example, in order to stereoscopically display the positions of multiple display areas of a large display data, the large display data is the target environment, different positions are different display areas, the acquisition device is the display screen, and the image data is the display content of the display plane. Then, the terminal analyzes the image format of each image data and the image range of each image data. The image format is a format parameter of different image format types. The image format type includes but is not limited to resolution, picture color, brightness and other types. The image range is the image display area of each image data, and the image display area is the display content range of the displayed image content. The acquisition device is, for example, a camera device or a display terminal.
[0077] Step S102 : unifying the image formats of the image data to obtain new image data, and identifying the environment area corresponding to each position.
[0078] In this embodiment, the terminal unifies the image formats of each image data to obtain each new image data, and identifies the environmental area corresponding to each position. The unified processing format is the optimal image format in the projection configuration information of the projection device. The specific unified processing process will be processed in detail later. The environmental area corresponding to each position is the area displayed / collected by the position, and the position range in the target environment.
[0079] Step S103, based on the regional position of each environmental area in the target environment, determining the projection display position corresponding to each position, and identifying each pair of adjacent new image data based on the projection display position corresponding to each position.
[0080] In this embodiment, the terminal determines the projection display position corresponding to each position based on the regional position of each environmental area in the target environment, and identifies each pair of adjacent new image data based on the projection display position corresponding to each position. The adjacent new image data is the new image data corresponding to the regional position of the adjacent position range between different projection display positions. The specific identification process will be described in detail later.
[0081] Step S104, for each pair of adjacent new image data, based on the projection display position corresponding to the position of each new image data of the adjacent new image data, the adjacent image edges between the adjacent new image data are identified, and based on the image range of each new image data of the adjacent image data, the adjacent image edges are edge smoothed and aligned to obtain each target image data.
[0082] In this embodiment, for each pair of adjacent new image data, the terminal identifies the adjacent image edges between the adjacent new image data based on the projection display position corresponding to the position of each new image data of the adjacent new image data, and performs edge smoothing and alignment processing on the adjacent image edges based on the image range of each new image data of the adjacent image data to obtain each target image data. The adjacent image edge is the adjacent edge range of two adjacent new image data.
[0083] Step S105 , projecting each target image data to a projection display position corresponding to the position where each target image data is located, to obtain target projection data of the target environment.
[0084] In this embodiment, the terminal projects each target image data to a projection display position corresponding to the position where each target image data is located, and obtains target projection data of the target environment, wherein the target projection data may be stereoscopic projection data or large-scale plane projection data.
[0085] Based on the above scheme, after acquiring the image data at different positions of the target environment, the image format of each image data is unified to avoid the problem of poor intuitiveness caused by abnormal image format after the image data is spliced. Then, this scheme automatically matches the projection display position corresponding to each image data by identifying the environmental area corresponding to each position, so that there is no need to identify each photographic device and the projection position, thereby solving the inefficient problem of projection distribution processing. The projection distribution position to which each image belongs can be automatically laid out by directly uploading the position of each image data, thereby improving the efficiency of accurate projection distribution of multiple image data and the accuracy of projection distribution. After that, this scheme automatically smoothes the edges of each image data by identifying the adjacent image edges between each adjacent new image data to obtain each target image data, thereby avoiding the problems of projection gaps, inconsistent resolution, and obvious color differences in the picture, thereby improving the projection efficiency of multiple display data projected onto the same picture.
[0086] Optionally, the image format of each image data and the image range of each image data are analyzed, including: for the image data of each image, format parameters of each image format type of the image data are identified, and the format parameters of all image format types are used as the image format of the image data; based on the image format of the image data, a scaling ratio of the image data is identified, and based on the scaling ratio of the image data and the image size of the image data, the image range of the image data is calculated.
[0087] In this embodiment, the terminal identifies the format parameters of each image format type of the image data for each image, and uses the format parameters of all image format types as the image format of the image data. Then, the terminal identifies the scaling ratio of the image data based on the image format of the image data, and calculates the image range of the image data based on the scaling ratio of the image data and the image size of the image data.
[0088] Specifically, the terminal identifies the ratio between the image size of the image data and the actual image size based on the scaling ratio of the image data, and divides the image size of the image data by the ratio to obtain the actual image size of the actual image displayed by the image data.
[0089] Based on the above solution, by identifying the format parameters of each image format type and identifying the image range of each image data, the accuracy of identifying each image data is improved.
[0090] Optionally, the image formats of each image data are formatted in a unified manner to obtain each new image data, including: obtaining projection configuration information of the projection device, and identifying the best image format that the projection device can project based on the projection configuration information; identifying the best format parameters of each image format type based on the best image format, and adjusting the format parameters of each image format type of the image data to the best format parameters for each image data to obtain initial new image data corresponding to each image data; identifying the image clarity of each initial new image data through an image clarity recognition strategy, and treating the initial new image data corresponding to the image clarity below an image clarity threshold as abnormal image data; adjusting the device parameters of the acquisition device corresponding to the abnormal image data with the best format parameters of each image format type to obtain target device parameters, and re-acquiring the image data based on the target device parameters to obtain new image data corresponding to the abnormal image data; marking the initial new image data of non-abnormal image data as new image data.
[0091] In this embodiment, the terminal obtains projection configuration information of the projection device, and identifies the best image format that the projection device can project based on the projection configuration information, wherein the best image format is the format parameters of each image format type that the projection device can clearly project image data.
[0092] The terminal identifies the best format parameters of each image format type based on the best image format, and adjusts the format parameters of each image format type of the image data to the best format parameters for each image data, thereby obtaining the initial new image data corresponding to each image data. In the process of adjusting the image clarity, when adjusting a high-resolution image to a low-resolution image, the image clarity will not decrease, but when adjusting a low-resolution image to a high-resolution image, the image clarity will decrease due to the loss of pixels at key pixels.
[0093] Then, the terminal identifies the image clarity of each initial new image data through the clarity recognition strategy preset in the terminal, and uses the initial new image data corresponding to the image clarity below the image clarity threshold as abnormal image data. The image clarity recognition strategy is a convolutional neural network (CNN) based on a reinforcement learning neural network. The terminal presets a clarity threshold, and when the image clarity is lower than the preset clarity threshold, the terminal determines that the image data is abnormal image data. Then, the terminal adjusts the device parameters of the acquisition device corresponding to the abnormal image data with the optimal format parameters of each image format type to obtain the target device parameters, and re-acquires the image data based on the target device parameters to obtain the new image data corresponding to the abnormal image data. Finally, the terminal marks the initial new image data of the non-abnormal image data as new image data.
[0094] Based on the above scheme, the image format of the image is first adjusted, and then in the case of loss of clarity, the image data in the standard parameter format is re-collected to ensure the complete clarity of the image and improve the normalization accuracy of the normalized image data.
[0095] Optionally, based on the regional position of each environmental area in the target environment, the projection display position corresponding to each position is determined, including: obtaining the regional position information of each spatial area of the target environment and the projection area distribution information, and identifying the spatial area collected at each position based on the regional position information of each spatial area and the spatial position information corresponding to each position; based on the projection area distribution information, identifying the spatial area corresponding to each projection partition, and based on the spatial area corresponding to each projection partition and the spatial area collected at each position, identifying the projection partition corresponding to each position; using the position range of the projection partition corresponding to each position in the projection area as the projection display position corresponding to each position.
[0096] In this embodiment, the terminal obtains the regional location information of each spatial area of the target environment and the projection area distribution information, and identifies the spatial area collected at each position based on the regional location information of each spatial area and the spatial location information corresponding to each position. Among them, the spatial area collected at each position is the image range obtained at the position, and the range area corresponding to the entire target environment. The range area can be the environmental angle of the actual geographical environment, for example, the environmental angle of the left area of the target geographical environment, the environmental angle of the right area of the target geographical environment, the environmental angle of the front area of the target geographical environment, or the environmental angle of the rear area of the target geographical environment. When the target environment is a large display image, the range area is the image space area of the large display image, for example, the left image space area, the right image space area, the front image space area, and the rear image space area.
[0097] Then, the terminal identifies the spatial area corresponding to each projection partition based on the projection area distribution information, and identifies the projection partition corresponding to each position based on the spatial area corresponding to each projection partition and the spatial area collected at each position. Finally, the terminal uses the position range of the projection partition corresponding to each position in the projection area as the projection display position corresponding to each position.
[0098] Based on the above solution, the projection display position corresponding to each position is identified through range matching, so that the user does not need to match or identify the correspondence between each acquisition device and the projection position, thereby automatically identifying the projection position adapted to each acquisition device for image matching, thereby improving the accuracy of projection automatic distribution and projection matching, matching efficiency, and matching fault tolerance.
[0099] Optionally, based on the projection display position corresponding to each position, each pair of adjacent new image data is identified, including: based on the position range of each projection partition in the projection area, each adjacent projection partition having the same position point is identified, and the same position point sequence in each pair of adjacent projection partitions is identified; the edge lines corresponding to the same position point sequence in each pair of adjacent projection partitions are used as the adjacent edge lines of each pair of adjacent projection partitions, and based on the projection display position corresponding to each position, the new image data corresponding to each projection partition is identified; based on each pair of adjacent projection partitions and the new image data corresponding to each projection partition, each pair of adjacent new image data is identified, and based on the adjacent edge lines of each pair of adjacent projection partitions, the adjacent image edges of each pair of adjacent new image data are identified.
[0100] In this embodiment, the terminal identifies adjacent projection partitions having the same position point based on the position range of each projection partition in the projection area, and identifies the same position point sequence in each pair of adjacent projection partitions. The same position point sequence is a sequence obtained by arranging the adjacent position points in the spatial position arrangement order.
[0101] The terminal uses the edge lines corresponding to the same position point sequence in each pair of adjacent projection partitions as the adjacent edge lines of each pair of adjacent projection partitions, and identifies the new image data corresponding to each projection partition based on the projection display position corresponding to each position. Then, the terminal identifies each pair of adjacent new image data based on each pair of adjacent projection partitions and the new image data corresponding to each projection partition, and identifies the adjacent image edges of each pair of adjacent new image data based on the adjacent edge lines of each pair of adjacent projection partitions.
[0102] Based on the above scheme, by identifying adjacent projection partitions and edge lines, the new image data corresponding to each pair of adjacent projection partitions is identified, thereby determining adjacent new image data, thereby improving the accuracy and efficiency of identifying adjacent new image data.
[0103] Optionally, based on the image range of each new image data of adjacent image data, edge smoothing alignment processing is performed on the edges of adjacent images to obtain each target image data, including: for each pair of adjacent new image data, obtaining the adjacent edge range corresponding to the adjacent edge line of the adjacent projection partition, and screening the edge range image corresponding to the adjacent edge range in each new image data of the adjacent new image data; performing image alignment processing on each edge range image according to the position point of each edge range image in the new image data to obtain an edge stitching image, and extracting each image stitching feature of the edge stitching image; identifying the stitching type of each image stitching feature, and screening abnormal image stitching features of abnormal stitching types and the image content range corresponding to each abnormal image stitching feature in each image stitching feature; based on each abnormal stitching type, querying the abnormal handling strategy corresponding to each abnormal stitching type in the abnormal handling database, and performing image adjustment processing on each new image data based on the abnormal handling strategy to obtain each target image data.
[0104] In this embodiment, the terminal obtains the adjacent edge range corresponding to the adjacent edge lines of the adjacent projection partitions for each pair of adjacent new image data, and selects the edge range image corresponding to the adjacent edge range in each of the adjacent new image data.
[0105] Then, the terminal performs image alignment processing on each edge range image according to the position point of each edge range image in the new image data to obtain an edge stitching image, and extracts each image stitching feature of the edge stitching image. The image feature extraction method is to extract features through an image feature extraction network, and the image feature extraction network can be based on a deep convolutional neural network (Very Deep Convolutional Networks for Large-scale Image Recognition, VGG) with a self-attention mechanism.
[0106] The terminal identifies the stitching type of each image stitching feature, and screens the abnormal image stitching features of the abnormal stitching type and the image content range corresponding to each abnormal image stitching feature in each image stitching feature. The stitching types include misalignment type, ratio difference type, arc trend type, stitching gap type, and normal stitching type. Among the above stitching types, all stitching types except the normal stitching type are abnormal stitching types.
[0107] Then, based on each abnormal splicing type, the terminal queries the abnormal processing strategy corresponding to each abnormal splicing type in the abnormal processing database, and performs image adjustment processing on each new image data based on the abnormal processing strategy to obtain each target image data. Each abnormal splicing type corresponds to an abnormal processing strategy. For example, the image processing strategy of the misalignment type is to move the image splicing position of the two new image data, so as to ensure that the splicing position of the image content of the two new image data coincides; the image processing strategy of the ratio difference type is to set the image ratio of the two new image data to the same image ratio, so as to ensure that the image content ratio of the two new image data is the same; the image processing strategy of the curvature trend type is to adjust the curvature angle of the two new image data to the same curvature angle, so as to ensure that the curvature trends of the two new image data coincide; the image processing strategy of the splicing gap type is to align the edges of the image data with edge depressions, edge curves, or edge angles in the two new image data, so as to ensure that the image edges between the two new image data coincide, thereby eliminating the curvature angle. For example, (1) first determine whether the projection area meets the requirements based on the grid, and whether it can cover the entire projection screen fusion area to meet the requirements. If it does not meet the requirements, the projector's built-in translation function and T-type correction function can be used. (2) Before debugging, make all projectors’ color parameters the same to ensure the minimum color deviation of each projector; (3) For plane projection, use the elastic surface to pull the four corners first, and then pull each projection to an approximate position; (4) For curved screen or spherical screen projection, use the curved elastic surface to pull the four corners and the four points of each edge center to an approximate position; (5) When adjusting the fusion area, such as left and right fusion, the left and right projectors can be roughly adjusted into place. Considering that the grid width and height of the left and right projectors are roughly the same, the fusion area can be adjusted by column to adjust the fusion area of the two projections to basically overlap. If individual points do not overlap, fine-tune them point by point; (6) After the initial rough adjustment of each projection grid, you can adjust the middle projection first and then the two ends. When adjusting the middle, consider the left and right positions (first the middle and then the sides). Figure 2 The following is a comparison of the images before and after adjusting the edge gap.
[0108] Based on the above solution, by querying the exception handling strategy corresponding to each abnormal splicing type, and based on the exception handling strategy, image adjustment processing is performed on each new image data to obtain each target image data, thereby improving the accuracy and comprehensiveness of the target image data, avoiding the problems of projection gaps, inconsistent resolution, and obvious color differences in the picture, thereby improving the projection efficiency of multiple display data projected onto the same screen.
[0109] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0110] Based on the same inventive concept, the embodiment of the present application also provides a projection automatic layout device for multiple display data for implementing the projection automatic layout method for multiple display data involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations of the embodiments of the projection automatic layout device for multiple display data provided below can refer to the limitations of the projection automatic layout method for multiple display data above, and will not be repeated here.
[0111] Further references Figure 3 , as a response to the above Figure 1 In order to realize the method shown in the figure, the present application provides an embodiment of a projection automatic layout device 300 for multiple display data, which is applied to a projection imaging system. The device includes an acquisition module 310, a unification module 320, an identification module 330, a processing module 340 and a projection module 350, wherein:
[0112] An acquisition module 310 is used to acquire image data of different positions of the target environment and analyze the image format and image range of each image data;
[0113] The unification module 320 is used to unify the image formats of the image data to obtain new image data and identify the environment area corresponding to each position;
[0114] The identification module 330 is used to determine the projection display position corresponding to each of the environmental areas based on the regional position of each of the environmental areas in the target environment, and to identify each pair of adjacent new image data based on the projection display position corresponding to each of the environmental areas;
[0115] The processing module 340 is used to identify, for each pair of adjacent new image data, adjacent image edges between the adjacent new image data based on the projection display position corresponding to the position of each new image data of the adjacent new image data, and perform edge smoothing and alignment processing on the adjacent image edges based on the image range of each new image data of the adjacent image data to obtain each target image data;
[0116] The projection module 350 is used to project each target image data to a projection display position corresponding to the position where each target image data is located, so as to obtain target projection data of the target environment.
[0117] Optionally, the acquisition module 310 is specifically configured to:
[0118] For the image data of each image, identifying the format parameters of each image format type of the image data, and using the format parameters of all image format types as the image format of the image data;
[0119] Based on the image format of the image data, a scaling ratio of the image data is identified, and based on the scaling ratio of the image data and the image size of the image data, an image range of the image data is calculated.
[0120] Optionally, the unification module 320 is specifically used for:
[0121] Acquire projection configuration information of a projection device, and based on the projection configuration information, identify an optimal image format that can be projected by the projection device;
[0122] Based on the optimal image format, identifying the optimal format parameters of each image format type, and for each image data, adjusting the format parameters of each image format type of the image data to the optimal format parameters, so as to obtain initial new image data corresponding to each image data;
[0123] The image clarity of each initial new image data is identified through an image clarity identification strategy, and the initial new image data corresponding to the image clarity below the image clarity threshold is regarded as abnormal image data;
[0124] Using the optimal format parameters of each image format type, adjusting the device parameters of the acquisition device corresponding to the abnormal image data to obtain target device parameters, and re-acquiring image data based on the target device parameters to obtain new image data corresponding to the abnormal image data;
[0125] The initial new image data of the non-abnormal image data is marked as new image data.
[0126] Optionally, the identification module 330 is specifically used to:
[0127] Acquire regional position information of each spatial area of the target environment and projection area distribution information, and identify the spatial area collected at each position based on the regional position information of each spatial area and the spatial position information corresponding to each position;
[0128] Based on the projection area distribution information, identify the spatial area corresponding to each projection partition, and based on the spatial area corresponding to each projection partition and the spatial area collected at each position, identify the projection partition corresponding to each position;
[0129] The position range of the projection partition corresponding to each position in the projection area is used as the projection display position corresponding to each position.
[0130] Optionally, the identification module 330 is specifically used to:
[0131] Based on the position range of each projection partition in the projection area, identifying adjacent projection partitions having the same position point, and identifying the same position point sequence in each pair of adjacent projection partitions;
[0132] Using edge lines corresponding to the same position point sequence in each pair of adjacent projection partitions as adjacent edge lines of each pair of adjacent projection partitions, and identifying new image data corresponding to each projection partition based on the projection display position corresponding to each position;
[0133] Based on each pair of adjacent projection partitions and the new image data corresponding to each projection partition, each pair of adjacent new image data is identified, and based on the adjacent edge lines of each pair of adjacent projection partitions, the adjacent image edges of each pair of adjacent new image data are identified.
[0134] Optionally, the processing module 340 is specifically configured to:
[0135] For each pair of adjacent new image data, obtaining an adjacent edge range corresponding to the adjacent edge lines of the adjacent projection partitions, and screening an edge range image corresponding to the adjacent edge range in each new image data of the adjacent new image data;
[0136] Performing image alignment processing on each of the edge range images according to the position points of each of the edge range images in the new image data to obtain an edge stitching image, and extracting each image stitching feature of the edge stitching image;
[0137] Identify the stitching type of each image stitching feature, and select abnormal image stitching features of abnormal stitching types and image content ranges corresponding to each abnormal image stitching feature from among the image stitching features;
[0138] Based on each of the abnormal splicing types, the abnormal processing strategy corresponding to each abnormal splicing type is queried in the abnormal processing database, and based on the abnormal processing strategy, image adjustment processing is performed on each of the new image data to obtain each target image data.
[0139] Each module in the above-mentioned projection automatic layout device for multiple display data can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0140] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for automatic layout of projection of multiple display data is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0141] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0142] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of any one of the methods in the first aspect are implemented.
[0143] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0144] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the steps of any one of the methods in the first aspect.
[0145] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0146] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0147] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0148] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A projection automatic layout method for multiple display data, applied to a projection imaging system, characterized in that: The method comprises: Acquire image data of different locations of the target environment, and analyze the image format of each image data and the image range of each image data; Performing format unification processing on the image formats of the image data to obtain new image data, and identifying the environmental area corresponding to each position; Based on the regional position of each of the environmental areas in the target environment, determining the projection display position corresponding to each of the positions, and based on the projection display position corresponding to each position, identifying each pair of adjacent new image data; For each pair of adjacent new image data, based on the projection display position corresponding to the position of each new image data of the adjacent new image data, the adjacent image edges between the adjacent new image data are identified, and based on the image range of each new image data of the adjacent image data, the adjacent image edges are subjected to edge smoothing and alignment processing to obtain each target image data; Each target image data is projected to a projection display position corresponding to the position where each target image data is located, so as to obtain target projection data of the target environment.
2. The method according to claim 1, characterized in that The analyzing the image format of each image data and the image range of each image data includes: For the image data of each image, identifying the format parameters of each image format type of the image data, and using the format parameters of all image format types as the image format of the image data; Based on the image format of the image data, a scaling ratio of the image data is identified, and based on the scaling ratio of the image data and the image size of the image data, an image range of the image data is calculated.
3. The method according to claim 2, characterized in that The step of performing format unification processing on the image formats of the image data to obtain new image data includes: Acquire projection configuration information of a projection device, and based on the projection configuration information, identify an optimal image format that can be projected by the projection device; Based on the optimal image format, identifying the optimal format parameters of each image format type, and for each image data, adjusting the format parameters of each image format type of the image data to the optimal format parameters, so as to obtain initial new image data corresponding to each image data; The image clarity of each initial new image data is identified through an image clarity identification strategy, and the initial new image data corresponding to the image clarity below the image clarity threshold is regarded as abnormal image data; Using the optimal format parameters of each image format type, adjusting the device parameters of the acquisition device corresponding to the abnormal image data to obtain target device parameters, and re-acquiring image data based on the target device parameters to obtain new image data corresponding to the abnormal image data; The initial new image data of the non-abnormal image data is marked as new image data.
4. The method according to claim 3, characterized in that The determining, based on the regional position of each of the environmental areas in the target environment, the projection display position corresponding to each of the positions includes: Acquire the regional position information of each spatial area of the target environment and the projection area distribution information, and identify the spatial area collected at each position based on the regional position information of each spatial area and the spatial position information corresponding to each position; Based on the projection area distribution information, identify the spatial area corresponding to each projection partition, and based on the spatial area corresponding to each projection partition and the spatial area collected at each position, identify the projection partition corresponding to each position; The position range of the projection partition corresponding to each position in the projection area is used as the projection display position corresponding to each position.
5. The method according to claim 4, characterized in that The step of identifying each pair of adjacent new image data based on the projection display position corresponding to each position includes: Based on the position range of each projection partition in the projection area, identifying adjacent projection partitions having the same position point, and identifying the same position point sequence in each pair of adjacent projection partitions; Using edge lines corresponding to the same position point sequence in each pair of adjacent projection partitions as adjacent edge lines of each pair of adjacent projection partitions, and identifying new image data corresponding to each projection partition based on the projection display position corresponding to each position; Based on each pair of adjacent projection partitions and the new image data corresponding to each projection partition, each pair of adjacent new image data is identified, and based on the adjacent edge lines of each pair of adjacent projection partitions, the adjacent image edges of each pair of adjacent new image data are identified.
6. The method according to claim 5, characterized in that The image range of each new image data based on the adjacent image data, performing edge smoothing and alignment processing on the edges of the adjacent images to obtain each target image data, includes: For each pair of adjacent new image data, obtaining an adjacent edge range corresponding to the adjacent edge lines of the adjacent projection partitions, and screening an edge range image corresponding to the adjacent edge range in each of the adjacent new image data; Performing image alignment processing on each of the edge range images according to the position points of each of the edge range images in the new image data to obtain an edge stitching image, and extracting each image stitching feature of the edge stitching image; Identify the stitching type of each image stitching feature, and select abnormal image stitching features of abnormal stitching types and image content ranges corresponding to each abnormal image stitching feature from among the image stitching features; Based on each of the abnormal splicing types, the abnormal processing strategy corresponding to each abnormal splicing type is queried in the abnormal processing database, and based on the abnormal processing strategy, image adjustment processing is performed on each of the new image data to obtain each target image data.
7. A projection automatic layout device for multiple display data, applied to a projection imaging system, characterized in that: The device comprises: An acquisition module, used for acquiring image data of different positions of a target environment, and analyzing an image format of each image data and an image range of each image data; A unification module, used for unifying the image formats of the image data to obtain new image data and identify the environmental area corresponding to each position; an identification module, configured to determine, based on the regional position of each of the environmental areas in the target environment, a projection display position corresponding to each of the positions, and to identify each pair of adjacent new image data based on the projection display position corresponding to each position; a processing module, configured to identify, for each pair of adjacent new image data, adjacent image edges between the adjacent new image data based on a projection display position corresponding to a position of each new image data of the adjacent new image data, and perform edge smoothing and alignment processing on the adjacent image edges based on an image range of each new image data of the adjacent image data to obtain each target image data; The projection module is used to project each target image data to a projection display position corresponding to the position where each target image data is located, so as to obtain the target projection data of the target environment.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Colored drawing method and cruise ship
CN120023076A
