A method and system for reconstructing three-dimensional spatial structure based on vision and pseudo-ultrasound

By combining visual and pseudo-ultrasound methods, and using omnidirectional loudspeakers and microphone arrays to acquire multi-channel echo signals and panoramic images, the problem of incomplete spatial structure reconstruction under occlusion and complex imaging conditions in existing technologies has been solved, achieving higher accuracy and more stable three-dimensional spatial structure reconstruction.

CN123160777APending Publication Date: 2026-11-24SOUTHWEAT UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611367484.2
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

Existing visual signal-based 3D spatial structure reconstruction methods struggle to fully acquire spatial structure information under conditions of occlusion, limited viewing distance, or complex imaging, and exhibit poor stability of visual features. Single acoustic modes are insufficient in expressing structural continuity and resolving reflection ambiguities, making it difficult to achieve high-precision 3D spatial reconstruction.

Method used

A method combining vision and pseudo-ultrasound was adopted. Pseudo-ultrasound Chirp pulse signals were emitted through an omnidirectional loudspeaker, and multi-channel echo signals and panoramic images were collected using a microphone array. Feature encoding and fusion were performed to generate fused features. Combined with ring residual sequence modeling and multi-branch structure prediction, the indoor three-dimensional spatial structure was inverted.

Benefits of technology

It improves the integrity and robustness of 3D spatial structure reconstruction, makes up for the shortcomings of single perception mode, improves the accuracy and interpretability of geometric expression, and has good engineering applicability and application security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160777A_ABST
    Figure CN123160777A_ABST
Patent Text Reader

Abstract

This invention discloses a method and system for reconstructing three-dimensional spatial structures based on vision and pseudo-ultrasound. The method includes: acquiring panoramic images and multi-channel echo signals of an indoor space to obtain equidistant cylindrical projection images and multi-channel STFT amplitude spectra; encoding the equidistant cylindrical projection images and multi-channel STFT amplitude spectra to obtain visual features and echo features; using feature-level linear modulation to treat the echo features as conditional signals, performing channel-level affine transformations on the visual features to generate fused features; representing the fused features in a horizontally reduced dimension as a column-organized one-dimensional sequence, combining ring residual sequence modeling and multi-branch structure prediction, and inverting this to obtain a representation of the indoor three-dimensional spatial structure. By jointly modeling visual perception information and the spatial geometric constraints inherent in acoustic echoes, the reconstruction of the overall indoor spatial structure is achieved. This solves the problem that existing three-dimensional spatial structure reconstruction methods mainly rely on a single perception modality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of three-dimensional scene reconstruction technology, specifically relating to a three-dimensional spatial structure reconstruction method and system based on vision and pseudo-ultrasound. Background Technology

[0002] Existing visual signal-based methods for 3D spatial structure reconstruction have limitations in practical applications. Visual perception relies on imaging information accessible through the line of sight; in cases of severe occlusion, limited viewing distance, or the presence of non-viewing-distance areas, complete acquisition of spatial structure information is difficult. Furthermore, under complex imaging conditions such as weak texture, low illumination, transparent or reflective materials, the stability and repeatability of visual features significantly decrease, easily leading to discontinuous, unstable, or even invalid spatial structure inference results. These problems are particularly prominent in service robot applications and complex environments such as underground spaces. In contrast, acoustic signal-based spatial structure reconstruction methods can provide constraints on indoor spatial boundaries and overall geometry, making them especially suitable for scenarios where visual conditions are limited or unavailable. However, single acoustic modes also have shortcomings in expressing structural continuity, resolving reflection ambiguities, and distinguishing spatial semantics, making it difficult to independently achieve high-precision and complete 3D spatial structure reconstruction. Summary of the Invention

[0003] To address the aforementioned shortcomings in existing technologies, this invention provides a three-dimensional spatial structure reconstruction method and system based on vision and pseudo-ultrasound, which solves the problem that existing three-dimensional spatial structure reconstruction methods mainly rely on a single sensing modality.

[0004] To achieve the aforementioned objectives, the present invention employs the following technical solution: a three-dimensional spatial structure reconstruction method based on vision and pseudo-ultrasound, comprising the following steps: S1. Acquire indoor panoramic images and multi-channel echo signals, preprocess them, and obtain equidistant cylindrical projection images and multi-channel STFT amplitude spectra; S2. Encode the equidistant cylindrical projection image and the multi-channel STFT amplitude spectrum to obtain visual features and echo features; S3. Using feature-level linear modulation, echo features are used as conditional signals to perform channel-level affine transformation on visual features to generate fused features. S4. The fusion features are reduced in dimensionality along the horizontal direction to a one-dimensional sequence representation organized by columns. Combined with ring residual sequence modeling and multi-branch structure prediction, the indoor three-dimensional spatial structure representation is obtained by inversion.

[0005] Furthermore: In S1, the specific method for acquiring multi-channel echo signals is as follows: A pseudo-ultrasonic chirp pulse signal of 16kHz-20kHz is used as the acoustic emission signal of an omnidirectional loudspeaker to propagate sound into the room. The chirp pulse signal... The specific expression is: In the formula, For signal duration, The lower limit frequency, The upper limit frequency, For time; By using a unified sampling clock and synchronous triggering mechanism in the echo acquisition process through a microphone array, the acquired signals of each channel are time-aligned to obtain multi-channel echo signals. In S1, the method for acquiring panoramic images is as follows: panoramic images within the line-of-sight range are acquired through a visual sensor.

[0006] Furthermore, in S1, the specific method for preprocessing the multi-channel echo signal is as follows: The multi-channel echo signal is filtered by a high-pass filter to obtain an echo signal with a high signal-to-noise ratio. A short-time Fourier transform is performed on the echo signal of each channel to obtain the time-frequency representation of each channel. The multi-channel STFT amplitude spectrum is established based on all time-frequency representations. In S1, the specific method for preprocessing the panoramic image is as follows: Orientation alignment processing of panoramic images: Convert panoramic images into multi-view perspective projections, extract structural line segments from each perspective view and map them back to the panoramic coordinate system, estimate the orientation vector in the spherical orientation space based on Hough voting, and construct a three-dimensional rotation matrix accordingly. By applying this rotation to the spherical orientation and re-unfolding it into an equidistant cylindrical projection form, the orientation-aligned panoramic image is obtained. The orientation-aligned panoramic image is normalized and channel-normalized to generate an equidistant cylindrical projection image. The normalization process is used to enhance the numerical stability of the subsequent feature extraction process, and the channel-normalization process is used to reduce the impact of different lighting conditions and imaging device differences on the distribution of visual features.

[0007] Furthermore: In S2, the specific method for encoding the multi-channel STFT amplitude spectrum is as follows: The multi-channel STFT amplitude spectrum is input into the echo feature encoder to generate echo features. Specifically, a ResNet-18 encoder is used to hierarchically model the time-frequency structure of the echo signal, generating echo features. The specific expression is: In the formula, For echo feature encoders, For each channel, the corresponding time-frequency representation is... For the first Echo features extracted at various scales For the first Echo features extracted at various scales For the first Echo features extracted at various scales For the set of real numbers, For the first Time resolution at each scale For acoustic feature dimensions, The total number of scales for echo features; In S2, the specific method for encoding the equidistant cylindrical projection image is as follows: The equidistant cylindrical projection image is input into the visual feature encoder to generate visual features. The specific expression is: In the formula, For visual feature encoders, It is an equidistant cylindrical projection image. To output the number of scale layers, Indicates the first Visual features extracted at various scales Indicates the first Visual features extracted at various scales Indicates the first Visual features extracted at various scales For the first The height of visual features at each scale For the first The width of visual features at each scale For visual feature channel dimensions, The convolution operator defined for the visual feature encoder uses a local projection sampling operator to perform irregular interpolation sampling on an equidistant cylindrical projection image, outputting a local sampling tensor. The specific expression of the convolution operator defined for the visual feature encoder is as follows: In the formula, The sampling center in the two-dimensional pixel space. For convolution kernel parameters, The number of local sampling locations, the first Each convolution kernel weight With the Each local sampling location corresponds one-to-one. For The local sampling tensor obtained by mapping back to the ERP image through a local neighborhood of the sphere centered on the sphere. Represents the local sampling tensor The Middle Image feature values ​​corresponding to each local sampling location Represents an equidistant cylindrical projection image Apply the spherical sensing convolution operator SConv, and use the convolution kernel parameters The output feature map obtained as weights; In the formula, This is the inverse transformation operator for equidistant cylindrical projection from a pixel to the spherical surface. It is an equidistant cylindrical projection operator. For the real number field, For the first A local sampling offset vector, This is the sampling operator.

[0008] Furthermore, S3 includes the following sub-steps: S31. Pool the echo features to obtain a global echo descriptor. Concatenate the global echo descriptors in the channel dimension to generate an echo fusion feature vector. S32. Based on the echo fusion feature vector, the echo condition vector is obtained by nonlinear mapping through a two-layer fully connected network. The echo condition vector is then mapped into channel-wise modulation parameters through a parameter generation network. S33. Based on the modulation parameters, apply a channel-by-channel affine transformation to the visual features for fusion to generate fused features.

[0009] Furthermore: In S31, the global echo descriptor includes echo descriptors at all scales, where the first... Echo descriptors at various scales The specific expression is: In the formula, For pooling layers; Generate echo fusion feature vectors The specific expression is: In the formula, For the first Echo descriptors at various scales For the first Echo descriptors at various scales For the first Echo descriptors at various scales The dimension of the echo fusion feature vector; In S32, the echo condition vector is obtained. The specific expression is: In the formula, The echo feature fusion mapping function consists of two fully connected layers. The first layer fully connected network has the following dimensions: The weight matrix, The first layer fully connected network has the following dimensions: Bias vector, The second layer fully connected network has the following dimensions: The weight matrix, The second layer fully connected network has the following dimensions: The bias vector, It is a ReLU nonlinear activation function; The echo conditional vector is mapped to channel-by-channel modulation parameters using a parameter generation network. The specific expression is: In the formula, The parameter generation network consists of two fully connected layers. This is the weight matrix of the first fully connected layer. This represents the bias vector of the first fully connected layer. This is the weight matrix of the second fully connected layer. The bias vector of the second fully connected network is used. The first fully connected network models the nonlinear relationship between the echo condition vector and the visual feature modulation parameters. The output vector of the second layer is divided into channel scaling residuals in the channel dimension. With channel offset All dimensions To improve training stability, a residual scaling method is used to construct the scaled residual. ; In S33, in spatial position The above performs an affine transformation on the visual features to generate the first... Fusion features at various scales The specific expression is: In the formula, For Hadama accumulation, Represents the instance normalization operator. Indicates the first Spatial position in visual features at various scales , For row index, For column indexes.

[0010] Furthermore, S4 includes the following sub-steps: S41. Input the fused features into the 3D spatial structure predictor, select downsampling ratios of 8 and 16, converge the features along the vertical direction to obtain several column-organized one-dimensional sequence representations, apply a linear mapping to them to obtain a one-dimensional sequence representation with uniform dimension, align and fuse the one-dimensional sequence representations of the two scales to obtain the column sequence feature representation; S42. Based on column sequence feature representation, using column index as the basic modeling unit, jointly decode the structural features of each column to predict 3D contour points, including the 3D ground-wall contour points corresponding to each column. 3D ceiling-wall outline points Probability of turning point with wall This process forms a pseudo-point cloud of contours describing the three-dimensional spatial structure of the interior, generating a representation of the three-dimensional spatial structure of the interior.

[0011] Furthermore: In S41, the scale is obtained. The following one-dimensional sequence representation The specific expression is: In the formula, For scale The width of the fused feature map. To represent the convergence operator along the vertical dimension, Indicated in scale Take the fused feature map of the first step The resulting characteristic subtensors; Obtain a column sequence with uniform dimensions The specific expression is: In the formula, This is the first weight matrix. This is the first bias vector. The feature dimension, , For scale The channel dimension of the feature map below. ; Obtain column sequence feature representation The specific expression is: In the formula, For multi-scale sequence fusion operators; In S42, the method for constructing the contour pseudo-point cloud is as follows: the equidistant cylindrical projection image is divided into several vertical columns along the horizontal direction, and for each column... It predicts the pixel position of the corresponding structural layout in the column and the depth information along the viewing direction at that position, thereby constructing a pseudo-point cloud of the 3D spatial structure outline. ,in, This represents a scaled point set representation of the contour in three-dimensional space. Sparse topological cues representing wall segments and transition points; In the formula, For the first The positions of the corresponding ground-wall contour points in three-dimensional space. For the first The position of the top-wall contour points corresponding to the column in three-dimensional space. For column indexes, The horizontal resolution of the image is the total number of vertical columns obtained by dividing the equidistant cylindrical projection image along the horizontal direction. In the formula, The distance between the ground-wall contour points along the corresponding line of sight. This represents the distance from the top-to-wall outline point along the corresponding line of sight. and For pixel position, For ground-wall profile location estimation, For top-wall profile location estimation; In the formula, For pixel index, For the number of pixels, pixel position Let be the confidence probability of the ground-wall boundary. pixel position The confidence probability of the top-wall boundary; In the formula, The probability of a wall turning point; Furthermore, in S41, to ensure that the prediction results satisfy the indoor geometric prior constraints and improve boundary continuity, a total loss function is constructed for the three-dimensional spatial structure predictor. Its expression is: In the formula, This is a geometrically ordered soft constraint, ensuring that the ceiling boundary always lies above the floor boundary. As a first-order differential smoothing constraint, a first-order differential smoothing term is applied column-by-column to the ground-wall and top-wall boundaries to suppress discontinuous jitter. The L1 loss is used to regress the ground-wall boundary and top-wall boundary. Binary cross-entropy loss is used for wall transition prediction. for The weight, for The weight, for The weight, for The weights; In the formula, For column indexes Ground-wall profile location estimation, For column indexes Estimation of the top-wall profile location.

[0012] The beneficial effects of this invention are as follows: This invention provides a method and system for reconstructing three-dimensional spatial structures based on vision and pseudo-ultrasound. By jointly modeling visual perception information and the spatial geometric constraints contained in acoustic echoes, it achieves the reconstruction of the overall indoor spatial structure. Addressing the current technical situation where existing three-dimensional spatial structure reconstruction methods mainly rely on a single perception modality, this invention selects relevant methods based on pure visual perception or pure acoustic perception as comparative analysis objects.

[0013] (1) Compared with the three-dimensional space reconstruction method that relies solely on visual perception, this invention can effectively alleviate the problems of structural loss, scale ambiguity and instability that are prone to occur under weak texture or complex imaging conditions by introducing global geometric prior information such as room scale and distance of main reflective surfaces provided by pseudo-ultrasonic echoes, thereby improving the integrity and robustness of the room layout and spatial structure inference results.

[0014] (2) Compared with indoor geometric inference methods that rely solely on acoustic echoes, this invention fully utilizes the advantages of visual modalities in spatial boundary positioning, wall transition structure recognition, and local geometric detail expression, effectively compensating for the shortcomings of acoustic methods in distinguishing reflection sources, expressing geometric structure continuity, and spatial topology modeling capabilities, thereby significantly improving the reconstruction results in terms of geometric expression accuracy and interpretability.

[0015] (3) This invention uses an omnidirectional loudspeaker to emit a chirp pulse signal in the pseudo-ultrasonic frequency band, and uses a microphone array to collect the multi-channel echoes formed by the reflection of this signal on the surface of the indoor structure as the acoustic modal input signal of the three-dimensional space reconstruction system. The pseudo-ultrasonic signal with a frequency of 16kHz-20kHz ensures that the sound wave propagation behavior approximately satisfies the geometric acoustic reflection law, which is conducive to the stable extraction of the echo features related to the spatial structure, while avoiding significant auditory interference to the human ear, and has good engineering applicability and application safety.

[0016] In summary, this invention, from the perspective of complementary visual and acoustic information, constructs a multimodal 3D spatial structure reconstruction method for the overall geometric structure of an interior space. Unlike existing multimodal studies that primarily focus on single geometric elements such as depth estimation, this method uses structural geometric information such as room layout and spatial scale as the modeling target, achieving more consistent and stable 3D spatial structure reconstruction through multimodal collaborative modeling. Based on this technological positioning, the advantages analysis of this invention focuses on the overall improved perception capabilities brought about by multimodal fusion, rather than a point-by-point comparison of specific implementation forms. Attached Figure Description

[0017] Figure 1 This is a flowchart of a three-dimensional spatial structure reconstruction method based on vision and pseudo-ultrasound according to the present invention.

[0018] Figure 2 This is a schematic diagram of a three-dimensional spatial structure reconstruction system based on vision and pseudo-ultrasound according to the present invention. Detailed Implementation

[0019] The specific embodiments of the present invention are described below to enable those skilled in the art to understand the present invention. However, it should be understood that the present invention is not limited to the scope of the specific embodiments. For those skilled in the art, various changes are obvious as long as they are within the spirit and scope of the present invention as defined and determined by the appended claims. All inventions utilizing the concept of the present invention are protected.

[0020] like Figure 1 As shown, in one embodiment of the present invention, a three-dimensional spatial structure reconstruction method based on vision and pseudo-ultrasound includes the following steps: S1. Acquire indoor panoramic images and multi-channel echo signals, preprocess them, and obtain equidistant cylindrical projection images and multi-channel STFT amplitude spectra; S2. Encode the equidistant cylindrical projection image and the multi-channel STFT amplitude spectrum to obtain visual features and echo features; S3. Using feature-level linear modulation, echo features are used as conditional signals to perform channel-level affine transformation on visual features to generate fused features. S4. The fusion features are reduced in dimensionality along the horizontal direction to a one-dimensional sequence representation organized by columns. Combined with ring residual sequence modeling and multi-branch structure prediction, the indoor three-dimensional spatial structure representation is obtained by inversion.

[0021] This invention achieves complementary perception and collaborative inference of the overall structure and room layout of an interior space by integrating the advantages of structural interpretability and spatial continuity of visual modalities in the perception of visible indoor spatial structures, with room scale, distances to major reflecting surfaces, and overall spatial structural cues provided by pseudo-ultrasonic echoes. The purpose of this invention is: To address the issues that existing visual perception methods are prone to spatial structure loss, scale ambiguity, and structural discontinuity under occlusion, weak texture, and complex imaging conditions, this invention supplements the modeling of areas that are difficult to cover or are unstable for visual perception by introducing room scale, distances between main reflective surfaces, and overall spatial structure clues contained in pseudo-ultrasound echo signals.

[0022] To address the limitations of purely acoustic methods in spatial boundary localization, structural transition representation, and topological consistency modeling, this invention introduces visual perception modalities as the fundamental constraints for geometric structure modeling. By drawing upon mature visual 3D spatial structure reconstruction networks, it ensures the stability and rationality of the reconstruction results at the overall structural level, thereby compensating for the shortcomings of purely acoustic methods in geometric representation accuracy.

[0023] In terms of visual modality design, this invention selects panoramic images as the carrier for spatial structure perception. Compared with standard perspective images, they have a larger field of view coverage and can acquire more complete indoor geometric contours and spatial boundary information in a single acquisition, providing stable and global visual structural constraints for multimodal geometric fusion.

[0024] In terms of acoustic modal design, this invention uses pseudo-ultrasonic echo signals as an acoustic sensing method. Compared with the audible sound frequency band, it has higher temporal resolution and more stable geometric response characteristics, which is more conducive to extracting acoustic geometric constraint information that reflects spatial scale and boundary position, thereby effectively supplementing spatial areas that are difficult to stably cover with visual perception.

[0025] In this embodiment, the selection of the acoustic emission signal has a significant impact on the echo quality and subsequent processing effect. The Chirp pulse signal, due to its linear frequency change over time, can provide good time-frequency resolution over a wide frequency band. In S1, the method for acquiring multi-channel echo signals is as follows: A pseudo-ultrasonic chirp pulse signal of 16kHz-20kHz is used as the acoustic emission signal of an omnidirectional loudspeaker to propagate sound into the room. The chirp pulse signal... The specific expression is: In the formula, For signal duration, The lower limit frequency, The upper limit frequency, For pseudo-ultrasound (16kHz-20kHz) with wavelengths ranging from 1.70cm to 2.13cm, its wavelength is smaller than that of most indoor objects. At this wavelength, the sound wave basically follows the geometric reflection law, meaning that ordinary indoor walls, ceilings, and reflecting surfaces will reflect the sound according to the angle of inclination, without refraction, and diffusion is negligible. The human ear is not sensitive to sound signals in this frequency band and will not cause auditory interference. Therefore, the Chirp pulse signal is selected as the acoustic emission signal for the omnidirectional loudspeaker.

[0026] By using a unified sampling clock and synchronous triggering mechanism in the echo acquisition process through a microphone array, the acquired signals of each channel are time-aligned to obtain multi-channel echo signals. In S1, the method for acquiring panoramic images specifically involves obtaining panoramic images within the viewing distance range using a visual sensor. An equidistant cylindrical projection panoramic image is a representation where the spherical field of view is uniformly unfolded onto a two-dimensional plane. The one-to-one correspondence between pixel coordinates and spherical angles is shown below. Let the pixel coordinates of the panoramic image be... ,in: In the formula, and These represent the pixel resolution of the equidistant cylindrical projection panoramic image in the horizontal and vertical directions, respectively, corresponding to covering a complete 360° horizontal field of view and a 180° vertical field of view. The corresponding spherical angles are defined as follows: Direction angle : Pitch angle : in: Therefore, each pixel can be mapped to a unique viewing direction vector on the sphere. Its definition is: In S1, the specific method for preprocessing the multi-channel echo signal is as follows: The multi-channel echo signal is filtered by a high-pass filter to obtain an echo signal with a high signal-to-noise ratio. A short-time fourier transform (STFT) is performed on the echo signal of each channel to obtain the time-frequency representation of each channel. The multi-channel STFT amplitude spectrum is established based on all time-frequency representations. In this embodiment, the multi-channel echo signal is assumed to be one. real-valued matrix , For the number of channels, Given a set of real numbers, the time-frequency representation for each channel. ; In the formula, It is a short-time Fourier transform. For frequency dimension, For time frames, For the number of channels, for , For one The complex-valued tensor of the echo encoder; the STFT can effectively preserve the relative temporal structure of early reflections, the correlation patterns between multiple channels, and the distribution characteristics of reverberation energy in the time and frequency dimensions. This information is closely related to room size, the distance to the main reflecting surfaces, and the overall spatial structure, and therefore has significant geometric discrimination value. Based on this, this invention uses the multi-channel STFT amplitude spectrum as the input to the echo characteristic encoder.

[0027] In S1, the specific method for preprocessing the panoramic image is as follows: Orientation alignment is performed on the panoramic image: the panoramic image is converted into a multi-view perspective projection, structural line segments are extracted from each perspective view and mapped back to the panoramic coordinate system, orientation vectors are estimated in the spherical orientation space based on Hough voting, and a three-dimensional rotation matrix is ​​constructed accordingly. This three-dimensional rotation matrix includes three estimated unit orientation vectors that are pairwise orthogonal. By applying this rotation to the spherical orientation and re-unfolding it into an equidistant cylindrical projection, the orientation-aligned panoramic image is obtained. The orientation-aligned panoramic image is normalized and channel-normalized to generate an equidistant cylindrical projection image. The normalization process is used to enhance the numerical stability of the subsequent feature extraction process, and the channel-normalization process is used to reduce the impact of different lighting conditions and imaging device differences on the distribution of visual features.

[0028] In S2, the specific method for encoding the multi-channel STFT amplitude spectrum is as follows: The multi-channel STFT amplitude spectrum is input into the echo feature encoder to generate echo features. Specifically, a ResNet-18 encoder is used to hierarchically model the time-frequency structure of the echo signal, generating echo features. The specific expression is: In the formula, For echo feature encoders, For the first Echo features extracted at various scales For the first Echo features extracted at various scales For the first Echo features extracted at various scales For the first Time resolution at each scale For acoustic feature dimensions, The total number of echo feature scales; in this embodiment, the echo feature encoder can simultaneously capture local echo structure and global acoustic statistical characteristics, providing multi-scale acoustic representation for subsequent multimodal fusion and geometric inference.

[0029] In S2, the specific method for encoding the equidistant cylindrical projection image is as follows: The equidistant cylindrical projection image is input into the visual feature encoder to generate visual features. The specific expression is: In the formula, For visual feature encoders, It is an equidistant cylindrical projection image. To output the number of scale layers, Indicates the first Visual features extracted at various scales Indicates the first Visual features extracted at various scales Indicates the first Visual features extracted at various scales For the first The height of visual features at each scale For the first The width of visual features at each scale For visual feature channel dimensions, The convolution operator defined for the visual feature encoder uses a local projection sampling operator to perform irregular interpolation sampling on an equidistant cylindrical projection image, outputting a local sampling tensor. The expression for the convolution operator defined by the visual feature encoder is as follows: In the formula, The sampling center in the two-dimensional pixel space. For convolution kernel parameters, The number of local sampling locations, the first Each convolution kernel weight With the Each local sampling location corresponds one-to-one. For The local sampling tensor obtained by mapping back to the ERP image through a local neighborhood of the sphere centered on the sphere. Represents the local sampling tensor The Middle Image feature values ​​corresponding to each local sampling location Represents an equidistant cylindrical projection image Apply the spherical sensing convolution operator SConv, and use the convolution kernel parameters The output feature map obtained as weights; it should be noted that this embodiment does not change the weight sharing mechanism or network topology of the convolution operator, but only redefines the sampling position of the convolution operator in the convolution feature extraction stage.

[0030] In the formula, This is the inverse transformation operator for equidistant cylindrical projection from a pixel to the spherical surface. It is an equidistant cylindrical projection operator. For the real number field, For the first A local sampling offset vector, This is the sampling operator.

[0031] S3 includes the following steps: S31. Pool the echo features to obtain a global echo descriptor. Concatenate the global echo descriptors in the channel dimension to generate an echo fusion feature vector. S32. Based on the echo fusion feature vector, the echo condition vector is obtained by nonlinear mapping through a two-layer fully connected network. The echo condition vector is then mapped into channel-wise modulation parameters through a parameter generation network. S33. Based on the modulation parameters, apply a channel-by-channel affine transformation to the visual features for fusion to generate fused features.

[0032] In S31, the global echo descriptor includes echo descriptors at all scales, where the first... Echo descriptors at various scales The specific expression is: In the formula, For pooling layers; Generate echo fusion feature vectors The specific expression is: In the formula, For the first Echo descriptors at various scales For the first Echo descriptors at various scales For the first Echo descriptors at various scales The dimension of the echo fusion feature vector; In S32, the echo condition vector is obtained. The specific expression is: In the formula, The echo feature fusion mapping function consists of two fully connected layers. The first layer fully connected network has the following dimensions: The weight matrix, The first layer fully connected network has the following dimensions: Bias vector, The second layer fully connected network has the following dimensions: The weight matrix, The second layer fully connected network has the following dimensions: The bias vector, It is a ReLU nonlinear activation function; For each visual feature scale A scale-specific parameter generation network is defined, which maps the echo condition vector into channel-wise modulation parameters. The specific expression is: In the formula, The parameter generation network consists of two fully connected layers. This is the weight matrix of the first fully connected layer. This represents the bias vector of the first fully connected layer. This is the weight matrix of the second fully connected layer. The bias vector of the second fully connected network is used. The first fully connected network models the nonlinear relationship between the echo condition vector and the visual feature modulation parameters. The output vector of the second layer is divided into channel scaling residuals in the channel dimension. With channel offset All dimensions To improve training stability, a residual scaling method is used to construct the scaled residual. ; In S33, in spatial position The above performs an affine transformation on the visual features to generate the first... Fusion features at various scales The specific expression is: In the formula, For Hadama accumulation, Represents the instance normalization operator. Indicates the first Spatial position in visual features at various scales , For row index, For column indexes.

[0033] In this embodiment, through the aforementioned feature modulation, the echo condition vector influences the activation distribution of visual features at the channel level, enabling the visual representation to have conditional sensitivity to the room scale, distance of main reflective surfaces, and overall spatial structure reflected by the echo while maintaining the original spatial structure, thereby enhancing the discriminative ability of visual features in the three-dimensional spatial structure reconstruction task.

[0034] S4 includes the following steps: S41. Input the fused features into the 3D spatial structure predictor, select downsampling ratios of 8 and 16, converge the features along the vertical direction to obtain several column-organized one-dimensional sequence representations, apply a linear mapping to them to obtain a one-dimensional sequence representation with uniform dimension, align and fuse the one-dimensional sequence representations of the two scales to obtain the column sequence feature representation; S42. Based on column sequence feature representation, using column index as the basic modeling unit, jointly decode the structural features of each column to predict 3D contour points, including the 3D ground-wall contour points corresponding to each column. 3D ceiling-wall outline points Probability of turning point with wall This process forms a pseudo-point cloud of contours describing the three-dimensional spatial structure of the interior, generating a representation of the three-dimensional spatial structure of the interior.

[0035] In S41, the scale is obtained. The following one-dimensional sequence representation The specific expression is: In the formula, For scale The width of the fused feature map. To represent the convergence operator along the vertical dimension, Indicated in scale Take the fused feature map of the first step The feature subtensor obtained from the column contains all vertical position features and all channel features corresponding to that column; Obtain a column sequence with uniform dimensions The specific expression is: In the formula, This is the first weight matrix. This is the first bias vector. The feature dimension, , For scale The channel dimension of the feature map below. ; Obtain column sequence feature representation The specific expression is: In the formula, For multi-scale sequence fusion operators; In S42, the method for constructing the contour pseudo-point cloud is as follows: the equidistant cylindrical projection image is divided into several vertical columns along the horizontal direction, wherein the size of the equidistant cylindrical projection image is... Divided along the horizontal direction into There are 1 vertical column, for each column It predicts the pixel position of the corresponding structural layout in the column and the depth information along the viewing direction at that position, thereby constructing a pseudo-point cloud of the 3D spatial structure outline. ,in, This represents a scaled point set representation of the contour in three-dimensional space. Sparse topological cues representing wall segments and transition points; In the formula, For the first The positions of the corresponding ground-wall contour points in three-dimensional space. For the first The position of the top-wall contour points corresponding to the column in three-dimensional space. For column indexes, The horizontal resolution of the image is the total number of vertical columns obtained by dividing the equidistant cylindrical projection image along the horizontal direction. In the formula, The distance between the ground-wall contour points along the corresponding line of sight. This represents the distance from the top-to-wall outline point along the corresponding line of sight. and For pixel position, For ground-wall profile location estimation, For top-wall profile location estimation; In the formula, For pixel index, For the number of pixels, pixel position Let be the confidence probability of the ground-wall boundary. pixel position The confidence probability of the top-wall boundary; In the formula, Let be the probability of the wall turning point. Since wall turning points are sparsely distributed in the horizontal direction, the model is as follows: The threshold is used to determine whether a pixel is at a wall turning point.

[0036] In this embodiment, the pixel index and its corresponding depth value in the equidistant cylindrical projection image are used as intermediate representations. Each pixel position is mapped to a spatial direction ray with the center of the panoramic camera as the origin, and a corresponding distance scale is assigned to the direction ray. This constructs a contour pseudo-point cloud representation for describing the indoor three-dimensional spatial structure, and achieves end-to-end joint estimation of the three-dimensional spatial structure under visual and echo multimodal input conditions.

[0037] To ensure that the prediction results meet the indoor geometric prior constraints and improve boundary continuity, a total loss function is constructed for the 3D spatial structure predictor. Its expression is: In the formula, This is a geometrically ordered soft constraint, ensuring that the ceiling boundary always lies above the floor boundary. As a first-order differential smoothing constraint, a first-order differential smoothing term is applied column-by-column to the ground-wall and top-wall boundaries to suppress discontinuous jitter. The L1 loss is used to regress the ground-wall boundary and top-wall boundary. Binary cross-entropy loss is used for wall transition prediction. for The weight, for The weight, for The weight, for The weights; In the formula, For column indexes Ground-wall profile location estimation, For column indexes Estimation of the top-wall profile location.

[0038] like Figure 2 As shown, a three-dimensional spatial structure reconstruction system based on vision and pseudo-ultrasound includes a vision sensor, an acoustic sensor group, and a spatial structure reconstruction algorithm module. The mobile robot is equipped with visual and acoustic sensor arrays to collect visual and acoustic data in the indoor environment. The visual sensor acquires panoramic images within the line of sight, while the acoustic sensor array collects pseudo-ultrasonic echo signals. The spatial structure reconstruction algorithm module reconstructs the overall three-dimensional spatial structure of the indoor scene based on joint modeling of visual and echo information. The acoustic sensor array includes an omnidirectional speaker and a microphone array.

[0039] To acquire the most complete panoramic information of the scene within the line-of-sight area, this embodiment places the panoramic camera on top of the mobile robot platform, approximately 1.6m above the ground. To ensure the consistency of the multimodal joint reconstruction results across spatial scales, an omnidirectional speaker and microphone array are positioned directly below the panoramic camera, allowing the visual and acoustic sensors to be approximated as co-located at room scale, thereby reducing the complexity of multimodal data in spatial registration and subsequent 3D reconstruction.

[0040] To improve the spatial observability and robustness of echo signals, this embodiment employs a circular six-channel microphone array positioned above an omnidirectional loudspeaker for multi-channel synchronous echo signal acquisition. The six microphones are evenly distributed along the circumference, with the array center aligned perpendicular to the loudspeaker's acoustic center, forming a compact coaxial acoustic acquisition structure.

[0041] The aforementioned ring array structure allows echo signals from different directions and reflection paths to exhibit distinguishable arrival time differences and amplitude variations in each microphone channel, thus providing spatial information for subsequent echo feature extraction. Joint analysis of multi-channel echo signals enhances the stable capture capability of early reflection components, suppresses occasional noise and reverberation interference, and improves the discriminability of echo signals in both the time and spatial domains.

[0042] Furthermore, the geometric symmetry of the ring array helps to reduce the impact of device orientation changes on echo acquisition results, enabling the system to obtain consistent echo observation characteristics under different orientations and arrangement conditions, providing a stable and reliable acoustic input basis for subsequent spatial structure inference based on vision-echo fusion.

[0043] In the description of this invention, the above are merely preferred embodiments and are not intended to limit the scope of protection of this invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for reconstructing three-dimensional spatial structures based on vision and pseudo-ultrasound, characterized in that, Includes the following steps: S1. Acquire indoor panoramic images and multi-channel echo signals, preprocess them, and obtain equidistant cylindrical projection images and multi-channel STFT amplitude spectra; S2. Encode the equidistant cylindrical projection image and the multi-channel STFT amplitude spectrum to obtain visual features and echo features; S3. Using feature-level linear modulation, echo features are used as conditional signals to perform channel-level affine transformation on visual features to generate fused features. S4. The fusion features are reduced in dimensionality along the horizontal direction to a one-dimensional sequence representation organized by columns. Combined with ring residual sequence modeling and multi-branch structure prediction, the indoor three-dimensional spatial structure representation is obtained by inversion.

2. The three-dimensional spatial structure reconstruction method based on vision and pseudo-ultrasound according to claim 1, characterized in that, In S1, the specific method for acquiring multi-channel echo signals is as follows: A pseudo-ultrasonic chirp pulse signal of 16kHz-20kHz is used as the acoustic emission signal of an omnidirectional loudspeaker to propagate sound into the room. The chirp pulse signal... The specific expression is: In the formula, For signal duration, The lower limit frequency, The upper limit frequency, For time; By using a unified sampling clock and synchronous triggering mechanism in the echo acquisition process through a microphone array, the acquired signals of each channel are time-aligned to obtain multi-channel echo signals. In S1, the method for acquiring panoramic images is as follows: panoramic images within the line-of-sight range are acquired through a visual sensor.

3. The three-dimensional spatial structure reconstruction method based on vision and pseudo-ultrasound according to claim 2, characterized in that, In S1, the specific method for preprocessing the multi-channel echo signal is as follows: The multi-channel echo signal is filtered by a high-pass filter to obtain an echo signal with a high signal-to-noise ratio. A short-time Fourier transform is performed on the echo signal of each channel to obtain the time-frequency representation of each channel. The multi-channel STFT amplitude spectrum is established based on all time-frequency representations. In S1, the specific method for preprocessing the panoramic image is as follows: Orientation alignment processing of panoramic images: Convert panoramic images into multi-view perspective projections, extract structural line segments from each perspective view and map them back to the panoramic coordinate system, estimate the orientation vector in the spherical orientation space based on Hough voting, and construct a three-dimensional rotation matrix accordingly. By applying this rotation to the spherical orientation and re-unfolding it into an equidistant cylindrical projection form, the orientation-aligned panoramic image is obtained. The orientation-aligned panoramic image is normalized and channel-normalized to generate an equidistant cylindrical projection image. The normalization process is used to enhance the numerical stability of the subsequent feature extraction process, and the channel-normalization process is used to reduce the impact of different lighting conditions and imaging device differences on the distribution of visual features.

4. The three-dimensional spatial structure reconstruction method based on vision and pseudo-ultrasound according to claim 3, characterized in that, In S2, the specific method for encoding the multi-channel STFT amplitude spectrum is as follows: The multi-channel STFT amplitude spectrum is input into the echo feature encoder to generate echo features. Specifically, a ResNet-18 encoder is used to hierarchically model the time-frequency structure of the echo signal, generating echo features. The specific expression is: In the formula, For echo feature encoders, For each channel, the corresponding time-frequency representation is... For the first Echo features extracted at various scales For the first Echo features extracted at various scales For the first Echo features extracted at various scales For the set of real numbers, For the first Time resolution at each scale For acoustic feature dimensions, The total number of scales for echo features; In S2, the specific method for encoding the equidistant cylindrical projection image is as follows: The equidistant cylindrical projection image is input into the visual feature encoder to generate visual features. The specific expression is: In the formula, For visual feature encoders, It is an equidistant cylindrical projection image. To output the number of scale layers, Indicates the first Visual features extracted at various scales Indicates the first Visual features extracted at various scales Indicates the first Visual features extracted at various scales For the first The height of visual features at each scale For the first The width of visual features at each scale For visual feature channel dimensions, The convolution operator defined for the visual feature encoder uses a local projection sampling operator to perform irregular interpolation sampling on an equidistant cylindrical projection image, outputting a local sampling tensor. The specific expression of the convolution operator defined for the visual feature encoder is as follows: In the formula, The sampling center in the two-dimensional pixel space. For convolution kernel parameters, The number of local sampling locations, the first Each convolution kernel weight With the Each local sampling location corresponds one-to-one. For The local sampling tensor obtained by mapping back to the ERP image through a local neighborhood of the sphere centered on the sphere. Represents the local sampling tensor The Middle Image feature values ​​corresponding to each local sampling location Represents an equidistant cylindrical projection image Apply the spherical sensing convolution operator SConv, and use the convolution kernel parameters The output feature map obtained as weights; In the formula, This is the inverse transformation operator for equidistant cylindrical projection from a pixel to the spherical surface. It is an equidistant cylindrical projection operator. For the real number field, For the first A local sampling offset vector, This is the sampling operator.

5. The three-dimensional spatial structure reconstruction method based on vision and pseudo-ultrasound according to claim 4, characterized in that, S3 includes the following steps: S31. Pool the echo features to obtain a global echo descriptor. Concatenate the global echo descriptors in the channel dimension to generate an echo fusion feature vector. S32. Based on the echo fusion feature vector, the echo condition vector is obtained by nonlinear mapping through a two-layer fully connected network. The echo condition vector is then mapped into channel-wise modulation parameters through a parameter generation network. S33. Based on the modulation parameters, apply a channel-by-channel affine transformation to the visual features for fusion to generate fused features.

6. The three-dimensional spatial structure reconstruction method based on vision and pseudo-ultrasound according to claim 5, characterized in that, In S31, the global echo descriptor includes echo descriptors at all scales, where the first... Echo descriptors at various scales The specific expression is: In the formula, For pooling layers; Generate echo fusion feature vectors The specific expression is: In the formula, For the first Echo descriptors at various scales For the first Echo descriptors at various scales For the first Echo descriptors at various scales The dimension of the echo fusion feature vector; In S32, the echo condition vector is obtained. The specific expression is: In the formula, The echo feature fusion mapping function consists of two fully connected layers. The first layer fully connected network has the following dimensions: The weight matrix, The first layer fully connected network has the following dimensions: Bias vector, The second layer fully connected network has the following dimensions: The weight matrix, The second layer fully connected network has the following dimensions: The bias vector, It is a ReLU nonlinear activation function; The echo conditional vector is mapped to channel-by-channel modulation parameters using a parameter generation network. The specific expression is: In the formula, The parameter generation network consists of two fully connected layers. This is the weight matrix of the first fully connected layer. This represents the bias vector of the first fully connected layer. This is the weight matrix of the second fully connected layer. The bias vector of the second fully connected network is used. The first fully connected network models the nonlinear relationship between the echo condition vector and the visual feature modulation parameters. The output vector of the second layer is divided into channel scaling residuals in the channel dimension. With channel offset All dimensions To improve training stability, a residual scaling method is used to construct the scaled residual. ; In S33, in spatial position The above performs an affine transformation on the visual features to generate the first... Fusion features at various scales The specific expression is: In the formula, For Hadama accumulation, Represents the instance normalization operator. Indicates the first Spatial position in visual features at various scales , For row index, For column indexes.

7. The three-dimensional spatial structure reconstruction method based on vision and pseudo-ultrasound according to claim 6, characterized in that, S4 includes the following steps: S41. Input the fused features into the 3D spatial structure predictor, select downsampling ratios of 8 and 16, converge the features along the vertical direction to obtain several column-organized one-dimensional sequence representations, apply a linear mapping to them to obtain a one-dimensional sequence representation with uniform dimension, align and fuse the one-dimensional sequence representations of the two scales to obtain the column sequence feature representation; S42. Based on column sequence feature representation, using column index as the basic modeling unit, jointly decode the structural features of each column to predict 3D contour points, including the 3D ground-wall contour points corresponding to each column. 3D ceiling-wall outline points Probability of turning point with wall This process forms a pseudo-point cloud of contours describing the three-dimensional spatial structure of the interior, generating a representation of the three-dimensional spatial structure of the interior.

8. The three-dimensional spatial structure reconstruction method based on vision and pseudo-ultrasound according to claim 7, characterized in that, In S41, the scale is obtained. The following one-dimensional sequence representation The specific expression is: In the formula, For scale The width of the fused feature map. To represent the convergence operator along the vertical dimension, Indicated in scale Take the fused feature map of the first step The resulting characteristic subtensors; Obtain a column sequence with uniform dimensions The specific expression is: In the formula, This is the first weight matrix. This is the first bias vector. The feature dimension, , For scale The channel dimension of the feature map below. ; Obtain column sequence feature representation The specific expression is: In the formula, For multi-scale sequence fusion operators; In S42, the method for constructing the contour pseudo-point cloud is as follows: the equidistant cylindrical projection image is divided into several vertical columns along the horizontal direction, and for each column... It predicts the pixel position of the corresponding structural layout in the column and the depth information along the viewing direction at that position, thereby constructing a pseudo-point cloud of the 3D spatial structure outline. ,in, This represents a scaled point set representation of the contour in three-dimensional space. Sparse topological cues representing wall segments and transition points; In the formula, For the first The positions of the corresponding ground-wall contour points in three-dimensional space. For the first The position of the top-wall contour points corresponding to the column in three-dimensional space. For column indexes, The total number of vertical columns obtained by dividing the equidistant cylindrical projection image along the horizontal direction; In the formula, The distance between the ground-wall contour points along the corresponding line of sight. This represents the distance from the top-to-wall outline point along the corresponding line of sight. and For pixel position, For ground-wall profile location estimation, For top-wall profile location estimation; In the formula, For pixel index, For the number of pixels, pixel position Let be the confidence probability of the ground-wall boundary. pixel position The confidence probability of the top-wall boundary; In the formula, This represents the probability of a wall turning point.

9. The three-dimensional spatial structure reconstruction method based on vision and pseudo-ultrasound according to claim 8, characterized in that, In S41, to ensure that the prediction results meet the indoor geometric prior constraints and improve boundary continuity, a total loss function is constructed for the three-dimensional spatial structure predictor. Its expression is: In the formula, This is a geometrically ordered soft constraint, ensuring that the ceiling boundary always lies above the floor boundary. As a first-order differential smoothing constraint, a first-order differential smoothing term is applied column-by-column to the ground-wall and top-wall boundaries to suppress discontinuous jitter. The L1 loss is used to regress the ground-wall boundary and top-wall boundary. Binary cross-entropy loss is used for wall transition prediction. for The weight, for The weight, for The weight, for The weights; In the formula, For column indexes Ground-wall profile location estimation, For column indexes Estimation of the top-wall profile location.

10. A three-dimensional spatial structure reconstruction system based on vision and pseudo-ultrasound, applied to the three-dimensional spatial structure reconstruction method based on vision and pseudo-ultrasound as described in any one of claims 1 to 9, characterized in that, The system includes a visual sensor, an acoustic sensor array, and a spatial structure reconstruction algorithm module; Among them, the visual sensor is used to acquire panoramic images within the line of sight, the acoustic sensor group is used to collect indoor pseudo-ultrasonic echo signals, and the spatial structure reconstruction algorithm module is used to reconstruct the overall three-dimensional spatial structure of the indoor scene based on the joint modeling of visual information and echo information. The acoustic sensor array includes an omnidirectional loudspeaker and a microphone array.