Ice condition monitoring (ICM) is critical for the operation and maintenance of water supply infrastructure in cold regions. Existing approaches either depend on ground-level sensors or satellite photography for ICM, which suffer from high maintenance costs or inadequate precision. Computer vision (CV) has the potential to tackle the limitations by providing a precise and scalable solution based on near-shore cameras and increasingly affordable drones. To explore the potential of CV for ICM, this paper presents a systematic study of salient image features for differentiating typical ice evolvement phases throughout the freeze–thaw cycle. First, ice condition during the freeze–thaw cycle is studied to provide a categoric system of typical ice stages. Second, multiple image feature descriptors are proposed to characterize the distinction between different ice conditions. Finally, with the proposed descriptors as input, two support vector machines (SVMs) are trained to classify the ice condition for automatic ICM. Experiments have been implemented to identify salient features for ice characterization. It was found that the SVMs can achieve 71.9 and 77.3% accuracy for the prediction of ice stage and ice flow strength, respectively. Future research is suggested to develop the research findings into practical solutions for webcams or drone-based automatic ICM.

  • Computer vision is used to monitor ice conditions in water supply infrastructure.

  • Image features are handcrafted to characterize different ice conditions.

  • Effectiveness of the features is quantified and evaluated by correlation analysis.

During the break-up period, the flowing ice in man-made open channels can have disastrous consequences. For example, the large ice blocks can damage hydraulic structures (e.g., sluices and bridges) built over the channel, threatening their safety and stability. The flowing ice chunks can get stuck in narrow passages of the channel, forming ice jams that will block the natural flow and raise the water level. This will eventually induce flooding in the surrounding area. It was reported that ice jam-induced floods account for up to 80% of all historical floods in the Schenectady areas of the United States (USGS 2019). Economic loss caused by ice jams is over a million every year in Canada (CBC-News 2014). In the face of the catastrophic outcomes, effective ice condition monitoring (ICM) is of paramount importance as it can inform situation-aware decisions to proactively plan for adverse ice conditions.

Other than disaster prevention and remediation, ICM also provides critical information for guiding the operation of man-made hydraulic infrastructure (e.g., water channels and dams) in cold regions (Norvanchig & Randhir 2021; Zhang et al. 2021). For example, ice chunks stuck behind a water dam can cause a loss of water head, significantly reducing power production (Gebre et al. 2013). Accordingly, the water dam needs to dynamically adjust its water release schedule to accommodate the changing ice condition. In addition, the occurrence of ice-related incidents (i.e., ice flow or ice cover) can undermine the water supply capability of water channels. Hence, related engineering and hydraulic measures need to be taken to fulfill basic water demand based on the detected ice condition.

Despite its importance, precise and effective ICM is challenging to implement, especially for the many water channels located in remote areas (Zhao et al. 2012). Prevalent solutions are to deploy water level gauges and flow meters along the channels to estimate ice condition from water level and discharge; however, these indirect approaches are error-prone and usually cannot accurately identify the ice condition. Shallow water ice profilers (SWIPs) can provide high-resolution ice cover measurements but are difficult to install and maintain in an underwater environment. Satellite-based methods (e.g., scatterometers) require daytime and cloud-free conditions, and relevant satellite images are expensive to access (Vuyovich et al. 2009).

The rapid advancement of computer vision (CV) provides a promising opportunity to tackle the challenges of ICM. The rationale is three-fold. First, the increasing affordability of image-capture devices such as webcams (Vuyovich et al. 2009; USGS 2019) and unmanned aerial vehicles (UAVs) makes it possible to acquire a large amount of visual data (e.g., photos and videos) with ease. Second, the nature of imaging allows it to provide high-solution, full-coverage representations of the surface ice conditions in the waterway, from which direct, precise, and undistorted measurements can be derived. Thirdly, the powerful CV algorithms nowadays, e.g., feature extraction and machine learning (ML) models, have made automatic image processing possible. In fact, the use of images for ICM is not new – many projects have installed webcams to stream site video footage remotely. However, current practice relies on manual efforts to identify ice conditions from a massive number of images, which is extremely laborious and time-consuming.

This paper performs a comprehensive study of salient image features to classify different ice conditions in water supply infrastructure, which paves the way to automating ICM using CV. The contribution is two-fold. First, multiple color and texture descriptors have been developed to characterize channel ice. Their effectiveness in differentiating ice conditions is investigated. It generates new insights in terms of how different ice conditions manifest different visual appearances and provides empirical evidence in the correlation between image features and the states of ice in the water channel. Second, ML models have been trained for automatic ice condition classification based on the developed image features. It demonstrates the feasibility of shallow ML models in classifying ice conditions with a limited amount of data as long as distinctive ice features are provided. From a practical perspective, the study lays a foundation for incorporating CV into emerging image collection platforms such as UAVs to automatically monitor ice conditions in water infrastructure.

ICM based on embedded sensors or satellite imagery

Early studies attempted to monitor ice conditions by sensors embedded in the channel or from satellite imagery. For the embedded sensor-based approaches, flow regime parameters such as water level and discharge are used to reflect the change in ice conditions. For instance, water level gauges (Kowalczyk & Hicks 2003; Beltaos et al. 2011) and pressure loggers have been deployed to monitor long-term flow status evolution. As an increase in water level along with a decrease in discharge may signify the formation of ice cover (Beltaos & Burrell 2010; Beltaos et al. 2011), empirical models can be established to predict ice conditions with the flow data collected. However, it is usually error-prone to use indirect indices (e.g., water level and discharge) to infer ice conditions. Therefore, new devices have been developed to directly characterize the ice status. The SWIP is one such device for ice measurement in shallow water scenarios (Ghareh Aghaji Zare et al. 2016). Gunn et al. (2015) demonstrated the feasibility of using X- and Ku-band scatterometers in measuring freshwater lake ice thickness by decoupling the influence of snow cover. Cui et al. (2015) presented an apparatus for freshwater ice thickness monitoring based on electrical resistance and temperature. However, the cost and efforts of installing and maintaining these devices are considerable, which limits their large-scale applications (King et al. 2013; Gunn et al. 2015).

The other line of research intends to develop methodologies for ice monitoring from satellite images. Liu et al. (2009) reported an application of the high spatial-temporal-resolution satellite data in ice condition observation. Unterschultz et al. (2009) demonstrated the potential of using synthetic aperture radar (SAR) satellite images to identify ice jams, intact ice, and open water during breakup. Chaouch et al. (2014) proposed a method that can distinguish between ice cover and flowing water from remote sensing photography. Vasil'ev et al. (2022) studied the possibility of navigation satellites in monitoring ice cover dynamics. As pointed out by Vuyovich et al. (2009) and USGS (2019), satellite-based methods are heavily dependent on weather conditions (requiring daytime and cloud-free condition), and can only obtain relevant images periodically due to the satellite cycle revolving around the earth.

ICM based on CV-enabled near-ground image processing

The latest development in CV shows promising potential in exploiting near-ground images for ICM. Compared with satellite images, near-ground photos are easily accessible. For many projects, webcams are standard equipment that have already been installed (Vuyovich et al. 2009). UAVs, since they entered the commercial market years ago, are becoming increasingly affordable. Liu et al. (2019) reported an application of UAVs in water channel inspection. Pioneering efforts have been made to apply CV in processing the near-ground images collected by webcams or UAVs for ice study. Jedrzychowski & Kujawski (2014) proposed an automatic method to assess the percentage of ice coverage from webcam images. Ansari et al. (2017) developed a shore-based imagery processing algorithm for ice cover quantification. Rødtang et al. (2021) explored the potential of CV techniques such as Structure from Motion (SfM) in drone-based ice growth surveying, while Ansari et al. (2021) developed a convolutional neural network called IceMaskNet for river ice detection and characterization from aerial photography. Existing studies tend to focus on quantitatively characterizing the ice cover area at different ice stages for research purposes instead of ICM. Some efforts (Ansari et al. 2021; Pei et al. 2023) attempted to apply deep learning (DL) models to directly classify ice conditions. However, DL entails a large annotated dataset to enable end-to-end model training, which is difficult to obtain in such a domain-specific scenario as ice monitoring in water infrastructure. In addition, DL is usually deemed as a black box, making it difficult to interpret and develop confidence in the results (Rudin & Radin 2019). The limitations call for a need to develop useful high-level image features to reduce data volume needed, and on the other hand, understand features that matter in ice classification.

The study of handcrafting and selecting suitable image features for object recognition is called image feature engineering. It refers to a process of transforming raw data (e.g., RGB pictures) into feature representations (e.g., color or texture descriptors) that can be used in an object classification or detection task (Brownlee 2014). In domain-specific problems where available data are too scarce to train deep learning models, the technique has been an effective and useful means for building condition assessment (Torok et al. 2014), bridge inspection (Abdel-Qader et al. 2003; Yeum & Dyke 2015), structural damage detection (Ramana et al. 2019), and post-disaster search and rescue (Rudol & Doherty 2008). In terms of ice condition monitoring, researchers have been attempting to extract information on the ice evolution process from certain image features. Jedrzychowsk & Kujawski (2014) found that the combined use of a canny edge detector and a morphologic algorithm can effectively extract ice float on the water surface. Ansari et al. (2017) developed a workflow to characterize spatial and temporal features of ice cover, which includes preprocessing, image registration, image rectification, target detection and ice characteristics calculation. Kalke & Loewen (2018) investigated the use of a support vector machine (SVM) for the prediction of total surface ice concentration. However, few have attempted to systematically investigate image features that are distinctive and salient in differentiating various ice conditions, and thus enable automatic ICM.

Knowledge gaps

The literature review reveals three knowledge gaps. First, existing ICM approaches based on embedded sensors or satellites are either too expensive to operate (e.g., SWIP), or are of insufficient resolution to ensure consistent monitoring (e.g., SAR). Second, the data-greedy and black box nature of DL-based methods make them difficult to scale-up in real life. Thirdly, although image feature-based ML represents an explainable learning approach that only requires small data, few studies have systematically investigated ice features for enabling automatic ICM. Different from existing methods, our study puts forward a low-cost, robust, and all-weather approach to monitor ice conditions in water supply infrastructure based on near-ground imagery. By a systematic investigation of salient ice features, our approach does not need big data to train, and is interpretable to both humans and machines. It boosts humans' confidence in the model and can be deployed at scale for its low training cost.

The objective is to find suitable descriptors to characterize image features of different ice conditions and realize automatic ice condition classification. To achieve the objective, a three-step methodology is developed. First, the freeze–thaw cycle of channel water is studied to determine a categorization of different ice condition stages. Second, a set of feature descriptors in terms of color and texture are defined to characterize and differentiate the various ice conditions. Finally, based on the proposed feature descriptors, ML models are developed and compared for automatic ice condition classification. Experiments will be implemented to evaluate the developed methodology from two aspects. On the one hand, correlation between the proposed descriptors and the ice condition will be studied to identify the most salient features for effective ice condition differentiation. On the other hand, several ice condition classifiers based on ML will be trained and quantitatively evaluated.

Categorization of typical ice condition

Despite the complexity of the actual evolvement of the ice regime, a typical freeze–thaw cycle usually encompasses four ice stages as depicted in Figure 1. Open water refers to a state where the channel water is in the form of free flow, while ice cover means the water surface layer is completely frozen. Ice flow usually occurs after the break-up, where a mixture of ice blocks and water co-exist. Ice jam happens when the ice blocks are stuck and accumulated at narrow passages of the channel, e.g., in front of a sluice. For ice flow, the strength of the flowing ice (denoted by ice flow strength) may vary, e.g., ranging from moderate to strong-level ice flow. Therefore, a categoric system is established as follows: (a) ice stages, which include open water, ice cover, ice flow, and ice jam and (b) ice flow strength, which includes moderate and strong levels.
Figure 1

A typical freeze–thaw cycle in water channels.

Figure 1

A typical freeze–thaw cycle in water channels.

Close modal

Candidate feature descriptors

In this section, a color descriptor and three texture descriptors are developed to characterize image features of different ice conditions.

Color feature descriptor

Because of the existence of gases and physical impurities, ice normally looks white and cloudy. This characteristic can serve as a useful indicator for the presence of channel ice in images. Therefore, the HSV color space of ice/water images is analyzed. Compared with the widely known RGB model, HSV space models color in a way that is closer to human perception. It includes three channels, i.e., hue (H), saturation (S), and value (V). Figure 2(a) shows an inverted cone model of the HSV color space, where the H, S, and V channels represent the attribute, purity, and brightness of a color, respectively. As demonstrated by Figure 2(a), the pure white color appears at the top center of the inverted cone, where the saturation and value equal 0 and 1, respectively.
Figure 2

(a) HSV color space model; (b) histograms of S channel and V channel of an open water image; and (c) histograms of S channel and V channel of an ice flow image. Please refer to the online version of this paper to see this figure in colour: https://dx.doi.org/10.2166/hydro.2023.120.

Figure 2

(a) HSV color space model; (b) histograms of S channel and V channel of an open water image; and (c) histograms of S channel and V channel of an ice flow image. Please refer to the online version of this paper to see this figure in colour: https://dx.doi.org/10.2166/hydro.2023.120.

Close modal
Figures 2(b) and 2(c) show the histograms of the S and V channels for open water and ice flow images, respectively. The horizontal axis of the histograms divides the range of the S channel (V channel) evenly into 255 intervals, while the vertical axis indicates the quantity of pixels in each interval. Let [0, i] and [j, 255] be the low value area and high value area in the S channel and V channel, respectively (the green dot boxes in Figures 2(b) and 2(c)). The histograms of ice flow densely distributed in the areas highlighted by the green dot boxes while those of open water show an opposite pattern. It is speculated that the color feature of ice can be characterized by the density of pixel distribution over the range of both the S channel histogram and the V channel histogram. As a result, a color feature descriptor denoted by StV (Saturation times Value) is defined, which calculates the proportion of white color components to characterize ice condition:
(1)
where k is a constant value, which is set as 1 in our study; is the proportion that the pixel quantity in interval [0, i] of S channel accounts for the total pixel quantity, and is the quantity of pixels with saturation x; is the proportion that the pixel quantity in interval [j, 255] of v channel accounts for the total pixel quantity, and is the quantity of pixels with value x. The larger the StV is, the more white components in an image and, accordingly, the more likely the image features an ice scenario.

Texture feature descriptors

Texture can also be a strong indicator of different ice stages. For example, ice flow and ice jam tend to have a coarser texture compared with those of open water and ice cover. In addition, under the influence of water flow, the texture of ice flow is likely to distribute along a single direction while the ice jam might present a multi-directional pattern. Based on these observations, three texture descriptors have been proposed.

Edge proportion
Edge is an ideal indicator of image texture. The detected edges increase as the texture becomes rougher. There are many different kernels for edge detection, such as Sobel, Roberts, and Canny, among which the Canny kernel is prevalent for its robustness against noise. To mitigate the influence of noise, e.g., ripples on the water, the Canny kernel is adopted in our study. The descriptor edge proportion (EP) is defined as the proportion of edges in a given image:
(2)
where and are, respectively, the quantity of edge pixels and all pixels in an image. The higher the EP, the coarser texture an image presents, and thus the more likely the image is depicting ice flow or ice jam.
Variance of edge histogram descriptor (δ-EHD)
Edge histogram descriptor (EHD) is an effective local feature descriptor to reflect the edge distribution pattern. As shown in Figure 3, the algorithm divides an image into 4 × 4 sub-images. Edge histograms are then generated based on each of the obtained sub-images. An edge histogram comprises five bins, which respectively represent five types of edge direction, i.e., vertical, horizontal, 45° diagonal, 135° diagonal, and non-directional. The edge type is extracted on the basis of blocks which are made up of 2 × 2 pixels. The edge histograms of the 16 sub-images are concatenated to form the final EHD consisting of 80 elements. The rationale of EHD has been systematically explained in Won et al. (2002).
Figure 3

The δ-EHD calculation procedure.

Figure 3

The δ-EHD calculation procedure.

Close modal
We speculate that the distribution of edge direction may differ according to the change in ice condition. For example, in an image of ice flow, the edges tend to feature a unidirection along the water flow, while the edges in an ice jam image tend to be evenly distributed over different directions. To quantify the difference in the distribution of edge direction, the variance of edge histogram descriptor (δ-EHD) is defined as follows.
(3)
where and are, respectively, the standard deviation and average of x1, x2, …, xn. , , and are, respectively, the counts of edges with horizontal, vertical, 45° diagonal and 135° diagonal direction in sub-image i. The δ-EHD value reflects the degree of variation over different edge directions: The larger the δ-EHD, the more likely the edges in an image follow a single direction, implying a higher possibility of ice flow in the image.
Variance of histogram of oriented gradient (δ-HOG)
The histogram of oriented gradient (HOG) characterizes image features by counting the occurrences of gradient orientation in localized portions of an image (Dalal & Triggs 2005). Figure 4 illustrates the basic rationale of HOG. With the algorithm, an image is divided into many small cells. For each of the obtained cells, a histogram of the intensity gradient orientation can be generated. Finally, a block slides through the entire image to normalize and concatenate the histograms.
Figure 4

General procedure of the HOG algorithm.

Figure 4

General procedure of the HOG algorithm.

Close modal
Similar to δ-EHD, the variance of the histogram of oriented gradient (δ-HOG) is proposed to characterize the degree of variation in the distribution of gradient orientation. The definition of δ-HOG can be expressed by the following.
(4)
where is the value of channel i in the HOG (), and N is the number of channels. The larger the δ-HOG, the more likely the texture in the image is distributed along a unidirection. Accordingly, it is more likely that the image depicts an ice flow scenario.

SVM classification

With proposed image features, ML models are trained to classify different ice conditions. Among the various ML algorithms (e.g., nearest neighbor, decision tree, and neural nets), support vector machine (SVM) prevails for its ability to produce solid classification performance while only requiring a small amount of training data (Yan et al. 2017). Therefore, SVM is adopted for ice condition classification in this study. As shown in Figure 5, two SVM classification models will be developed, respectively, for ice stage identification and ice flow strength evaluation. The input of the models is the feature descriptors proposed in the last section. Note that some of the features might be excluded from the model according to the correlation analysis results. The output of classifiers #1 and #2 are, respectively, ice stages (i.e., open water, ice cover, ice flow and ice jam) and ice flow strength (i.e., moderate and strong). Classifier #1 consists of three sub-classifiers, i.e., SubCla #1-1, SubCla #1-2 and SubCla #1-3. The SubCla #1-1 first classifies an image sample into ‘open water & ice cover’ or ‘ice flow & ice jam’. Those categorized as the former are then input to SubCla #1-2 to determine whether they are ‘open water’ or ‘ice cover’, while those categorized as the latter are input to SubCla #1-3 for ‘ice flow’ and ‘ice jam’ classification.
Figure 5

Model structures of the developed SVM classifiers.

Figure 5

Model structures of the developed SVM classifiers.

Close modal

Dataset composition

In order to evaluate the proposed methods, a total of 340 images were collected by field investigations and online searching. The collected data cover different ice stages and ice flow strength, and were collected in various illumination conditions. The dataset was outsourced for annotation using our developed web-based annotation tool (see Supplementary material, Section S1). We posted the link to the website on social media and used personal connections to reach out to potential annotation workers. Based on a majority vote, the class and subclass of each image were decided. Supplementary material, Section S2 shows the composition of the obtained dataset after annotation, and its key parameters. Overall, the numbers of images depicting open water, ice cover, ice flow, and ice jam scenarios are 64, 86, 120, and 70, respectively, and in the ice flow category, there are 67 and 53 images showing moderate and strong ice flow, respectively. Resolution of the image ranges from 190 × 128 to 657 × 420. The average brightness and contrast after normalization to [0,1] are 0.61 and 0.67, respectively.

Experiment One: determining suitable descriptors

To determine suitable descriptors to input to the classification models, correlations between the descriptors and the ice condition have been investigated. Eta-squared (η2) is adopted to quantitatively measure the correlation between a discrete variable (ice condition) and a continuous variable (feature descriptors). A rule of thumb on interpreting the value of η2 is given here: The larger η2, the stronger the correlation, and a η2 over 0.14 is considered acceptable. In our study, descriptors with η2 lower than 0.14 are deemed irrelevant to the ice condition, and thus will be excluded from the SVM models.

The determination of i and j is essential for color feature descriptor StVi-j. To this end, a trial-and-error method is adopted. By assigning several different values to i and j, the StVi-j values of each image in the dataset can be obtained, which are then analyzed collectively with the class labels to determine the most correlative StVi-j. Figure 6 shows the distribution of different StVi-j and their η2 in terms of different ice stages and ice flow strength. With a fixed i value (i.e., 25), the η2 values under different j values are compared to determine the V channel interval [j, 255]. When j equals 180, the correlations with ice stages and ice flow strength both witness the highest η2. Hence, the j values for ice stage classification and ice flow strength classification are both set as 180. The same operations are applied to the S channel to determine the values of i. Regarding ice stages, the η2 value starts converging at i = 65; as for ice flow strength, the highest η2 is observed at i = 25. Based on the above analysis, StV65-180 and StV25-180 are adopted as the input of the classification model of ice stage and ice flow strength, respectively.
Figure 6

Correlation analysis of StV with (a) ice stages and (b) ice flow strength.

Figure 6

Correlation analysis of StV with (a) ice stages and (b) ice flow strength.

Close modal
Using different thresholds in the same Canny filter operation can result in different EP values. Figures 7(a) and 7(b) show the box plots of EP under different thresholds (denoted by Th in the figure) and their η2 with different ice stages and ice flow strength. In terms of ice stages, the Th value of 0.6 witnesses the highest η2, and hence it is adopted as the EP threshold for the ice stage classifier. As for ice flow strength, when a threshold of 0.2 or 0.3 is applied, η2 hits the highest value. As shown by the corresponding box plots, the EP distribution of ‘moderate’ and ‘strong’ is relatively better differentiated with Th = 0.2 than that with Th = 0.3. Hence, EP with a threshold of 0.2 is adopted as the input of the classification model for ice flow strength.
Figure 7

Correlation analysis of (a) EP with ice stages, (b) EP with ice flow strength, (c) δ-EHD with ice stages, (d) δ-EHD with ice flow strength, (e) δ-HOG with ice stages, and (f) δ-HOG with ice flow strength.

Figure 7

Correlation analysis of (a) EP with ice stages, (b) EP with ice flow strength, (c) δ-EHD with ice stages, (d) δ-EHD with ice flow strength, (e) δ-HOG with ice stages, and (f) δ-HOG with ice flow strength.

Close modal

When calculating δ-EHD, a threshold (i.e., Th) is applied to ensure the algorithm only considers the edges with intensity over the Th. Figures 7(c) and 7(d) show the distribution of δ-EHD values under different Th. In the second row of the table in Figure 7(c), the η2 value regarding ‘ice flow’ and ‘ice jam’ is presented to reflect the capability of the index in separating these two ice stages. The highest η2 of δ-EHD regarding the two ice stages and all ice stages is, respectively, observed at Th = 0.1 and Th = 0.05. Given that the value of η2 regarding the two ice stages at Th = 0.05 (i.e., 0.325) is quite close to the peak at Th = 0.1 (i.e., 0.333), the Th = 0.05 is adopted to attain a better separation of all ice stages. In terms of ice flow strength, the threshold value of 0.001 is selected due to the strong correlation between ice flow strength and δ-EHD under the threshold.

In the HOG algorithm, the parameter ‘cell size’ decides the level of detail to which the feature is extracted: A large cell size tends to extract the big-picture features in an image while a small one focuses on the detailed features. As shown by Figures 7(e) and 7(f), the correlation of δ-HOG using different cell sizes with ice condition is analyzed. The η2 value regarding ‘ice flow’ and ‘ice jam’ is also presented at the bottom. When the cell size is 48 × 48 pixels, the highest η2 values over all ice stages and the two ice stages are both observed at the same time. Hence, the δ-HOG using the 48 × 48 cell size is adapted to the ice stage classification model. As for ice flow strength, since η2 values under different cell sizes are all lower than our baseline (i.e., 0.14), δ-HOG is excluded from the corresponding classification model.

Experiment Two: evaluating the ice condition classifiers

By the analysis in the last section, the input to the SVM classifiers is determined, as listed in Table 1. The dataset consisting of 340 images was randomly divided into a training set, a validation set and a test set. The training set was used to train the SVM classifiers; the validation set was used for hyperparameters tuning and the selection of the optimal model; and the test set was used to evaluate the performance and generalization ability of the optimal model determined by the validation set. The bottom three rows of Table 1 list the constitution of the training set, validation set, and test set used by classifiers #1 and #2.

Table 1

Architecture of the developed SVM classifiers

Classifier #1Classifier #2
Inputs StV65-180 StV25-180 
EP (Th = 0.6) EP (Th = 0.2) 
δ-EHD (Th = 0.05) δ-EHD (Th = 0.001) 
δ-HOG (cell size = 48) / 
Outputs Types of ice stage (i.e., open water, ice cover, ice flow and ice jam) Levels of ice flow strength (i.e., moderate, strong) 
Training set Open water: 38
Ice cover: 55
Ice flow: 74
Ice jam: 41
Total: 208 images 
Moderate: 43
Strong: 31
Total: 74 images 
Validation set Open water: 13
Ice cover: 18
Ice flow: 24
Ice jam: 13
Total: 68 images 
Moderate: 14
Strong: 10
Total: 24 images 
Test set Open water: 13
Ice cover: 13
Ice flow: 22
Ice jam: 16
Total: 64 images 
Moderate: 10
Strong: 12
Total: 22 images 
Classifier #1Classifier #2
Inputs StV65-180 StV25-180 
EP (Th = 0.6) EP (Th = 0.2) 
δ-EHD (Th = 0.05) δ-EHD (Th = 0.001) 
δ-HOG (cell size = 48) / 
Outputs Types of ice stage (i.e., open water, ice cover, ice flow and ice jam) Levels of ice flow strength (i.e., moderate, strong) 
Training set Open water: 38
Ice cover: 55
Ice flow: 74
Ice jam: 41
Total: 208 images 
Moderate: 43
Strong: 31
Total: 74 images 
Validation set Open water: 13
Ice cover: 18
Ice flow: 24
Ice jam: 13
Total: 68 images 
Moderate: 14
Strong: 10
Total: 24 images 
Test set Open water: 13
Ice cover: 13
Ice flow: 22
Ice jam: 16
Total: 64 images 
Moderate: 10
Strong: 12
Total: 22 images 

A Python package, scikit-learn, was used to implement the training and testing process. Three important hyperparameters need to be specified in the training process, i.e., kernel, C, and gamma. The ‘kernel’ designates the type of hyperplane used to separate the data. For example, the ‘linear’ kernel is effective in linear-separable data while the other kernels (e.g., ‘poly’ and ‘rbf’) are normally used to deal with nonlinear data. C is the regularization parameter that defines the tolerance level of misclassification. The gamma defines the range of influence a training example should reach. After parameter tuning on the validation set, it was observed that classifier #1 achieved the best performance when a ‘poly’ kernel with a degree of 2, C = 300, and γ = 10 were adopted. Classifier #2 yielded the best outcomes when a ‘rbf’ kernel, C = 15, and γ = 30 were adopted. The confusion matrices of the optimal models on the validation set are shown in Supplementary material, Figure A4.

The optimal models were used to classify the image samples in the test set, and the resulting confusion matrices are presented in Supplementary material, Figure A5. Supplementary material, Table A1 lists some key performance indexes of the models on the test set. The accuracy, defined as the portion of correctly predicted samples accounting for all the samples, is 0.719 and 0.773 for classifier #1 and classifier #2, respectively. The results indicate that the obtained classification models can yield reliable prediction results for ice condition recognition.

Main findings of the research

The two ice condition classifiers yielded reliable prediction performance on the test set, which can be attributed to the following factor. Effective feature descriptors have been defined and selected as the input to the SVM classifiers. As shown by the box plots from Figures 6 and 7, the collective use of the StV, EP, δ-EHD, and δ-HOG can effectively differentiate among the different ice stages, i.e., ‘open water’, ‘ice cover’, ‘ice flow’, and ‘ice jam’, while the integrated adoption of the StV, EP, and δ-EHD can be used to differentiate different levels of ice flow strength, i.e., ‘moderate’ and ‘strong’. The correlation analysis in Experiment One successfully optimized the hyper-parameters of the descriptors (i.e., i and j for StV, the threshold for EP and δ-EHD, and cell size for δ-HOG) and excluded irrelevant variables from the models (e.g., δ-HOG for classifier #2), which ensured that only the most correlated variables are considered.

The time performance of the proposed method is listed in Supplementary material, Section S4. Note that all the algorithms were run on a laptop, ASUS VivoBook S15, with an Intel Core i7-8550 U processor, and Nvidia GeForce MX150 GPU. The adopted inputs to the SVM models are a few high-level features extracted based on prior human knowledge; hence, the training process is quite efficient compared with models based on pixel-wise low-level features, which usually require a large amount of time and data to learn high-level features from individual pixels. Given a newly captured photo, it only takes 0.9257 s to calculate its corresponding feature descriptors (0.9189 s) and identify the ice stages (0.001362 s) and ice flow strength (0.005475 s) it depicts. This efficiency allows relevant professionals to gain rapid awareness of potential safety issues once they are captured in the images.

Limitations and future work

Although this research has demonstrated the viability of CV in ICM by an exploratory study of salient image features, future research is suggested to further enhance the method from the following two aspects:

  • First, preprocessing techniques should be incorporated in future work. Without proper preprocessing, the performance of image classification might be undermined by a series of factors, such as blurring, varying lighting, and water reflection. The negative effect of these factors can be potentially addressed by the following preprocessing techniques: A high-pass filter can be applied to blurred images to enhance the contrast and strengthen the edges; image normalization should be adopted to adjust the illumination and shadow condition; as for water reflection, Hough line transform can be used to detect and remove tree limbs reflected on the water.

  • Second, a solution should be devised to apply the feature engineering results and the developed classifiers in practical ice monitoring. Two possible solutions are suggested. The first one is based on shore-based cameras. The cameras can be pre-calibrated to ensure that they only focus on water and (or) ice surfaces in the channel. This solution can realize long-term monitoring of ice conditios In the other solution, UAVs can be applied to perform periodical inspection of the water channel. By using the region of interest (ROI) extraction method introduced by Chen et al. (2019) and Chen et al. (2021), ROI can be extracted from the images captured by the UAV for the subsequent classification tasks. Compared to the shore-based camera solution, this solution can fulfill a full-coverage ice condition assessment of the entire channel.

This study performed a systematic image feature analysis for ice condition classification during the whole freeze–thaw cycle of water supply channels. The study was focused on four ice stages (i.e., open water, ice cover, ice flow, and ice jam) and two levels of ice flow strength (i.e., moderate and strong). Using a newly developed web-based tool, an ice condition dataset has been generated by outsourcing the annotation task to different annotation workers. A color-based descriptor (i.e., StV) and three texture-based descriptors have been proposed, and their correlations with different ice conditions have been quantitatively investigated. Using the correlated descriptors as input, two SVM classifiers have been trained to automatically identify the ice stage and ice flow strength from images. Experiments have been implemented to validate the efficacy of the proposed algorithms. The suitability and the optimal hyperparameters for the proposed descriptors have been investigated. The StV65-180 and StV25-180 are the most correlative with ice stages and ice flow strength, respectively, among the different channel intervals. EPs with thresholds of 0.6 and 0.2 are, respectively, most relevant to the types of ice stages and ice flow strength while the optimal threshold for δ-EHD is, respectively, 0.05 and 0.001. The δ-HOG using the 48 × 48 cell size can best differentiate the ice stages while the index is not suitable for ice flow strength classification. The SVM classifiers with the above descriptors as inputs can achieve reliable prediction (with an accuracy of over 70%) with near real-time calculation efficiency (less than 1 s). Future work should focus on further improving the classification performance by adopting image pre-processing and exploring application solutions based on webcams or UAVs.

This research was supported by the National Key Research and Development Program of China (No. 2018YFC0406903) and the National Natural Science Foundation of China (No. 51979189).

All relevant data are included in the paper or its Supplementary Information.

The authors declare there is no conflict.

Abdel-Qader
L.
,
Abudayyeh
O.
&
Kelly
M. E.
2003
Analysis of edge-detection techniques for crack identification in bridges
.
Journal of Computing in Civil Engineering
17
,
255
263
.
https://doi.org/10.1061/(ASCE)0887-3801(2003)17:4(255)
.
Ansari
S.
,
Rennie
C. D.
,
Seidou
O.
,
Malenchak
J.
&
Zare
S. G.
2017
Automated monitoring of river ice processes using shore-based imagery
.
Cold Regions Science and Technology
142
,
1
16
.
https://doi.org/10.1016/j.coldregions.2017.06.011
.
Ansari
S.
,
Rennie
C.
,
Clark
S.
&
Seidou
O.
2021
Icemasknet: river ice detection and characterization using deep learning algorithms applied to aerial photography
.
Cold Regions Science and Technology
189
,
103324
.
https://doi.org/10.1016/j.coldregions.2021.103324
.
Beltaos
S.
&
Burrell
B. C.
2010
Ice-jam model testing: Matapedia River case studies, 1994 and 1995
.
Cold Regions Science and Technology
60
,
29
39
.
https://doi.org/10.1016/j.coldregions.2009.05.014
.
Beltaos
S.
,
Rowsell
R.
&
Tang
P.
2011
Remote data collection on ice breakup dynamics: Saint John River case study
.
Cold Regions Science and Technology
67
,
135
145
.
https://doi.org/10.1016/j.coldregions.2011.03.005
.
Brownlee
J.
2014
Discover Feature Engineering, How to Engineer Geatures and How to get Good at it
. http://machinelearningmastery.com/discover-feature-engineering-how-to-engineer-features-and-how-to-get-good-at-it/
(Accessed August, 8th 2019)
.
CBC-News
.
2014
The Science of ice jam Formation
. https://www.cbc.ca/player/play/2430682229
(Accessed August, 31st 2019)
.
Chaouch
N.
,
Temimi
M.
,
Romanov
P.
,
Cabrera
R.
,
McKillop
G.
&
Khanbilvardi
R.
2014
An automated algorithm for river ice monitoring over the Susquehanna River using the MODIS data
.
Hydrological Processes
28
,
62
73
.
https://doi.org/10.1002/hyp.9548
.
Chen
J.
,
Liu
D.
,
Li
S.
&
Hu
D.
2019
Registering georeferenced photos to a building information model to extract structures of interest
.
Advanced Engineering Informatics
42
,
100937
.
https://doi.org/10.1016/j.aei.2019.100937
.
Chen
J.
,
Liu
D.
&
Li
X.
2021
Extracting water channels from aerial videos based on image-to-BIM registration and spatio-temporal continuity
.
Automation in Construction
132
,
103970
.
https://doi.org/10.1016/j.autcon.2021.103970
.
Cui
L.
,
Qin
J.
&
Deng
X.
2015
Freshwater ice thickness apparatus based on differences in electrical resistance and temperature
.
Cold Regions Science and Technology
119
,
37
46
.
https://doi.org/10.1016/j.coldregions.2015.07.009
.
Dalal
N.
&
Triggs
B.
2005
Histograms of oriented gradients for human detection
. In:
2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'05)
.
IEEE
, pp.
886
893
.
Gebre
S.
,
Alfredsen
K.
,
Lia
L.
,
Stickler
M.
&
Tesaker
E.
2013
Review of ice effects on hydropower systems
.
Journal of Cold Regions Engineering
27
,
196
222
.
https://doi.org/10.1061/(ASCE)CR.1943-5495.0000059
.
Ghareh Aghaji Zare
S.
,
Moore
S. A.
,
Rennie
C. D.
,
Seidou
O.
,
Ahmari
H.
&
Malenchak
J.
2016
Estimation of composite hydraulic resistance in ice-covered alluvial streams
.
Water Resources Research
52
,
1306
1327
.
https://doi.org/10.1002/2015WR018096
.
Gunn
G. E.
,
Duguay
C. R.
,
Brown
L. C.
,
King
J.
,
Atwood
D.
&
Kasurak
A.
2015
Freshwater lake ice thickness derived using surface-based X- and Ku-band FMCW scatterometers
.
Cold Regions Science and Technology
120
,
115
126
.
https://doi.org/10.1016/j.coldregions.2015.09.012
.
Jedrzychowski
K.
&
Kujawski
A.
2014
Method of image analysis in the process of assessment of ice occurrences
.
Scientific Journals of the Maritime University of Szczecin
37
,
45
49
.
Kalke
H.
&
Loewen
M.
2018
Support vector machine learning applied to digital images of river ice conditions
.
Cold Regions Science and Technology
155
,
225
236
.
https://doi.org/10.1016/j.coldregions.2018.08.014
.
King
J. M. L.
,
Kelly
R.
,
Kasurak
A.
,
Duguay
C.
,
Gunn
G.
&
Mead
J. B.
2013
UW-Scat: A ground-based dual-frequency scatterometer for observation of snow properties
.
IEEE Geoscience and Remote Sensing Letters
10
,
528
532
.
10.1109/Lgrs.2012.2212177
.
Kowalczyk
T.
&
Hicks
F.
2003
Observations of dynamic ice jam release on the Athabasca River at Fort McMurray, AB
. In:
Proc. 12th Workshop on River Ice
,
Edmonton
.
Liu
C. C.
,
Chang
Y. C.
,
Huang
S.
,
Yan
S. Y.
,
Wu
F.
,
Wu
A. M.
,
Kato
S.
&
Yamaguchi
Y.
2009
Monitoring the dynamics of ice shelf margins in Polar Regions with high-spatial- and high-temporal-resolution space-borne optical imagery
.
Cold Regions Science and Technology
55
,
14
22
.
https://doi.org/10.1016/j.coldregions.2008.07.008
.
Liu
D.
,
Chen
J.
,
Hu
D.
&
Zhang
Z.
2019
Dynamic BIM-augmented UAV safety inspection for water diversion project
.
Computers in Industry
108
,
163
177
.
https://doi.org/10.1016/j.compind.2019.03.004
.
Norvanchig
J.
&
Randhir
T. O.
2021
Simulation of ecohydrological processes influencing water supplies in the Tuul River watershed of Mongolia
.
Journal of Hydroinformatics
23
,
1130
1145
.
https://doi.org/10.2166/hydro.2021.056
.
Pei
C.
,
She
Y.
&
Loewen
M.
2023
Deep learning based river surface ice quantification using a distant and oblique-viewed public camera
.
Cold Regions Science and Technology
206
,
103736
.
https://doi.org/10.1016/j.coldregions.2022.103736
.
Ramana
L.
,
Choi
W.
&
Cha
Y. J.
2019
Fully automated vision-based loosened bolt detection using the Viola-Jones algorithm
.
Structural Health Monitoring
18
,
422
434
.
https://doi.org/10.1177/1475921718757459
.
Rødtang
E.
,
Alfredsen
K.
&
Juárez
A.
2021
Drone surveying of volumetric ice growth in a steep river
.
Frontiers in Remote Sensing
2
,
50
.
https://doi.org/10.3389/frsen.2021.767073
.
Rudin
C.
&
Radin
J.
2019
Why are we using black box models in AI when we don't need to? A lesson from an explainable AI competition
.
Harvard Data Science Review
1
,
10
1162
.
https://doi.org/10.1162/99608f92.5a8a3a3d
.
Rudol
P.
&
Doherty
P.
2008
Human body detection and geolocalization for UAV search and rescue missions
. In:
2008 IEEE Aerospace Conference, Vols 1–9
.
IEEE
,
New York
, pp.
3171
3178
.
Torok
M. M.
,
Golparvar-Fard
M.
&
Kochersberger
K. B.
2014
Image-based automated 3D crack detection for post-disaster building assessment
.
Journal of Computing in Civil Engineering
28
.
https://doi.org/10.1061/(ASCE)CP.1943-5487.0000334
.
Unterschultz
K. D.
,
van der Sanden
J.
&
Hicks
F. E.
2009
Potential of RADARSAT-1 for the monitoring of river ice: results of a case study on the Athabasca River at Fort McMurray, Canada
.
Cold Regions Science and Technology
55
,
238
248
.
https://doi.org/10.1016/j.coldregions.2008.02.003
.
Vasil'ev
E. N.
,
Makarov
D. S.
&
Sorokin
A. V.
2022
Modeling of ice cover dynamics and GNSS reflectometry in ice condition monitoring
.
Journal of Siberian Federal University. Engineering & Technologies
15
,
261
271
.
Vuyovich
C. M.
,
Daly
S. F.
,
Gagnon
J. J.
,
Weyrick
P.
&
Zaitsoff
M.
2009
Monitoring river ice conditions using Web-based cameras
.
Journal of Cold Regions Engineering
23
,
1
17
.
https://doi.org/10.1061/(ASCE)0887-381X(2009)23:1(1)
.
Won
C. S.
,
Park
D. K.
&
Park
S. J.
2002
Efficient use of MPEG-7 edge histogram descriptor
.
ETRI Journal
24
,
23
30
.
https://doi.org/10.4218/etrij.02.0102.0103
.
Yan
J.
,
Jin
J.
,
Chen
F.
,
Yu
G.
,
Yin
H.
&
Wang
W.
2017
Urban flash flood forecast using support vector machine and numerical simulation
.
Journal of Hydroinformatics
20
,
221
231
.
https://doi.org/10.2166/hydro.2017.175
.
Yeum
C. M.
&
Dyke
S. J.
2015
Vision-based automated crack detection for bridge inspection
.
Computer-Aided Civil and Infrastructure Engineering
30
,
759
770
.
https://doi.org/10.1111/mice.12141
.
Zhang
S.
,
Liu
T.
&
Wang
C.
2021
Multi-source data fusion method for structural safety assessment of water diversion structures
.
Journal of Hydroinformatics
23
,
249
266
.
https://doi.org/10.2166/hydro.2021.154
.
Zhao
L.
,
Hicks
F. E.
&
Fayek
A. R.
2012
Applicability of multilayer feed-forward neural networks to model the onset of river breakup
.
Cold Regions Science and Technology
70
,
32
42
.
https://doi.org/10.1016/j.coldregions.2011.08.011
.
This is an Open Access article distributed under the terms of the Creative Commons Attribution Licence (CC BY 4.0), which permits copying, adaptation and redistribution, provided the original work is properly cited (http://creativecommons.org/licenses/by/4.0/).

Supplementary data