A binocular disparity generation method, system, platform and storage medium fusing semantic prior and geometric anchor

By integrating semantic priors and geometric anchoring into a binocular disparity generation method, the problems of insufficient matching of weak texture regions and depth estimation errors in traditional binocular reconstruction are solved, and 3D point cloud generation with high integrity and realistic scale is achieved.

CN123160779APending Publication Date: 2026-11-24CHONGQING INST OF SURVEYING & MAPPING SCI & TECH (CHONGQING MAP COMPILATION CENT)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611369007.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-04
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Traditional binocular reconstruction methods suffer from insufficient matching in weakly textured regions, incorrect depth estimation in occluded regions, failure of semantic information to effectively participate in disparity recovery, lack of true physical scale in the generated depth, and unreliable segmentation masks output by large models, resulting in severe reconstruction errors.

Method used

A binocular disparity generation method that integrates semantic priors and geometric anchors is proposed. It uses a semantic cognitive model to segment instances and construct a structured prior. It uses geometric anchors to generate disparity and then weights and fuses the initial disparity map to ensure true scale and clear boundaries.

Benefits of technology

It achieves effective recovery of parallax in weakly textured regions while maintaining geometric accuracy, avoids cross-boundary error propagation and blind extrapolation, and outputs 3D point clouds with high integrity and realistic scale.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160779A_ABST
    Figure CN123160779A_ABST
Patent Text Reader

Abstract

This invention discloses a binocular disparity generation method, system, platform, and storage medium that integrates semantic priors and geometric anchoring. The solution involves acquiring a first view and a second view; performing instance segmentation on the first view; generating an initial disparity map through binocular stereo matching; constructing a structured prior based on the instance segmentation results to define the disparity recovery space range of each instance and indicate the local morphological model; extracting geometric anchor points within the space of each instance to generate conditional disparity; and performing weighted fusion based on a first confidence level, a second confidence level, and global uncertainty to generate a fused disparity map. This invention guides disparity generation with a large-model semantic prior, uses real binocular observations as the scale and verification basis, and fills weak texture holes and suppresses cross-boundary errors and unfounded extrapolations through uncertainty fusion and 3D closed-loop correction, ultimately outputting a reliable 3D point cloud with high integrity, realistic scale, and semantic and geometric self-consistency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of computer vision and 3D reconstruction technology, specifically relating to a binocular parallax generation method, system, platform, and storage medium that integrates semantic prior and geometric anchoring. Background Technology

[0002] Binocular stereo vision is an important means of acquiring 3D information about a scene. Its basic principle is to perform stereo matching on the corrected left and right images, calculate the disparity between corresponding pixels, and then reconstruct a 3D point cloud based on the inverse proportional relationship between disparity and depth. This method has wide applications in fields such as autonomous driving, robot navigation, industrial inspection, and augmented reality due to its advantages of low cost, clear physical meaning, and ability to restore true scale.

[0003] However, traditional binocular reconstruction methods face several inherent problems in practical applications that have remained unresolved for a long time. First, stereo matching has an inherent weakness in weakly textured regions. The core of stereo matching algorithms lies in finding the pixel correspondence of the same spatial point in the left and right images, a process highly dependent on local texture features as the matching basis. When the scene contains large areas of textureless regions (such as white walls, ground, and sky) or regions with repetitive textures (such as blinds and fences), the matching cost lacks significant differentiation across multiple candidate disparities, causing the matching algorithm to fail to establish reliable pixel correspondences and resulting in large-scale disparity holes or incorrect matches. While traditional local interpolation or filtering methods can fill in holes to some extent, they are essentially based on information propagation from pixel distance or color similarity, lacking an understanding of the spatial surface to which the pixel belongs, making it difficult to distinguish whether the effective disparity and the region to be restored belong to the same 3D structure. Furthermore, depth estimation at occluded areas and complex object boundaries is prone to errors. At object edges and the boundary between foreground and background, some pixels only appear in a single view, causing stereo matching to fail to find corresponding points. Even more challenging is that when the two sides of an object's boundary have similar colors, traditional methods easily propagate erroneous parallax across the true depth boundary, incorrectly merging the foreground and background into the same continuous surface, causing a "boundary adhesion" phenomenon. Although existing technologies include image edge protection strategies, the image gradient itself is insufficient to distinguish between different objects with similar colors but spatially separated, nor can it identify semantic boundaries segmented from large models.

[0004] Furthermore, in recent years, with the rapid development of large-scale visual models, some researchers have attempted to incorporate semantic segmentation results into binocular reconstruction. However, existing solutions often treat semantic information as post-processing labels after point cloud generation, or simply use it for cropping to retain or delete point clouds of specific categories. In such solutions, semantic information fails to truly participate in the disparity recovery process, severely wasting the powerful scene understanding capabilities of large-scale models. More importantly, the segmentation masks and category labels output by large-scale models are not absolutely reliable; instance boundaries may have offsets of several pixels, and objects of the same semantic category do not have completely identical geometric shapes (for example, "ground" may contain slope variations, while "pipe" may only show local curved surfaces). Directly converting semantic categories into deterministic geometric templates will lead to severe reconstruction errors.

[0005] Furthermore, in recent years, a number of methods have emerged that directly regress depth maps using diffusion models or generative adversarial networks. These methods can generate visually reasonable depths in weakly textured regions, but their depth values ​​lack a true physical scale, failing to meet the requirements of downstream tasks such as autonomous driving and industrial measurement, which have strict requirements for absolute scale. In addition, generative models tend to "imagine" semantically reasonable but geometrically incorrect depth structures, generating unfounded 3D extrapolations in regions with insufficient evidence, introducing unpredictable risks to the system. In other words, existing generative depth estimation methods lack constraints on the true scale.

[0006] Therefore, in order to address the aforementioned technical deficiencies, there is an urgent need to design and develop a binocular parallax generation method, system, platform, and storage medium that integrates semantic prior and geometric anchoring. Summary of the Invention

[0007] To overcome the shortcomings and difficulties of the existing technologies, the present invention aims to provide a binocular disparity generation method, system, platform and storage medium that integrates semantic prior and geometric anchoring. This method can simultaneously utilize the semantic understanding capabilities of large models and the advantages of binocular vision at real scale, effectively recover disparity in weakly textured regions while maintaining geometric accuracy, and generate high-completeness disparity while avoiding cross-boundary error propagation and blind extrapolation.

[0008] The first objective of this invention is to provide a binocular disparity generation method that integrates semantic prior and geometric anchoring; the second objective of this invention is to provide a binocular disparity generation system that integrates semantic prior and geometric anchoring; the third objective of this invention is to provide a binocular disparity generation platform that integrates semantic prior and geometric anchoring; and the fourth objective of this invention is to provide a computer-readable storage medium.

[0009] The first objective of this invention is achieved by the method comprising the steps of:

[0010] Create and obtain a first view and a second view corresponding to the target scene, and obtain text prompts corresponding to the target category, surface type and / or structure type in the target scene. Call an open vocabulary semantic cognitive model to perform target localization and instance segmentation on the first view according to the text prompts, and generate corresponding instance segmentation results that include instance masks, semantic categories and pixel-level boundaries; wherein, the instance segmentation results are used to indicate multiple instances in the target scene.

[0011] Using the first view as a reference, the binocular stereo matching process is used to generate an initial disparity map corresponding to the pixel coordinate system of the first view.

[0012] Based on the instance segmentation results, a structured prior is constructed. Within the disparity recovery space of each instance, pixels that meet the predetermined confidence criteria are extracted from the initial disparity map and used as geometric anchors of the instance. Disparity generation processing is performed based on the local morphological model and the geometric anchors, and conditional disparity is generated. The structured prior is used to define the disparity recovery space range corresponding to each instance and to indicate the local morphological model of the instance.

[0013] Based on the first confidence level corresponding to the initial disparity map, the second confidence level corresponding to the conditionally generated disparity, and the global uncertainty corresponding to the instance, the initial disparity map and the conditionally generated disparity are weighted and fused to construct a corresponding fused disparity map.

[0014] The second objective of this invention is achieved as follows: the system is used to implement the binocular disparity generation method that integrates semantic prior and geometric anchoring, the system comprising:

[0015] A generation unit is created to generate and acquire a first view and a second view corresponding to a target scene, as well as to acquire text prompts corresponding to target categories, surface types, and / or structure types in the target scene. An open-vocabulary semantic cognitive model is invoked to perform target localization and instance segmentation on the first view based on the text prompts, generating corresponding instance segmentation results that include instance masks, semantic categories, and pixel-level boundaries. The instance segmentation results are used to indicate multiple instances in the target scene.

[0016] A stereo matching unit is used to perform binocular stereo matching processing on the first view and the second view, with the first view as a reference, to generate an initial disparity map corresponding to the pixel coordinate system of the first view.

[0017] The prior construction unit is used to construct a structured prior based on the instance segmentation results, and extract pixels that meet a predetermined confidence criterion from the initial disparity map within the disparity recovery space of each instance, as geometric anchor points of the instance, and perform disparity generation processing based on the local morphological model and the geometric anchor points to output conditionally generated disparity; wherein, the structured prior is used to define the disparity recovery space range corresponding to each instance and indicate the local morphological model of the instance;

[0018] The disparity fusion unit is used to perform weighted fusion processing on the initial disparity map and the conditionally generated disparity based on the first confidence level corresponding to the initial disparity map, the second confidence level corresponding to the conditionally generated disparity, and the global uncertainty corresponding to the instance, to construct a corresponding fused disparity map.

[0019] The third objective of this invention is achieved as follows: It includes a processor, a memory, and a binocular disparity generation platform control program that integrates semantic prior and geometric anchoring; wherein the binocular disparity generation platform control program that integrates semantic prior and geometric anchoring is executed on the processor, and is stored in the memory; the binocular disparity generation platform control program that integrates semantic prior and geometric anchoring implements the binocular disparity generation method that integrates semantic prior and geometric anchoring.

[0020] The fourth objective of this invention is achieved as follows: the computer-readable storage medium stores a control program for a binocular disparity generation platform that integrates semantic priors and geometric anchors, and the control program for the binocular disparity generation platform that integrates semantic priors and geometric anchors implements the binocular disparity generation method that integrates semantic priors and geometric anchors.

[0021] The present invention creates and acquires a first view and a second view corresponding to a target scene, and calls a semantic cognitive model to perform instance segmentation on the first view to generate a corresponding instance segmentation result; wherein, the instance segmentation result is used to indicate multiple instances in the target scene; and using the first view as a reference, binocular stereo matching is performed on the first view and the second view to generate an initial disparity map corresponding to the pixel coordinate system of the first view; then, a structured prior is constructed based on the instance segmentation result, and within the disparity recovery space of each instance, pixels that meet a predetermined confidence criterion are extracted from the initial disparity map as geometric anchor points of the instance, and the local morphology model is used in conjunction with... The geometric anchor points are subjected to disparity generation processing to output conditionally generated disparities. The structured prior is used to define the disparity recovery space range corresponding to each instance and to indicate the local morphological model of the instance. Then, based on the first confidence level corresponding to the initial disparity map, the second confidence level corresponding to the conditionally generated disparity, and the global uncertainty corresponding to the instance, the initial disparity map and the conditionally generated disparity are weighted and fused to construct a corresponding fused disparity map. The system, platform, and storage medium corresponding to the method are also provided. Using real binocular observation as the scale benchmark and verification basis, through semantically guided generation, uncertainty fusion, and 3D closed-loop correction, a complete, reliable, and realistic 3D point cloud is output.

[0022] In other words, the present invention uses real binocular observation as the scale and verification anchor point, generates instance conditions guided by semantics to fill weak texture holes and uses boundary protection to block cross-object propagation, uses geometric anchor point constraints to ensure the real scale and injects high-frequency details to avoid oversmoothing, uses uncertainty gating to prevent the completion of evidence when it is insufficient to prevent unfounded extrapolation, and uses 3D point cloud reverse verification to correct 2D semantics to achieve geometric and semantic self-consistency, and finally outputs a reliable 3D point cloud with high completeness, real scale, clear boundaries and no blind extrapolation. Attached Figure Description

[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0024] Figure 1 This is a schematic diagram of the process steps of a binocular disparity generation method that integrates semantic prior and geometric anchoring in an embodiment of the present invention;

[0025] Figure 2 This is a schematic diagram of the collaborative point cloud generation algorithm in an embodiment of the present invention;

[0026] Figure 3 This is a schematic diagram of the semantic geometry prior generation algorithm in an embodiment of the present invention;

[0027] Figure 4 This is a schematic diagram of the anchored parallax generation algorithm in an embodiment of the present invention;

[0028] Figure 5 This is a schematic diagram of the disparity fusion algorithm in an embodiment of the present invention;

[0029] Figure 6 This is a schematic diagram of the closed-loop correction point cloud generation algorithm in an embodiment of the present invention;

[0030] Figure 7 This is a schematic diagram of a binocular parallax generation system architecture that integrates semantic prior and geometric anchoring in an embodiment of the present invention;

[0031] Figure 8 This is a schematic diagram of a binocular parallax generation platform architecture that integrates semantic prior and geometric anchoring in an embodiment of the present invention;

[0032] Figure 9 This is a schematic diagram of a computer-readable storage medium architecture according to an embodiment of the present invention. Detailed Implementation

[0033] To facilitate a clearer understanding of the objectives, technical solutions, and advantages of this invention, the invention will be further described below in conjunction with the accompanying drawings and specific embodiments. Those skilled in the art can easily understand other advantages and effects of this invention from the content disclosed in this specification.

[0034] This invention can also be implemented or applied through other different specific examples, and various details in this specification can also be modified and changed based on different viewpoints and applications without departing from the spirit of this invention.

[0035] It should be noted that if the embodiments of the present invention involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of the components in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicators will also change accordingly.

[0036] Furthermore, if the embodiments of this invention involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features. Secondly, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by this invention.

[0037] Preferably, the binocular parallax generation method of the present invention, which integrates semantic prior and geometric anchoring, is applied in one or more terminals or servers. The terminal is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.

[0038] The terminal can be a desktop computer, laptop, handheld computer, or cloud server, etc. The terminal can interact with the customer via a keyboard, mouse, remote control, touchpad, or voice control device.

[0039] like Figure 1 The diagram shows a flowchart of a binocular disparity generation method that integrates semantic prior and geometric anchoring, provided in an embodiment of the present invention. In this embodiment, the binocular disparity generation method integrating semantic prior and geometric anchoring can be applied to terminals or fixed terminals with display functions. The terminal is not limited to personal computers, smartphones, tablets, desktop computers with cameras, or all-in-one computers.

[0040] The binocular disparity generation method that integrates semantic prior and geometric anchoring can also be applied to a hardware environment consisting of a terminal and a server connected to the terminal via a network. The network includes, but is not limited to, a wide area network (WAN), a metropolitan area network (MAN), or a local area network (LAN). The binocular disparity generation method integrating semantic prior and geometric anchoring in this embodiment can be executed by the server, by the terminal, or by both the server and the terminal.

[0041] For example, for a binocular disparity generation terminal that requires the fusion of semantic prior and geometric anchoring, the binocular disparity generation function fused with semantic prior and geometric anchoring provided by the method of this invention can be directly integrated into the terminal, or a client for implementing the method of this invention can be installed. Alternatively, the method provided by this invention can also run on servers or other devices in the form of a Software Development Kit (SDK), providing an interface for the binocular disparity generation function fused with semantic prior and geometric anchoring in the form of an SDK. Terminals or other devices can then implement the binocular disparity generation function fused with semantic prior and geometric anchoring through the provided interface. The invention will be further described below with reference to the accompanying drawings.

[0042] like Figures 1-6 As shown, this invention provides a binocular disparity generation method that integrates semantic prior and geometric anchoring. The method includes the following steps:

[0043] S01. Create, generate, and acquire a first view and a second view corresponding to the target scene, and acquire text prompts corresponding to the target category, surface type, and / or structure type in the target scene. Call the open vocabulary semantic cognitive model to perform target localization and instance segmentation on the first view according to the text prompts, and generate corresponding instance segmentation results that include instance masks, semantic categories, and pixel-level boundaries; wherein, the instance segmentation results are used to indicate multiple instances in the target scene.

[0044] S02. Using the first view as a reference, perform binocular stereo matching to process the first view and the second view, and generate an initial disparity map corresponding to the pixel coordinate system of the first view.

[0045] S03. Construct a structured prior based on the instance segmentation results, and extract pixels that meet the predetermined confidence criteria from the initial disparity map within the disparity recovery space of each instance, using them as geometric anchor points of the instance. Perform disparity generation processing based on the local morphology model and the geometric anchor points, and output conditionally generated disparity. The structured prior is used to define the disparity recovery space range corresponding to each instance and indicate the local morphology model of the instance.

[0046] S04. Based on the first confidence level corresponding to the initial disparity map, the second confidence level corresponding to the conditionally generated disparity, and the global uncertainty corresponding to the instance, the initial disparity map and the conditionally generated disparity are weighted and fused to construct a corresponding fused disparity map.

[0047] The step of constructing a structured prior based on the instance segmentation results, extracting pixels that meet a predetermined confidence criterion from the initial disparity map within the disparity recovery space of each instance as geometric anchor points of the instance, and performing disparity generation processing based on the local morphology model and the geometric anchor points to output conditionally generated disparity, further includes:

[0048] S031. Create the boundary of the spatial range based on the instance segmentation result, and construct a corresponding boundary protection region at the boundary; wherein, the boundary is determined by at least one of the semantic boundary, the image gradient boundary and the abrupt boundary of the initial disparity map; the boundary protection region is used to suppress the propagation of disparity information across the boundary.

[0049] The step of constructing a structured prior based on the instance segmentation results, extracting pixels that meet a predetermined confidence criterion from the initial disparity map within the disparity recovery space of each instance as geometric anchor points of the instance, and performing disparity generation processing based on the local morphology model and the geometric anchor points to output conditionally generated disparity, further includes:

[0050] S032. Establish multiple candidate morphological models corresponding to the instance based on the semantic category; generate and obtain the three-dimensional point set corresponding to the instance in the initial disparity map;

[0051] S033. The three-dimensional point set is used to evaluate the fit of the multiple candidate morphological models, and the local morphological model and its morphological confidence corresponding to the instance are selected from the multiple candidate morphological models based on the degree of support of the semantic category for the candidate morphological model and the fitting evaluation result; wherein, the fitting evaluation result depends on at least one of the following: the proportion of fitted inliers, the fitting residual, and the stability of the model parameters.

[0052] The step of constructing a structured prior based on the instance segmentation results, extracting pixels that meet a predetermined confidence criterion from the initial disparity map within the disparity recovery space of each instance as geometric anchor points of the instance, and performing disparity generation processing based on the local morphology model and the geometric anchor points to output conditionally generated disparity, further includes:

[0053] S034. Divide the instance into multiple local windows; generate surface parameter forms corresponding to each local window according to the local morphology model, fit the local surface equation using the geometric anchor points within the local window, and generate local disparity prediction values ​​for pixels within the local window according to the local surface equation; wherein, the conditionally generated disparity is obtained by fusing the local disparity prediction values ​​of each local window.

[0054] S035. For any pixel, perform distance-weighted fusion on the local disparity prediction values ​​corresponding to the multiple local windows covering the pixel to generate a corresponding multi-window fused disparity; wherein, the weight of the distance-weighted fusion is positively correlated with the coverage density of the geometric anchor points in the corresponding local window and negatively correlated with the distance from the pixel to the center of the window;

[0055] S036. Extract the high-frequency residual components of the initial disparity map relative to the multi-window fused disparity; and inject the portion of the high-frequency residual components that has passed the multi-view consistency check as detail compensation amount back into the multi-window fused disparity to form the conditionally generated disparity.

[0056] The step of weightedly fusing the initial disparity map and the conditionally generated disparity based on the first confidence level corresponding to the initial disparity map, the second confidence level corresponding to the conditionally generated disparity, and the global uncertainty corresponding to the instance to construct a corresponding fused disparity map further includes:

[0057] S041. Construct the fusion weight corresponding to the conditionally generated disparity based on the first confidence level, the second confidence level, and the global uncertainty; wherein the fusion weight is positively correlated with the second confidence level and negatively correlated with the first confidence level, the global uncertainty, and the boundary risk value of the pixel position.

[0058] The global uncertainty is determined by at least one of the following parameters:

[0059] The disparity prediction variance of multiple sub-regions within the instance, the sensitivity of the parameters of the local morphology model to changes in the geometric anchor point, and the proportion of geometric interior points within the instance that can be reasonably explained by the local morphology model.

[0060] The method further includes:

[0061] S051. Reproject the fused disparity map into a three-dimensional point cloud;

[0062] S052. Based on the local geometric features of the three-dimensional point cloud, perform a consistency check on the instance segmentation result, and in response to the check result, adjust the spatial range or the local morphological model in the structured prior.

[0063] Specifically, such as Figure 2As shown, in the semantic cognition and stereo geometry collaborative model structure of this invention, to address the problem of matching holes and incorrect depth that easily occur in traditional binocular reconstruction at weak textures, repetitive textures, reflections, occlusions, and complex object boundaries, this solution constructs a point cloud generation model jointly driven by large-model semantic cognition and binocular measurable geometry. This model does not directly regress absolute depth using a large visual model, but instead utilizes the large model to extract scene semantics, instance boundaries, target categories, and latent shape attributes. It then provides the true spatial scale using binocular matching results and obtains a complete disparity field through instance-conditional disparity generation and credibility-gated fusion.

[0064] The model consists of a semantic cognition branch, a solid geometry branch, a semantic geometry prior generation module, an instance conditional disparity generation module, and a point cloud consistency correction module. The semantic cognition branch takes the left view as its primary input and utilizes an open-vocabulary object detection model and a segmentation base model to extract target instances, region categories, and pixel-level boundaries from the scene. The solid geometry branch takes the corrected left and right images as input and generates initial disparities with real-scale dimensions and their confidence scores through multi-scale stereo matching, left-right consistency checks, and candidate disparity fusion. The results from both branches are jointly encoded in the semantic geometry prior generation module, transforming the 2D instance mask into a structured representation with region extent, boundary type, candidate surfaces, and reliable stereo anchor points.

[0065] Let the corrected left and right images be and The semantic cognitive branch can be represented as

[0066] (1)

[0067] The above equation transforms the original image into semantic conditions that can participate in disparity generation. In the equation, This represents an open-lexical semantic foundation model. Textual hints describing the type of target, surface, and structure. For semantic features, This represents the instance segmentation results. Text prompts are not limited to fixed categories; semantic descriptions such as walls, floors, building facades, pipes, columns, equipment, vehicles, holes, cracks, and components can be added based on the application scenario, allowing the model to adapt to different reconstruction tasks without retraining the category detector. The solid geometry branch is represented as follows:

[0068] (2)

[0069] The purpose of the above formula is to provide real geometric anchor points for subsequent semantic guidance generation. Wherein, This is a binocular geometry calculation module. As the initial parallax, This branch provides confidence in stereo observations. It employs established techniques such as epipolar correction, semi-global stereo matching, multi-scale matching, and left-right consistency verification, without reiterating their fundamental principles. Its role is to provide measurable depth and reliable spatial anchors for subsequent generation processes, rather than independently completing all disparity recovery.

[0070] Semantic and geometric information are connected through intermediate prior representations:

[0071] (3)

[0072] The calculation result of the above formula is used to convert the two-dimensional semantic result into geometric conditions for constrained disparity recovery. Wherein, This is a semantic geometry prior generation module. It includes information such as instance attribution, boundary protection, local shape, anchor point distribution, and regional uncertainty. The final disparity is obtained jointly by the instance condition generator and the credibility-gated fusion unit.

[0073] (4)

[0074] In the formula, This represents the final disparity field after semantic-geometric constraints and confidence level fusion. For instance-conditional parallax generation and fusion modules, This represents the initial parallax. Instead of generating depth from random noise, the method recovers missing disparity, corrects low-confidence results, and preserves true structural boundaries under the constraints of binocular anchor points. Therefore, the generation described in this embodiment is a disparity generation constrained by geometric scale and observational evidence, rather than an unconditional 3D inference that relies entirely on prior data.

[0075] In terms of model structure, the semantic cognition branch and the solid geometry branch remain relatively independent. When the semantic large model misclassifies a category, it does not directly change the high-confidence binocular measurement; when binocular matching fails in weak texture regions, the local continuous structure can be recovered by utilizing the instance range and shape attributes provided by the large model. The two are softly fused through confidence gating, enabling the system to possess both the large model's cognitive ability for scene objects and structural relationships, and to retain the true scale and geometric interpretability of traditional binocular vision.

[0076] Unlike common point cloud cropping methods after semantic segmentation, this embodiment further converts the large model output into disparity field generation conditions. Instance masks are not only used to preserve or delete point clouds, but also participate in determining which pixels can share the geometric model, which regions can recover depth, and which boundaries must prevent disparity propagation. Thus, the large model transforms from an auxiliary recognition module after point cloud generation into a priori driving module in the point cloud formation process.

[0077] In the large-model-driven semantic geometry prior generation of this scheme, such as Figure 3 As shown, the open-vocabulary visual large model first locates targets and surfaces in the image based on text prompts, and then generates pixel-level instance masks through a segmentation base model. Directly using segmentation masks to constrain depth carries significant risks. On the one hand, the instance boundaries output by the large model may have offsets of several pixels; on the other hand, objects of the same semantic category may not have exactly the same geometry. For example, areas identified as ground may contain slope variations and local undulations, and targets identified as pipes may only show local curved surfaces. Therefore, this embodiment does not convert semantic categories into deterministic geometric templates, but instead constructs a priori generation method that combines semantic proposal, stereo verification, and confidence control. Specifically, following the order of instance range determination, boundary protection, candidate morphology proposal, binocular geometric verification, and prior reliability evaluation, two-dimensional semantic instances are gradually converted into structured priors that can participate in disparity recovery.

[0078] First, region attribution is established based on the instance mask. If pixels p and q belong to the same instance, they are allowed to share local geometric information while satisfying spatial distance and image edge conditions; if they belong to different instances, direct parallax propagation is prohibited. This constraint is expressed as follows:

[0079] (5)

[0080] In the formula, This represents the semantic adjacency state between pixel p and pixel q; p and q represent the instance labels of the two pixels, respectively. For background regions without explicit instance labels, image color, gradient, and initial disparity are used to jointly determine local adjacency relationships.

[0081] Semantic adjacency is used to determine the basic range within which local geometric information can propagate. When When two pixels are considered to have the same instance affiliation, whether they can share disparity still requires further examination of image edges and depth boundaries; when Even if two pixels have similar colors or textures, parallax cannot be directly propagated between them. Therefore, instance masks... First, the external scope of disparity recovery is given, and then the semantic adjacency relation is used to convert this scope into a pixel connection structure that can be used for subsequent local modeling.

[0082] Secondly, a semantic boundary protection band is constructed based on the instance mask. Small-scale dilation and erosion are performed on the mask to obtain the uncertain region near the instance boundary. This region is not directly deleted, but its disparity generation and smoothing weights are reduced. The semantic boundary, together with the image gradient boundary and the initial disparity abrupt change boundary, forms a composite edge constraint.

[0083] (6)

[0084] In the formula, B(p) on the left side of the equal sign represents the overall risk level of pixel p being located near the boundary of the real space; , and These represent semantic boundaries, image edges, and parallax edge responses, respectively.

[0085] This composite form indicates that the algorithm reduces the cross-boundary completion strength whenever there is any evidence that a real spatial boundary may exist at that location. Compared to relying solely on image gradients, this method can identify boundaries between objects that are similar in color but belong to different objects; compared to relying solely on semantic segmentation, it can preserve fine geometric structures that are not recognized by large models. Based on the composite boundary response, in the instance mask... Further extract the boundary protection region of the j-th instance:

[0086] (7)

[0087] In the formula, This represents the set of pixels within the j-th instance that require constraints on parallax propagation and surface smoothing. This is the threshold for determining boundary risk. From instance mask With pixel-level boundary response Together, we determine the method used to further divide the internal region of an instance into a continuously modelable region and a boundary protection region. Pixels within the region will not be directly deleted, but subsequent local windows cannot cross this region, fitting pixels on both sides of the boundary to the same continuous surface; the support of neighborhood anchor points for the pixels to be recovered cannot propagate across high-risk boundaries. Therefore, Used to limit the overall scope of an instance. This is used to protect against potential discontinuities in the actual depth within the instance. Together, these factors determine the spatial range for subsequent anchor point selection, local window division, and parallax generation.

[0088] Let the initial binocular parallax field be For instance masks The effective pixels within the range are used for 3D reprojection based on their initial parallax and binocular camera parameters to obtain the initial 3D point of instance j. Further boundary protection areas are then removed. The points within the range are checked for effective parallax range, reasonable depth range, and spatial outliers to form the initial three-dimensional support point set for instance j. .therefore, Each 3D point in the image originates from the initial disparity field. The corresponding reference image pixel positions and initial disparity information are preserved. This point set is used to describe the existing spatial structure of the instance and provides observational basis for the geometric verification of different candidate shape models.

[0089] Here It primarily serves as a preliminary evaluation tool for candidate morphologies, determining whether a plane, cylindrical surface, spherical surface, or segmented local curved surface can reasonably explain the existing three-dimensional structure of an instance. It is not directly used for generating missing disparities, nor is it the reliable stereo anchor point set formed after undergoing a more rigorous consistency check as described above. For candidate models Using a set of three-dimensional support points A robust fit is performed, and the proportion of fitted in-place points, robust residuals, and parameter stability of the model are calculated. Based on this, an evaluation function for the candidate model is defined:

[0090] (8)

[0091] In the formula, This indicates the overall applicability of candidate form m to instance j; To fit the proportion of inlier points to the model; To robustly fit the residuals; This refers to the change in model parameters during the iteration process; and This is the scaling parameter for residual and parameter stability; For semantic categories Support the prior probability of candidate form m.

[0092] A higher proportion of inliers results in a smaller fitting residual and more stable parameter changes. The larger the semantic category, the narrower the search range for candidate models, but it cannot cover binocular observations; binocular point clouds can reject semantic assumptions that do not conform to actual shapes and provide a true geometric basis for shape selection in locally missing regions. Therefore, This also reflects the degree of support of the semantic category for the candidate morphology and the actual interpretability of the candidate morphology for existing binocular points. After all candidate morphologies have been evaluated, the local morphological type adopted by the j-th instance is represented as:

[0093] (9)

[0094] The corresponding local morphological reliability is expressed as:

[0095] (10)

[0096] In the formula, This represents the local morphological type proposed by the semantic category and determined after initial binocular geometric verification; Let j be the set of candidate forms for instance j; Indicates the selected form The reliability of the interpretation of the existing geometry of the current instance. Therefore, Instead of simply assigning morphological labels based on semantic categories, candidate morphologies are processed using binocular point sets. The selection results after verification.

[0097] When a plane, cylindrical surface, or sphere can stably interpret the point cloud inside an instance, the corresponding candidate morphology receives a high evaluation. For instances that cannot be stably interpreted by a plane, cylindrical surface, or sphere, the model automatically switches to a freeform surface mode, without forcibly imposing an analytical shape. When the evaluation values ​​of multiple candidate morphologies are close, a weighted combination of multiple low-degree-of-freedom models can be used to reduce abrupt changes in local disparity caused by morphology switching. After the instance mask, boundary protection region, local morphology, and their reliability are determined, the semantic-geometric prior representation of the j-th instance is as follows:

[0098] (11)

[0099] In the formula, This represents the semantic-geometric prior formed for the j-th instance before anchor point extraction and local disparity generation; For instance mask; This is the instance boundary protection area; The local morphology is determined after semantic proposal and binocular geometric verification; To assess the reliability of this morphology in interpreting the geometric structure of instances.

[0100] in, and Together they define the spatial range of parallax generation. Determine the appropriate low-frequency geometric transformations to use within the instance. This controls the strength of the effect of this geometry in subsequent calculations. Therefore, The 2D semantic results are transformed into structured priors that directly control anchor point selection, local modeling, and disparity generation. The semantic geometric priors of all instances collectively constitute a scene-level semantic geometric prior field. Subsequent processing no longer uses uniform parameters across the entire disparity map, but instead independently determines anchor point selection criteria, local window size, surface degrees of freedom, and allowed disparity recovery range for each instance. This allows for the recovery of weakly textured regions using continuous relationships within the same instance, and also prevents error depth propagation between the foreground and background through instance boundaries.

[0101] To reduce the impact of missegmentation of large models in complex scenes, this embodiment further introduces geometric reverse verification. If a stable depth fault exists within the same semantic instance, and the fault is consistent with the changes in image gradient and 3D normal, then the mask is considered to have merged two spatial surfaces, and the instance is segmented again along the geometric fault. Conversely, if two adjacent instances are semantically different, but their depth, normal, and color are continuous, and the semantic confidence is low, then only weak boundary constraints are retained, and geometric propagation is not completely blocked. After geometric reverse verification is completed, the corresponding instance mask... Boundary protection area Local morphology and reliability Updated synchronously with instance partitioning results, enabling This becomes a dynamic prior formed after mutual verification between 2D semantics and initial 3D geometry. This mechanism can reduce the propagation of segmentation boundary offset and instance merging errors into the point cloud generation process. Based on this, reliable stereo anchor points are further extracted in the following section. This transforms semantic geometric priors into local disparity models with absolute scale.

[0102] For instance-conditional anchored disparity generation, such as Figure 4 As shown, traditional parallax hole filling typically employs nearest-neighbor interpolation, median diffusion, or guided filtering. These methods primarily rely on pixel distance, local grayscale, and neighborhood parallax for information propagation, lacking an understanding of the spatial surface to which pixels belong, making it difficult to determine whether neighboring effective parallax belongs to the same 3D structure as the region to be restored. When the two sides of an object's boundary have similar colors, or when planes, curved surfaces, and local undulations coexist within the same instance, conventional methods are prone to propagating erroneous parallax across the true depth boundary or over-smoothing local structures with actual geometric significance.

[0103] To address the aforementioned issues, this embodiment designs an anchored disparity generation module based on instance conditions, using semantic instances, local morphological priors, and reliable binocular observations as disparity recovery conditions. This module does not directly assign depth based on semantic categories, nor does it perform uniform interpolation on all holes within the instance region. Instead, it uses semantic information to determine the region to be recovered, uses boundary constraints to prevent cross-surface propagation, uses local morphological priors to describe the disparity variation trend within the instance, and uses binocular observations to provide realistic scale constraints. Through this approach, disparity generation is no longer simply based on information completion from the image neighborhood, but rather a constrained geometric recovery based on existing spatial observations.

[0104] Before generating instance-conditional disparity, an initial observation disparity field is first established using a binocular geometric branch. The epipolar-corrected left and right images undergo multi-scale stereo matching to obtain candidate disparity results at different matching windows and image scales. Subsequently, through left-right consistency checks, multi-scale candidate consistency evaluation, local texture response analysis, and spatial continuity constraints, the candidate disparities are filtered and fused to obtain the initial binocular disparity defined in the left view reference coordinate system. and the corresponding confidence level of stereo observation .in, This represents the initial disparity directly calculated from the pixel correspondence between the left and right images, which serves as the scale basis for subsequent local geometric modeling and 3D reconstruction. Used to describe the reliability of the initial parallax at different pixel locations.

[0105] The semantic geometric prior obtained above The scope of the j-th instance has been defined. Specifically, for the j-th instance, the scope is first defined within the instance region. Remove boundary protection area Then from the initial parallax High-confidence pixels that simultaneously meet the requirements of left-right consistency, multi-scale candidate consistency, and local spatial inspection are extracted to form a reliable set of stereo anchor points:

[0106] (12)

[0107] In the formula, Let J be the set of reliable 3D anchor points for the j-th instance; The anchor point pixel coordinates; True binocular parallax; For stereo confidence; This represents the number of anchor points within the instance.

[0108] Anchor points are the source of absolute scale in the generation process. If an instance does not have enough anchor points, the algorithm only preserves its semantic boundaries and does not generate absolute depth for it. The anchor point selection region is limited to... and This is to avoid using occlusion boundaries, foreground / background boundaries, and parallax abrupt change locations as the basis for surface scale.

[0109] Anchor point screening criteria are also affected by The adjustment. When At higher levels, the local morphology exhibits high consistency with existing point clouds, allowing for the retention of more anchor points while meeting basic stereo confidence requirements; when When the confidence threshold is low, increase the anchor point confidence threshold to retain only observations that are highly stable in both left and right parallax and multi-scale results. This prevents low-reliability morphologies from building erroneous surfaces using a large number of edge observations or questionable parallax.

[0110] For large-area instances, they are divided into overlapping local windows. The size of the local windows is automatically adjusted based on the instance scale, anchor point density, and initial parallax variation. Smaller windows are used when anchor points are dense and surface variations are complex, while larger windows are used when anchor points are sparse and the surface is relatively smooth. This strategy avoids using a uniform plane for the entire instance and also reduces the problem of fixed windows being unable to adapt to both large and small targets simultaneously. The division of local windows is also influenced by… , and Constraints. A window cannot cross... Merge and fit two potential spatial surfaces; Used to determine the basic form of the surface within the window; Used to adjust the window size and allowable extrapolation distance. When morphological reliability is low, a smaller window is used for conservative restoration even if the instance area is large.

[0111] Within the k-th local window, a low-degree-of-freedom surface is used to describe the variation of disparity with image coordinates: (13)

[0112] In the formula, the left side of the equal sign This represents the low-frequency disparity predicted by the k-th local window at position (x, y); For constant terms; and Describes the linear change of parallax along the directions of two images; , and This describes the local curvature and orientation coupling changes. The result of the above equation is used to recover the low-frequency continuous structure within the instance. For instances that are semantically and geometrically identified as planar or unidirectionally curved surfaces, unnecessary higher-order terms can be removed, reducing the model's degrees of freedom. For free-form surface instances, their changes are approximated by multiple overlapping local windows, rather than using a single higher-order global surface. Specifically, when When it is a planar shape, only retain , and ;when When the bending shape is unidirectional, the corresponding quadratic term is retained only in the main direction of change; when When the surface is a general gradually changing surface, the complete quadratic term is retained; when When creating piecewise freeform surfaces, multiple low-degree-of-freedom windows are used to collectively represent complex variations. Therefore, the above-derived... It directly determines the local surface parameter structure, rather than merely serving as an additional label for the instance.

[0113] The model parameters are estimated using robust least squares estimation with dual weights. The weights for each anchor point simultaneously consider the confidence level of the stereo observations and the current fit residuals.

[0114] (14)

[0115] In the formula, The optimal surface parameters for k local windows; Let be the vector of surface parameters to be estimated; This represents the number of anchor points within the window. Let be the stereo confidence level of the i-th anchor point; For anchor point parallax; For surface basis functions; It is a robust loss function.

[0116] High-confidence binocular anchor points have a larger weight in the fitting process, while anchor points with abnormal residuals are automatically downweighted during iteration. This method avoids a small amount of erroneous parallax altering the generated surface of the entire instance. After the local surface fitting is completed, the window reliability is updated based on the proportion of fitted inliers, the high quantile of the residuals, and parameter stability, thus improving the candidate morphology evaluation. Whether a window can participate in disparity generation is determined by both the quality of the local actual fit and the quality of the fit.

[0117] Unlike traditional methods that directly replace disparity after surface fitting, this embodiment employs a separation of observation preservation and missing data generation in its update approach. For pixels that originally possessed effective disparity, only minor corrections are made when their stereo confidence is low and the local model reliability is high. For pixels with invalid original disparity, restoration is only allowed after simultaneously satisfying conditions related to semantic attribution, anchor point distance, local support, boundary risk, and model uncertainty. The pixel generation gating is defined as follows:

[0118] (15)

[0119] In the formula, is the generation gate value for pixel p; Confidence of semantic instances; For local model confidence; The degree of support of neighboring anchor points; For border risks; This represents the generation uncertainty of the local region where the pixel is located. Only when... Only when the pixel size exceeds a set threshold will it enter the generation area. Reliability of instance form Together with the current local window fitting quality, the candidate morphology evaluation results are determined so that they can continue to be applied to the pixel-level generation gating. This primarily reflects whether multiple local windows covering the pixel provide consistent predictions, whether the pixel is far from reliable anchor points, and whether the current prediction belongs to a large extrapolation range. Semantic confidence, local model confidence, and anchor point support constitute positive evidence for permissible generation, while boundary risk and local uncertainty constitute suppression terms. If the pixel's semantic attribution is unstable, the local surface fitting quality is low, or the neighborhood lacks reliable anchor points, the gate value is reduced; even if the model is reliable overall, when the pixel is close to the semantic boundary, image edge, or disparity abrupt change location, generation will be restricted by boundary terms.

[0120] The generated disparity is not directly equal to the local model prediction. Multiple overlapping windows may simultaneously cover the same pixel. In this embodiment, the candidate results are fused based on the window center distance, model residual, and anchor point coverage.

[0121] (16)

[0122] In the formula, Low-frequency generated parallax is obtained by fusing multiple local windows; For the set of local windows covering pixel p; Let be the reliability weight for the k-th window; For the disparity prediction of the k-th window; To prevent tiny positive numbers with a denominator of zero.

[0123] Window edges have lower weights, while the central region has higher weights; windows with a sufficient number of anchor points and small fitting residuals have larger weights. Furthermore, It is also affected by the reliability of instance form. The quality of local window fitting is adjusted in conjunction with the overall quality. When When the window's fitting result is low or significantly inconsistent with other overlapping windows, the window's contribution to the final generated disparity decreases accordingly. Weighted fusion of multiple windows can avoid noticeable disparity seams between adjacent windows. Large, smooth instances can be represented by multiple large windows forming a continuous low-frequency surface, while areas with more complex local variations are represented by multiple small windows, thus balancing overall instance continuity and local adaptability.

[0124] To avoid over-smoothing of real details by local surfaces, a residual detail back-injection mechanism is added to the generated disparity. For regions with valid observations, the high-frequency residuals of the initial disparity relative to the local surface are calculated, and only the residual components supported by multi-scale disparity candidates are retained. After spatial propagation, the reliable residuals are re-superimposed onto the generated surface.

[0125] (17)

[0126] In the formula, Generate disparity for instance conditions; Low-frequency parallax obtained through multi-window fusion; For reliable local details; The detail retention coefficients are determined by texture intensity, boundary risk, and candidate consistency. Smooth, weakly textured regions are primarily recovered by low-frequency surfaces, while texture-rich regions retain more original geometric details. Reliable residuals exist only within the same instance and do not span across instances. The residual propagates within the region. Locations with rich textures, consistent multi-scale parallax, and far from the boundary have a higher detail retention coefficient; low-frequency surfaces are mainly used in weakly textured regions to avoid re-injecting random parallax ripples into the generated result; semantic boundaries and geometric abrupt changes limit the propagation of residuals across regions.

[0127] This process forms a structural condition generation method: semantic instances determine the generation region, binocular anchors provide the absolute scale, morphological priors constrain the change pattern, multi-window models describe local continuity, and reliable residuals recover details. Compared to simple geometric interpolation, this method can utilize a large model's understanding of the object's overall structure; compared to monocular depth generation, its absolute scale and main morphology are both constrained by binocular observation. From the data transfer relationship between the above technical components, firstly, the aforementioned... , , and First, the instance range, boundary constraints, local surface form, and geometric constraint strength are controlled respectively. Second, the anchor point set is further obtained under these prior conditions. Local window surface Low-frequency fusion parallax and final conditional generation of parallax This forms a continuous computational process from semantic region parsing and geometric morphology verification to measurable disparity generation.

[0128] For regular instances such as planes, cylinders, and spheres, this embodiment further performs weak shape projection in the point cloud domain. Taking a cylinder instance as an example, the axis and radius are first estimated from valid points, and then the points within the model are made with limited radial correction. The correction intensity is related to the model residuals and the original solid confidence level; high-confidence measurement points only undergo minor adjustments, while low-confidence generated points are allowed larger corrections. This weak projection differs from forcing all points onto an analytical surface, and can preserve local surface details and manufacturing errors while utilizing regular shape priors. For instances with low accuracy, insufficient anchor point distribution, or significant discrepancies in predictions across multiple local windows, large-scale weak shape projection is not performed; instead, only the original reliable points and locally controlled generation results are retained.

[0129] After anchor point selection, local surface estimation, multi-window fusion, and residual detail restoration, this solution outputs instance-conditional parallax. This process preserves the fitting residuals, parameter stability, and prediction differences in overlapping regions for each local window. These results will be used below to calculate instance-level generation uncertainty and to control the gated fusion of initial and generated disparities.

[0130] For gating fusion of uncertainty perception, such as Figure 5 As shown above, in the instance mask... Boundary protection area Local morphology and morphological reliability Under the common constraints, reliable stereo anchor point extraction, local surface estimation, multi-window disparity fusion, and reliable detail restoration were completed, resulting in instance-conditionally generated disparity. This result can effectively fill disparity holes in weakly textured regions, but its reliability is still affected by factors such as semantic segmentation errors, insufficient number of anchor points, uneven spatial distribution of anchor points, and biases in local morphological assumptions. If used directly... Replacing the initial parallax may propagate local surface extrapolation errors to areas that originally had reliable observations; conversely, completely retaining the initial parallax fails to leverage the semantic geometric prior for recovering low-observable areas. Therefore, this embodiment constructs an uncertainty-aware gated fusion module that performs pixel-level adaptive combination of the original stereo observations and the instance-condition-generated results based on their reliability.

[0131] The initial disparity confidence is jointly determined by left-right consistency, multi-scale candidate consistency, local texture response, and disparity search location. If the left and right disparities can be reprojected onto each other, the results obtained from multiple matching windows are similar, and the local region has relatively obvious texture, then the stereo observation confidence of that pixel is high. If a pixel is supported only by a single candidate disparity, has weak local texture, or is located at the occlusion boundary or the edge of the disparity search range, then its stereo observation confidence is correspondingly reduced.

[0132] The generated disparity confidence score is jointly determined by semantic instance quality, local surface fitting residuals, number of anchor points, spatial distribution of anchor points, consistency of multi-window predictions, and morphological reliability. A high semantic confidence score only indicates that a pixel has a relatively stable instance attribution; it cannot alone prove the reliability of the generated disparity. When anchor points within an instance are concentrated in a small region, local surface parameters are highly sensitive to changes in anchor points, or there are significant differences in disparity predictions given by multiple overlapping windows, the generated disparity confidence score should still be reduced.

[0133] Therefore, before performing pixel-level fusion, the generation uncertainty of the entire instance is first evaluated based on the local window prediction, surface parameters, and geometric interior point statistics retained above. The uncertainty of the j-th instance is expressed as:

[0134] (18)

[0135] In the formula, The generation uncertainty of the j-th instance; For the disparity prediction of the k-th local window in instance j; The number of effective local windows covering instance j; Var() is the variance between the prediction results of different local windows; This represents the change in local surface parameters during sampling or iteration at different anchor points; The proportion of geometric interior points within the instance that can be interpreted by the stability of the selected local morphology; , and The weights are the three uncertain components.

[0136] The first term evaluates the consistency of predictions from multiple overlapping windows for the same instance. Significant differences in disparity between windows in the overlapping region indicate that the instance may contain multiple depth layers, or that the current local morphology is insufficient to stably describe its spatial structure. The second term reflects the sensitivity of local surface parameters to anchor point selection. Greater parameter variations indicate greater sensitivity of the model to local observation disturbances. The third term evaluates the proportion of effective points within the instance that support the local morphology; a lower proportion of inliers indicates that the current morphology can only explain a limited amount of binocular observation.

[0137] when When the value is small, it indicates that multiple local windows predict consistently, surface parameters are stable, and most valid points can be interpreted by the current shape, meaning the instance condition generation results can participate normally in disparity fusion. When When the residual value is large, the system as a whole reduces the intensity of the generated parallax within instance j, rather than simply deleting a small number of high residual pixels. This region-level control avoids large-scale completion of the entire instance supported by a few concentrated anchor points, and can also identify cases where the instance contains multiple spatial surfaces.

[0138] After completing the instance-level uncertainty evaluation, the information obtained above can be used to form a unified complete semantic geometric state of the instance:

[0139] (19)

[0140] In the formula, The complete semantic geometry state of the j-th instance; For instance mask; This is the instance boundary protection area; The local morphology is determined after semantic proposal and binocular geometric verification; To ensure the reliability of the geometric interpretation of this morphology; A set of reliable 3D anchor points within the instance; Uncertainty is generated at the instance level.

[0141] in, and Together they define the spatial range of parallax recovery. Determine the basic representation of the local surface; The intensity of the effect of controlling local morphology; Provides binocular observations at a true scale; This suppresses unstable generation at the instance-wide level.

[0142] Complete state It is used to control the parallax fusion at the current stage and is also retained with the final point cloud to record the semantic, geometric and uncertainty information corresponding to the generated points.

[0143] In pixel-level fusion, the final parallax is written as:

[0144] (20)

[0145] and satisfy In the formula, The final fused parallax for pixel p; This represents the initial binocular parallax. Generate disparity for the instance conditions obtained above; The initial disparity fusion weights; To generate the fusion weights for disparity.

[0146] The weight constraints indicate that the final result is an adaptive combination of the initial stereo observations and the conditions generated.

[0147] When the original binocular disparity has a high confidence level The initial disparity is relatively large, and the final result mainly retains the actual observations; when the initial disparity is missing or has low reliability, but the generated disparity has sufficient semantic, geometric, and anchor point support, Increase. This update method avoids local curved surfaces directly covering high-quality binocular measurements.

[0148] To allow instance-level uncertainty to participate in pixel fusion, the generated disparity weights are represented as follows:

[0149] (twenty one)

[0150] In the formula, The contribution ratio of generated disparity to the final disparity; The generated disparity confidence for pixel p; The initial confidence level for stereo observations; B(p) represents the generation uncertainty of the instance to which pixel p belongs; B(p) represents the pixel-level composite boundary risk. To prevent tiny positive numbers with a denominator of zero.

[0151] The semantic instance quality, local surface fitting residuals, anchor point support, and morphological reliability are all considered. It is determined together with the consistency of overlapping windows. The weight is determined by left-right consistency, multi-scale candidate consistency, local texture, and effective disparity range. Therefore, this weight not only compares the pixel-level credibility of the two types of disparity, but also considers the overall stability of the instance and the true structural boundary.

[0152] When multiple windows within an instance predict consistently, surface parameters are stable, and the proportion of interior points is high. Smaller, the generation of parallax can be based on Normal participation in fusion. However, when there is significant divergence in local window predictions, insufficient anchor point distribution, or unstable morphological assumptions... As the generative confidence increases, the overall contribution of generated disparity is suppressed. Even with high generation confidence, when pixels are located near instance boundaries, occlusion boundaries, or abrupt depth changes, the disparity contribution is still suppressed. It will also reduce its fusion strength.

[0153] In the high-confidence binocular region The initial disparity is relatively large, and the fusion result mainly retains the initial disparity. In regions where the initial disparity is missing and the generation conditions are sufficient, Approaching zero, generated disparity becomes the primary source of information. However, invalid initial disparity does not mean that generated results are used unconditionally. Generated disparity is only used for reconstruction when semantic attribution is stable, local morphology is reliable, anchor point support is sufficient, instance uncertainty is low, and pixels are far from high-risk boundaries. Locations where reliable binocular observation and generated support cannot be obtained remain holes and are marked as low-observable areas.

[0154] After fusion is complete, the final parallax Simultaneously, it preserves the true scale of high-confidence binocular observations and the spatial continuity of the instance-conditional generation results. For pixels with valid initial disparity but low confidence, the fusion result exhibits a geometric correction with limited amplitude; for pixels with invalid initial disparity but sufficient generation conditions, the fusion result exhibits depth recovery constrained by anchor points and local morphology; for pixels with insufficient evidence, no unfounded completion is performed. This embodiment not only outputs the final fused disparity... It also retains point-level stereo confidence, generation confidence, instance uncertainty, boundary risk, and disparity sources. This information will be transformed into 3D space along with the disparity in the next article and used to determine whether the 2D semantic region matches the actual point cloud structure.

[0155] For two-dimensional semantic and three-dimensional geometric closed-loop correction, such as Figure 6 As shown, this scheme obtains the final parallax through gating fusion with uncertainty perception. However, the disparity map still belongs to the two-dimensional image coordinate domain. The continuity of local surfaces within the disparity domain does not necessarily mean that the reprojected 3D points will satisfy the true spatial structure. Especially at long distances, near small disparities, and near occlusion boundaries, small disparity errors can be amplified into significant depth deviations. Therefore, this scheme first converts the final disparity into a spatial point cloud, and then uses the depth, normal, curvature, and boundary relationships of the point cloud to inversely correct the two-dimensional semantic instances and local generation results.

[0156] Let the image coordinates of pixel p be (u, v), the corrected equivalent focal length be f, and the binocular baseline length be... The spatial depth corresponding to a pixel is represented as

[0157] (twenty two)

[0158] In the formula, Z(p) is the depth of the spatial point corresponding to pixel p in the camera coordinate system; f is the equivalent focal length after epipolar correction; The binocular baseline length between the optical centers of the left and right cameras; This represents the final disparity obtained above. Here, we use... This represents the baseline length, to distinguish it from the composite boundary response B(p).

[0159] Parallax and depth are inversely proportional. The greater the parallax, the closer the spatial point is to the camera; the smaller the parallax, the greater the corresponding depth. For distant targets, the same amount of parallax error will produce a larger depth error. Therefore, the confidence and uncertainty information obtained above need to be retained along with the spatial point.

[0160] Combining the camera principal point and the equivalent focal lengths in the two image directions, the spatial horizontal and vertical coordinates can be further expressed as:

[0161] (twenty three)

[0162] In the formula, X(p), Y(p), and Z(p) are the coordinates of the spatial point in the three directions of the camera coordinate system, respectively; u and v are the horizontal and vertical coordinates of the pixel; and The coordinates of the camera's principal point; and This represents the equivalent focal length of the image in both the horizontal and vertical directions.

[0163] After performing the reprojection on all valid pixels as described above, a 3D point cloud is obtained, containing color information, semantic instance labels, point-level confidence, instance uncertainty, and source markers. The point cloud sources are categorized into original binocular observation points, locally geometrically weakly corrected points, and instance conditionally generated points. This classification allows subsequent calculations to select appropriate checking and correction intensities based on the observation source of each point.

[0164] Traditional methods typically perform only statistical outlier filtering and smoothing after point cloud generation, with the 2D semantic results no longer participating in subsequent calculations. This one-way process cannot utilize the actual 3D structure to check the rationality of semantic segmentation, nor can it determine whether depth faults within instances are erroneous parallax or actual geometric structures. To address this, our proposed solution constructs a closed-loop correction mechanism for 2D semantics and 3D geometry, reprojecting the generated point cloud onto left and right image instances and performing geometric consistency checks at two locations: within instances and at instance boundaries.

[0165] For 3D points within the same semantic instance, local nearest neighbors are first established, and the local normal and curvature are estimated based on the covariance matrix of the neighboring points. Simultaneously, the neighborhood depth distribution is statistically analyzed. If a small, isolated depth layer appears within the same instance, and this depth layer is inconsistent with image edges, semantic boundaries, local normal variations, and curvature variations, it is considered more likely to be formed by erroneous parallax branches. The system utilizes surrounding high-confidence observation points and local surfaces for limited correction, preventing isolated erroneous points from forming false spatial surfaces within the instance.

[0166] If a stable depth fault exists within the same semantic instance, and the fault location simultaneously corresponds to a significant image gradient, abrupt change in point cloud normal, or local curvature variation, then the depth difference indicates that it provides evidence of a real structure. In this case, instead of smoothing the fault, its 3D geometry is preserved, and the original semantic instance is subdivided based on the fault location. This processing allows the 3D geometry to correct instance merging errors that might arise from the 2D semantic model, preventing the erroneous completion of two consecutive spatial surfaces as the same continuous region.

[0167] For boundaries between different semantic instances, the depth difference, normal difference, color difference, and spatial adjacency of the point clouds on both sides of the boundary are examined. When two different semantic instances remain continuous in 3D space and the semantic confidence is low, it indicates that the boundary may mainly originate from differences in 2D semantic classification, rather than corresponding to a break in the real space. The system accordingly reduces the blocking strength of the boundary, allowing subsequent local processing to maintain surface continuity. When there is a significant depth difference, abrupt change in normal, or spatial separation on both sides of the boundary, boundary protection is strengthened, prohibiting parallax and point cloud smoothing from crossing that location.

[0168] To standardize the evaluation of the consistency between instance internal structure, instance boundaries, and point cloud surface orientation, a comprehensive consistency error between 2D semantics and 3D geometry is defined:

[0169] (twenty four)

[0170] In the formula, The degree of inconsistency between the two-dimensional semantic partitioning and the three-dimensional point cloud structure; For instance-internal region consistency items; This is a consistency term between the two-dimensional semantic boundary and the three-dimensional depth boundary; This is a consistency term between semantic region partitioning and point cloud normal changes; , and These are the weights of the three error terms.

[0171] This primarily evaluates whether there are anomalous depth layers lacking structural evidence within the same semantic instance. This term increases when isolated depth layers appear within an instance, but there are no image edges, abrupt changes in normal, or curvature variations at the corresponding locations. This term is used to evaluate whether the semantic boundary corresponds to the actual 3D depth boundary. It increases when the 3D structures on both sides of the semantic boundary are continuous; it decreases when the semantic boundary coincides with the actual depth fault. This is used to evaluate whether the semantic region matches the orientation changes of the point cloud surface. This item changes accordingly when the normal distribution within the same instance is abnormally split, or when the normals between different instances remain continuous.

[0172] The 2D / 3D consistency assessment does not require each semantic instance to form a perfectly smooth spatial surface, but rather to determine whether the 2D instance partitioning is compatible with the real 3D structure. For structures with true depth faults and normal abrupt changes, the model maintains its original geometry; for isolated depth anomalies lacking multi-source evidence, limited corrections are made using reliable neighborhood points.

[0173] After loop closure correction, necessary outlier removal and weak smoothing are performed on the point cloud. Outlier removal employs local statistical methods, removing obviously isolated points based on nearest neighbor distance, robust depth statistics, and connected component size. Even if a point is located inside a high-confidence semantic instance, it cannot be retained solely based on its semantic label if it lacks neighborhood support in 3D space.

[0174] For areas requiring further noise reduction, weak-intensity moving least-squares smoothing can be used, with the smoothing intensity adjusted according to the local curvature. Low-curvature surfaces allow for moderate smoothing to reduce high-frequency point cloud noise in weakly textured areas; high-curvature edges, small-scale structures, and deep faults retain their original coordinates or undergo only minor adjustments to prevent over-smoothing from causing loss of geometric details.

[0175] The rule-based shape correction within the point cloud domain also employs a weak constraint approach. For the... and For instances verified as planar, cylindrical, or spherical surfaces, finite projection is performed only on low-confidence correction points and conditionally generated points; high-confidence original observation points undergo only minor adjustments. If the instance's anchor point distribution is insufficient, or if there is significant divergence in local window predictions, or... If the value is high, large-scale morphological projection will not be performed; only the original reliable points and locally controlled generation results will be retained.

[0176] After a 3D consistency check, the corrected instance boundaries, geometric reliability, and point-level confidence are fed back into the 2D semantic geometry. If an instance is subdivided by 3D tomography, the instance mask is updated synchronously. and border protection areas If the semantic boundary is determined to lack 3D structural support, the corresponding boundary response is reduced; if the locally generated point behaves stably in 3D space, its point-level confidence is increased. This forms a closed-loop process consisting of 2D semantic proposal, binocular geometric verification, instance condition generation, and 3D structural back-correction.

[0177] The final output includes not only a colored 3D point cloud, but also point-level comprehensive confidence, semantic instance labels, instance morphology, generation uncertainty, and point cloud source. For high-precision geometric analysis, original binocular observation points and high-confidence weak correction points can be used preferentially; for scene modeling and 3D visualization, instance-conditionally generated points can be used simultaneously under confidence constraints to achieve higher spatial completeness. Based on the data transfer relationships described above, this scheme is responsible for forming instance range, boundary protection, local morphology, and morphological reliability; obtaining reliable anchor points and instance-conditionally generated parallax under these prior conditions; adaptively fusing observation parallax and generated parallax based on pixel-level confidence and instance-level uncertainty; converting the fused parallax into a 3D point cloud; and using the actual spatial structure to back-update the 2D semantic region and generation results. These steps are not simply sequential, but rather form a highly complete point cloud generation process with mutual constraints: semantic proposal, geometric verification, conditional generation, uncertainty control, and 3D closed-loop correction.

[0178] To achieve the purpose of this invention, such as Figure 7 As shown, a binocular disparity generation system integrating semantic prior and geometric anchoring is also provided. This system is applied to the binocular disparity generation method integrating semantic prior and geometric anchoring. The system includes:

[0179] A generation unit is created to generate and acquire a first view and a second view corresponding to a target scene, as well as to acquire text prompts corresponding to target categories, surface types, and / or structure types in the target scene. An open-vocabulary semantic cognitive model is invoked to perform target localization and instance segmentation on the first view based on the text prompts, generating corresponding instance segmentation results that include instance masks, semantic categories, and pixel-level boundaries. The instance segmentation results are used to indicate multiple instances in the target scene.

[0180] A stereo matching unit is used to perform binocular stereo matching processing on the first view and the second view, with the first view as a reference, to generate an initial disparity map corresponding to the pixel coordinate system of the first view.

[0181] The prior construction unit is used to construct a structured prior based on the instance segmentation results, and extract pixels that meet a predetermined confidence criterion from the initial disparity map within the disparity recovery space of each instance, as geometric anchor points of the instance, and perform disparity generation processing based on the local morphological model and the geometric anchor points to output conditionally generated disparity; wherein, the structured prior is used to define the disparity recovery space range corresponding to each instance and indicate the local morphological model of the instance;

[0182] The disparity fusion unit is used to perform weighted fusion processing on the initial disparity map and the conditionally generated disparity based on the first confidence level corresponding to the initial disparity map, the second confidence level corresponding to the conditionally generated disparity, and the global uncertainty corresponding to the instance, to construct a corresponding fused disparity map.

[0183] The prior construction unit also includes:

[0184] The first construction module is used to create the boundary of the spatial range based on the instance segmentation result, and construct a corresponding boundary protection region at the boundary; wherein, the boundary is determined by at least one of a semantic boundary, an image gradient boundary, and abrupt boundary of the initial disparity map; the boundary protection region is used to suppress the propagation of disparity information across the boundary;

[0185] The first generation module is used to establish multiple candidate morphological models corresponding to the instance based on the semantic category; and to generate and obtain the three-dimensional point set corresponding to the instance in the initial disparity map.

[0186] The fitting evaluation module is used to evaluate the fitting of the multiple candidate morphological models using the three-dimensional point set, and select one of the multiple candidate morphological models to determine the local morphological model corresponding to the instance and its morphological confidence based on the degree of support of the semantic category for the candidate morphological model and the fitting evaluation result; wherein, the fitting evaluation result depends on at least one of the following: the proportion of fitted inliers, the fitting residual, and the stability of model parameters.

[0187] The first processing module is used to divide the instance into multiple local windows; generate surface parameter forms corresponding to each local window according to the local morphology model; fit the local surface equation using the geometric anchor points within the local window; and generate local disparity prediction values ​​for pixels within the local window according to the local surface equation; wherein the conditionally generated disparity is obtained by fusing the local disparity prediction values ​​of each local window.

[0188] The weighted fusion module is used to perform distance-weighted fusion on the local disparity prediction values ​​corresponding to the multiple local windows covering any given pixel, thereby generating a corresponding multi-window fused disparity; wherein, the weight of the distance-weighted fusion is positively correlated with the coverage density of the geometric anchor points within the corresponding local window, and negatively correlated with the distance from the pixel to the center of the window;

[0189] The extraction and generation module is used to extract the high-frequency residual components of the initial disparity map relative to the multi-window fused disparity; and to inject the portion of the high-frequency residual components that has passed the multi-view consistency check as detail compensation amount back into the multi-window fused disparity to form the conditionally generated disparity;

[0190] And / or, the parallax fusion unit further includes:

[0191] The second construction module is used to construct the fusion weight corresponding to the conditional generation disparity based on the first confidence level, the second confidence level, and the global uncertainty; wherein the fusion weight is positively correlated with the second confidence level and negatively correlated with the first confidence level, the global uncertainty, and the boundary risk value of the pixel position;

[0192] The global uncertainty is determined by at least one of the following parameters:

[0193] The disparity prediction variance of multiple sub-regions within the instance, the sensitivity of the parameters of the local morphology model to changes in the geometric anchor point, and the proportion of geometric in-points within the instance that can be reasonably explained by the local morphology model.

[0194] And / or, the system further includes:

[0195] The second processing module is used to reproject the fused disparity map into a three-dimensional point cloud.

[0196] The verification and adjustment module is used to perform consistency verification on the instance segmentation result based on the local geometric features of the 3D point cloud, and adjust the spatial range or the local morphological model in the structured prior in response to the verification result.

[0197] In the system solution embodiment of the present invention, the specific details of the method steps involved in the generation of binocular disparity by fusing semantic prior and geometric anchoring have been described above. That is to say, the functional modules in the system are used to implement the steps or sub-steps in the above method embodiment, and will not be repeated here.

[0198] To achieve the above objectives, the present invention also provides a binocular disparity generation platform that integrates semantic prior and geometric anchoring, such as... Figure 8As shown, the system includes a processor, a memory, and a control program for a binocular disparity generation platform that integrates semantic priors and geometric anchors. The processor executes the control program, which is stored in the memory. This control program implements the steps of the binocular disparity generation method, the specific details of which have been described above and will not be repeated here.

[0199] In this embodiment of the invention, the built-in processor of the binocular parallax generation platform that integrates semantic prior and geometric anchoring can be composed of integrated circuits. For example, it can be composed of a single packaged integrated circuit, or multiple integrated circuits packaged with the same or different functions. This includes combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor connects to various components using various interfaces and lines, and executes programs or units stored in memory, as well as calling data stored in memory, to perform various functions and process data for binocular parallax generation that integrates semantic prior and geometric anchoring.

[0200] The memory is used to store program code and various data. It is installed in a binocular parallax generation platform that integrates semantic priors and geometric anchors, and enables high-speed and automatic access to programs or data during operation. The memory includes read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0201] To achieve the above objectives, the present invention also provides a computer-readable storage medium, such as... Figure 9 As shown, the computer-readable storage medium stores a control program for a binocular disparity generation platform that integrates semantic priors and geometric anchors. This control program implements the steps of the binocular disparity generation method that integrates semantic priors and geometric anchors. The specific details of the steps have been described above and will not be repeated here.

[0202] In the description of embodiments of the present invention, it should be noted that any process or method description in the flowcharts or otherwise described herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of the present invention includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order according to the functions involved, as should be understood by those skilled in the art to which the embodiments of the present invention pertain.

[0203] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processing module, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, a “computer-readable medium” can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, the computer-readable medium can even be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.

[0204] The present invention creates and acquires a first view and a second view corresponding to a target scene, and calls a semantic cognitive model to perform instance segmentation on the first view to generate a corresponding instance segmentation result; wherein, the instance segmentation result is used to indicate multiple instances in the target scene; and using the first view as a reference, binocular stereo matching is performed on the first view and the second view to generate an initial disparity map corresponding to the pixel coordinate system of the first view; then, a structured prior is constructed based on the instance segmentation result, and within the disparity recovery space of each instance, pixels that meet a predetermined confidence criterion are extracted from the initial disparity map as geometric anchor points of the instance, and the local morphology model is used in conjunction with... The geometric anchor points are subjected to disparity generation processing to output conditionally generated disparities. The structured prior is used to define the disparity recovery space range corresponding to each instance and to indicate the local morphological model of the instance. Then, based on the first confidence level corresponding to the initial disparity map, the second confidence level corresponding to the conditionally generated disparity, and the global uncertainty corresponding to the instance, the initial disparity map and the conditionally generated disparity are weighted and fused to construct a corresponding fused disparity map. The system, platform, and storage medium corresponding to the method are also provided. Using real binocular observation as the scale benchmark and verification basis, through semantically guided generation, uncertainty fusion, and 3D closed-loop correction, a complete, reliable, and realistic 3D point cloud is output.

[0205] In other words, the present invention uses real binocular observation as the scale and verification anchor point, generates instance conditions guided by semantics to fill weak texture holes and uses boundary protection to block cross-object propagation, uses geometric anchor point constraints to ensure the real scale and injects high-frequency details to avoid oversmoothing, uses uncertainty gating to prevent the completion of evidence when it is insufficient to prevent unfounded extrapolation, and uses 3D point cloud reverse verification to correct 2D semantics to achieve geometric and semantic self-consistency, and finally outputs a reliable 3D point cloud with high completeness, real scale, clear boundaries and no blind extrapolation.

[0206] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.

Claims

1. A binocular disparity generation method integrating semantic prior and geometric anchoring, characterized in that, The method includes: Create, generate, and acquire a first view and a second view corresponding to the target scene, and acquire text prompts corresponding to the target category, surface type, and / or structure type in the target scene. Then, call the open vocabulary semantic cognitive model to perform target localization and instance segmentation on the first view according to the text prompts, and generate corresponding instance segmentation results that include instance masks, semantic categories, and pixel-level boundaries. Using the first view as a reference, the binocular stereo matching process is used to generate an initial disparity map corresponding to the pixel coordinate system of the first view. Based on the instance segmentation results, a structured prior is constructed. Within the disparity recovery space of each instance, pixels that meet the predetermined confidence criteria are extracted from the initial disparity map and used as geometric anchors of the instance. Disparity generation processing is performed based on the local morphological model and the geometric anchors, and conditional disparity is generated. The structured prior is used to define the disparity recovery space range corresponding to each instance and to indicate the local morphological model of the instance. Based on the first confidence level corresponding to the initial disparity map, the second confidence level corresponding to the conditionally generated disparity, and the global uncertainty corresponding to the instance, the initial disparity map and the conditionally generated disparity are weighted and fused to construct a corresponding fused disparity map.

2. The binocular disparity generation method integrating semantic prior and geometric anchoring according to claim 1, characterized in that, The step of constructing a structured prior based on the instance segmentation results, extracting pixels that meet a predetermined confidence criterion from the initial disparity map within the disparity recovery space of each instance as geometric anchor points of the instance, and performing disparity generation processing based on the local morphology model and the geometric anchor points to output conditionally generated disparity, further includes: The boundary of the spatial range is created based on the instance segmentation result, and a corresponding boundary protection region is constructed at the boundary; wherein the boundary is determined by at least one of the semantic boundary, the image gradient boundary, and the abrupt boundary of the initial disparity map; the boundary protection region is used to suppress the propagation of disparity information across the boundary.

3. A binocular disparity generation method integrating semantic prior and geometric anchoring according to claim 1 or 2, characterized in that, The step of constructing a structured prior based on the instance segmentation results, extracting pixels that meet a predetermined confidence criterion from the initial disparity map within the disparity recovery space of each instance as geometric anchor points of the instance, and performing disparity generation processing based on the local morphology model and the geometric anchor points to output conditionally generated disparity, further includes: Based on the semantic category, establish multiple candidate morphological models corresponding to the instance; generate and obtain the 3D point set corresponding to the instance in the initial disparity map; The three-dimensional point set is used to evaluate the fit of the multiple candidate morphological models. Based on the degree of support of the semantic category for the candidate morphological models and the fitting evaluation results, the local morphological model corresponding to the instance and its morphological confidence are selected from the multiple candidate morphological models. The fitting evaluation results depend on at least one of the following: the proportion of fitted inliers, the fitting residuals, and the stability of the model parameters.

4. The binocular disparity generation method integrating semantic prior and geometric anchoring according to claim 1, characterized in that, The step of constructing a structured prior based on the instance segmentation results, extracting pixels that meet a predetermined confidence criterion from the initial disparity map within the disparity recovery space of each instance as geometric anchor points of the instance, and performing disparity generation processing based on the local morphology model and the geometric anchor points to output conditionally generated disparity, further includes: The instance is divided into multiple local windows; and the surface parameter form corresponding to each local window is generated according to the local morphology model. The local surface equation is fitted using the geometric anchor points within the local window, and the local disparity prediction value of the pixel within the local window is generated according to the local surface equation; wherein, the conditionally generated disparity is obtained by fusing the local disparity prediction values ​​of each local window. For any given pixel, distance-weighted fusion is performed on the local disparity prediction values ​​corresponding to the multiple local windows covering the pixel to generate a corresponding multi-window fused disparity; wherein, the weight of the distance-weighted fusion is positively correlated with the coverage density of the geometric anchor points within the corresponding local window and negatively correlated with the distance from the pixel to the center of the window; Extract the high-frequency residual components of the initial disparity map relative to the multi-window fused disparity; and inject the portion of the high-frequency residual components that has passed the multi-view consistency check as detail compensation into the multi-window fused disparity to form the conditionally generated disparity.

5. The binocular disparity generation method integrating semantic prior and geometric anchoring according to claim 1, characterized in that, The step of weightedly fusing the initial disparity map and the conditionally generated disparity based on the first confidence level corresponding to the initial disparity map, the second confidence level corresponding to the conditionally generated disparity, and the global uncertainty corresponding to the instance to construct a corresponding fused disparity map further includes: The fusion weights corresponding to the conditionally generated disparity are constructed based on the first confidence level, the second confidence level, and the global uncertainty; wherein the fusion weights are positively correlated with the second confidence level and negatively correlated with the first confidence level, the global uncertainty, and the boundary risk value of the pixel position.

6. A binocular disparity generation method integrating semantic prior and geometric anchoring according to claim 1 or 5, characterized in that, The global uncertainty is determined by at least one of the following parameters: The disparity prediction variance of multiple sub-regions within the instance, the sensitivity of the parameters of the local morphology model to changes in the geometric anchor point, and the proportion of geometric interior points within the instance that can be reasonably explained by the local morphology model.

7. A binocular disparity generation method integrating semantic prior and geometric anchoring according to any one of claims 1 to 6, characterized in that, The method further includes: The fused disparity map is reprojected into a 3D point cloud; Based on the local geometric features of the 3D point cloud, a consistency check is performed on the instance segmentation result, and in response to the check result, the spatial range or the local morphological model in the structured prior is adjusted.

8. A binocular disparity generation system integrating semantic prior and geometric anchoring, characterized in that, The system is applied to the binocular disparity generation method that integrates semantic prior and geometric anchoring as described in any one of claims 1 to 7, and the system comprises: A generation unit is created to generate and acquire a first view and a second view corresponding to the target scene, as well as to acquire text prompts corresponding to the target category, surface type and / or structure type in the target scene, and to call an open vocabulary semantic cognitive model to perform target localization and instance segmentation on the first view according to the text prompts, and generate corresponding instance segmentation results that include instance masks, semantic categories and pixel-level boundaries; A stereo matching unit is used to perform binocular stereo matching processing on the first view and the second view, with the first view as a reference, to generate an initial disparity map corresponding to the pixel coordinate system of the first view. The prior construction unit is used to construct a structured prior based on the instance segmentation results, and extract pixels that meet a predetermined confidence criterion from the initial disparity map within the disparity recovery space of each instance, as geometric anchor points of the instance, and perform disparity generation processing based on the local morphological model and the geometric anchor points to output conditionally generated disparity; wherein, the structured prior is used to define the disparity recovery space range corresponding to each instance and indicate the local morphological model of the instance; The disparity fusion unit is used to perform weighted fusion processing on the initial disparity map and the conditionally generated disparity based on the first confidence level corresponding to the initial disparity map, the second confidence level corresponding to the conditionally generated disparity, and the global uncertainty corresponding to the instance, to construct a corresponding fused disparity map.

9. A binocular parallax generation platform integrating semantic prior and geometric anchoring, characterized in that, The system includes a processor, a memory, and a binocular disparity generation platform control program that integrates semantic prior and geometric anchoring. The processor executes the binocular disparity generation platform control program, which is stored in the memory. The binocular disparity generation platform control program implements the binocular disparity generation method that integrates semantic prior and geometric anchoring as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a control program for a binocular disparity generation platform that integrates semantic priors and geometric anchors. The control program for the binocular disparity generation platform that integrates semantic priors and geometric anchors implements the binocular disparity generation method that integrates semantic priors and geometric anchors as described in any one of claims 1 to 7.