Unsupervised monocular visual odometer pose estimation method based on sequence learning

Through the sequence learning and self-supervised learning framework, combined with the variable step size convolution length short-term memory network, the problem of insufficient pose estimation accuracy and robustness in unsupervised monocular visual odometry technology is solved, and the problem of insufficient accuracy and robustness in unlabeled data is achieved. and high-precision pose estimation in complex environments.

CN118691670AActive Publication Date: 2024-09-24UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410379069.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-29
Publication Date
2024-09-24
Estimated Expiration
2044-03-29

AI Technical Summary

Technical Problem

Existing unsupervised monocular visual odometry technology has deficiencies in pose estimation accuracy and robustness, especially in the absence of labeled data and in complex environments, where it is difficult to achieve high-precision positioning.

Method used

Using a sequence-based learning method, by acquiring monocular image sequence data, using a variable step convolution length short-term memory network and a self-supervised learning framework, combined with pixel-by-pixel depth images and RGB images, multiple poses between image pairs are calculated. Transform to achieve pose estimation.

Benefits of technology

Without the need for training data sets and labels, the motion trajectory of the camera carrier can be accurately and robustly restored, improving the accuracy and adaptability of pose estimation, and achieving autonomous pose estimation under monocular image data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118691670A
    Figure CN118691670A
Patent Text Reader

Abstract

The invention discloses an unsupervised monocular visual odometer pose estimation method based on sequence learning, and belongs to the field of pose estimation.The method comprises the steps that monocular image sequence data are obtained, and a pixel-by-pixel depth image sequence of the monocular image sequence data is obtained; according to the monocular image sequence data, a fixed step length sliding window is adopted for segmentation, and every two adjacent frames of image pairs are spliced to obtain a plurality of image pair sequence data; according to the sequence data of each image pair, obtaining a relative camera pose after multiple times of pose transformation and accumulation between the image pairs by using a variable step convolution long-short term memory network; and according to the pixel-by-pixel depth image sequence of the monocular image sequence data, the monocular image sequence data and the relative camera pose after repeated pose transformation and accumulation between the image pairs, based on a self-supervised learning framework for pose estimation, obtaining a pose estimation result. According to the invention, the problem that the existing unsupervised monocular visual odometer technology is poor in pose estimation accuracy and robustness is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of posture estimation, and in particular relates to an unsupervised monocular visual odometer posture estimation method based on sequence learning. Background Art

[0002] With the development of electronic information technology and artificial intelligence technology, the demand for various types of automated and intelligent robots is increasing. Robots with autonomous positioning and navigation systems are widely used in logistics, factories, rescue and other scenarios, greatly improving production efficiency and safety; at the same time, high-precision positioning and navigation technology is also a key technology in the fields of autonomous driving and unmanned delivery.

[0003] At present, the global navigation satellite system (GNSS) using the global positioning system (GPS), Beidou satellite navigation system (BDS) and other global navigation satellite systems (GNSS) are widely used in various fields. However, this positioning technology is affected by the environment. In complex outdoor scenes (such as forests and densely built-up areas) or indoor scenes with certain shielding and interference to satellite signals, the positioning accuracy and stability of the global navigation satellite system (GNSS) will be greatly affected. The positioning technology using the visual odometry (VO) of the visual sensor is one of the effective ways to solve the above problems. This positioning technology has the advantages of wide application scenarios, low cost, and rich input. It can perform high-precision and reliable positioning in the absence of satellite signals.

[0004] Monocular visual odometry mainly uses images collected by visual sensors at adjacent moments as input to predict the pose transformation of the sensor carrier at adjacent moments, and accumulates them to obtain the overall motion trajectory of the sensor. Traditional monocular visual odometry mostly uses feature point-based methods, such as ORB-SLAM2. However, feature point-based methods cannot avoid excessive dependence on camera internal parameters and external environmental parameters, which is not conducive to platform transplantation. Compared with traditional monocular visual odometry methods, deep learning methods are based on data-driven characteristics, and their robustness in terms of camera internal parameters and complex environmental conditions has been greatly improved. Deep learning methods can be divided into supervised and unsupervised methods. Supervised methods use a large amount of high-quality, structured, labeled data to train the model to obtain high-precision trajectory estimation results, but the real depth and pose information is difficult to collect in some cases. Therefore, supervised methods cannot benefit from large-scale unlabeled image data; unsupervised methods can get rid of the dependence on a large amount of training data and can use unlabeled sensor data to train the model, which will save a lot of manpower and material resources. At the same time, the generalization ability in new scenarios that the model has not been trained is also very impressive. It is also one of the important directions for the next development of artificial intelligence. However, the accuracy and robustness of the results of unsupervised methods are subject to greater tests. Summary of the invention

[0005] In view of the above-mentioned deficiencies in the prior art, the present invention provides an unsupervised monocular visual odometer pose estimation method based on sequence learning, which solves the problem of poor pose estimation accuracy and robustness of the existing unsupervised monocular visual odometer technology.

[0006] In order to achieve the above-mentioned invention object, the technical solution adopted by the present invention is: an unsupervised monocular visual odometer pose estimation method based on sequence learning, comprising the following steps:

[0007] S1, obtaining monocular image sequence data, and obtaining a pixel-by-pixel depth image sequence of the monocular image sequence data;

[0008] S2. According to the monocular image sequence data, a fixed-step sliding window is used for segmentation, and each two adjacent frames of image pairs are spliced ​​to obtain a plurality of image pair sequence data;

[0009] S3, according to the sequence data of each image pair, using the variable step size convolutional long short-term memory network, to obtain the relative camera pose after accumulating multiple pose transformations between the image pairs;

[0010] S4. According to the pixel-by-pixel depth image sequence of the monocular image sequence data, the monocular image sequence data and the relative camera pose accumulated after multiple pose transformations between image pairs, a pose estimation result is obtained based on a self-supervised learning framework for pose estimation.

[0011] Furthermore, the step S2 is specifically as follows:

[0012] S201, using a sliding window with a length of l and a fixed step size of 1 to segment the monocular image sequence data to obtain input sequence data with a length of l;

[0013] S202 . According to the input sequence data, each two adjacent frames of images are spliced ​​along the color channel dimension to obtain a plurality of image pair sequence data.

[0014] Furthermore, the variable step length convolutional long short-term memory network in step S3 includes a first variable step length convolutional long short-term memory network layer, a second variable step length convolutional long short-term memory network layer, a third variable step length convolutional long short-term memory network layer, a fourth variable step length convolutional long short-term memory network layer, a fifth variable step length convolutional long short-term memory network layer, a sixth variable step length convolutional long short-term memory network layer, a seventh variable step length convolutional long short-term memory network layer and a convolutional network layer connected in sequence; the first variable step length convolutional long short-term memory network layer, the second variable step length convolutional long short-term memory network layer, the third variable step length convolutional long short-term memory network layer, the fourth variable step length convolutional long short-term memory network layer The numbers of hidden layers of the fifth variable-step convolutional long short-term memory network layer, the sixth variable-step convolutional long short-term memory network layer, and the seventh variable-step convolutional long short-term memory network layer are 16, 32, 64, 16, 16, 16 and 16 respectively, the sizes of convolution kernels are 7, 5, 3, 3, 3, 3 and 1 respectively, and the step sizes are all 2; each variable-step convolutional long short-term memory network layer includes N sequentially connected variable-step convolutional long short-term memory encoder units; each variable-step convolutional long short-term memory encoder unit is respectively connected to the variable-step convolutional long short-term memory encoder unit of the same depth of the adjacent variable-step convolutional long short-term memory network layer; N is the number of image pair sequence data.

[0015] Furthermore, the variable-stride convolutional long short-term memory encoder unit includes a cross-correlated motion pattern branch and a geometric structure branch.

[0016] Furthermore, the motion mode branch is used to generate a feature map X output by a variable-step convolutional long short-term memory encoder unit of the same depth of the previous variable-step convolutional long short-term memory network layer. out_t-1 , the state of the motor pattern branch neurons at the previous moment and the short-term memory at the previous moment, which is controlled by the state of the motor pattern branch neurons, to obtain the short-term memory H at the current moment t and the current state of the motor pattern branch neuron C m_t ;

[0017] The geometric structure branch is used to obtain the geometric structure branch hidden unit state X of the variable step length convolution long short-term memory encoder unit at time t according to the high-dimensional motion feature information containing tightly coupled spatiotemporal information output by the variable step length convolution long short-term memory encoder unit of the same depth of the previous variable step length convolution long short-term memory network layer, the geometric structure branch neuron state at the previous moment and the short-term memory at the previous moment, which is controlled by the geometric structure branch neuron state. out and the current geometric structure branch neuron state C s_t .

[0018] Furthermore, the geometric structure branch hidden unit state X of the variable step length convolution short-term memory encoder unit at time t out and the current short-term memory H t The expressions are:

[0019]

[0020] Among them, X out is the geometric structure branch hidden unit state of the variable stride convolution long short-term memory encoder unit at time t; o s_t The temporal relationship of the motion of the branches of the geometric structure; is the Hadamard product; tanh() is the hyperbolic tangent function; C s_t is the current state of the geometric structure branch neuron; σ() is the sigmoid activation function; W os is the weight of the output gate state of the geometry branch; W cos is the weight of the output gate state corresponding to the state of the geometric structure branch neuron; b os is the bias corresponding to the output gate state of the geometric structure branch; f s_t is the forget gate state of the geometric structure branch; C s_t-1 is the state of the geometric structure branch neuron at the previous moment; i s_t Input gate state for the geometry branch at the current moment; W cs is the weight of the candidate information of the input data of the geometric structure branch; b cs is the bias corresponding to the input data candidate information of the geometric structure branch; W fs is the weight of the forget gate state of the geometric structure branch; W cfs is the weight of the neuron state of the geometric structure branch corresponding to the forget gate state; b fs is the bias corresponding to the forget gate state of the geometric structure branch; W is The weight of the input data for the geometry branch; W cis is the weight of the neuron state of the geometric structure branch corresponding to the input data; b is is the bias corresponding to the input data of the geometry branch; o m_t The temporal relationship of the movement of the movement pattern branch; C m_t is the state of the motor pattern branch neuron at the current moment; W om is the weight of the output gate state of the motion mode branch; W com is the weight of the state of the neuron in the motor pattern branch corresponding to the state of the output gate; b om is the bias corresponding to the output gate state of the motion mode branch; f m_t is the forget gate state of the motion mode branch; C m_t-1 is the state of the motor pattern branch neuron at the previous moment; im_t Input gate state for the motion mode branch at the current moment; W cm is the weight of the candidate information of the input data of the motion mode branch; b cm is the bias corresponding to the input data candidate information of the motion mode branch; W fm is the weight of the forget gate state of the motion mode branch; W cfm is the weight of the neuron state of the motor pattern branch corresponding to the forget gate state; b fm is the bias corresponding to the forget gate state of the motion mode branch; W im The weight of the input data for the motion model branch; W cim is the weight of the neuron state of the motor pattern branch corresponding to the input data; b im The bias corresponding to the input data of the motion mode branch.

[0021] Furthermore, the step S3 is specifically as follows:

[0022] S301, according to each image pair sequence data, through each variable step length convolution long short-term memory network layer of the variable step length convolution long short-term memory network, obtain the high-dimensional motion features of each image pair sequence data containing tightly coupled spatiotemporal information;

[0023] S302, according to the high-dimensional motion features containing tightly coupled spatiotemporal information of each image pair sequence data, the convolutional network layer of the variable-step convolutional long short-term memory network is used to complete the information interaction between feature channels, and the 6-degree-of-freedom pose results of each image pair sequence data are obtained;

[0024] S303, converting the 6-DOF pose results of each image pair sequence data into a pose transformation matrix to obtain a pose transformation matrix for each image pair;

[0025] S304, according to the pose transformation matrix of each image pair, calculate the relative camera pose after accumulating multiple pose transformations between the image pairs:

[0026]

[0027] in, is the relative camera pose between the image collected by the monocular camera at time t and the image collected by the monocular camera at time t+n, the image collected by the monocular camera at time t is the first frame of the sliding window i; n is the number of time points; is the relative position of the l-1th pair of consecutive images in the sliding window i+n-l+1; l is the length of the sliding window; is the relative pose of the third pair of consecutive images in the sliding window i+n-l+1; is the relative pose of the first pair of consecutive images in the sliding window i+n-l+1; is the relative pose of the first pair of consecutive images in the sliding window i+nl; is the relative pose of the first pair of consecutive images in sliding window i+2; is the relative pose of the first pair of consecutive images in sliding window i+1; is the relative pose of the first pair of consecutive images in sliding window i.

[0028] The beneficial effects of the present invention are as follows: without the need for training data set depth and pose true value labels, visual sensor camera parameters and scene point landmarks, the present invention mines the serial correlation of continuous local motion based on a variable-step convolutional long short-term memory network composed of a series of basic hidden layer memory units of a mutually correlated sequence artificial neural network, and constructs a self-supervised learning framework to jointly calculate the reprojected image using the original RGB image and the estimated pixel-by-pixel depth image, and finally accurately and robustly obtains high-dimensional pose features of tightly coupled spatiotemporal information, thereby realizing completely autonomous restoration of relative-scale motion trajectories while relying only on an unsupervised framework and monocular image data. Based on the high-dimensional spatial structural features of motion and the local temporal relationship of continuous motion calculated by the basic hidden layer memory units of the sequential artificial neural network, the next encoder layer at the same moment and the next moment memory unit of the same layer encoder are respectively input to guide the network to learn the local context information of continuous motion and the temporal relationship of motion. The image spatial structural features extracted by the previous layer and the previous moment short-term memory representing the temporal relationship are fused into each encoder unit to model the time dependency information in the continuous motion geometric information in the sensor data. Finally, the estimated value of the pose change of the camera carrier between adjacent camera sampling points is obtained through optimization iteration, achieving the goal of a high-precision pose estimation model. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 The figure is a flow chart of the method of the present invention.

[0030] Figure 2 This is a block diagram of the variable step size convolutional long short-term memory network structure of the multi-layer network structure of the present invention.

[0031] Figure 3 This is a structural block diagram of the variable step-size convolutional long short-term memory encoder unit of the present invention. DETAILED DESCRIPTION

[0032] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.

[0033] like Figure 1 As shown, in one embodiment of the present invention, an unsupervised monocular visual odometer pose estimation method based on sequence learning includes the following steps:

[0034] S1, obtaining monocular image sequence data, and obtaining a pixel-by-pixel depth image sequence of the monocular image sequence data;

[0035] S2. According to the monocular image sequence data, a fixed-step sliding window is used for segmentation, and each two adjacent frames of image pairs are spliced ​​to obtain a plurality of image pair sequence data;

[0036] S3, according to the sequence data of each image pair, using the variable step size convolutional long short-term memory network, to obtain the relative camera pose after accumulating multiple pose transformations between the image pairs;

[0037] S4. Obtain a pose estimation result based on a self-supervised learning framework for pose estimation according to the pixel-by-pixel depth image sequence of the monocular image sequence data, the monocular image sequence data, and the relative camera pose after accumulating multiple pose transformations between image pairs.

[0038] In this embodiment, in step S1, each monocular image sampled and acquired by the monocular vision sensor is calculated through a depth estimation network to obtain a corresponding pixel-by-pixel depth map.

[0039] The step S2 is specifically as follows:

[0040] S201, using a sliding window with a length of l and a fixed step size of 1 to segment the monocular image sequence data to obtain input sequence data with a length of l;

[0041] S202 . According to the input sequence data, each two adjacent frames of images are spliced ​​along the color channel dimension to obtain a plurality of image pair sequence data.

[0042] In this embodiment, the specific method of step S2 is:

[0043] S2-1, using a sliding window with a length of 3 and a fixed step size of 1 to segment the image sequence sampled and acquired by the monocular vision sensor in step S1, to obtain input sequence data with a length of 3;

[0044] S2-2, splice the segmented input sequence data along the color channel dimension for every two adjacent frames of images. The representation form of the image pair sequence data as the model input is specifically in the form of a four-dimensional tensor (t, c, h, w), where t is the number of image pairs, that is, the total number of images in the input sequence after segmentation in step S2-1 minus 1, c is the number of image channels obtained by splicing the three-channel color RGB images of two adjacent frames sampled by the monocular vision sensor in step S1; h and w are the number of pixels in the height and width of the image, respectively.

[0045] The invention is characterized in that: the sampling frequency of the monocular vision sensor is set to 20 Hz; the data dimension of the three-channel color RGB image is (3, 128, 416); in step S1, a pixel-by-pixel depth map is calculated corresponding to each three-channel color RGB image frame, and the data dimension of the pixel-by-pixel depth map is (1, 128, 416); the data dimension of the model input obtained in step S2 is (2, 6, 128, 416).

[0046] like Figure 2 As shown, the variable step length convolutional long short-term memory network in step S3 includes a first variable step length convolutional long short-term memory network layer, a second variable step length convolutional long short-term memory network layer, a third variable step length convolutional long short-term memory network layer, a fourth variable step length convolutional long short-term memory network layer, a fifth variable step length convolutional long short-term memory network layer, a sixth variable step length convolutional long short-term memory network layer, a seventh variable step length convolutional long short-term memory network layer and a convolutional network layer connected in sequence; the first variable step length convolutional long short-term memory network layer, the second variable step length convolutional long short-term memory network layer, the third variable step length convolutional long short-term memory network layer, the fourth variable step length convolutional long short-term memory network layer, The numbers of hidden layers of the fifth variable-step convolutional long short-term memory network layer, the sixth variable-step convolutional long short-term memory network layer, and the seventh variable-step convolutional long short-term memory network layer are 16, 32, 64, 16, 16, 16, and 16 respectively, the sizes of convolution kernels are 7, 5, 3, 3, 3, 3, and 1 respectively, and the step sizes are all 2; each variable-step convolutional long short-term memory network layer includes N sequentially connected variable-step convolutional long short-term memory encoder units; each variable-step convolutional long short-term memory encoder unit is respectively connected to the variable-step convolutional long short-term memory encoder unit of the same depth of the adjacent variable-step convolutional long short-term memory network layer; N is the number of image pair sequence data.

[0047] In this embodiment, the convolutional network layer is a convolutional layer with 16 channels and a convolution kernel size of 1×1. The hidden unit state of the last variable-step convolutional long short-term memory network layer stores motion features containing tightly coupled spatiotemporal information, with a dimension of (1,6), and the output of the convolutional neural network is a 6-degree-of-freedom pose result estimated by the pose network. Among them, the representation of the 6-degree-of-freedom pose transformation is specifically six dimensions (x, y, z, α, β, γ), wherein x, y, z are respectively the spatial transformation of the x-axis, the spatial transformation of the y-axis, and the spatial transformation of the z-axis of the monocular vision sensor in three-dimensional space between shooting two frames of images; α, β, γ represent Euler angles, which are respectively the pitch angle transformation, yaw angle transformation, and roll angle transformation of the sensor in three-dimensional space.

[0048] like Figure 3As shown, the variable-step convolutional long short-term memory encoder unit includes a cross-correlated motion pattern branch and a geometric structure branch.

[0049] The motion mode branch is used to generate a feature map X output by a variable-step convolutional long short-term memory encoder unit of the same depth of the previous variable-step convolutional long short-term memory network layer. out_t-1 , the state of the motor pattern branch neurons at the previous moment and the short-term memory at the previous moment, which is controlled by the state of the motor pattern branch neurons, to obtain the short-term memory H at the current moment t and the current state of the motor pattern branch neuron C m_t ;

[0050] The geometric structure branch is used to obtain the geometric structure branch hidden unit state X of the variable step length convolution long short-term memory encoder unit at time t according to the high-dimensional motion feature information containing tightly coupled spatiotemporal information output by the variable step length convolution long short-term memory encoder unit of the same depth of the previous variable step length convolution long short-term memory network layer, the geometric structure branch neuron state at the previous moment and the short-term memory at the previous moment, which is controlled by the geometric structure branch neuron state. out and the current geometric structure branch neuron state C s_t .

[0051] In this embodiment, Figure 3 As shown, the structure designed by the present invention uses motion pattern branches and geometric structure branches to extract time and space structures in a targeted manner, and fully integrates the information to guide the feature extraction of the next layer and the next moment. Figure 3 Medium X in The feature map output by the variable-stride convolutional long short-term memory encoder unit of the same depth as the previous variable-stride convolutional long short-term memory network layer; X out is the geometric structure branch hidden unit state of the variable step length convolution long short-term memory encoder unit at time t; H is the motor pattern branch neuron state and short-term memory at the previous moment; C m is the state of the motor pattern branch neuron at the previous moment; C s is the state of the geometric structure branch neuron at the previous moment; H next is the short-term memory of the current moment; C m_next is the state of the motor pattern branch neuron at the current moment; C s_next is the state of the geometric structure branch neuron at the current moment.

[0052] The geometric structure of the variable-step convolution short-term memory encoder unit at time t is the branch hidden unit state X out and the current short-term memory H t The expressions are:

[0053]

[0054]

[0055] Among them, X out is the geometric structure branch hidden unit state of the variable stride convolution long short-term memory encoder unit at time t; o s_t The temporal relationship of the motion of the branches of the geometric structure; is the Hadamard product; tanh() is the hyperbolic tangent function; C s_t is the current state of the geometric structure branch neuron; σ() is the sigmoid activation function; W os is the weight of the output gate state of the geometry branch; W cos is the weight of the output gate state corresponding to the state of the geometric structure branch neuron; b os is the bias corresponding to the output gate state of the geometric structure branch; f s_t is the forget gate state of the geometric structure branch; C s_t-1 is the state of the geometric structure branch neuron at the previous moment; i s_t Input gate state for the geometry branch at the current moment; W cs is the weight of the candidate information of the input data of the geometric structure branch; b cs is the bias corresponding to the input data candidate information of the geometric structure branch; W fs is the weight of the forget gate state of the geometric structure branch; W cfs is the weight of the neuron state of the geometric structure branch corresponding to the forget gate state; b fs is the bias corresponding to the forget gate state of the geometric structure branch; W is The weight of the input data for the geometry branch; W cis is the weight of the neuron state of the geometric structure branch corresponding to the input data; b is is the bias corresponding to the input data of the geometry branch; o m_t The temporal relationship of the movement of the movement pattern branch; C m_t is the state of the motor pattern branch neuron at the current moment; W om is the weight of the output gate state of the motion mode branch; W com is the weight of the state of the neuron in the motor pattern branch corresponding to the state of the output gate; b om is the bias corresponding to the output gate state of the motion mode branch; f m_t is the forget gate state of the motion mode branch; C m_t-1 is the state of the motor pattern branch neuron at the previous moment; i m_t Input gate state for the motion mode branch at the current moment; W cmis the weight of the candidate information of the input data of the motion mode branch; b cm is the bias corresponding to the input data candidate information of the motion mode branch; W fm is the weight of the forget gate state of the motion mode branch; W cfm is the weight of the neuron state of the motor pattern branch corresponding to the forget gate state; b fm is the bias corresponding to the forget gate state of the motion mode branch; W im The weight of the input data for the motion model branch; W cim is the weight of the neuron state of the motor pattern branch corresponding to the input data; b im The bias corresponding to the input data of the motion mode branch.

[0056] The step S3 is specifically as follows:

[0057] S301, according to each image pair sequence data, through each variable step length convolution long short-term memory network layer of the variable step length convolution long short-term memory network, obtain the high-dimensional motion features of each image pair sequence data containing tightly coupled spatiotemporal information;

[0058] S302, according to the high-dimensional motion features containing tightly coupled spatiotemporal information of each image pair sequence data, the convolutional network layer of the variable-step convolutional long short-term memory network is used to complete the information interaction between feature channels, and the 6-degree-of-freedom pose results of each image pair sequence data are obtained;

[0059] S303, converting the 6-DOF pose results of each image pair sequence data into a pose transformation matrix to obtain a pose transformation matrix for each image pair;

[0060] S304, according to the pose transformation matrix of each image pair, calculate the relative camera pose after accumulating multiple pose transformations between the image pairs:

[0061]

[0062] in, is the relative camera pose between the image collected by the monocular camera at time t and the image collected by the monocular camera at time t+n, the image collected by the monocular camera at time t is the first frame of the sliding window i; n is the number of time points; is the relative position of the l-1th pair of consecutive images in the sliding window i+n-l+1; l is the length of the sliding window; is the relative pose of the third pair of consecutive images in the sliding window i+n-l+1; is the relative pose of the first pair of consecutive images in the sliding window i+n-l+1; is the relative pose of the first pair of consecutive images in the sliding window i+nl; is the relative pose of the first pair of consecutive images in sliding window i+2; is the relative pose of the first pair of consecutive images in sliding window i+1; is the relative pose of the first pair of consecutive images in sliding window i.

[0063] In this embodiment, the present invention mines the serial correlation of continuous local motion based on a variable-step convolutional long short-term memory network composed of a series of basic hidden layer memory units of a mutually correlated sequence artificial neural network without the need for training data set depth and pose truth labels, visual sensor camera parameters and scene point landmarks, and constructs a self-supervised learning framework to jointly calculate the reprojected image using the original RGB image and the estimated pixel-by-pixel depth image. Finally, high-dimensional pose features of tightly coupled spatiotemporal information can be accurately and robustly obtained, thereby achieving completely autonomous recovery of relative-scale motion trajectories while relying only on an unsupervised framework and monocular image data.

[0064] Based on the high-dimensional spatial structural features of motion and the local temporal relationship of continuous motion calculated by the basic hidden layer memory units of the sequential artificial neural network, the next encoder layer at the same moment and the next moment memory unit of the same layer encoder are respectively input to guide the network to learn the local context information of continuous motion and the temporal relationship of motion. The image spatial structural features extracted by the previous layer and the previous moment short-term memory representing the temporal relationship are fused into each encoder unit to model the time dependency information in the continuous motion geometric information in the sensor data. Finally, the optimization iteration is used to obtain the estimated value of the pose change of the camera carrier between adjacent camera sampling points, thereby achieving the goal of a high-precision pose estimation model.

Claims

1. An unsupervised monocular visual odometry pose estimation method based on sequence learning, characterized in that: The following steps are involved: S1, obtaining monocular image sequence data, and obtaining a pixel-by-pixel depth image sequence of the monocular image sequence data; S2. According to the monocular image sequence data, a fixed-step sliding window is used for segmentation, and each two adjacent frames of image pairs are spliced ​​to obtain a plurality of image pair sequence data; S3, according to the sequence data of each image pair, using the variable step size convolutional long short-term memory network, to obtain the relative camera pose after accumulating multiple pose transformations between the image pairs; S4. According to the pixel-by-pixel depth image sequence of the monocular image sequence data, the monocular image sequence data and the relative camera pose accumulated after multiple pose transformations between image pairs, a pose estimation result is obtained based on a self-supervised learning framework for pose estimation.

2. The unsupervised monocular visual odometer pose estimation method based on sequence learning according to claim 1, characterized in that: The step S2 is specifically as follows: S201, using a sliding window with a length of l and a fixed step size of 1 to segment the monocular image sequence data to obtain input sequence data with a length of l; S202 . According to the input sequence data, each two adjacent frames of images are spliced ​​along the color channel dimension to obtain a plurality of image pair sequence data.

3. The unsupervised monocular visual odometer pose estimation method based on sequence learning according to claim 1, characterized in that: The variable step length convolutional long short-term memory network in step S3 includes a first variable step length convolutional long short-term memory network layer, a second variable step length convolutional long short-term memory network layer, a third variable step length convolutional long short-term memory network layer, a fourth variable step length convolutional long short-term memory network layer, a fifth variable step length convolutional long short-term memory network layer, a sixth variable step length convolutional long short-term memory network layer, a seventh variable step length convolutional long short-term memory network layer and a convolutional network layer connected in sequence; The numbers of hidden layers of the first variable-step convolutional long short-term memory network layer, the second variable-step convolutional long short-term memory network layer, the third variable-step convolutional long short-term memory network layer, the fourth variable-step convolutional long short-term memory network layer, the fifth variable-step convolutional long short-term memory network layer, the sixth variable-step convolutional long short-term memory network layer and the seventh variable-step convolutional long short-term memory network layer are 16, 32, 64, 16, 16, 16 and 16 respectively, the convolution kernel sizes are 7, 5, 3, 3, 3, 3 and 1 respectively, and the step sizes are all 2; each variable-step convolutional long short-term memory network layer includes N variable-step convolutional long short-term memory encoder units connected in sequence; each variable-step convolutional long short-term memory encoder unit is respectively connected to the variable-step convolutional long short-term memory encoder unit of the same depth of the adjacent variable-step convolutional long short-term memory network layer; N is the number of image pair sequence data.

4. The unsupervised monocular visual odometer pose estimation method based on sequence learning according to claim 3 is characterized in that: The variable-stride convolutional long short-term memory encoder unit includes a cross-correlated motion pattern branch and a geometric structure branch.

5. The unsupervised monocular visual odometer pose estimation method based on sequence learning according to claim 4, characterized in that: The motion mode branch is used to generate a feature map X output by a variable-step convolution long short-term memory encoder unit of the same depth of the previous variable-step convolution long short-term memory network layer. out_t-1 , the state of the motor pattern branch neurons at the previous moment and the short-term memory at the previous moment, which is controlled by the state of the motor pattern branch neurons, to obtain the short-term memory H at the current moment t and the current state of the motor pattern branch neuron C m_t ; The geometric structure branch is used to obtain the geometric structure branch hidden unit state X of the variable step length convolution long short-term memory encoder unit at time t according to the high-dimensional motion feature information containing tightly coupled spatiotemporal information output by the variable step length convolution long short-term memory encoder unit of the same depth of the previous variable step length convolution long short-term memory network layer, the geometric structure branch neuron state at the previous moment and the short-term memory at the previous moment, which is controlled by the geometric structure branch neuron state. out and the current geometric structure branch neuron state C s_t .

6. The unsupervised monocular visual odometer pose estimation method based on sequence learning according to claim 5, characterized in that: The geometric structure of the variable-step convolution short-term memory encoder unit at time t is the branch hidden unit state X out and the current short-term memory H t The expressions are: Among them, X out is the geometric structure branch hidden unit state of the variable stride convolution long short-term memory encoder unit at time t; o s_t The temporal relationship of the motion of the branches of the geometric structure; is the Hadamard product; tanh() is the hyperbolic tangent function; C s_t is the current state of the geometric structure branch neuron; σ() is the sigmoid activation function; W os is the weight of the output gate state of the geometry branch; W cos is the weight of the output gate state corresponding to the state of the geometric structure branch neuron; b os is the bias corresponding to the output gate state of the geometric structure branch; f s_t is the forget gate state of the geometric structure branch; C s_t-1 is the state of the geometric structure branch neuron at the previous moment; i s_t Input gate state for the geometry branch at the current moment; W cs is the weight of the candidate information of the input data of the geometric structure branch; b cs is the bias corresponding to the input data candidate information of the geometric structure branch; W fs is the weight of the forget gate state of the geometric structure branch; W cfs is the weight of the neuron state of the geometric structure branch corresponding to the forget gate state; b fs is the bias corresponding to the forget gate state of the geometric structure branch; W is The weight of the input data for the geometry branch; W cis is the weight of the neuron state of the geometric structure branch corresponding to the input data; b is is the bias corresponding to the input data of the geometry branch; o m_t The temporal relationship of the movement of the movement pattern branch; C m_t is the state of the motor pattern branch neuron at the current moment; W om is the weight of the output gate state of the motion mode branch; W com is the weight of the state of the neuron in the motor pattern branch corresponding to the state of the output gate; b om is the bias corresponding to the output gate state of the motion mode branch; f m_t is the forget gate state of the motion mode branch; C m_t-1 is the state of the motor pattern branch neuron at the previous moment; i m_t Input gate state for the motion mode branch at the current moment; W cm is the weight of the candidate information of the input data of the motion mode branch; b cm is the bias corresponding to the input data candidate information of the motion mode branch; W fm is the weight of the forget gate state of the motion mode branch; W cfm is the weight of the neuron state of the motor pattern branch corresponding to the forget gate state; b fm is the bias corresponding to the forget gate state of the motion mode branch; W im The weight of the input data for the motion model branch; W cim is the weight of the neuron state of the motor pattern branch corresponding to the input data; b im The bias corresponding to the input data of the motion mode branch.

7. The unsupervised monocular visual odometer pose estimation method based on sequence learning according to claim 1, characterized in that: The step S3 is specifically as follows: S301, according to each image pair sequence data, through each variable step length convolution long short-term memory network layer of the variable step length convolution long short-term memory network, obtain the high-dimensional motion features of each image pair sequence data containing tightly coupled spatiotemporal information; S302, according to the high-dimensional motion features containing tightly coupled spatiotemporal information of each image pair sequence data, the convolutional network layer of the variable-step convolutional long short-term memory network is used to complete the information interaction between feature channels, and the 6-degree-of-freedom pose results of each image pair sequence data are obtained; S303, converting the 6-DOF pose results of each image pair sequence data into a pose transformation matrix to obtain a pose transformation matrix for each image pair; S304, according to the pose transformation matrix of each image pair, calculate the relative camera pose after accumulating multiple pose transformations between the image pairs: Among them, T t t+n is the relative camera pose between the image collected by the monocular camera at time t and the image collected by the monocular camera at time t+n, the image collected by the monocular camera at time t is the first frame of the sliding window i; n is the number of time points; is the relative position of the l-1th pair of consecutive images in the sliding window i+n-l+1; l is the length of the sliding window; is the relative pose of the third pair of consecutive images in the sliding window i+n-l+1; is the relative pose of the first pair of consecutive images in the sliding window i+n-l+1; is the relative pose of the first pair of consecutive images in the sliding window i+nl; is the relative pose of the first pair of consecutive images in sliding window i+2; is the relative pose of the first pair of consecutive images in sliding window i+1; is the relative pose of the first pair of consecutive images in sliding window i.

Citation Information

Patent Citations

  • Monocular vision odometer pose optimization and error correction method based on deep learning

    CN113989318A

  • Monocular endoscope depth and pose estimation method and device based on unsupervised learning

    CN114022527A

  • Self-supervised visual odometry framework using long-term modeling and incremental learning

    US20210042937A1