Structured-light technique is an effective method for indoor 3D measurement, but it is hard to obtain ideal results outdoors because of complex illumination interference on sensors. This paper presents a 3D vision measurement method based on digital image processing to improve resistance to noise of measuring systems, which ensuresnormal operation of a structured-light sensor in the wild without changing its components, and the method is applied in 3D reconstruction of snow sculpture. During image preprocessing, an optimal weight function is designed based on noise classification and minimum entropy, and the color images are transformed into monochromatic value images to eliminate most environmental noise. Then a Decision Tree Model (DTM) in a spatial-temporal context of video sequence is used to extract and track stripe. The model is insensitive to stubborn noise and reflection in the images, and the result of the model after coordinate transformation is a 3D point cloud of the corresponding snow sculpture. In experimental results, the root mean square (RMS) error and mean error are less than 0.722 mm and 0.574 mm respectively, showing that the method can realize real-time, robust and accurate measurement under a complex illumination environment, and can therefore provide technical support for snow sculpture 3D measurement.
As oil exploitation enters its middle and late stages, formation pressure drops, and crude oil degases. In production profile logging, the presence of the gas phase will affect the initial oil–water two-phase flowmeter’s flow measurement results. In order to eliminate gas-phase interference and reduce measurement costs, we designed a downhole gas–liquid separator (DGLS) suitable for low flow, high water holdup, and high gas holdup. We based it on the phase isolation method. Using a combination of numerical simulation and fluid dynamic measurement experiments, we studied DGLS separation efficiency separately in the two cases of gas–water two-phase flow and oil–gas–water three-phase flow. Comparative analysis of the numerical simulation calculation and dynamic test results showed that: the VOF model constructed based on the equation is nearly identical to the dynamic test, and can be used to analyze DGLS separation efficiency; the numerical simulation results of the gas–water two-phase flow show that when the total flow rate is below 20 m3/d, the separation efficiency surpasses 90%. The oil–gas–water three-phase’s numerical simulation results show that the oil phase influences separation efficiency. When the total flow rate is 20 m3/d–50 m3/d and gas holdup is low, the DGLS’s separation efficiency can exceed 90%. Our experimental study on fluid dynamics measurement shows that the DGLS’s applicable range is when the gas mass is 0 m3/d~15 m3/d, and the water holdup range is 50%~100%. The research presented in this article can provide a theoretical basis for the development and design of DGLSs.