A method for quickly acquiring camera positioning information in a matrix studio

By using multiple sets of three-dimensional structures and cross-placement designs in matrix studios, the process of obtaining camera positioning information in photo modeling software is simplified, and the problem of time-consuming and poor accuracy in the existing technology is solved, and the rapidity is achieved , low-cost positioning information acquisition and multi-device reuse.

CN118172420BActive Publication Date: 2025-01-17DIGITAL WHALE (SHANDONG) ENERGY TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410484029.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-22
Publication Date
2025-01-17
Estimated Expiration
2044-04-22

Smart Images

  • Figure CN118172420B_ABST
    Figure CN118172420B_ABST
Patent Text Reader

Abstract

The invention discloses a method for quickly acquiring camera positioning information of a matrix studio, which is characterized by comprising the following steps: step one, making multiple groups of three-dimensional structures; step two, formulating placement rules for the three-dimensional structures; step three, controlling the matrix studio to collect images; step four, importing images into photo modeling software; step five, performing photo alignment in the modeling software; step six, generating and exporting camera positioning point metadata; step seven, cleaning the camera positioning point metadata; step eight, applying the camera positioning point metadata information; The beneficial effects of the invention are embodied in that the scheme uses multiple groups of reusable three-dimensional structures, does not need to add additional detection marking materials to the matrix studio, and can obtain the spatial positioning information of the camera only by direct photo alignment, with low material cost, simple operation and high efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of three-dimensional data acquisition, and in particular to a method for quickly acquiring camera positioning information of a matrix studio. Background Art

[0002] Photo modeling refers to the technology of automatically generating a 3D model of the photographed object by taking photos of the object through a camera or other equipment, and then performing graphic image processing and 3D calculation on a computer. Its core principle is to identify and stitch multiple groups of photos of the same object to achieve the reconstruction of the 3D scene. The main application scenarios are reverse engineering of industrial products, 3D terrain modeling by drone aerial photography, and human body modeling. The main application industries are 3D printing, geographic surveying and mapping, etc. The main application software is RealityCapture; in order to obtain the 3D data of the photographed object faster and with higher quality, the photographed photos usually provide the spatial positioning information of the camera used to take the photos; the current mainstream solution is to deploy specific detection markers of photo modeling software (such as RealityCapture) in the studio. After taking the photos, the detection markers are identified and located by the photo modeling software, so as to complete the photo alignment and generate the spatial positioning information of the camera.

[0003] The current mainstream solution requires adding materials with detection marks to the device, which increases the cost of the equipment and cannot be reused by multiple devices. In addition, it is time-consuming for the photo modeling software to recognize the detection marks, and the accuracy of photo alignment after recognition is poor, requiring multiple attempts and manual optimization to achieve image alignment. The main reason is that the recognition mark is a flat graphic, and the three-dimensional spatial data obtained is relatively small. The current mainstream solution has significant disadvantages such as high material cost, certain professional skills required for operation, and low efficiency, and there are problems. Summary of the invention

[0004] In view of the defects in the prior art, the present invention provides a method for quickly acquiring the positioning information of matrix studio cameras to solve the existing problems.

[0005] The present invention is implemented by the following technical scheme: A method for quickly acquiring the positioning information of a matrix studio camera, characterized in that it comprises the following steps:

[0006] Step 1, making multiple sets of three-dimensional structures;

[0007] Step 2: Formulate the placement rules of the three-dimensional structure;

[0008] Step 3, controlling the matrix studio to collect images;

[0009] Step 4: Import the image into photo modeling software;

[0010] Step 5: Align photos in the modeling software;

[0011] Step 6: Generate and export camera location point metadata;

[0012] Step 7: Clean up the metadata of camera positioning points;

[0013] Step 8: Apply the camera location point metadata information.

[0014] Preferably, the three-dimensional structure in the step one can be a three-dimensional structure with multiple faces, such as a triangular prism and a cube; the size can be superimposed by multiple groups of three-dimensional structures to cover all shooting ranges of the matrix studio; the appearance pattern, each face of the polyhedron is designed with a differentiated pattern, the superimposed contact surface may not be designed, and the pattern must have obvious differences, including color differences, graphic differences, and graphic size differences; the identification marks generated by the software and the random icon combination are used, and the icons are randomly placed. This design meets the needs of image modeling for extracting feature points of the photographed object.

[0015] Preferably, in step 2, the three-dimensional structure is placed in a cross manner at the center of the matrix studio to ensure that all cameras in the matrix studio can capture the appearance of the three-dimensional structure. The focus of this step is the cross placement to form an irregular combination display effect.

[0016] Preferably, in step three, two groups of photos from all cameras are collected in a normal image collection manner of a matrix studio.

[0017] Preferably, in step five, all the photos taken by the matrix studio need to be aligned. The three-dimensional structure designed, produced and placed according to the above rules, and the photos taken will be automatically aligned in this step. If alignment is impossible, the cube placement angle and position need to be changed and re-photographed.

[0018] Preferably, in the step six, in the photo modeling software, the metadata generation function is selected, and the camera position information export is checked, and the software automatically generates all the information including the relative position of the camera space.

[0019] Preferably, in step seven, in the folder where the photo is located, the files (pictures, file databases, etc.) other than the positioning point metadata are deleted, and only the positioning point metadata files are retained.

[0020] Preferably, in step eight, the generated positioning point metadata file is copied to the photo folder taken in the same matrix studio, and the file name remains consistent, so that the camera positioning point information can be automatically identified and loaded when the model is generated.

[0021] The beneficial effects of the present invention are as follows: the present solution uses multiple sets of reusable three-dimensional structures, does not require additional detection and marking materials for the matrix studio, and can obtain the spatial positioning information of the camera only through direct photo alignment, with low material cost, simple operation and high efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.

[0023] Figure 1 It is the work flow chart of the present invention. DETAILED DESCRIPTION

[0024] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific embodiments disclosed below.

[0025] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be an intermediate element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be an intermediate element at the same time.

[0026] For ease of description, spatial relative terms such as "upper," "lower," "left," and "right" may be used herein to describe the relationship of one element or feature shown in a figure relative to another element or feature. It should be understood that the spatial terms are intended to include different orientations of the device in use or operation in addition to the orientation shown in the figures. For example, if the device in the figure is inverted, elements described as being "below" other elements or features will be positioned "above" the other elements or features. Thus, the exemplary term "below" may include both upper and lower orientations.

[0027] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0028] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation of the present invention is described in detail below in conjunction with specific embodiments: Figure 1 The present invention is implemented by the following technical scheme: This scheme is designed based on the technical principle of taking photos in a matrix studio and using image modeling software, and is divided into the following steps:

[0029] The first step is to make multiple sets of three-dimensional structures;

[0030] The shape structure can be a three-dimensional structure with multiple faces, such as a triangular prism, a cube, etc.

[0031] Size: Multiple groups of three-dimensional structures can cover all shooting ranges of the matrix studio; appearance pattern: each face of the polyhedron is designed with a differentiated pattern. The superimposed contact surface does not need to be designed; the pattern must be significantly different, including color difference, graphic difference, and graphic size difference. It is recommended to use identification marks generated by software, random icon combinations, and random placement of icons. This design meets the needs of image modeling for extracting feature points of the photographed object.

[0032] The second step is the placement rules of the three-dimensional structure;

[0033] Place the three-dimensional structure in a cross-shaped manner at the center of the matrix studio to ensure that all cameras in the matrix studio can capture the appearance of the three-dimensional structure. The focus of this step is on the cross-shaped placement to form an irregular combination display effect.

[0034] The third step is to control the matrix studio to collect images;

[0035] In this step, two sets of photos from all cameras are collected in the same way as the matrix studio normally collects images.

[0036] Step 4: Import the image into photo modeling software;

[0037] Step 5: Align photos in the modeling software;

[0038] This step requires alignment of all photos taken in the matrix studio. The three-dimensional structure designed, produced and placed according to the above rules, and the photos taken will be automatically aligned in this step. If alignment is not possible, change the angle and position of the cube and re-shoot.

[0039] Step 6: Generate and export camera location metadata;

[0040] In the photo modeling software, select the Generate Metadata function and check the Export camera position information checkbox. The software will automatically generate all the information including the relative position of the camera in space.

[0041] Step 7: Clean up the metadata of camera positioning points;

[0042] In the folder where the photos are located, delete the non-anchor metadata files (pictures, file databases, etc.) and only keep the anchor metadata files.

[0043] Step 8: Apply the camera location point metadata information;

[0044] Copy the generated positioning point metadata file to the photo folder taken in the same matrix studio, keeping the file name consistent. This will allow the camera positioning point information to be automatically identified and loaded when the model is generated.

[0045] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.

Claims

1. A method for quickly acquiring camera positioning information of a matrix studio, characterized in that: The following steps are involved: Step 1, making multiple sets of three-dimensional structures; The three-dimensional structure in step 1 is a three-dimensional structure with multiple faces of a triangular prism or a cube; the size is such that multiple groups of three-dimensional structures are superimposed to cover all shooting ranges of the matrix studio; the appearance pattern is such that each face of the polyhedron is designed with a differentiated pattern, and the superimposed contact surface may not be designed, and the pattern must have obvious differences, including color differences, graphic differences, and graphic size differences; identification marks generated by software and random icon combinations are used, and the icons are randomly placed. This design meets the needs of image modeling for extracting feature points of the photographed object; Step 2: Formulate the placement rules of the three-dimensional structure; In the step 2, the three-dimensional structure is placed in the center of the matrix studio in a cross manner to ensure that all cameras in the matrix studio can capture the appearance of the three-dimensional structure. The focus of this step is the cross placement to form an irregular combination display effect; Step 3, controlling the matrix studio to collect images; Step 4: Import the image into photo modeling software; Step 5: Align photos in the modeling software; Step 6: Generate and export camera location point metadata; In step 6, in the photo modeling software, select the function of generating metadata, and check the option of exporting the camera position information, and the software will automatically generate all the information including the relative position of the camera space; Step 7: Clean up the metadata of camera positioning points; In the step 7, in the folder where the photo is located, the non-location point metadata files are deleted, and only the location point metadata files are retained; Step 8, applying the camera positioning point metadata information; In the step eight, the generated positioning point metadata file is copied to the photo folder taken in the same matrix studio, and the file name is kept consistent. Then, when the model is generated, the camera positioning point information can be automatically identified and loaded.

2. The method for quickly acquiring the camera positioning information of a matrix studio according to claim 1, characterized in that: In the step three, two groups of photos from all cameras are collected in the normal image collection manner of the matrix studio.

3. The method for quickly acquiring the camera positioning information of a matrix studio according to claim 1, characterized in that: In step five, all the photos taken in the matrix studio need to be aligned. The three-dimensional structure designed, produced and placed according to the above rules, and the photos taken will be automatically aligned in this step. If alignment is not possible, the angle and position of the cube need to be changed and re-photographed.

Citation Information

Patent Citations

  • Mobile phone stereo imaging and stereo measuring method

    CN104833341A

  • AR stereoscopic display device with Inside-Out space positioning

    CN108022302A