Abstract

This study explores the use of the Kinect device for measuring Three-Dimensional (3D) Digital Elevation Models (DEMs) of wall-jet scour holes and its benefits and limitations. The Kinect device can accurately measure wall-jet scour holes in dry conditions with an accuracy of ±0.05 cm, but significant errors occur in the presence of water due to water surface refraction. A code based on Snell’s law was developed to correct these errors, resulting in good agreement with point gauge measurements with an accuracy of ±0.12 cm. The method is not recommended for tail-water depth ratios smaller than three and densimetric Froude numbers larger than 7.75 due to water surface fluctuations. The findings have important implications for improving the efficiency and accuracy of scour hole measurements in hydraulic engineering, particularly for submerged wall-jet scouring, and the developed code can also be applied to other optical measurement devices.

1. Introduction

Accurately measuring bed elevations is crucial for monitoring natural or artificial conditions in erodible boundaries and for accurately simulating the flow field around movable beds. In ocean engineering, local scour holes are a significant problem and a common cause of structure failure [1, 2]. Therefore, it is essential for designers to have a comprehensive understanding of scour hole dimensions before constructing prototypes. Physical modeling and simulation of the scour process in a laboratory setting are commonly used to predict consequences and design hydraulic structures [3, 4]. To achieve accurate monitoring of scour at high spatial and temporal resolutions, various techniques have been developed and implemented, as described in studies by Tafarojnoruz et al. [4], Ballio and Radice [5], and Porter et al. [6].

In laboratory studies, accurate measurement of the bed topography of a scour hole caused by a 3D wall jet is essential for understanding the scour process and designing hydraulic structures. Previous research has identified four major methods for monitoring scour in laboratory settings: the point gauge, laser scanner, different photogrammetric methods, and echo-sounder [1, 79]. The point gauge, being the simplest method, has been commonly used in laboratory studies for many years. However, this method has several limitations, including its inability to measure the entire scour hole instantly, its time-consuming process, and its unsuitability for use in dynamic conditions (when the jet is on). With advances in technology, researchers are now using laser scanners to measure scour hole profiles, which offer highly accurate measurements [1012]. However, the high cost of the device and the need for a precise traversing system are the main concerns associated with this method.

In recent years, computer science advancements have led to the development of innovative methods of creating 3D models of surfaces, such as image processing. Traditional photogrammetric methods require high costs and several ground control points, but new improvements have led to novel photogrammetric techniques, including PROSCAN (Profile Scanning) and Structure From Motion (SFM) [1315]. PROSCAN can detect the scour profile and water surface, but it can only produce a two-dimensional scour hole. SFM, on the other hand, works by employing the depth information generated by comparing the visual fields of two overlapping images. As the camera moves, objects around it move different amounts depending on their distance from the camera. SFM uses this depth information to generate a three-dimensional topography of objects [15]. Although SFM is an efficient method for generating Digital Elevation Models (DEMs), it faces challenges in the presence of a water surface.

The Kinect device, originally developed as a video game console by Microsoft in 2010, has recently emerged as a promising low-cost, high-resolution, short-range 3D/4D camera imaging system for measuring complex surface morphology. The Kinect device is a low-cost, high-resolution, short-range 3D/4D camera imaging system that has become popular in various disciplines due to its unique characteristics [16]. The device is supported by red, green, and blue (RGB) and infrared (IR) wavelength cameras, along with an IR emitter, which makes it efficient in dark environments compared to other imaging techniques. The portability and light weight of the Kinect device make it user-friendly and a practical option for acquiring bathymetry data, especially in coastal zones [17, 18]. Although some similar devices have been developed with similar characteristics, Microsoft is the first and only manufacturer of the Kinect device. The potential of the Kinect device for measuring natural water has been demonstrated by Klopfer et al. [19], who showed its applicability in investigating the statistical properties of surface waves [20].

The potential of the Kinect device for measuring complex surface morphology has been demonstrated by Bento et al. [21], who used it to measure the scour hole around an oblong bridge pier. The authors reported reliable and accurate estimates of scour hole topographic measurements using the Kinect device, but note that its applicability in the presence of water level is a significant limitation in their estimation. Chourasiya et al. [22] also employed the Kinect device to characterize irregular bed DEMs in the presence of a water surface and investigated the effects of different parameters, such as water turbidity, object color, and flow depth, on the constructed DEM using the Kinect device. They used Snell’s law for refraction correction of underwater measurements and showed that the Kinect device is suitable for measurement in the presence of a water surface. However, all of their experiments were limited to uniform flow conditions.

The main objective of this study is to investigate the applicability of the Kinect device for measuring scour hole characteristics in nonuniform flow conditions caused by 3D wall jets. Unlike uniform flows, nonuniform flow conditions, such as wall jets, can cause significant water surface fluctuations that can affect the accuracy of the Kinect device measurements and require careful consideration. In tradition, scour hole characteristics are measured by draining the flume and using a point gauge, which may not provide an accurate representation of the actual scour hole shape and size [23]. In this study, the Kinect device will be used to measure scour hole characteristics in the presence of water before draining the flume, providing a more accurate representation of the scour hole under nonuniform flow conditions. The study will examine the effects of different parameters, such as tail-water depth ratio and densimetric Froude number, on the accuracy of the Kinect measurements. By analyzing the data collected from the experiments, this study aims to provide insights into the applicability of the Kinect device for measuring scour hole characteristics in nonuniform flow conditions caused by 3D wall jets. The results of this study have the potential to provide a new, more accurate method for measuring scour hole characteristics in nonuniform flow conditions, which can be useful for various engineering and scientific applications. Overall, this study represents a crucial step toward improving our understanding of scour hole characteristics and developing more efficient and accurate techniques for their measurement.

2. The Snell’s Law Application

The presence of water surface above the scour hole can produce significant errors due to light refraction, which should be corrected based on Snell’s law [24]. To correct the obtained DEM of the Kinect device, the locations of the Kinect’s emitter and camera and the water surface must be clear. Let and be the locations of the Kinect’s emitter and camera, respectively, and let be a desirable bed point measured by the Kinect device. Figure 1 shows these parameters, along with other variables and parameters that will be used in deriving the equations.

For each point (), the Kinect device send a ray toward the bed from the emitter to an object () and receive a ray from object to the camera (). The vectors of and can simply derived based on the , and using (Equations 1 and 2):

To find the corrected location of the bed point , both of the rays needs refraction correction. The corrected rays are shown by and . The corrected rays can be obtained using the vector of the Snell’s law in 3D space which can be represented aswhere and are the refractive indices of air and water and and are the normal vector of the water surface for rays and , respectively. In this study, the experiments were conducted in asymptotic condition in which the water turbidity is almost negligible. Therefore, the refractive index of pure water () has applied. To determine , one should determine the coordinates of the points of both ray’s intersection to the water surface by and in Figure 1. Using the water surface elevation, and vectors, the lateral and streamwise coordinates of and can be determined. Finally, it is clear that is the location where the vectors of intersect. Based on this fact and the coordinates of the and is the coordinate of can be simply determined. To correct the bed based on this algorithm a simple code has been written in MATLAB. The results obtained using this code will be shown in the Results section.

3. Laboratory Apparatus

The experiments were conducted in a recirculating open-channel flume that was 6 m long, 0.9 m wide, and 0.8 m deep at the Hydraulic Laboratory of Kharazmi University which can be seen in Figure 2. A sluice gate at the end of the open channel and a control valve were used to regulate the tail-water depth. Flow discharge was measured using a calibrated electromagnetic flowmeter (MagAb 3000). The tail-water depth and the bottom of the channel bed elevations were measured using a digital point gauge with a resolution of 0.01 mm. A carriage was used to transport the digital point gauge and Kinect device in the streamwise and spanwise directions. To estimate the uncertainty of the measurements using the point gauge, error analysis was employed, applying the central limit theorem and a significance level of 95%, which showed that the point gauge measurement uncertainty was ±0.2 mm. The streamwise and spanwise measurements were conducted using two rulers with a resolution of 1 mm, as shown in Figure 2. In this study, a right-handed coordinate system was used. The x-coordinate was oriented along the main flow, positive downstream, and parallel to the channel bed. The z-coordinate referred to the vertical direction, pointing upward from the initial position of the channel bed, and the spanwise y-axis was directed to the left wall from the wall-jet position. Thus, the origin of the coordinate system was located at the position of the wall jet (see Figure 2).

Before performing the experiment, the sands (sediments) were poured into the flume uniformly and up to a certain level (30 cm in this study). Additional attention considered to ensure that the sediments cover all areas of the flume and are uniformly distributed. The sediments were compacted slightly with a light weight and their surface were smoothed with a trowel. To create a wall-jet flow, water was pumped from a downstream tank into a 2 m long steel square pipe. The inner dimension of the pipe (D) was 2.5 cm and installed at the bottom of the channel to produce a submerged wall jet. A plate was used to protect the sediment bed level during regulating the tail-water depth and flow discharge. The plate removed slowly to let the scour process. Bed was covered using the sediment with d50 = 2.15 mm and where di, is the bed material diameter, i % of which is finer by the weight and is the geometric standard deviation. To acquire sediment transport equilibrium condition, the wall jet has been flowed to the channel for 24 hr. After 24 hr from the scour process initiation, the scour hole reaches to the asymptotic state. In the asymptotic state, the scour hole dimensions did not change significantly with time [23]. Hence, the variation of the scour hole dimensions was negligible during the measurements in the wet conditions.

In this study, an Xbox 360 Kinect sensor with an RGB camera resolution of 1280 × 1024 pixels was used to produce the scour hole DEM. The Kinect also has a depth camera resolution of 640 × 480 pixels. The field of view (FOV), which is the open observable area for the Kinect device, was 57° horizontally and 43° vertically. This device can capture depth and color images simultaneously at a frame rate of up to 30 fps [25]. The Kinect device was fixed on a movable cart in a way such that the cameras and emitter were situated perpendicularly to the flume bed (see Figure 2). The device was located at coordinates of (35, 0, 107 cm). The device location was selected to ensure that the entire scour hole and ridge could be seen on the selected boundaries of the Skanect software. The boundaries were determined by a cubic with a 110 cm side in Skanect settings while the DEMs were created. During the measurement, it was observed that the Kinect device showed a complete black zone when the distance between the device and the bed was lower than ∼70 cm. It is recommended that in each scour problem, researchers change the distance between the Kinect device and the bed to avoid the black zone.

To explore the accuracy of the results of the Kinect, 25 hydraulic scenarios were covered. Hydraulic characteristics of the experiments are reported in Figure 3. Five different tail-water depths (yt) are selected to examine the importance of this parameter on the observed results. It is also highlighted that as the wall jet in this study is submerged, the water depth at the channel entrance is similar to tail-water depth. In addition, five wall-jet velocity (V0) are covered during the experiment.

The measurements were conducted under two different conditions: the wet condition and the dry condition. In the wet condition, the jet was on, and the scour hole was observed in the presence of the water surface level. As point gauge measurements can disturb the natural conditions of the sediment bed and scour hole, measurements were only conducted using the Kinect device in the wet condition. The Kinect device was able to measure the scour hole in the wet condition as the scour holes had reached an asymptotic state. In contrast, measurements in the dry condition were conducted using both the point gauge and the Kinect device. During the measurement in the dry condition with the point gauge, the elevations of the sediment bed were recorded at a minimum interval of 1 cm in the streamwise and spanwise directions. The total time required to record the scour hole in the wet condition was 12 min. In contrast, the required time to measure the scour hole topography using the point gauge was over 7 hr. Therefore, point gauge measurements for each scour hole took about 42 times longer than the Kinect device measurements. In addition, the obtained mesh using the point gauge was too coarse in comparison to the Kinect device.

4. Results and Discussion

In Figure 4, the DEM models of scour hole for Case 1 in the wet condition, before and after refraction correction are shown. The effects of the presence of the water surface are clear in Figure 4(a). More precisely, a concave curve is detected beyond the perimeter of the scour hole where, in the real case condition, z = 0 cm. The refraction correction (Figure 4(b)) improves the measurements of the DEM. CV is used as a parameter to find the effect of the refraction correction on the main scour hole parameters quantitatively and defined as Equation (5).where and are the target parameter such as scour hole characteristics ( or sediment bed level (zl) before and after refraction correction, respectively. Table 1 shows the for different parameters of the main scour hole characteristics in Case 1.

It is clear that the refraction affects all scour hole characteristics. This is more obvious on the vertical characteristics of the scour hole such as and .

The author’s observations before applying refraction correction show that generally the DEM model level was higher near the channel sidewall. Near the channel sidewall, in some points reached 2,200 as zl values were very small after refraction correction. Generally, increases as one goes from the centerline of the scour hole to the perimeter of the scour hole. The trend is due to two reasons. 1. Smaller values of the zl for the points that is far from the thalweg of the scour hole and 2. the location of the Kinect device during the measurements and the angle of the points respect to the device is also affects values.

Figure 5 shows the DEM model for Case 1 using point gauge (Figure 5(a)), Kinect device in dry condition (Figure 5(b)) and Kinect device in wet condition (Figure 5(c)). The comparison of Figure 5(a) with Figures 5(b) and 5(c) clearly shows that the DEM mesh of the point gauge is too coarse in comparison to Kinect measurement. In addition, the point gauge measurements are a much more time-consuming process (7 hr) with such a coarse mesh. Comparison of the Kinect in wet and dry conditions expresses that generally, the quality of the obtained mesh in dry conditions is higher than the wet condition. After refraction corrections, the shape of the scour hole using Kinect device measurements in wet condition coincides well with the DEM models in Figures 5(a) and 5(b). The noises occurred due to the fixed position of the Kinect device in wet condition measurements and water surface fluctuation. However, the moving Kinect during the measurement in dry condition improves the quality of the measurements. The movement of Kinect device in wet condition was not possible as for the correction using Equations (3) and (4) and the availability of the exact position of Kinect device is necessary. The total time duration in Kinect device measurements and analyzing the data for dry and wet conditions were 12 and 20 min, respectively.

To evaluate the performance of the Kinect device in estimating bed topography, the absolute difference between the Kinect device measurements and the point gauge measurements (Δz) in the wet and dry conditions were calculated and shown in Figure 6. The figure demonstrates a fair agreement between the Kinect measurements and point gauge measurements. Specifically, the mean absolute difference in bed topography between the Kinect measurements and point gauge measurements in the dry condition was 2% of the maximum sediment bed elevations, whereas in the wet condition, it was 8% of the maximum sediment bed elevations. The higher local noise present in the wet condition, as shown in Figure 5(c), resulted in a higher percentage of difference in the wet condition compared to the dry condition.

In the study of the scour hole, some geometrical characteristics of the scour hole and ridge are essential, including the maximum ridge height, longitudinal and transversal profiles of the scour hole, and maximum scour hole height. Figure 7 presents the maximum scour depth profile (Figure 7(a)) and the maximum ridge height profile (Figure 7(b)) along with the longitudinal scour hole in the centerline of the scour hole (Figure 7(c)) in both wet condition (black line) and dry condition (black dashed line) for Case 1. The results of some point gauge measurements are also shown by solid dashed line dots in Figure 7 for comparison. It is evident that the profiles match well with the point gauge data. Moreover, there is a good agreement between the Kinect device data in the dry condition and wet condition after refraction correction. Similar to Figure 5, Figure 7 shows some noise in the scour hole profiles for the wet condition, which is negligible in the dry condition.

To quantitatively compare the results of wet and dry conditions, in Table 2, the values of the most important geometrical characteristics of the scour hole composed of scour hole volume (V), maximum scour hole depth (ys), width of scour hole (W), and length of scour hole (XL) are reported and compared with the point gauge data measurement. These parameters are also shown in Figure 2. In Table 2, the error means the relative error which has been obtained using Kinect measurements as observed value and point gauge measurement as correct value. The reported errors of all scour hole characteristics in Case 1 are in the range of 0.6%–7%. The maximum error is for the scour hole length and scour hole width. This is may be due to the uncertainty of the measurements in longitudinal and transvers directions in addition to error in vertical direction. More precisely, there are two main sources of error in defining the scour hole length and width: 1. The small accuracy of the measurement device (which is in the case of the present study a meter with 1 mm resolution) in longitudinal and transverse directions and 2. the small slope of the downstream face of the scour hole and side wall of the scour hole. The latter makes some difficulties in determining the exact location of the z = 0 in transverse and longitudinal directions. In addition, a small difference between the Kinect device measurements and point gauge measurements in maximum scour hole depth and the maximum ridge height can be observed. The maximum error of the scour hole characteristics reaches 11% and 9% in Case 2 and Case 3, respectively, which is slightly more than the error in Case 1.

To give some idea about the accuracy of the Kinect in other hydraulic conditions, Figures 8(a) and 8(b) show the DEM models for Case 2 and Case 3. Comparisons between the results of Case 1 (Figure 5(c)) with Case 2 (Figure 8(a)) clarifies the effects of the tail-water depth on scour hole measurements using Kinect device in the wet condition. In addition, a comparison between Case 1 (Figure 5(c)) and Case 3 (Figure 8(b)) improves our knowledge about the effects of the jet velocity on scour hole measurements using Kinect device in the wet condition. Similarly, in Case 1 (Figure 5(c)) some noises can be observed in acquired DEM models. The noises are more pronounced in Case 2 and Case 3 compared to Case 1. Smaller tail-water depth and larger jet velocity in Case 2 and Case 3 compared to Case1 make larger water surface fluctuations that makes stronger noises in Case 2 and Case 3.

Figure 9 shows the transverse profiles of the scour hole in the maximum scour depth location (Figure 9(a)) and maximum ridge height locations (Figure 9(b)) for Case 2 and Case 3. It is obvious that the Kinect measurement error of the profiles increased as compared to Case 1. The noises are more obvious in Case 2 and Case 3. The main reason for such a difference can be associated with the smaller water depth in Case 3 in comparison to Case 1. In addition, in both Case 2 and Case 3 the wall-jet velocity is higher than that in Case 1. This observation expresses that any increase in wall-jet velocity and any decrease in the depth of tail-water can increase the error of the estimated geometrical characteristics obtained by the Kinect device.

To describe the overall quality of collected data, the accuracy of the system for the hydraulic conditions of measurements has been estimated. The absolute error, for all the points that point gauge data are available, are calculated. The results show that for Case 1, Case 2, and Case 3 in wet condition, the absolute error in estimation of bed topography is respectively ±0.3, ±0.6, and ±0.5 cm. In addition, for the dry condition, the absolute error is ±0.1 cm which is lower than the obtained values for the wet conditions. It is also important that the spatial resolution of the measured topography using Kinect device in horizontal plane (i.e., in x- and y- directions) is almost 1 mm.

Previous studies regarding wall jet show that tail-water depth ratio (yt/D) and densimetric Froude number, (, where is the acceleration of gravity), are the main parameters in wall-jet scour hole modeling [1]. To explore these parameter impacts on ys, hm, W, and XT, point gauge and Kinect measurements for 25 experiments (Figure 4) are compared and reported in Figure 10. For all scour hole dimensions, the maximum error occurs at the lowest tail-water depth and maximum densimetric Froude number (i.e., e55 where eij is the entry of the ith row and jth column of the matrix). The average error of all experiments for ys, hm, ws, and XL are 2.7%, 3.9%, 6.8%, and 5%, respectively. The lowest error in scour hole dimensions’ measurement is detected in ys and the error of Kinect device in hm measurement is slightly larger than ys. This is attributed to the wavy water surface which affects the results of the ridge height measurement using Kinect device. The flow deviation toward the water surface after flow collision to the downstream face of the scour hole makes strong waves on the water surface. The wave on the water surface amplified in low tail-water depth ratio and high-densimetric Froude number and as a result the maximum error occurred for yt/D = 3 and Frd = 8.5.

To produce DEM using the Kinect, it is also possible to put the device in a water proof box and locate the box and Kinect below the water surface. Using this approach on Kinect measurement, the effects of the wavy water surface was eliminated on scour measurement. This approach has been satisfactorily employed by Klopfer et al. [19] to mitigate the DEM production error. In this study, the performance of this approach on wall-jet scour hole characterization is checked. The results of the differences of the scour hole dimensions with and without the box presence are presented in (Figure 11). It should be noted that these experiments are conducted only for those experiments in Figure 10 with blue color font. It is clear that the presence of the box increases the maximum scour hole dimension.

This is due to the deviation of the flow toward the bottom of the scour hole after jet collision to the bottom of the box which was reported as digging phase by Bey et al. [1]. The ridge height hm also increases due to the increases of the sediment removing from the scour hole. The maximum difference between the two conditions (using box on the water surface and without using box on the water surface) reaches to 8.9%, 12.7%, 13.1%, and 12.4% for ys, hm, W, and XL, respectively. As a general trend, the difference of scour hole dimension with and without box increases in higher Frd.

5. Conclusions

The traditional method of measuring scour hole characteristics using a point gauge is time-consuming and does not allow for the study of temporal variations caused by wall jets in wet conditions. The Kinect device was explored as an alternative method for determining the bed elevations of scour holes due to wall jets in laboratory experiments conducted in both dry and wet conditions. Although the Kinect device was found to provide accurate results in dry conditions, water refraction effects caused significant errors in wet conditions. A code was developed to correct these errors in 3D, improving the accuracy of the bed elevation measurements. However, the obtained DEM for the wet condition measurements showed noises primarily due to water surface fluctuations. Increasing the densimetric Froude number and decreasing the tail-water depth ratio increased the effects of noises on the measurement of scour hole dimensions using the Kinect device. Therefore, the method is not recommended for tail-water depth ratios smaller than 3 and densimetric Froude numbers larger than 7.75, due to the significant water surface fluctuations during the measurements.

This study has several limitations that should be taken into consideration when interpreting the results. First, the experiments were conducted in a laboratory flume under controlled water flow and bed conditions. As a result, the applicability of the Kinect device in field conditions and different flow and bed conditions remains to be investigated. In addition, the code developed to correct the water refraction effects in the Kinect measurements was based on certain assumptions about the water surface and the properties of the Kinect device. It is possible that these assumptions may not be valid under different conditions. Therefore, further research is needed to validate the accuracy of the correction method under a wider range of flow and bed conditions.

Despite these limitations, the Kinect device has significant advantages over traditional methods for measuring scour hole characteristics, such as low cost sensors, the ability to provide high-quality 3D models with low errors, and the ability to develop rapid real-time 3D models. The results of this study can contribute to the development of improved and more efficient techniques for measuring scour hole characteristics in laboratory conditions, which can have significant implications for hydraulic engineering and related scientific applications.

Data Availability

The data that support the findings of this study are available from the corresponding author upon reasonable request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.