
Figure 1
Sample image of gas bubbles on rough surface after detection.

Figure 2
Left: Qualitative Result. The red circles show manually annotated gas bubbles. The yellow circles are the detections. Right: false positive detected gas bubbles highligthed in green bounding boxes.
Table 1
Output of B.E.D. in tracking_results.fthr.
| NR. | PARAMETER | UNIT | DESCRIPTION |
|---|---|---|---|
| 1 | Consecutive number | ||
| 2 | frame_id | Number of the processed image. The same number appears several times in the table, as several bubbles appear within each image | |
| 3 | conf | Confidence score. How confident the detector was in recognizing the bubble. Value between 0 and 1 (very certain). | |
| 4 | x | µm | X Position of the bubble center point |
| 5 | y | µm | Y Position of the bubble center point |
| 6 | w | µm | Width of Bubble |
| 7 | h | µm | Height of Bubble |
| 8 | maxWH | µm | Size of Bubble |
| 9 | id | Number of the bubble. Attention: This is not the tracking ID, but a consecutive number of all bubbles recognized in the video sequence, i.e. the same bubble has different IDs in different images. | |
| 10 | ts | TrackingState. Internal Parameter for Tracking | |
| 11 | pre | Predecessor (predecessor). Tracking attempts to assign the bubbles of an image t to the bubbles of a previous image t-1. Pre-specifies the number (ID) of the assigned bubble from the previous image for each bubble. –1 means that the bubble has no predecessor. | |
| 12 | tid | Track ID. This is the unique identification number assigned to each bubble by means of tracking. This means that the same bubble has the same tid number in different images. (This does not apply to the value of id). | |
| 13 | tl | Tracklength. Number of images in which the bubble could be tracked up to this point. | |
| 14 | xe | µm | Estimated position of the bubble in the next image (x) |
| 15 | ye | µm | Estimated position of the bubble in the next image (y) |
| 16 | growa | Abrupt growth with merges (merging of bubbles). Dimensionless. Growa is the ratio of bubble size (after the merge)/bubble size (before the merge) | |
| 17 | merge_id | If two bubbles are merged, merge_id specifies the number (ID) of the bubble with which the bubble is merged. | |
| 18 | grows | µm/ms | Continuous growth rate. Defined as change in size per unit of time: ds/dt. Changes in bubble size due to merges are compensated for, i.e. factored out. Note: If the bubble has only just been detected, dt (time difference since initial detection) is very small. Fluctuations in the determination of the bubble size can therefore lead to outliers for the value of grows. The longer the bubble can be observed, the more precise the value for grows becomes (see also parameter grows2). |
| 19 | vx | µm/ms | Velocity of the bubble in x direction. Defined as dx/dt. Attention: If the bubble has just been detected, dt (time difference since the first detection) is very small. Fluctuations in the determination of the bubble position can therefore lead to outliers for the value of vx. The longer the bubble can be observed, the more precise the value for vx becomes. |
| 20 | vy | µm/ms | Velocity of the bubble in x direction. Defined as dy/dt. See notes for vx |
| 21 | time | ms | Current time. Calculated as frame number (frame_id)/fps *1000 |
| 22 | v | µm/ms | Instantaneous velocity of the bubble. Calculated as sqrt(vx² + vy²) |
| 23 | vs | µm/ms | Smoothed instantaneous velocity. Smoothed using a moving average (window width N = 20). Smoothing robustly removes the outliers at the beginning of the bubble detection. |
| 24 | grows2 | µm/ms | Continuous growth rate (alternative calculation using regression). In order to compensate for the outliers in grows, a second calculation method for continuous growth was implemented. For this purpose, the bubble size is approximated linearly (regression line). grows2 is the increase in this line. Changes in size due to merges are compensated for in advance. For longer observation periods, the value of grows approaches that of grows2. It is recommended to use grows2 instead of grows as the value for the continuous growth rate. |
| 25 | size_corrected | µm | Size of the bubble, corrected for changes that occur due to bubble mergers. Basis for the calculation of grows2. |
| 26 | size_approx | µm | Linear approximation of the bubble size. size_approx = m * t + n The parameters of the linear equation are determined using least squares: m,n = argmin (size_approx – size_corrected)². The slope of the straight line is the continuous growth rate, grows2 = m |
