[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114399631A - A 3D reconstruction and sludge identification method for the interior of a large crude oil tank - Google Patents

A 3D reconstruction and sludge identification method for the interior of a large crude oil tank Download PDF

Info

Publication number
CN114399631A
CN114399631A CN202210031457.3A CN202210031457A CN114399631A CN 114399631 A CN114399631 A CN 114399631A CN 202210031457 A CN202210031457 A CN 202210031457A CN 114399631 A CN114399631 A CN 114399631A
Authority
CN
China
Prior art keywords
crude oil
interior
tank
oil tank
sludge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210031457.3A
Other languages
Chinese (zh)
Inventor
唐守锋
范梦松
翟少奇
孙善雷
贺新民
赵冠军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China University of Mining and Technology CUMT
Original Assignee
China University of Mining and Technology CUMT
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China University of Mining and Technology CUMT filed Critical China University of Mining and Technology CUMT
Priority to CN202210031457.3A priority Critical patent/CN114399631A/en
Publication of CN114399631A publication Critical patent/CN114399631A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/20Finite element generation, e.g. wire-frame surface description, tesselation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/50Depth or shape recovery
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/66Analysis of geometric attributes of image moments or centre of gravity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10028Range image; Depth image; 3D point clouds

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Geometry (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Image Analysis (AREA)

Abstract

本发明公开了一种原油大罐内部三维重建与油泥识别方法,包括:获取预处理后的多个原油大罐内部图像;提取所述原油大罐内部图像的特征点;采用极线搜索与块匹配技术寻找所述特征点对应的像素点在相机运动后拍摄得到的另一帧原油大罐内部图像中的位置;根据所述两张图像匹配完成的特征点对的位置计算所述相机的位姿;根据所述相机的位姿进行像素点的深度估计,恢复所述像素点的三维空间坐标;将所述三维空间坐标转换、拼接得到点云地图,将所述点云地图进行三角网格化稠密重建并粘贴纹理得到储油罐内部的三维重建模型。本发明能够实时稳定高效地对储油罐内部可见表面进行三维可视化显示,准确识别油泥位置,以便精准高效地清洗罐体上的油泥。

Figure 202210031457

The invention discloses a three-dimensional reconstruction and sludge identification method inside a large crude oil tank, comprising: acquiring a plurality of pre-processed internal images of the large crude oil tank; extracting feature points of the internal images of the large crude oil tank; The matching technology finds the position of the pixel point corresponding to the feature point in another frame of the internal image of the crude oil tank obtained after the camera moves; calculates the position of the camera according to the position of the feature point pair after the matching of the two images. Perform depth estimation of pixel points according to the pose of the camera, and restore the three-dimensional space coordinates of the pixel points; convert and splicing the three-dimensional space coordinates to obtain a point cloud map, and perform a triangular mesh on the point cloud map The 3D reconstruction model of the inside of the oil storage tank is obtained by dense reconstruction and pasting the texture. The invention can stably and efficiently display three-dimensional visualization of the visible surface inside the oil storage tank in real time, and accurately identify the position of the oil sludge, so as to clean the oil sludge on the tank body accurately and efficiently.

Figure 202210031457

Description

一种原油大罐内部三维重建与油泥识别方法A 3D reconstruction and sludge identification method for the interior of a large crude oil tank

技术领域technical field

本发明涉及石油化工领域,具体涉及一种原油大罐内部三维重建与油泥识别方法。The invention relates to the field of petrochemical industry, in particular to a three-dimensional reconstruction and sludge identification method inside a large crude oil tank.

背景技术Background technique

目前三维重建已经广泛的应用于自动驾驶、机器人、AR、工业制造等各个方面;目标检测即是在给定的图像、视频或场景中找到目标的具体位置,也有广泛应用。石油作为我国仅次于煤炭的重要能源源,目前国家需要储备大量的原油,拥有大量体积巨大的原油储罐,但罐内长期存放的原油会沉积形成油泥,对储油罐造成一定的腐蚀,所以需要定期的清洗,为了能够清晰的了解储油罐内部的情况和准确的清洗油污,提出了对储油罐内部进行三维重建以及油泥的识别。At present, 3D reconstruction has been widely used in various aspects such as autonomous driving, robotics, AR, industrial manufacturing, etc.; target detection is to find the specific location of the target in a given image, video or scene, and it is also widely used. Oil is an important energy source after coal in my country. At present, the country needs to store a large amount of crude oil and has a large number of crude oil storage tanks. However, the long-term storage of crude oil in the tank will deposit and form sludge, which will cause certain corrosion to the oil storage tank. Therefore, regular cleaning is required. In order to clearly understand the internal situation of the oil storage tank and accurately clean the oil stains, a three-dimensional reconstruction of the oil storage tank and the identification of the oil sludge are proposed.

目前没有人针对大型原油罐内部这一特定场景,做过利用单目红外相机获取图像后进行三维重建的工作。同时,目前针对罐内油泥识别,主流算法使用传统的Canny检测器进行边缘检测从而提取油泥位置。然而由于储油罐内部是全暗封闭的环境,利用红外相机拍摄的储油罐内部图像质量会有所下降;同时传统的Canny边缘检测算子对图像噪声敏感,存在伪边缘以及缺乏自适应性等问题,应用在储油罐内这种复杂场景,检测效果大打折扣,会出现误检测的现象。所以,需要更加精准高效的大型油罐内的油泥识别装置和方法。At present, no one has done 3D reconstruction after acquiring images with a monocular infrared camera for this specific scene inside a large crude oil tank. At the same time, for the identification of sludge in the tank, the mainstream algorithm uses the traditional Canny detector for edge detection to extract the position of sludge. However, since the inside of the oil storage tank is completely dark and closed, the image quality of the inside of the oil storage tank captured by the infrared camera will be degraded; at the same time, the traditional Canny edge detection operator is sensitive to image noise, has false edges and lacks self-adaptation If it is applied to such a complex scene in an oil storage tank, the detection effect will be greatly reduced, and false detection will occur. Therefore, more accurate and efficient sludge identification devices and methods in large oil tanks are required.

发明内容SUMMARY OF THE INVENTION

本发明提供一种原油大罐内部三维重建与油泥识别方法,用于解决无人对大型原油罐内部进行三维重建以及利用红外相机拍摄的储油罐内部图像质量会有所下降,提取油泥位置效果大打折扣的问题。为解决上述技术问题,本发明提供一种原油大罐内部三维重建与油泥识别方法,包括如下步骤:The invention provides a three-dimensional reconstruction and sludge identification method inside a large crude oil tank, which is used to solve the problem that the three-dimensional reconstruction of the interior of the large crude oil tank by unmanned persons and the image quality of the interior of the oil storage tank captured by an infrared camera will decrease, and the position of the oil sludge will be extracted. The problem of greatly reduced effect. In order to solve the above technical problems, the present invention provides a three-dimensional reconstruction and sludge identification method inside a crude oil tank, comprising the following steps:

获取预处理后的多个原油大罐内部图像;Obtain pre-processed internal images of multiple crude oil tanks;

提取所述原油大罐内部图像的特征点;extracting feature points of the internal image of the crude oil tank;

采用极线搜索与块匹配技术寻找所述特征点对应的像素点在相机运动后拍摄得到的另一帧原油大罐内部图像中的位置;Using epipolar search and block matching technology to find the position of the pixel corresponding to the feature point in another frame of the internal image of the crude oil tank captured after the camera moves;

根据两张所述相机运动前后拍摄的图像匹配完成的特征点对的位置计算所述相机的位姿;Calculate the pose of the camera according to the position of the pair of feature points that are matched between the two images captured before and after the camera moves;

根据所述相机的位姿进行像素点的深度估计,根据深度估计恢复所述像素点的三维空间坐标;Perform depth estimation of pixel points according to the pose of the camera, and restore the three-dimensional space coordinates of the pixel points according to the depth estimation;

将所述三维空间坐标转换为点云进行拼接以得到点云地图,在所述点云地图上使用三角网格化稠密重建并粘贴纹理得到储油罐内部的可视化的三维重建模型。The three-dimensional space coordinates are converted into point clouds for splicing to obtain a point cloud map, and the point cloud map is densely reconstructed by triangulation and pasted with textures to obtain a visualized three-dimensional reconstruction model inside the oil storage tank.

优选地,在获取预处理后的多个原油大罐内部图像后,还包括如下步骤:Preferably, after acquiring the pre-processed images of the interior of the large crude oil tank, the following steps are further included:

采用快速引导滤波对所述原油大罐内部图像进行保边降噪得到降噪图像;Using fast guided filtering to perform edge-preserving noise reduction on the internal image of the crude oil tank to obtain a noise-reduced image;

计算所述降噪图像的梯度幅度和方向来估计每一点处的边缘强度与方向;Calculate the gradient magnitude and direction of the denoised image to estimate edge strength and direction at each point;

根据所述梯度幅度和方向进行非极大值抑制;performing non-maximum suppression according to the gradient magnitude and direction;

通过OTSU最大类间方差法自适应地选取阈值来确定并连接图像边缘;Determine and connect image edges by adaptively selecting thresholds through OTSU maximum inter-class variance method;

转化并输出包含物体轮廓线的图像序列,自动识别出图像序列中是否包含油泥。Convert and output the image sequence containing the outline of the object, and automatically identify whether the image sequence contains sludge.

优选地,所述获取预处理后的多个原油大罐内部图像的步骤之前还包括如下步骤:Preferably, before the step of acquiring the preprocessed internal images of multiple crude oil tanks, the following steps are further included:

接收监控设备采集的图像序列;Receive image sequences collected by monitoring equipment;

采用非线性变换与多尺度卷积计算来提升图像序列的亮度和对比度,得到预处理后的多个原油大罐内部图像。Non-linear transformation and multi-scale convolution calculation are used to improve the brightness and contrast of the image sequence, and the preprocessed internal images of multiple crude oil tanks are obtained.

优选地,提取所述原油大罐内部图像的特征点的具体方法为:Preferably, the specific method for extracting the feature points of the internal image of the crude oil tank is:

采用ORB特征提取算法实现特征点的提取。The feature points are extracted by ORB feature extraction algorithm.

优选地,根据两张所述相机运动前后拍摄的图像匹配完成的特征点对的位置计算所述相机的位姿的具体步骤如下:Preferably, the specific steps of calculating the pose of the camera according to the position of the pair of feature points that are matched between the two images captured before and after the camera moves are as follows:

根据两张图像上匹配的特征点对,利用八点法可以求解出本质矩阵,所述本质矩阵满足公式:

Figure BDA0003466591730000031
其中E为本质矩阵,K为相机的内参矩阵,p1、p2为两张图像上匹配的特征点对;According to the matching feature point pairs on the two images, the essential matrix can be solved by using the eight-point method, and the essential matrix satisfies the formula:
Figure BDA0003466591730000031
Among them, E is the essential matrix, K is the internal parameter matrix of the camera, and p1 and p2 are the matching feature point pairs on the two images;

由如下公式:E=tΛR,根据奇异值分解,求解相机的平移向量t和旋转向量R。According to the following formula: E=t Λ R, according to the singular value decomposition, the translation vector t and rotation vector R of the camera are solved.

优选地,根据所述相机的位姿进行像素点的深度估计,根据深度估计恢复所述像素点的三维空间坐标的具体步骤如下:Preferably, the depth estimation of the pixel point is performed according to the pose of the camera, and the specific steps of restoring the three-dimensional space coordinates of the pixel point according to the depth estimation are as follows:

S151:假设某个像素点的深度d服从高斯分布,公式如下:S151: Assuming that the depth d of a certain pixel follows a Gaussian distribution, the formula is as follows:

P(d)=N(μ,σ2);P(d)=N(μ,σ 2 );

S152:当新的数据产生时,假设其也服从高斯分布,根据极线搜索和块匹配可以确定参考帧中某个像素在当前帧的投影点的位置;S152: when new data is generated, assuming that it also obeys a Gaussian distribution, the position of the projection point of a certain pixel in the reference frame at the current frame can be determined according to epipolar search and block matching;

S153:根据几何关系计算三角化后的深度及不确定性;S153: Calculate the depth and uncertainty after triangulation according to the geometric relationship;

S154:将当前观测融合进上一次的估计中,若不确定性小于设置的阈值时,收敛则停止计算,否则返回步骤S152。S154: Integrate the current observation into the last estimation, and stop the calculation if the uncertainty is smaller than the set threshold, otherwise return to step S152.

本发明的有益效果是:能够实时稳定高效地对原油大罐内部可见表面进行三维可视化显示,并利用油泥识别算法,准确的识别油泥位置,以便于清洗枪精准高效地清洗罐体上的油泥、油污。The beneficial effects of the present invention are: the visible surface inside the large crude oil tank can be displayed in real time, stably and efficiently in three-dimensional visualization, and the sludge identification algorithm can be used to accurately identify the position of the sludge, so that the cleaning gun can accurately and efficiently clean the sludge on the tank. Oil stains.

附图说明Description of drawings

图1为三维重建的流程图;Fig. 1 is the flow chart of 3D reconstruction;

图2为油泥识别算法的流程图;Fig. 2 is the flow chart of the sludge identification algorithm;

图3为ORB特征提取算法关键点方向的流程图;Fig. 3 is the flow chart of the key point direction of the ORB feature extraction algorithm;

图4为相机位姿估计的流程图;Figure 4 is a flowchart of camera pose estimation;

图5为恢复像素点的三维空间坐标的流程图。FIG. 5 is a flowchart of restoring the three-dimensional space coordinates of a pixel point.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

实施例1Example 1

请参阅附图1,一种原油大罐内部三维重建与油泥识别方法,包括如下步骤:Please refer to accompanying drawing 1, a kind of crude oil tank interior three-dimensional reconstruction and sludge identification method, comprises the following steps:

S11:获取预处理后的多个原油大罐内部图像;S11: Acquire the pre-processed internal images of multiple crude oil tanks;

S12:提取所述原油大罐内部图像的特征点;S12: extracting feature points of the internal image of the crude oil tank;

S13:采用极线搜索与块匹配技术寻找所述特征点对应的像素点在相机运动后拍摄得到的另一帧原油大罐内部图像中的位置;S13: Use epipolar search and block matching technology to find the position of the pixel corresponding to the feature point in another frame of the internal image of the crude oil tank captured after the camera moves;

S14:根据两张所述相机运动前后拍摄的图像匹配完成的特征点对的位置计算所述相机的位姿;S14: Calculate the pose of the camera according to the positions of the pair of feature points that are matched between the two images captured before and after the camera moves;

S15:根据所述相机的位姿进行像素点的深度估计,根据深度估计恢复所述像素点的三维空间坐标;S15: Perform depth estimation of the pixel points according to the pose of the camera, and restore the three-dimensional space coordinates of the pixel points according to the depth estimation;

S16:将所述三维空间坐标转换为点云进行拼接以得到点云地图,在所述点云地图上使用三角网格化稠密重建并粘贴纹理得到储油罐内部的可视化的三维重建模型。S16: Convert the three-dimensional space coordinates into point clouds for splicing to obtain a point cloud map, and use triangulation to densely reconstruct and paste textures on the point cloud map to obtain a visualized three-dimensional reconstruction model inside the oil storage tank.

作为一种优选的实施方式,如图2所示,在获取预处理后的多个原油大罐内部图像后,还包括如下步骤:As a preferred embodiment, as shown in FIG. 2 , after acquiring the images of the interiors of multiple crude oil tanks after preprocessing, the following steps are further included:

S21:采用快速引导滤波对所述原油大罐内部图像进行保边降噪得到降噪图像;S21: use fast guided filtering to perform edge-preserving noise reduction on the internal image of the crude oil tank to obtain a noise-reduced image;

S22:计算所述降噪图像的梯度幅度和方向来估计每一点处的边缘强度与方向;S22: Calculate the gradient magnitude and direction of the denoised image to estimate the edge strength and direction at each point;

S23:根据所述梯度幅度和方向进行非极大值抑制;S23: perform non-maximum suppression according to the gradient magnitude and direction;

S24:通过OTSU最大类间方差法自适应地选取阈值来确定并连接图像边缘;S24: Determine and connect the image edges by adaptively selecting a threshold through the OTSU maximum inter-class variance method;

S25:转化并输出包含物体轮廓线的图像序列,自动识别出图像序列中是否包含油泥。S25: Convert and output an image sequence containing the outline of the object, and automatically identify whether the image sequence contains sludge.

作为一种优选的实施方式,所述获取预处理后的多个原油大罐内部图像的步骤之前还包括如下步骤:As a preferred embodiment, before the step of acquiring the pre-processed images of the interior of a plurality of crude oil tanks further includes the following steps:

S01:接收监控设备采集的图像序列;S01: Receive the image sequence collected by the monitoring device;

S02:采用非线性变换与多尺度卷积计算来提升图像序列的亮度和对比度,得到预处理后的多个原油大罐内部图像。S02: Use nonlinear transformation and multi-scale convolution calculation to improve the brightness and contrast of the image sequence, and obtain multiple pre-processed internal images of crude oil tanks.

作为一种优选的实施方式,提取所述原油大罐内部图像的特征点的具体方法为:As a preferred embodiment, the specific method for extracting the feature points of the internal image of the crude oil tank is:

采用ORB特征提取算法实现特征点的提取,所述ORB特征提取算法包括尺度不变性描述和旋转不变性描述;所述尺度不变性描述,由对系统输入的图像序列构建图像金字塔,并在金字塔的每层上的设置关键点来实现;所述旋转不变性描述,由所述ORB特征检测和向量创建算法根据所述关键点周围灰度值的变化为每个关键点分配一个方向,几何中心指向灰度质心即为关键点的方向,如图3所示,所述关键点的方向计算步骤如下:The feature point extraction is realized by using the ORB feature extraction algorithm. The ORB feature extraction algorithm includes a scale invariant description and a rotation invariant description; the scale invariant description is constructed from the image sequence input to the system. Image pyramid, and in the pyramid It is realized by setting key points on each layer; the rotation invariance description is described by the ORB feature detection and vector creation algorithm to assign a direction to each key point according to the change of the gray value around the key point, and the geometric center points to The gray centroid is the direction of the key point, as shown in Figure 3, the calculation steps of the direction of the key point are as follows:

S121:在一个图像块B中,定义图像块的矩为:S121: In an image block B, the moment defining the image block is:

Figure BDA0003466591730000051
Figure BDA0003466591730000051

S122:通过矩可以找到图像块的质心:S122: The centroid of the image patch can be found by the moment:

Figure BDA0003466591730000061
Figure BDA0003466591730000061

S123:连接图像块的几何中心O与质心C,得到一个方向向量OC,于是特征点的方向可以定义为:S123: Connect the geometric center O and the centroid C of the image block to obtain a direction vector OC, so the direction of the feature point can be defined as:

θ=arctan(m01/m10)。θ=arctan(m 01 /m 10 ).

作为一种优选的实施方式,如图4所示,根据两张所述相机运动前后拍摄的图像匹配完成的特征点对的位置计算所述相机的位姿的具体步骤如下:As a preferred embodiment, as shown in FIG. 4 , the specific steps for calculating the pose of the camera according to the positions of the pair of feature points that are matched between the two images captured before and after the camera moves are as follows:

S141:根据两张图像上匹配的特征点对,利用八点法可以求解出本质矩阵,所述本质矩阵满足公式:

Figure BDA0003466591730000062
其中E为本质矩阵,K为相机的内参矩阵,p1、p2为两张图像上匹配的特征点对;S141: According to the matched feature point pairs on the two images, an essential matrix can be solved by using the eight-point method, and the essential matrix satisfies the formula:
Figure BDA0003466591730000062
Among them, E is the essential matrix, K is the internal parameter matrix of the camera, and p1 and p2 are the matching feature point pairs on the two images;

S142:由如下公式:E=tΛR,根据奇异值分解,求解相机的平移向量t和旋转向量R。S142: According to the following formula: E=t Λ R, according to singular value decomposition, solve the translation vector t and rotation vector R of the camera.

作为一种优选的实施方式,如图5所示,根据所述相机的位姿进行像素点的深度估计,根据深度估计恢复所述像素点的三维空间坐标的具体步骤如下:As a preferred embodiment, as shown in FIG. 5 , the depth estimation of the pixel points is performed according to the pose of the camera, and the specific steps for restoring the three-dimensional space coordinates of the pixel points according to the depth estimation are as follows:

S151:假设某个像素点的深度d服从高斯分布,公式如下:S151: Assuming that the depth d of a certain pixel follows a Gaussian distribution, the formula is as follows:

P(d)=N(μ,σ2);P(d)=N(μ,σ 2 );

S152:当新的数据产生时,假设其也服从高斯分布,根据极线搜索和块匹配可以确定参考帧中某个像素在当前帧的投影点的位置;S152: when new data is generated, assuming that it also obeys a Gaussian distribution, the position of the projection point of a certain pixel in the reference frame at the current frame can be determined according to epipolar search and block matching;

S153:根据几何关系计算三角化后的深度及不确定性;S153: Calculate the depth and uncertainty after triangulation according to the geometric relationship;

S154:将当前观测融合进上一次的估计中,若不确定性小于设置的阈值时,收敛则停止计算,否则返回步骤S152。S154: Integrate the current observation into the last estimation, and stop the calculation if the uncertainty is smaller than the set threshold, otherwise return to step S152.

尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同物限定。Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, and substitutions can be made in these embodiments without departing from the principle and spirit of the invention and modifications, the scope of the invention is defined by the appended claims and their equivalents.

Claims (6)

1. A three-dimensional reconstruction and oil sludge identification method for the interior of a crude oil large tank is characterized by comprising the following steps:
acquiring images of the interior of a plurality of crude oil large tanks after pretreatment;
extracting characteristic points of the image in the crude oil tank;
searching the position of a pixel point corresponding to the characteristic point in the image in the other frame of crude oil tank obtained by shooting after the camera moves by adopting an epipolar line search and block matching technology;
calculating the pose of the camera according to the positions of the feature point pairs which are matched with the images shot before and after the movement of the two cameras;
performing depth estimation on pixel points according to the pose of the camera, and recovering three-dimensional space coordinates of the pixel points according to the depth estimation;
converting the three-dimensional space coordinates into point clouds for splicing to obtain a point cloud map, and performing triangular meshing dense reconstruction and texture pasting on the point cloud map to obtain a visual three-dimensional reconstruction model of the interior of the oil storage tank.
2. The method for three-dimensional reconstruction and sludge identification of the interior of the large crude oil tank as claimed in claim 1, wherein after the pre-processed images of the interior of the large crude oil tank are obtained, the method further comprises the following steps:
performing edge protection and noise reduction on the image in the crude oil tank by adopting rapid guide filtering to obtain a noise reduction image;
calculating the gradient amplitude and direction of the noise-reduced image to estimate the edge strength and direction at each point;
carrying out non-maximum suppression according to the gradient amplitude and direction;
adaptively selecting a threshold value by an OTSU maximum inter-class variance method to determine and connect image edges;
and converting and outputting an image sequence containing the object contour line, and automatically identifying whether the image sequence contains oil sludge.
3. The method of claim 1, wherein the step of obtaining the preprocessed images of the interior of the crude oil tank further comprises the following steps:
receiving an image sequence acquired by monitoring equipment;
and adopting nonlinear transformation and multi-scale convolution calculation to improve the brightness and contrast of the image sequence to obtain the preprocessed images of the interior of the large crude oil tanks.
4. The method for three-dimensional reconstruction and oil sludge identification of the interior of the large crude oil tank as claimed in claim 1, wherein the specific method for extracting the feature points of the image of the interior of the large crude oil tank is as follows:
and (4) extracting the feature points by adopting an ORB feature extraction algorithm.
5. The method for three-dimensional reconstruction and oil sludge identification of the interior of the crude oil large tank according to claim 1, wherein the specific steps of calculating the pose of the camera according to the positions of the feature point pairs which are matched and completed by the images shot before and after the movement of the two cameras are as follows:
according to the matched characteristic point pairs on the two images, an essential matrix can be solved by using an eight-point method, wherein the essential matrix meets the formula:
Figure FDA0003466591720000021
wherein E is an essential matrix, K is an internal reference matrix of the camera, and p1 and p2 are feature point pairs matched on the two images;
the following formula: e ═ tΛAnd R, solving the translation vector t and the rotation vector R of the camera according to singular value decomposition.
6. The method for three-dimensional reconstruction and oil sludge identification in the crude oil large tank according to claim 1 is characterized in that depth estimation of pixel points is performed according to the pose of the camera, and the specific steps of recovering three-dimensional space coordinates of the pixel points according to the depth estimation are as follows:
s151: assuming that the depth d of a certain pixel follows gaussian distribution, the formula is as follows:
P(d)=N(μ,σ2);
s152: when new data is generated, assuming that the new data also obeys Gaussian distribution, the position of a certain pixel in the reference frame at the projection point of the current frame can be determined according to epipolar line search and block matching;
s153: calculating the depth and uncertainty of the triangulated depth according to the geometric relationship;
s154: and fusing the current observation into the last estimation, if the uncertainty is smaller than the set threshold, stopping the calculation, otherwise, returning to the step S152.
CN202210031457.3A 2022-01-12 2022-01-12 A 3D reconstruction and sludge identification method for the interior of a large crude oil tank Pending CN114399631A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210031457.3A CN114399631A (en) 2022-01-12 2022-01-12 A 3D reconstruction and sludge identification method for the interior of a large crude oil tank

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210031457.3A CN114399631A (en) 2022-01-12 2022-01-12 A 3D reconstruction and sludge identification method for the interior of a large crude oil tank

Publications (1)

Publication Number Publication Date
CN114399631A true CN114399631A (en) 2022-04-26

Family

ID=81231569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210031457.3A Pending CN114399631A (en) 2022-01-12 2022-01-12 A 3D reconstruction and sludge identification method for the interior of a large crude oil tank

Country Status (1)

Country Link
CN (1) CN114399631A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106683173A (en) * 2016-12-22 2017-05-17 西安电子科技大学 A Method of Improving the Density of 3D Reconstruction Point Cloud Based on Neighborhood Block Matching
CN110992487A (en) * 2019-12-10 2020-04-10 南京航空航天大学 Fast 3D map reconstruction device and reconstruction method for handheld aircraft fuel tank
CN111652817A (en) * 2020-05-28 2020-09-11 大连海事大学 An Underwater Image Sharpening Method Based on Human Visual Perception Mechanism
CN113345063A (en) * 2021-08-05 2021-09-03 南京万生华态科技有限公司 PBR three-dimensional reconstruction method, system and computer storage medium based on deep learning

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106683173A (en) * 2016-12-22 2017-05-17 西安电子科技大学 A Method of Improving the Density of 3D Reconstruction Point Cloud Based on Neighborhood Block Matching
CN110992487A (en) * 2019-12-10 2020-04-10 南京航空航天大学 Fast 3D map reconstruction device and reconstruction method for handheld aircraft fuel tank
CN111652817A (en) * 2020-05-28 2020-09-11 大连海事大学 An Underwater Image Sharpening Method Based on Human Visual Perception Mechanism
CN113345063A (en) * 2021-08-05 2021-09-03 南京万生华态科技有限公司 PBR three-dimensional reconstruction method, system and computer storage medium based on deep learning

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
史凡: "基于红外成像的原油罐底图像边缘检测研究", 《万方数据 工程硕士专业学位论文》, 24 December 2021 (2021-12-24), pages 25 - 28 *
张蔚: "基于图像语义信息的视觉SLAM关键算法研究", 《中国博士学位论文全文数据库 信息科技辑》, 15 April 2021 (2021-04-15), pages 9 - 21 *

Similar Documents

Publication Publication Date Title
Zhang et al. Densely connected pyramid dehazing network
CN106910242B (en) Method and system for 3D reconstruction of indoor complete scene based on depth camera
Pizzoli et al. REMODE: Probabilistic, monocular dense reconstruction in real time
CN108230437B (en) Scene reconstruction method and apparatus, electronic device, program, and medium
CN110223377A (en) One kind being based on stereo visual system high accuracy three-dimensional method for reconstructing
CN113409384A (en) Pose estimation method and system of target object and robot
CN109615654B (en) Method for measuring corrosion depth and area of inner surface of drainage pipeline based on binocular vision
CN109961506A (en) A kind of fusion improves the local scene three-dimensional reconstruction method of Census figure
Deng et al. Binocular video-based 3D reconstruction and length quantification of cracks in concrete structures
CN107492107B (en) Object identification and reconstruction method based on plane and space information fusion
O'Byrne et al. A stereo‐matching technique for recovering 3D information from underwater inspection imagery
CN107134008A (en) A kind of method and system of the dynamic object identification based under three-dimensional reconstruction
Deng et al. Flexible depth segmentation method using phase-shifted wrapped phase sequences
Ansari A review on SIFT and SURF for underwater image feature detection and matching
CN116958419A (en) A binocular stereo vision three-dimensional reconstruction system and method based on wavefront coding
CN118424232B (en) An underwater structure ranging system based on computer vision
Xu et al. Monocular video frame optimization through feature-based parallax analysis for 3D pipe reconstruction
CN114399631A (en) A 3D reconstruction and sludge identification method for the interior of a large crude oil tank
CN118154770A (en) Single tree image three-dimensional reconstruction method and device based on nerve radiation field
CN112116561B (en) Grid transmission line detection method and device based on image processing fusion network weights
CN116740498A (en) Model pre-training method, model training method, object processing method and device
CN115953537A (en) A three-dimensional reconstruction method of speckle structured light, electronic equipment and storage medium
RU2716311C1 (en) Device for reconstructing a depth map with searching for similar blocks based on a neural network
Onmek et al. Evaluation of underwater 3D reconstruction methods for Archaeological Objects: Case study of Anchor at Mediterranean Sea
Rzążewska et al. 3D model reconstruction and evaluation using a collection of points extracted from the series of photographs

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination