Underwater panoramic imaging method and underwater panoramic imaging system
Acquiring underwater three-dimensional point cloud images through laser reflection and combining with image processing technology solves the problems of limited field of view angle and scarce light of underwater camera equipment, achieving high-precision underwater panoramic imaging, satisfying all requirements in complex environments. Orientation data collection and processing requirements.
Patent Information
- Application Number
- CN202410923940.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-11
AI Technical Summary
Existing underwater camera equipment is difficult to obtain high-quality panoramic images due to limited field of view angles and scarce light. Especially in complex underwater environments, it is impossible to achieve all-round, high-precision image collection and data processing.
The principle of laser reflection is used to obtain underwater three-dimensional point cloud images, and the laser light source is used to assist the camera to obtain two-dimensional images. It combines image processing technology to realize the splicing and fusion of panoramic images, and uses the ORB feature extraction and matching algorithm to determine the image splicing position and generate high-definition panoramic image.
It achieves all-round coverage, high accuracy, real-time high-definition underwater panoramic imaging, meets the needs of marine ecological research, seabed topography mapping, underwater archeology and other fields, and improves image clarity and positioning accuracy.
Smart Images

Figure CN118470236B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of panoramic imaging, and in particular relates to an underwater panoramic imaging method and an underwater panoramic imaging system. Background Art
[0002] With the rapid development of science and technology, underwater exploration has developed significantly, and there is a huge demand for high-precision and high-definition underwater panoramic images in the fields of marine ecological research, underwater archaeology, and oil extraction. However, the complexity of the underwater environment places extremely high demands on imaging equipment and technology. How to obtain high-quality panoramic images and how to scientifically and effectively process and utilize these data remains a challenge.
[0003] For many existing underwater camera equipment, the limited field of view is a major drawback, which makes it impossible for such equipment to obtain all-round information about the environment. What is more complicated is that in the underwater environment, due to the scarcity of light and complex environment, such as turbid water, unstable water flow, complex and changeable seabed topography, it is difficult for the equipment to obtain large-scale and high-definition image information. These factors, especially the light problem, affect the underwater camera equipment's observation and positioning of the target object, thereby reducing the clarity and accuracy of the image. Summary of the invention
[0004] In view of the above problems in the prior art, the purpose of the present invention is to provide an underwater panoramic imaging method, which realizes underwater three-dimensional point cloud image acquisition and marking of the spatial position of the target object through laser reflection, uses a laser light source to assist the camera in obtaining underwater two-dimensional images, and based on the marking of the spatial position of the target object, combines image processing technology to achieve high-definition and high-precision underwater panoramic imaging.
[0005] An underwater panoramic imaging method comprises the following steps:
[0006] Acquire panoramic data of the target environment, wherein the panoramic data includes a three-dimensional point cloud image and a two-dimensional image;
[0007] The spatial position of the target object at the image splicing in the panoramic data is marked by the laser reflection principle to obtain the marking point;
[0008] The position of image stitching is determined in combination with the marking points, and the two-dimensional image is stitched according to the three-dimensional point cloud image to form a panoramic image of the target environment.
[0009] Preferably, the process of forming a panoramic image of the target environment includes the following steps:
[0010] Feature extraction: Extract feature points from a two-dimensional image to identify and track the target object;
[0011] Feature matching: Match feature points in multiple images to find the same or similar specific feature points, associate one specific feature point with three marking points, and use the three marking points to represent the position of the specific feature point in three-dimensional space;
[0012] Image stitching: Determine the mapping method between stitched images through the marking points of specific feature points;
[0013] Generate transformation matrix: Calculate the relationship between each specific feature point and the corresponding marker point to generate a transformation matrix, which is used to adjust the position and orientation of a single image and align the images to the same coordinate system.
[0014] Preferably, image fusion is performed on the images after image stitching, the mixing weight of each pixel in the overlapping area between the stitched images is calculated, the color value and brightness value of the pixel are determined, and the edge line at the image stitching is eliminated.
[0015] A second object of the present invention is to provide an underwater panoramic imaging system, comprising:
[0016] An imaging device, used to obtain panoramic data of a target environment, wherein the panoramic data includes a three-dimensional point cloud image and a two-dimensional image;
[0017] A laser calibration device is used to mark the spatial position of the target object at the image splicing in the panoramic data to obtain the marking point;
[0018] The image processing module is used to determine the position of image stitching in combination with the marking points, stitch and fuse the three-dimensional point cloud image and the two-dimensional graphic data to form a panoramic image of the target environment.
[0019] Preferably, it also includes:
[0020] A real-time reconstruction module for generating a panoramic image of the target environment in real time;
[0021] The 3D visualization module is used to display the panoramic image of the target environment and the related 3D cloud map data.
[0022] Preferably, the imaging device and the laser calibration device are both equipped with an electronic shutter system, which includes an electronic shutter S1 and an electronic shutter S2. The electronic shutter S1 and the electronic shutter S2 accumulate the energy of the reflected laser within a set time, and calculate the distance from the laser beam to the object based on the ratio of the accumulated energy between the electronic shutter S1 and the electronic shutter S2.
[0023] Preferably, the imaging device comprises an RGB camera, a laser emitting window, a laser receiving window and a waterproof cavity, wherein the RGB camera, the laser emitting window and the laser receiving window are all mounted on the waterproof cavity, and the waterproof cavity is mounted on the imaging body;
[0024] The waterproof cavity is equipped with a laser, which continuously emits pulse-modulated laser light to the target environment through a laser emission window, receives laser light reflected by an object in the target environment through a laser receiving window, and depicts a three-dimensional point cloud image of the target environment based on the reflected laser light data;
[0025] The RGB camera uses a laser to generate a light source to capture a two-dimensional image of the target environment.
[0026] Preferably, the laser calibration device includes a laser calibration lens, a laser diode and a fixing part, wherein the laser calibration lens is mounted on the laser diode, and the laser diode is mounted on the imaging subject through the fixing part; after emitting laser, the laser diode receives laser reflected by an object in the target environment, and constructs a three-dimensional model of the target environment according to the reflected laser data, wherein the spatial coordinates of the target object are marked in the three-dimensional model; the laser power emitted by the laser calibration device is higher than the laser power emitted by the imaging device.
[0027] Preferably, the imaging body includes a mounting buckle plate and a mounting cover plate, and the mounting buckle plate and the mounting cover plate are respectively provided with two relatively distributed pieces, and the mounting buckle plate includes a fixing plate, an extension plate and a limit plate, and the two sides of the fixing plate are connected with an inclined extension plate, and the extension plate is connected with a limit plate for clamping the mounting cover plate, and the two mounting buckle plates and the two mounting cover plates are enclosed to form a cavity, and the waterproof cavity is located in the cavity, and the RGB camera, the laser emission window, the laser receiving window, and the laser calibration lens are located outside the cavity, and the laser calibration device is installed on the inclined extension plate.
[0028] Preferably, the imaging device and the laser calibration device are both equipped with an electronic shutter system, which includes an electronic shutter S1 and an electronic shutter S2. The electronic shutter S1 and the electronic shutter S2 accumulate the energy of the reflected laser within a specific time, and calculate the distance from the laser beam to the object based on the ratio of the accumulated energy between the electronic shutter S1 and the electronic shutter S2.
[0029] Preferably, the image processing module includes an ORB feature extraction algorithm unit, a feature matching algorithm unit, an image stitching algorithm unit and an image mixing algorithm unit. After the image feature points are extracted by the ORB feature extraction algorithm unit, the feature points of multiple graphics are matched by the feature matching algorithm unit to obtain specific feature points, and then the image stitching position is determined in combination with the marking points of the specific feature points, the image stitching algorithm unit is used to perform graphic stitching, and then the image mixing algorithm unit is used to eliminate the edge lines between the stitched images.
[0030] The beneficial effects of the present invention are as follows: the underwater panoramic imaging method and the underwater panoramic imaging system realize underwater three-dimensional point cloud image acquisition and marking of the spatial position of the target object through laser reflection, use a laser light source to assist the camera in acquiring underwater two-dimensional images, and based on the marking of the spatial position of the target object, combine image processing technology to realize all-round coverage, high precision, real-time high definition, and interactive underwater panoramic imaging.
[0031] The imaging device adopts a four-group omnidirectional field of view design covering 360 degrees, which can collect three-dimensional point cloud images and image data of the underwater environment in all directions without blind spots, realizing true panoramic imaging.
[0032] A laser calibration device is used to accurately calibrate the position of the three-dimensional point cloud image, and advanced image stitching algorithms are used to stitch and fuse the images, thereby improving the visual effect and positioning accuracy of the generated panoramic image.
[0033] The panoramic cloud map data is processed in real time through the image processing module and the real-time reconstruction module to generate high-definition panoramic images to meet the needs of real-time monitoring and navigation.
[0034] The 3D visualization module simultaneously displays panoramic images and related 3D point cloud images, enabling interaction between users and data, which is very convenient for observation, research, and analysis operations.
[0035] In addition, the underwater panoramic imaging method and underwater panoramic imaging system can play a great application value whether in marine ecological research, seabed topography mapping, or underwater archaeology and oil extraction. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] 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:
[0037] Figure 1 is a flow chart of Embodiment 1 of the present invention;
[0038] Figure 2 It is a principle block diagram of the image processing module of the present invention;
[0039] Figure 3 is a schematic structural diagram of an imaging subject of the present invention;
[0040] Figure 4 It is a structural schematic diagram of the installation gusset plate of the present invention;
[0041] Figure 5 is a schematic structural diagram of an imaging device of the present invention;
[0042] Figure 6 It is a structural schematic diagram of the laser calibration and alignment device of the present invention;
[0043] Figure 7 It is a schematic diagram of the structure of the connection between the imaging subject and the UUV of the present invention.
[0044] Marked in the figure: 1. Imaging device; 101. RGB camera; 102. Laser emission window; 103. Laser receiving window; 104. Waterproof cavity; 2. Laser calibration and alignment device; 201. Laser calibration lens; 202. Fixing part; 203. Laser diode; 3. Imaging body; 301. Mounting cover; 302. Mounting buckle plate; 401. Mounting block; 402. UUV rear cabin; 403. UUV front cabin; 404. Power cord; 405. Rear cover; 406. Front cover. DETAILED DESCRIPTION
[0045] Embodiment 1
[0046] like Figure 1 , Figure 2 As shown, an underwater panoramic imaging method comprises the following steps:
[0047] First, obtain panoramic data of the target environment. Panoramic data includes three-dimensional point cloud images and two-dimensional images. Specifically, on the one hand, the three-dimensional point cloud image is obtained through the principle of laser reflection. After the laser emits the laser, it touches the object and reflects it. The distance between the object and the laser itself is calculated based on the reflected laser energy. The laser is continuously emitted to collect distance data. The distance data will carry the position and shape information of the object. A three-dimensional point cloud image is constructed based on the distance data. The three-dimensional point cloud image describes the three-dimensional spatial structure of the target environment.
[0048] On the other hand, the camera can capture the target environment to obtain an intuitive two-dimensional image. At the same time, the laser emitted by the laser can provide light for the camera to shoot, which can improve the clarity of the captured two-dimensional image in the dim underwater. Specifically, the laser beam changes the illumination of its surface through the beam expander, thereby widening the imaging range of the camera.
[0049] Secondly, the spatial position of the target object at the image splicing in the panoramic data is marked by the principle of laser reflection to obtain the marking point. In order to distinguish the panoramic data from the marking point, the laser energy used to mark the spatial position of the target object in the panoramic data is higher than the laser energy used to obtain the three-dimensional point cloud image, which is convenient for highlighting the marking point and realizing accurate image splicing.
[0050] Finally, the position of image stitching is determined in combination with the marker points, and the two-dimensional images are stitched according to the three-dimensional point cloud images to form a panoramic image of the target environment.
[0051] Specifically, the process of forming a panoramic image of the target environment includes the following steps:
[0052] S1. Extract feature points of the image through the ORB feature extraction algorithm to identify and track the target object.
[0053] Among them, the ORB feature extraction algorithm is an algorithm for fast feature point extraction and description, including a feature extraction part based on the FAST algorithm and a feature description part based on the BRIEF algorithm.
[0054] First, the corner points in the image are quickly detected based on the FAST algorithm to determine the feature points:
[0055] The first step: set N feature points to be extracted in the two-dimensional image, and according to the existing FAST algorithm principle, reduce the threshold of the FAST algorithm so that the number of feature points detected by the FAST algorithm is greater than N.
[0056] Step 2: Calculate the main direction of the feature point by the centroid method:
[0057] (1) Calculate corner points Image moments in the neighborhood
[0058] ,in Yes The gray value of .
[0059] (2) Calculate corner points The centroid C of the neighborhood:
[0060]
[0061] (3) Calculate corner points Direction to the center of mass C :
[0062]
[0063] Secondly, based on the BRIEF algorithm, a binary string is used to describe the area around the image feature points:
[0064] For any feature point, n pairs of random points are generated in its neighborhood (n=256 in this embodiment), which are rotated and the sizes of the point pairs are compared at the new point set positions to form a descriptor of a binary string.
[0065]
[0066]
[0067]
[0068] in: , Represents the neighborhood around ( , ), and define the matrix S through the point set, where S represents the position of the random point (2×n matrix). is the rotation angle, is the position of the random point after rotation.
[0069] S2. Match feature points in multiple images through a feature matching algorithm to find the same or similar specific feature points, associate one specific feature point with M marking points, and use the M marking points to represent the position of the specific feature point in three-dimensional space.
[0070] Specifically, feature points in multiple images are matched to find the same or similar specific feature points. Each specific feature point is associated with three marking points obtained from the laser calibration device 2, which represent the position of the specific feature point in three-dimensional space.
[0071] Since three points are the minimum requirement for determining a certain position in three-dimensional space, if the azimuth angle and distance are known, as long as there are three points with known positions, a coordinate system can be established through them, and then the position of any other point can be determined in this coordinate system.
[0072] Therefore, by associating each feature point with three marking points acquired by the laser calibration device 2, the coordinate value of the feature point in the three-dimensional space, that is, the position of the feature point, can be obtained. By measuring the distance from the feature point to the three marking points or other related parameters, the position of the feature point in the three-dimensional space can be accurately determined.
[0073] In terms of distance measurement, if the positions of three markers in space are known, and the distance from the feature point to these three markers is measured, the three-dimensional coordinates of the feature point can be determined using trilateral measurement (also known as the spherical triangulation method).
[0074] The feature matching algorithm is as follows:
[0075] (1) Image 1 feature descriptor:
[0076] (2) Image 2 feature descriptor:
[0077] (3) Similarity measure between any two descriptors:
[0078] (4) Retained specific feature point descriptors, retention conditions:
[0079] S3. Through the image stitching algorithm, the mapping method between the stitched images is determined according to the marking points of specific feature points to achieve the best alignment. The mapping method is shown in Figure 1:
[0080]
[0081] Table 1
[0082] Specifically, take the coordinates of point x as an example: x is the current position, x' is the position after mapping, t is the translation vector, and R is the transformation matrix.
[0083] It should be noted that translation transformation is usually applicable to the case of parallel movement shooting. In panoramic imaging, if shooting from a fixed angle, translation transformation is required for superposition.
[0084] Rotation + translation is used when the image of the same object has a rotation angle during the shooting process, but you want the image to be horizontal during processing and you want to image it at the same viewing angle.
[0085] Similarity transformation only includes three changes: rotation, scaling and translation. The special point is that it keeps the "shape" of the image unchanged, that is, the proportional relationship of the image before and after the transformation remains unchanged.
[0086] When the image content contains elements such as rotation, scaling, translation, or even shearing, you can choose affine transformation. For example, when the same object is photographed from different angles, an affine transformation is needed to align these images.
[0087] S4. Calculate the relationship between each specific feature point and the corresponding marker point to generate a transformation matrix, which is used to adjust the position and orientation of a single image and align the images to the same coordinate system.
[0088] The matrix is as follows:
[0089]
[0090] Wherein, H represents a transformation matrix. In this embodiment, H represents a 3x3 transformation matrix, whose elements are (i,j=0,1,2). The specific transformation forms include rotation, scaling, translation, etc., which depend on the specific value of the matrix H.
[0091] Represents the elements of the H matrix. By changing the values of these elements, different types of spatial transformations can be achieved. For example, and Control zoom, and Control rotation and shear, and Control translation, , and Controls the perspective transform.
[0092] xy and w represent the homogeneous coordinates of a point in three-dimensional space. In this coordinate system, x and y represent the position in physical space, and w is a scaling factor that allows us to represent the effect of distance changes in perspective projection.
[0093] S5. Calculate the mixing weight of each pixel in the overlapping area between the stitched images through the image fusion algorithm, determine the color value and brightness value of the pixel, and eliminate the edge line at the image stitching to minimize the visual difference at the boundary of the two contacting images.
[0094] Specifically, the image blending algorithm finds the overlapping area of the two images to be stitched. This area usually has some visual differences, such as changes in color, brightness, or structure. The algorithm then calculates a blending weight for each pixel in the overlapping area. This weight determines the color of the pixel in the final image. The algorithm then creates a smooth color and brightness transition by weighted blending of the color values of the pixels in each overlapping area.
[0095] Under the premise that the image size is the same, the rows and columns of the image matrix are the same, and the number of channels is the same, use and To represent the input image, we use To represent the output image, α represents the ratio (0<α<1). The relationship is as follows:
[0096]
[0097] By creating smooth color and brightness transitions in the overlapping areas of the two images to avoid abrupt changes, there are no obvious seams in the stitched image. Therefore, by calculating and replacing the pixels at the stitching positions of all images, a completely stitched and seamless image can be generated, thus achieving panoramic imaging of the target environment.
[0098] Embodiment 2
[0099] like Figures 2 to 7 As shown, the second aspect of the present invention is to propose an underwater panoramic imaging system, including an imaging device 1, a laser calibration device 2 and an image processing module, wherein the imaging device 1 and the laser calibration device 2 are installed on an imaging body 3.
[0100] First, the imaging device 1 is used to obtain panoramic data of the target environment, and the panoramic data includes a three-dimensional point cloud image and a two-dimensional image.
[0101] Specifically, Figure 5As shown, the imaging device 1 includes an RGB camera 101, a laser emitting window 102, a laser receiving window 103 and a waterproof cavity 104, wherein the RGB camera 101, the laser emitting window 102, and the laser receiving window 103 are all installed on the waterproof cavity 104, and the waterproof cavity 104 is installed on the imaging body 3.
[0102] The waterproof cavity 104 has a built-in laser. The laser continuously emits blue-green laser modulated by square wave pulses to the target environment through the laser emission window 102. The laser receives the laser reflected by the object in the target environment through the laser receiving window 103. The laser depicts a three-dimensional point cloud image of the target environment based on the reflected laser data.
[0103] Furthermore, the lenses of the laser emission window 102 and the laser receiving window 103 both adopt a spherical structure, which can increase the range of laser emission and reception. In addition, in order to adapt to underwater shooting, the lenses are waterproofed and the refractive index is adjusted to improve image accuracy.
[0104] The laser emitted from the laser emission window 102 in the imaging device 1 is a fine and concentrated beam that can propagate a certain distance underwater. Underwater, the laser beam will encounter various objects, such as seabed topography, underwater creatures, underwater buildings, etc. The laser beam will be reflected by these objects to form scattered lasers.
[0105] The imaging device 1 is provided with an electronic shutter system, which includes an electronic shutter S1 and an electronic shutter S2, wherein the frequency and phase of the electronic shutter S1 and the electronic shutter S2 are consistent with the laser pulse of the transmitter, and when the electronic shutter S1 and the electronic shutter S2 are both at a high level, the electronic shutter S1 and the electronic shutter S2 can accumulate the reflected laser energy within a specific time, and by calculating the ratio of the accumulated energy between the electronic shutter S1 and the electronic shutter S2, the distance from the laser beam to the object can be calculated. By combining all the received reflected laser data and calculating their corresponding distance values, a three-dimensional point cloud image can be formed, which describes the three-dimensional structure of the underwater environment.
[0106] Since the response time of each electronic shutter is different, the ratio of the light signal energy collected at different times can reveal the precise time of the arrival and return of the laser pulse. By comparing the light signal energy collected by the two electronic shutters at different times, the location of the reflection point can be determined more accurately.
[0107] Specifically, when an object is irradiated, the laser pulse will start from the emission point and reflect back after hitting the object. Since the speed of light is constant, the round-trip time of the laser pulse represents the distance between the laser and the object.
[0108] We can assume that we have a laser beam shining on an object. After the laser is emitted, the electronic shutter S1 and the electronic shutter S2 start timing and collecting the reflected light pulses. The electronic shutter S1 is closed first, and then at the instant of time t, the electronic shutter S2 is closed. In this way, two energies are recorded: the energy E1 accumulated by the electronic shutter S1 (the energy reflected by the laser pulse and collected by the electronic shutter S1) and the additional energy E2 accumulated by the electronic shutter S2 at time t. The ratio of these two energies, E1 / E2, can be used to calculate the distance from the laser beam to the object. For example, if the ratio of E1 / E2 is large, it means that most of the laser energy is collected before the electronic shutter S1 is closed, so the object should be closer. Conversely, if the ratio of E1 / E2 is small, it means that a large amount of laser pulse energy is collected by the electronic shutter S2 after the electronic shutter S1 is closed, so the object should be farther away.
[0109] In this way, by comparing the light pulse energies collected by electronic shutter S1 and electronic shutter S2 at different times, we can obtain a relatively accurate distance measurement value and thus determine the specific position of the reflection point.
[0110] In addition, the RGB camera 101 uses the light source generated by the laser to capture a two-dimensional image of the target environment. The use of the laser light source can improve the clarity of the camera shooting in the dim seabed, thereby improving the clarity of the underwater panoramic imaging.
[0111] Secondly, if Figure 6 As shown, the laser calibration device 2 is used to mark the spatial position of the target object at the image splicing position in the panoramic data to obtain the marking point. The laser calibration device 2 includes a laser calibration lens 201, a laser diode 203 and a fixing member 202, wherein the laser calibration lens 201 is mounted on the laser diode 203, and the laser diode 203 is mounted on the imaging subject 3 through the fixing member 202.
[0112] The laser diode 203 receives the laser reflected by the object in the target environment after emitting the laser, and constructs a three-dimensional model of the target environment according to the reflected laser data, wherein the spatial coordinates of the target object are marked in the three-dimensional model.
[0113] Specifically, the laser calibration device 2 is also equipped with an electronic shutter system, which also includes an electronic shutter S1 and an electronic shutter S2. Its specific working process is the same as the working process of the electronic shutter system in the imaging device 1, and will not be described in detail here.
[0114] The laser power emitted by the laser calibration device 2 is set to be higher than the laser power emitted by the imaging device 1. Three-dimensional point cloud data is collected by using two lasers of different wavelengths. When dual-wavelength holographic measurement is used, the result is more stable than that of single-wavelength measurement. When dual-wavelength measurement is used, the limitation of the wrapped phase can be overcome, which is convenient for screening feature points, thereby highlighting the marking points and realizing accurate image stitching.
[0115] In addition, if Figure 3 , Figure 4 As shown, the imaging body 3 includes a mounting gusset plate 302 and a mounting cover plate 301, and the mounting gusset plate 302 and the mounting cover plate 301 are respectively provided with two relatively distributed pieces, and the mounting gusset plate 302 includes a fixing plate, an extension plate and a limit plate, and the two sides of the fixing plate are connected with an inclined extension plate, and the extension plate is connected with a limit plate for clamping the mounting cover plate 301, and the two mounting gusset plates 302 and the two mounting cover plates 301 are enclosed to form a cavity, and the waterproof cavity 104 is located in the cavity, and the RGB camera 101, the laser emission window 102, the laser receiving window 103, and the laser calibration lens 201 are located outside the cavity, and the laser calibration device 2 is installed on the inclined extension plate. The laser calibration device 2 is tilted so that the laser calibration device 2 can be just at the boundary of the field of view of each imaging device 1, and the feature points of image splicing can be found more effectively.
[0116] like Figure 7 As shown, one end of the imaging body 3 is installed on the rear cover plate 405 of the UUV rear cabin 402 through the mounting block 401, and the other end is installed on the front cover plate 406 of the UUV front cabin 403 through the mounting block 401. The imaging body 3 is connected to the UUV rear cabin 402 through a power cord 404.
[0117] Finally, if Figure 2 As shown, the image processing module is used to determine the position of image stitching in combination with the marking points, stitch and fuse the three-dimensional point cloud image and the two-dimensional graphic data to form a panoramic image of the target environment.
[0118] The image processing module includes an ORB feature extraction algorithm unit, a feature matching algorithm unit, an image stitching algorithm unit and an image mixing algorithm unit. After the image feature points are extracted by the ORB feature extraction algorithm unit, the feature points of multiple graphics are matched by the feature matching algorithm unit to obtain specific feature points, and then the image stitching position is determined in combination with the marking points of the specific feature points, and the image stitching algorithm unit is used to perform graphic stitching, and then the image mixing algorithm unit is used to eliminate the edge lines between the stitched images.
[0119] Embodiment 3
[0120] The structure of this embodiment is basically the same as that of the second embodiment, except that this embodiment further includes: a real-time reconstruction module for generating a panoramic image of the target environment in real time and a three-dimensional visualization module for displaying the panoramic image of the target environment and related three-dimensional cloud image data. The panoramic cloud image data is processed in real time by the image processing module and the real-time reconstruction module to generate a high-definition panoramic image to meet the needs of real-time monitoring and navigation. The three-dimensional visualization module simultaneously displays the panoramic image and the related three-dimensional point cloud image to realize the interaction between the user and the data, which is very convenient for observation, research and analysis operations.
[0121] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention is described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An underwater panoramic imaging system, characterized in that: include: An imaging device (1) is used to obtain panoramic data of a target environment, the panoramic data comprising a three-dimensional point cloud image and a two-dimensional image; the imaging device (1) photographs the target environment through an RGB camera (101) to obtain a two-dimensional image, and the imaging device (1) constructs a three-dimensional point cloud image by emitting laser light through a laser to collect distance data, the distance data comprising position and morphological information of objects in the target environment; the laser light emitted by the laser provides a shooting light source for the RGB camera (101); A laser calibration device (2) is used to mark the spatial position of a target object at an image splicing location in the panoramic data to obtain a marking point; the laser calibration device (2) receives laser light reflected by an object in the target environment after emitting laser light through a laser diode (203), and constructs a three-dimensional model of the target environment based on the reflected laser light data, wherein the spatial coordinates of the target object are marked in the three-dimensional model; The laser power emitted by the laser calibration device (2) is set to be higher than the laser power emitted by the imaging device (1), and three-dimensional point cloud data is collected by using two lasers with different wavelengths to highlight the marking points; An image processing module is used to determine the position of image stitching in combination with the marker points, stitch and fuse the three-dimensional point cloud image and the two-dimensional graphic data to form a panoramic image of the target environment; The process of forming a panoramic image of the target environment includes the following steps: Feature extraction: Extract feature points from a two-dimensional image to identify and track the target object; Feature matching: Match feature points in multiple images to find the same or similar specific feature points, associate one specific feature point with three marking points, and use the three marking points to represent the position of the specific feature point in three-dimensional space; Image stitching: Determine the mapping method between stitched images through the marking points of specific feature points; Generate transformation matrix: Calculate the relationship between each specific feature point and the corresponding marker point and generate a transformation matrix, which is used to adjust the position and orientation of a single image and align the images to the same coordinate system; A real-time reconstruction module for generating a panoramic image of the target environment in real time; A 3D visualization module, used to display a panoramic image of the target environment and related 3D cloud map data; The panoramic cloud map data is processed in real time through the image processing module and the real-time reconstruction module to generate high-definition panoramic images to meet the needs of real-time monitoring and navigation. The panoramic image and related three-dimensional point cloud images are displayed simultaneously through the three-dimensional visualization module to realize the interaction between users and data.
2. The underwater panoramic imaging system according to claim 1, characterized in that: The imaging device (1) and the laser calibration device (2) are both equipped with an electronic shutter system, wherein the electronic shutter system comprises an electronic shutter S1 and an electronic shutter S2, wherein the electronic shutter S1 and the electronic shutter S2 accumulate energy of the reflected laser within a set time, and calculate the distance from the laser beam to the object based on the ratio of the accumulated energy between the electronic shutter S1 and the electronic shutter S2.
3. The underwater panoramic imaging system according to claim 1, characterized in that: The imaging device (1) comprises an RGB camera (101), a laser emission window (102), a laser receiving window (103) and a waterproof cavity (104); the RGB camera (101), the laser emission window (102) and the laser receiving window (103) are all mounted on the waterproof cavity (104); and the waterproof cavity (104) is mounted on an imaging body (3); The waterproof cavity (104) has a built-in laser, which continuously emits pulse-modulated laser light to the target environment through the laser emission window (102), receives laser light reflected by an object in the target environment through the laser receiving window (103), and depicts a three-dimensional point cloud image of the target environment based on the reflected laser light data; The RGB camera (101) uses a light source generated by a laser to capture a two-dimensional image of a target environment.
4. The underwater panoramic imaging system according to claim 1, characterized in that: The laser calibration device (2) comprises a laser calibration lens (201), a laser diode (203) and a fixing member (202), wherein the laser calibration lens (201) is mounted on the laser diode (203), and the laser diode (203) is mounted on the imaging subject (3) via the fixing member (202); The laser diode (203) receives laser light reflected by an object in the target environment after emitting laser light, and constructs a three-dimensional model of the target environment based on the reflected laser light data, wherein the spatial coordinates of the target object are marked in the three-dimensional model.
5. The underwater panoramic imaging system according to claim 3 or 4, characterized in that: The imaging body (3) comprises a mounting buckle plate (302) and a mounting cover plate (301), wherein the mounting buckle plate (302) and the mounting cover plate (301) are respectively provided with two relatively distributed pieces, wherein the mounting buckle plate (302) comprises a fixing plate, an extension plate and a limit plate, wherein the fixing plate is connected to two sides of the fixing plate with an inclined extension plate, wherein the extension plate is connected to a limit plate for clamping the mounting cover plate (301), wherein the two mounting buckle plates (302) and the two mounting cover plates (301) are enclosed to form a cavity, wherein the waterproof cavity (104) is located in the cavity, wherein the RGB camera (101), the laser emission window (102), the laser receiving window (103) and the laser calibration lens (201) are located outside the cavity, and wherein the laser calibration and positioning device (2) is mounted on the inclined extension plate.
6. The underwater panoramic imaging system according to claim 1, characterized in that: The image processing module includes an ORB feature extraction algorithm unit, a feature matching algorithm unit, an image stitching algorithm unit and an image mixing algorithm unit. After the image feature points are extracted by the ORB feature extraction algorithm unit, the feature points of multiple graphics are matched by the feature matching algorithm unit to obtain specific feature points, and then the image stitching position is determined in combination with the marking points of the specific feature points, the image stitching algorithm unit is used to stitch the graphics, and then the image mixing algorithm unit is used to eliminate the edge lines between the stitched images.
7. An underwater panoramic imaging method, implemented by the underwater panoramic imaging system according to any one of claims 1 to 6, characterized in that: The steps include: Acquire panoramic data of the target environment, wherein the panoramic data includes a three-dimensional point cloud image and a two-dimensional image; The spatial position of the target object at the image splicing in the panoramic data is marked by the laser reflection principle to obtain the marking point; Determine the image stitching position in combination with the marker points, and stitch the two-dimensional image according to the three-dimensional point cloud image to form a panoramic image of the target environment; The process of forming a panoramic image of the target environment includes the following steps: Feature extraction: Extract feature points from a two-dimensional image to identify and track the target object; Feature matching: Match feature points in multiple images to find the same or similar specific feature points, associate one specific feature point with three marking points, and use the three marking points to represent the position of the specific feature point in three-dimensional space; Image stitching: Determine the mapping method between stitched images through the marking points of specific feature points; Generate transformation matrix: Calculate the relationship between each specific feature point and the corresponding marker point and generate a transformation matrix, which is used to adjust the position and orientation of a single image and align the images to the same coordinate system.
8. The underwater panoramic imaging method according to claim 7, characterized in that: Feature extraction is performed using the ORB feature extraction algorithm, feature matching is performed using the feature matching algorithm, image stitching is performed using the image stitching algorithm, and image fusion is performed on the stitched images using the image blending algorithm. The blending weights of each pixel in the overlapping area between the stitched images are calculated, the color value and brightness value of the pixel are determined, and the edge lines at the image stitching locations are eliminated.
Citation Information
Patent Citations
Three-dimensional real scene collection and modeling method and apparatus, and readable storage medium
CN108648272A
Point cloud map construction method and device, equipment and storage medium
CN112652062A
