A water area data preprocessing method for oblique photography modeling

By using MSER image segmentation and DCNN water body recognition models to identify and process water body areas in 3D reconstruction, the problem of difficulty in extracting water feature points is solved, and fully automatic 3D reconstruction and model integrity of the water environment are achieved.

CN114241150BActive Publication Date: 2024-09-24HUANENG MINGTAI ELECTRIC POWER CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111536321.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-15
Publication Date
2024-09-24
Estimated Expiration
2041-12-15

AI Technical Summary

Technical Problem

When performing 3D reconstruction using existing technology, it is difficult to extract feature points in water areas, resulting in holes, deformations or distortions in the model effect, making it impossible to achieve fully automatic 3D reconstruction.

Method used

A water data preprocessing method in oblique photography modeling is used to identify the water body area through MSER image segmentation and DCNN water body recognition model, and perform solid color filling or cutting out, followed by feature point extraction and three-dimensional reconstruction.

Benefits of technology

It realizes fully automatic 3D reconstruction of the water environment, generates a complete 3D model, avoids the problems of holes, deformation or distortion in the water area, and realizes the 3D reconstruction process without manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114241150B
    Figure CN114241150B
Patent Text Reader

Abstract

The present invention discloses a water area data preprocessing method in oblique photography modeling. The method utilizes neural network technology to preprocess raw image data for 3D reconstruction, identifies water areas in the raw images, and performs solid color filling or removal on the water areas. The preprocessed images are then used to perform a 3D reconstruction process, and finally a complete 3D reconstruction model that does not contain any water areas is generated. From this, a fully automatic 3D reconstruction process that is completely for water environments and does not require human intervention can be derived.
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 reconstruction of water areas, and in particular to a water area data preprocessing method in oblique photography modeling. Background Art

[0002] Three-dimensional reconstruction refers to obtaining a three-dimensional model of an environment or object through a series of processing based on a series of photos of the environment or object taken from different angles.

[0003] Its common expressions include: point cloud, grid, voxel, depth map, etc.

[0004] The more common process is:

[0005] Extract image features (such as SIFT, SURF, etc.);

[0006] Utilize the features to calculate feature matching between images;

[0007] Sparse reconstruction is performed based on the matched features to obtain the camera pose and sparse feature point cloud (SFM) of each image;

[0008] Dense reconstruction is performed based on the camera pose to obtain a dense point cloud (PMVS / CMVS);

[0009] Reconstruct meshes, voxels or textures from point clouds.

[0010] Among them, extracting feature points is the first step and the basis for all subsequent 3D reconstruction work. Currently, the more commonly used methods include SIFT, SURF and other algorithms, which are used to detect and describe local features in images. It finds extreme points in the spatial scale and extracts their position, scale, and rotation invariants.

[0011] We take the SIFT algorithm as an example to illustrate the process of feature detection.

[0012] The feature detection step in the SIFT algorithm is divided into four steps:

[0013] Scale-space extremum detection: Search images across all scales and identify potential interest points that are invariant to scale and selection via Gaussian derivatives.

[0014] Feature point positioning: At each candidate position, a fine-tuned model is fitted to determine the position scale, and key points are selected based on their stability.

[0015] Feature direction assignment: Based on the local gradient direction of the image, one or more directions are assigned to each key point position. All subsequent operations transform the direction, scale and position of the key point to provide invariance of these features.

[0016] Feature point description: In the neighborhood around each feature point, the local gradients of the image are measured at a selected scale, and these gradients are transformed into a representation that allows for relatively large local shape deformations and lighting changes.

[0017] Finally, the features extracted by the SIFT algorithm are very stable local features due to their invariance to rotation, scale, brightness, etc. They also form the data basis for the subsequent process of the entire 3D reconstruction.

[0018] Algorithms such as SIFT or SURF are very good at extracting feature points in static environments or objects, but they are powerless when facing water areas. This usually results in serious holes, deformation or distortion in the model effect of the water area. Figure 1 and Figure 2 As shown:

[0019] Currently, the mainstream approach to this problem in the industry is to add constraints on water areas during 3D reconstruction, that is, to select the water areas through manual labeling, and then cut the area out of the final model during the 3D reconstruction process. However, this method cannot achieve fully automatic reconstruction in this scenario.

[0020] The reason is that the water area is a non-static environment. Due to the fluidity of the water body, the water body has no fixed features, so no matter what feature extraction algorithm is used, it is impossible to extract the feature points of the water area or correctly extract the feature points of the water area, which leads to the subsequent 3D reconstruction results being abnormal in the water area.

[0021] Therefore, it is necessary to develop a water area data preprocessing method in oblique photography modeling to solve the above problems. Summary of the invention

[0022] The purpose of the present invention is to design a water area data preprocessing method in oblique photography modeling in order to solve the above problems.

[0023] The present invention achieves the above-mentioned purpose through the following technical solutions:

[0024] A water area data preprocessing method in oblique photography modeling comprises the following steps:

[0025] S1, original image input;

[0026] S2, determine whether the original image contains a water area; if yes, proceed to step S3; if no, proceed to step S4;

[0027] S3, fill or cut out the water area with a solid color, and proceed to the next step;

[0028] S4, feature point extraction; proceed to the next step;

[0029] S5, special diagnosis point matching; proceed to the next step;

[0030] S6, sparse reconstruction; proceed to the next step;

[0031] S7, dense reconstruction; proceed to the next step;

[0032] S8, triangular surface network; proceed to the next step;

[0033] S9, surface texture mapping; proceed to the next step;

[0034] S10. Model results output.

[0035] Specifically, in step S2, determining whether the original image contains a water area includes:

[0036] Perform MSER image segmentation on the original image to obtain the target sub-area to be identified;

[0037] The DCNN water body recognition model is used to determine whether the target sub-area to be identified contains a water area.

[0038] The beneficial effects of the present invention are:

[0039] Using neural network technology, the original image data used for 3D reconstruction is preprocessed to identify the water area in the original image, and the water area is filled or removed with a solid color. The preprocessed image is then used for the 3D reconstruction process, and finally a complete 3D reconstruction model that does not contain any water area is generated. From this, a fully automatic 3D reconstruction process that is completely targeted at water environments and does not require human intervention can be derived. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a prior art Figure 1 ;

[0041] Figure 2 It is a prior art Figure 1 ;

[0042] Figure 3 is a flow chart of the method of the present invention;

[0043] Figure 4 It is a specific schematic diagram of step S2 in the present invention; DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0045] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0046] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0047] In the description of the present invention, it should be understood that the terms "upper", "lower", "inside", "outside", "left", "right", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings, or are directions or positional relationships in which the product of the invention is usually placed when in use, or are directions or positional relationships commonly understood by those skilled in the art. These directions or positional relationships are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as a limitation on the present invention.

[0048] Furthermore, the terms “first”, “second”, etc. are merely used for distinguishing descriptions and should not be understood as indicating or implying relative importance.

[0049] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms such as "setting" and "connection" should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0050] The specific implementation modes of the present invention are described in detail below in conjunction with the accompanying drawings.

[0051] like Figure 3 As shown: A water area data preprocessing method in oblique photography modeling, comprising the following steps:

[0052] S1, original image input;

[0053] S2, determine whether the original image contains a water area; if yes, proceed to step S3; if no, proceed to step S4;

[0054] S3, fill or cut out the water area with a solid color, and proceed to the next step;

[0055] S4, feature point extraction; proceed to the next step;

[0056] S5, special diagnosis point matching; proceed to the next step;

[0057] S6, sparse reconstruction; proceed to the next step;

[0058] S7, dense reconstruction; proceed to the next step;

[0059] S8, triangular surface network; proceed to the next step;

[0060] S9, surface texture mapping; proceed to the next step;

[0061] S10. Model results output.

[0062] like Figure 4 As shown, in step S2, determining whether the original image contains a water area includes:

[0063] Perform MSER image segmentation on the original image to obtain the target sub-area to be identified;

[0064] The DCNN water body recognition model is used to determine whether the target sub-area to be identified contains a water area.

[0065] The present application introduces an image preprocessing step to fill or cut out the water area in the original image with a solid color, so as to avoid holes, deformation or distortion of the water area in the final three-dimensional reconstructed model due to the image of the water area.

[0066] The most important part is the recognition of water areas in the original image through neural network technology. Traditional remote sensing image target extraction methods mostly use visual interpretation or pixel-based processing, which is difficult to apply to complex scenes in high-resolution images. Deep learning methods can effectively realize the fine extraction of buildings in remote sensing images.

[0067] In practical applications, the images collected by the UAV are first segmented using the MSER algorithm to obtain the target sub-area to be identified, and then the deep convolutional neural network (DCNN) model is used to identify water bodies.

[0068] The maximum stable extreme region (MSER) ​​is based on the concept of watershed to solve the stable region. When using it, it is necessary to first obtain the corresponding binary image by using a series of thresholds. Binarization means: the grayscale value of the pixel greater than or equal to the threshold is set to 255, that is, white, otherwise if the pixel grayscale value is less than the threshold, it is set to 0, that is, black. The value range of the binarization threshold t is t = {0, 1, ..., 255}. If the threshold is 0, a completely white image is obtained, and when the threshold increases to 255, a completely black image is obtained. From 0 to 255, the threshold of the grayscale change is gradually increased, and the grayscale value of each pixel in the image is checked. The pixel points with grayscale values ​​greater than or equal to the threshold are recorded, and the extreme region is composed of adjacent points. In the process of continuously increasing the threshold, the area of ​​some extreme regions remains basically unchanged after several threshold changes. These regions are the most stable extreme regions. The maximum stable extreme region calculated by the MSER algorithm can ensure the integrity of the water body target during segmentation, so the water body target sub-area after segmentation is relatively more complete.

[0069] In the DCNN water body recognition model, you can choose more common deep convolutional neural network models such as DenseNet, ResNet, VGG, SegNet, DeepLabV3+, etc.

[0070] The technical solution of the present invention is not limited to the above-mentioned specific embodiments. All technical variations made according to the technical solution of the present invention fall within the protection scope of the present invention.

Claims

1. A method for preprocessing water area data in oblique photography modeling, characterized in that: The following steps are involved: S1, original image input; S2, determining whether the original image contains a water area; If yes, go to step S3; if no, go to step S4; S3, fill or cut out the water area with a solid color, and proceed to the next step; S4, feature point extraction; proceed to the next step; S5, special diagnosis point matching; Go to the next step; S6, sparse reconstruction; Go to the next step; S7, dense reconstruction; proceed to the next step; S8, triangular surface network; proceed to the next step; S9, surface texture mapping; proceed to the next step; S10. Model results output.

2. The method for preprocessing water area data in oblique photography modeling according to claim 1, characterized in that: In step S2, determining whether the original image contains a water area includes: Perform MSER image segmentation on the original image to obtain the target sub-area to be identified; The DCNN water body recognition model is used to determine whether the target sub-area to be identified contains a water area.

Citation Information

Patent Citations

  • Image processing method and device, image shooting and processing system and carrier

    CN111247790A

  • Method for repairing water surface loopholes of three-dimensional model based on dense point cloud

    CN112465977A

  • Unmanned aerial vehicle navigation map construction system and method based on three-dimensional image reconstruction technology

    US20210358206A1