Journal cover
Journal topic
**Atmospheric Measurement Techniques**
An interactive open-access journal of the European Geosciences Union

Journal topic

- About
- Editorial board
- Articles
- Special issues
- Highlight articles
- Manuscript tracking
- Subscribe to alerts
- Peer review
- For authors
- For reviewers
- EGU publications
- Imprint
- Data protection

- About
- Editorial board
- Articles
- Special issues
- Highlight articles
- Manuscript tracking
- Subscribe to alerts
- Peer review
- For authors
- For reviewers
- EGU publications
- Imprint
- Data protection

**Research article**
25 Sep 2018

**Research article** | 25 Sep 2018

Cloud classification of ground-based infrared images combining manifold and texture features

- College of Meteorology and Oceanology, National University of Defense Technology, Nanjing, 211101, China

- College of Meteorology and Oceanology, National University of Defense Technology, Nanjing, 211101, China

**Correspondence**: Zeming Zhou (zhou_zeming@yahoo.com)

**Correspondence**: Zeming Zhou (zhou_zeming@yahoo.com)

Abstract

Back to toptop
Automatic cloud type recognition of ground-based infrared images is still a challenging task. A novel cloud classification method is proposed to group images into five cloud types based on manifold and texture features. Compared with statistical features in Euclidean space, manifold features extracted on symmetric positive definite (SPD) matrix space can describe the non-Euclidean geometric characteristics of the infrared image more effectively. The proposed method comprises three stages: pre-processing, feature extraction and classification. Cloud classification is performed by a support vector machine (SVM). The datasets are comprised of the zenithal and whole-sky images taken by the Whole-Sky Infrared Cloud-Measuring System (WSIRCMS). Benefiting from the joint features, compared to the recent two models of cloud type recognition, the experimental results illustrate that the proposed method acquires a higher recognition rate with an increase of 2 %–10 % on the ground-based infrared datasets.

Download & links

How to cite

Back to top
top
How to cite.

Luo, Q., Meng, Y., Liu, L., Zhao, X., and Zhou, Z.: Cloud classification of ground-based infrared images combining manifold and texture features, Atmos. Meas. Tech., 11, 5351–5361, https://doi.org/10.5194/amt-11-5351-2018, 2018.

1 Introduction

Back to toptop
Cloud has an essential impact on the absorption, scattering, emission of atmosphere, the vertical transport of heat, moisture and momentum (Hartmann et al., 1992; Chen et al., 2000). Cloud cover and cloud type can affect the daily weather and climate change through its radiation and hydrological effects (Isaac and Stuart, 1996; Liu et al., 2008; Naud et al., 2016). Therefore, accurate cloud detection and classification is necessary for meteorological observation. Nowadays, cloud cover changes and cloud type determination have been available through ground-based sky imaging systems (Souzaecher et al., 2006; Shields et al., 2003; Illingworth et al., 2007). Different from traditional manual observation, ground-based sky-imaging devices can obtain continuous information of sky conditions at a local scale with a high spatial resolution.

However, due to subject factors and a rough ground-based measuring system,
the estimation of cloud cover and type may weaken their credibility
(Tzoumanikas et al., 2012). Some attempts have been made to develop
algorithms for cloud classification of ground-based images (Buch et al.,
1995; Singh and Glennen, 2005; Cazorla et al., 2008; Heinle et al., 2010;
Ghonima et al., 2012; Taravat et al., 2014; Zhuo et al., 2014). Wang and
Sassen (2001) developed a cloud detection algorithm by combining ground-based
active and passive remote sensing data to illustrate how extended-time remote
sensing datasets can be converted to cloud properties of concern for climate
research. Li et al. (2003) proposed a method for automatic classification of
surface and cloud type using Moderate Resolution Imaging Spectro-radiometer
(MODIS) radiance measurements, whose advantage lied in its independence of
radiance or brightness temperature threshold criteria, and its interpretation
of each class was based on the radiative spectral characteristics of
different classes. Singh and Glennen (2005) adopted the *k*-nearest neighbour
(KNN) and neural network classifiers to identify cloud types with texture
features, including autocorrelation, co-occurrence matrices, edge frequency,
Law's features and primitive length. Calbó and Sabburg (2008) extracted
statistical texture features based on the greyscale images, pattern features
based on the spectral power function of images and other features based on
the thresholded images for recognizing the cloud type with the supervised
parallelepiped classifier. Heinle et al. (2010) chose 12 dimensional
features, mainly describing the colour and the texture of images for
automatic cloud classification, based on the KNN classifier. Besides the
statistical feature like the mean grey value of the infrared image, Liu et
al. (2011) explored another six structure features to characterize the cloud
structure for classification. Zhuo et al. (2014) validated that cloud
classification may not perform well if the texture or structure features were
employed alone. As a result, texture and structure features were captured
from the colour image and then fed into a trained support vector machine
(SVM) (Cristianini and Shawe-Taylor, 2000) to obtain the cloud type.
Different from traditional feature extraction, Shi et al. (2017) proposed
adopting the deep convolutional activations-based features and provided a
promising cloud type recognition result with a multi-label linear SVM model.

Automatic cloud classification has made certain achievements; however, the cloud classification of ground-based infrared images poses a great challenge to us. So far, little research on cloud classification have been dedicated to the ground-based infrared images (Sun et al., 2009; Liu et al., 2011). Most recent methods conducted on the RGB visible images (Heinle et al., 2010; Zhuo et al., 2014; Li et al., 2016; Gan et al., 2017) cannot directly be exploited on the cloud type classification of infrared images due to the lack of colour information. Compared to colour images, infrared images can be obtained day and night continuously, which is important for practical application and analysis.

Nowadays, the symmetric positive definite (SPD) matrix manifold has achieved success in many aspects, such as action recognition, material classification and image segmentation (Faraki et al., 2015; Jayasumana et al., 2015). As a representative of SPD matrix, the Covariance Descriptor (CovD) is a powerful tool to extract the feature of the image. It has several advantages. Firstly, it calculates the first-order and second-order statistics of the local patch. Secondly, it straightforwardly fuses various features. Thirdly, it is independent of the region size and has low dimensions. Fourthly, by subtracting the mean feature vector, the effect of the noisy samples is reduced to some degree. Finally, it is able to speed up the computation in images and videos using efficient methods (Tuzel et al., 2008; Sanin et al., 2013). Covariance matrices naturally form a connected Riemannian manifold. Although it proves effective, few investigations are pursued for the task of cloud classification with manifold features. The manifold feature vector can maintain these advantages of non-Euclidean geometric space and describe the image features comprehensively, so it is chosen for an attempt on the cloud classification. In this paper, a novel cloud classification method is proposed for ground-based infrared images. Manifold features, representing the non-Euclidean geometric structure of the image features, and texture features, expressing the image texture, are integrated for the feature extraction.

To exhibit the classification performance, we have compared the results with the other two models (Liu et al., 2015; Cheng and Yu, 2015), which are adapted for the classification task of infrared images. To make up for the weakness of the local binary patterns (LBP) that cannot describe the local contrast well, Liu et al. (2015) proposed a new descriptor called weighted local binary patterns (WLBP) for the feature extraction. And then the KNN classifier based on the chi-square distance was employed for cloud type recognition. Cheng and Yu (2015) incorporated statistical features and local texture features for block-based cloud classification. As Cheng and Yu (2015) reported, the method combining the statistical and uniform LBP features with the Bayesian classifier (Bensmail and Celeux, 1996) displayed the best performance in the 10-fold cross validation (Ripley, 2005) overall.

In this paper, the data and methodology of the method are described in Sect. 2. Section 3 focuses on the experimental results. Conclusions are summarized in Sect. 4.

2 Data and methodology

Back to toptop
In this section, the datasets and the methodology for cloud classification are introduced. The proposed method contains three main steps: pre-processing, feature extraction and classification. The framework is illustrated in Fig. 1.

The datasets include the zenithal images and whole-sky images, which are gathered by the Whole-Sky Infrared Cloud Measuring System (WSIRCMS) (Liu et al., 2013). The WSIRCMS is a ground-based passive system that uses an uncooled microbolometer detector array of 320×240 pixels to measure downwelling atmospheric radiance in 8–14 µm (Liu et al., 2011). A whole-sky image is obtained after combining the zenithal image and other images at eight different orientations. As a result, the zenithal image has a size of 320×240 pixels while the whole-sky image is of 650×650 pixels. The datasets are provided by National University of Defense Technology in Nanjing, China.

It is true that the clear sky background radiance in 8–14 µm varies with
time and zenith angle. The images of the datasets have been pre-processed in
the consideration of this important factor. The clear sky radiance threshold
in each image is calculated using the radiation transfer model (Liu et al.,
2013). The real radiance *R* at each pixel in each image is converted to the
grey value *G*_{pixel} between [0,255] with
${G}_{\mathrm{pixel}}=R/({R}_{\mathrm{temp}}-{R}_{\mathrm{clear}})\times \mathrm{255}$, where *R*_{clear} is
the corresponding clear sky radiance threshold and *R*_{temp} is the
radiance corresponding to the real-time environment temperature. As a
result, the effects of the clear sky background brightness temperature can
be ignored, which means that this factor has little influence on the feature
extraction of the images.

The cloud images used in the experiment are selected with the help of two professional meteorological observers with many years of observation experiences. The selection premise is that the chosen images should hold high visual quality and can be recognized by visual inspection. If an image is vague, it is hard for experts to justify its type. For the algorithm, it is difficult to extract effective features of a vague image, not to mention recognizing its cloud type. All infrared cloud images are labelled to construct the training set and testing set. To guarantee confidence in the golden-standard method, only images labelled as the same by two meteorological observers are finally chosen as the dataset used in this study. Different from traditional cloud classification by observers, automatic cloud classification by the devices needs a new criterion for recognition. According to the morphology and generating mechanism of the cloud, the sky condition is classified into five categories in this study (Sun et al., 2009): stratiform clouds, cumuliform clouds, waveform clouds, cirriform clouds and clear sky. The sky conditions and their corresponding descriptions are as shown in Table 1.

The zenithal dataset used in this study is selected from the historical dataset to assess the performance of the algorithm. To guarantee the reliability of true label of each image, the images without mixed cloud types are selected. The typical samples from each category are demonstrated in Fig. 2. As listed in Table 2, the zenithal dataset is comprised of 100 cloud images in each category.

The whole-sky dataset is obtained during July to October in 2014 at Changsha, China. As the whole-sky image is obtained by combining the nine sub-images at different orientations, the division rules of the whole-sky dataset remain the same as that of the zenithal dataset. The whole-sky samples from each category are exhibited in Fig. 3. As listed in Table 2, the number of cases with stratiform clouds, cumuliform clouds, waveform clouds, cirriform clouds and clear sky is 246, 240, 239, 46 and 88, respectively.

As Fig. 4 shows, a pre-processing mask is provided on the whole-sky images, which is used to extract the region of interest (ROI) from the images, which are the areas of the clouds within the circle rather than those parts outside of the circle. Different from the whole-sky images, all parts of the zenithal images are ROI. Thus, we implement the feature extraction directly on the original zenithal images.

In addition to the manifold features proposed in this work, the texture features are also combined. The manifold features of the ground-based infrared image are extracted on the SPD matrix manifolds, and after that, they are mapped into the tangent space to form a feature vector in Euclidean space. The texture features represent the statistical information in Euclidean space; on the contrary, the manifold features describe the non-Euclidean geometric characteristics of the infrared image.

In this paper, the Grey Level Co-occurrence Matrix (GLCM) is used to extract
the texture features, including energy, entropy, contrast and homogeneity
(Haralick et al., 1973). Each matrix element in the GLCM represents the joint
probability occurrence *p*(*i*,*j*) of pixel pairs with a defined direction
*θ* and a pixel distance *d*, having grey level values *i* and *j* in
the image.

$$\begin{array}{ll}\text{(1)}& {\displaystyle}& {\displaystyle}\mathrm{GLCM}={\displaystyle}& {\displaystyle}{\left[\begin{array}{ccccc}p(\mathrm{0},\mathrm{0})& p(\mathrm{0},\mathrm{1})& p(\mathrm{0},\mathrm{2})& \mathrm{\dots}& p(\mathrm{0},k-\mathrm{1})\\ p(\mathrm{1},\mathrm{0})& p(\mathrm{1},\mathrm{1})& p(\mathrm{1},\mathrm{2})& \mathrm{\dots}& p(\mathrm{1},k-\mathrm{1})\\ \mathrm{\vdots}& \mathrm{\vdots}& \mathrm{\vdots}& \mathrm{\dots}& \mathrm{\vdots}\\ p(k-\mathrm{1},\mathrm{0})& p(k-\mathrm{1},\mathrm{1})& p(k-\mathrm{1},\mathrm{2})& \mathrm{\dots}& p(k-\mathrm{1},k-\mathrm{1})\end{array}\right]}_{k\times k}\end{array}$$

The energy measures the uniformity and texture roughness of the grey level distribution:

$$\begin{array}{}\text{(2)}& \mathrm{energy}=\sum _{i=\mathrm{0}}^{k-\mathrm{1}}\sum _{j=\mathrm{0}}^{k-\mathrm{1}}p(i,j{)}^{\mathrm{2}}.\end{array}$$

The entropy is a measure of randomness of grey level distribution:

$$\begin{array}{}\text{(3)}& \mathrm{entropy}=-\sum _{i=\mathrm{0}}^{k-\mathrm{1}}\sum _{j=\mathrm{0}}^{k-\mathrm{1}}p(i,j){\mathrm{log}}_{\mathrm{2}}p(i,j).\end{array}$$

The contrast is a measure of local variation of grey level distribution:

$$\begin{array}{}\text{(4)}& \mathrm{contrast}=\sum _{i=\mathrm{0}}^{k-\mathrm{1}}\sum _{j=\mathrm{0}}^{k-\mathrm{1}}(i-j{)}^{\mathrm{2}}p(i,j{)}^{\mathrm{2}}.\end{array}$$

The homogeneity measures the closeness of the distribution of elements in the GLCM to the GLCM diagonal:

$$\begin{array}{}\text{(5)}& \mathrm{homogeneity}=\sum _{i=\mathrm{0}}^{k-\mathrm{1}}\sum _{j=\mathrm{0}}^{k-\mathrm{1}}{\displaystyle \frac{p(i,j)}{\mathrm{1}+\left|i-j\right|}}.\end{array}$$

As the number of intensity levels *k* increases, the computation of the GLCM
increases strongly. In this work, *k* is set as 16 and then the texture
features are obtained by calculating four GLCMs with *d*=1 and *θ*=0,
45, 90 and 135^{∘}, respectively. To alleviate the complexity, reduce
the dimension and keep rotation invariance, four mean features of four GLCMs
with *θ*=0, 45, 90 and
135^{∘} are obtained as the final texture features. In the experiments,
we find that these texture features are significant for the cloud
classification of the ground-based infrared image.

The manifold features are attained by two steps: computing the regional CovD and mapping the CovD into its tangent space to form a feature vector.

Suppose the image **I** is of the size *W*×*H*, its
*d*-dimensional features containing greyscale and gradient at each pixel are
computed, which compose the feature image *F*, whose size is $W\times H\times d$:

$$\begin{array}{}\text{(6)}& F\left(x,y\right)=f(I,x,y),\end{array}$$

where the feature mapping *f* is defined as follows:

$$\begin{array}{}\text{(7)}& f={\left[\mathbf{I}\left(x,y\right)\left|{\mathbf{I}}_{x}\right|\left|{\mathbf{I}}_{y}\right|\sqrt{{\left|{\mathbf{I}}_{x}\right|}^{\mathrm{2}}+{\left|{\mathbf{I}}_{y}\right|}^{\mathrm{2}}}\left|{\mathbf{I}}_{xx}\right|\left|{\mathbf{I}}_{yy}\right|\right]}^{T}.\end{array}$$

In which (*x*,*y*) denotes the location, **I**(*x*,*y*) denotes the
greyscale. |**I**_{x}|, |**I**_{y}|,
|**I**_{xx}| and |**I**_{yy}|
represent the first and second order derivative in the direction of *x* and
*y* at each pixel, respectively. $\sqrt{{\left|{\mathbf{I}}_{x}\right|}^{\mathrm{2}}+{\left|{\mathbf{I}}_{y}\right|}^{\mathrm{2}}}$ denotes the modulus of
gradient.

For the feature image *F*, supposing it contains $n=W\times H$ points of
*d*-dimensional features $\left\{{f}_{k},k=\mathrm{1},\mathrm{2},\mathrm{\dots},n\right\}$.
Its CovD is a *d*×*d* covariance matrix, computed by Eq. (8):

$$\begin{array}{}\text{(8)}& C={\displaystyle \frac{\mathrm{1}}{n-\mathrm{1}}}{\sum}_{k=\mathrm{1}}^{n}({f}_{k}-\mathit{\mu})({f}_{k}-\mathit{\mu}{)}^{T},\end{array}$$

where $\mathit{\mu}=\frac{\mathrm{1}}{n}{\sum}_{k=\mathrm{1}}^{n}{f}_{k}$, which represents the feature mean vector.

The CovD can fuse multiple dimensional features of the image and express the
correlations between different features. Besides, as the CovD is
symmetric, it is only $d(d+\mathrm{1})/\mathrm{2}$ dimensional. If we convert the CovD
into a feature vector to describe the image, its dimension is *n*×*d*,
which needs a high computation cost for cloud classification.

Generally speaking, the manifold is a topological space that is locally
equivalent to a Euclidean space. The differential manifold has a globally
defined differential structure. Its tangent space *T*_{X}*M* is a space formed
by all possible tangent vectors at a given point *X* on the differential
manifold. For the Riemannian manifold *M*, an inner product is defined in
its tangent space. The shortest curve between two points on the manifold is
called the geodesic and the length of the geodesic is the distance between
two points.

All SPD matrices form a Riemannian manifold. Suppose *S*^{d} is a set
of all *n*×*n* real symmetric matrices: ${S}^{\mathrm{d}}=\left\{\mathbf{A}\in M\left(d\right):{\mathbf{A}}^{T}=\mathbf{A}\right\}$,
where *M*(d) represents the set of all *d*×*d* matrices, so
that ${S}_{++}^{\mathrm{d}}=\left\{\mathbf{A}\in {S}^{\mathrm{d}}:\mathbf{A}>\mathrm{0}\right\}$ is the set of all *d*×*d* SPD matrices, which construct a
$d(d+\mathrm{1})/\mathrm{2}$ dimensional SPD manifold. According to the operation rules of the
matrix, the set of the real symmetric matrix is a vector space while the real
SPD matrix space is a non-Euclidean space. A Riemannian metric should be
given to describe the geometric structure of the SPD matrix and to measure
the distance of two points on ${S}_{++}^{\mathrm{d}}$.

Geodesics on the manifold are related to the tangent vectors in the tangent
space. Two operators, exponential map ${\mathrm{exp}}_{X}\left(\cdot \right):{T}_{X}M\to M$ and the logarithm map ${\mathrm{log}}_{X}\left(\cdot \right)={\mathrm{exp}}_{X}^{-\mathrm{1}}\left(\cdot \right):M\to {T}_{X}M$, are defined over differentiable manifolds to
switch between the manifold and its tangent space at *X*. As illustrated in
Fig. 5, the tangent vector ** v** is mapped to the point

For ${S}_{++}^{\mathrm{d}}$, the logarithm and exponential maps are given by:

$$\begin{array}{}\text{(9)}& {\displaystyle}& {\displaystyle}{\mathrm{log}}_{X}\left(Y\right)={X}^{\frac{\mathrm{1}}{\mathrm{2}}}\mathrm{log}\left({X}^{-\frac{\mathrm{1}}{\mathrm{2}}}Y{X}^{-\frac{\mathrm{1}}{\mathrm{2}}}\right){X}^{\frac{\mathrm{1}}{\mathrm{2}}},\text{(10)}& {\displaystyle}& {\displaystyle}{\mathrm{exp}}_{X}\left(y\right)={X}^{\frac{\mathrm{1}}{\mathrm{2}}}\mathrm{exp}\left({X}^{-\frac{\mathrm{1}}{\mathrm{2}}}y{X}^{-\frac{\mathrm{1}}{\mathrm{2}}}\right){X}^{\frac{\mathrm{1}}{\mathrm{2}}},\end{array}$$

where log(⋅) and exp(⋅) are the
matrix logarithm and exponential operators, respectively. For SPD matrices,
they can be computed through singular-value decomposition (SVD). If we let
$\mathrm{diag}({\mathit{\lambda}}_{\mathrm{1}},{\mathit{\lambda}}_{\mathrm{2}},\mathrm{\dots},{\mathit{\lambda}}_{d})$ be a diagonal
matrix formed from real values ${\mathit{\lambda}}_{\mathrm{1}},{\mathit{\lambda}}_{\mathrm{2}},\mathrm{\dots},{\mathit{\lambda}}_{d}$
on diagonal elements and **A**=*U*diag(*λ*_{i})*U*^{T} be
the SVD of the symmetric matrix **A**, then

$$\begin{array}{}\text{(11)}& {\displaystyle}& {\displaystyle}\mathrm{log}\left(\mathbf{A}\right)=\sum _{r=\mathrm{1}}^{\mathrm{\infty}}{\displaystyle \frac{{\left(-\mathrm{1}\right)}^{r-\mathrm{1}}}{r}}(\mathbf{A}-\mathbf{I}{)}^{r}=U\mathrm{diag}(\mathrm{ln}\left({\mathit{\lambda}}_{i}\right)){U}^{T},\text{(12)}& {\displaystyle}& {\displaystyle}\mathrm{exp}\left(\mathbf{A}\right)=\sum _{r=\mathrm{0}}^{\mathrm{\infty}}{\displaystyle \frac{\mathrm{1}}{r\mathrm{!}}}{\mathbf{A}}^{r}=U\mathrm{diag}\left(\mathrm{exp}\right({\mathit{\lambda}}_{i}\left)\right){U}^{T},\end{array}$$

where **I** is an identity matrix on manifolds.

The manifold can be embedded into its tangent space at identity matrix **I**.
Thus, based on the bi-invariant Riemannian metric (Arsigny et al., 2008),
the distance between two SPD matrices **A**, **B** is $d\left(\mathbf{A},\mathbf{B}\right)={\u2225\mathrm{log}\left(\mathbf{A}\right)-\mathrm{log}\left(\mathbf{B}\right)\u2225}_{\mathrm{2}}$, where log(⋅)
denotes the matrix logarithm operator. As symmetric matrices (equivalently
tangent spaces) form a vector space, the classification tools in
Euclidean space (SVM, KNN, etc.) can be seamlessly employed to deal with
the recognition problem.

The logarithmic operator is valid only if the eigenvalues of the symmetric matrix are positive. When no cloud is observed in the clear sky, the CovD of the image features could be non-negative definite, and in this case it needs to be converted to a SPD matrix. We can formulate it as an optimization problem (Harandi et al., 2015):

$$\begin{array}{}\text{(13)}& {\mathbf{A}}^{\ast}=\mathrm{arg}\phantom{\rule{0.125em}{0ex}}{\mathrm{min}}_{\mathbf{A}}{\u2225C-\mathbf{A}\u2225}_{F},\phantom{\rule{0.125em}{0ex}}\mathrm{s}.\mathrm{t}.\phantom{\rule{0.125em}{0ex}}\mathbf{A}+{\mathbf{A}}^{T}>\mathrm{0},\end{array}$$

where *C* is a CovD and **A**^{∗} is the closest SPD matrix to *C*.

For a SPD matrix **A**, its log-Euclidean vector representation, *a*∈*R*^{m}, $m=d(d+\mathrm{1})/\mathrm{2}$, is unique and can be represented as *a*=Vec(log(**A**)). Let **B**=log(**A**),
**B**∈*S*^{d} and

$$\begin{array}{}\text{(14)}& \mathbf{B}={\left[\begin{array}{ccccc}{b}_{\mathrm{1},\mathrm{1}}& {b}_{\mathrm{1},\mathrm{2}}& {b}_{\mathrm{1},\mathrm{3}}& \mathrm{\dots}& {b}_{\mathrm{1},d}\\ {b}_{\mathrm{2},\mathrm{1}}& {b}_{\mathrm{2},\mathrm{2}}& {b}_{\mathrm{2},\mathrm{3}}& \mathrm{\dots}& {b}_{\mathrm{2},d}\\ \mathrm{\vdots}& \mathrm{\vdots}& \mathrm{\vdots}& \mathrm{\dots}& \mathrm{\vdots}\\ {b}_{d,\mathrm{1}}& {b}_{d,\mathrm{2}}& {b}_{d,\mathrm{3}}& \mathrm{\dots}& {b}_{d,d}\end{array}\right]}_{d\times d},\end{array}$$

which lies in Euclidean space. As **B** is symmetric, we can rearrange it
into a vector by vectorizing its upper triangular matrix:

$$\begin{array}{ll}\text{(15)}& {\displaystyle}\mathit{a}& {\displaystyle}=\mathrm{Vec}\left(\mathbf{B}\right){\displaystyle}& {\displaystyle}={\left[{b}_{\mathrm{1},\mathrm{1}},\sqrt{\mathrm{2}}{b}_{\mathrm{1},\mathrm{2}},\mathrm{\cdots},\sqrt{\mathrm{2}}{b}_{\mathrm{1},d},{b}_{\mathrm{2},\mathrm{2}},\sqrt{\mathrm{2}}{b}_{\mathrm{2},\mathrm{3}},\mathrm{\cdots},{b}_{d,d}\right]}^{T}.\end{array}$$

Vector ** a** is defined as the manifold features. As

As described in Sect. 2.2.1 and 2.2.2, manifold and texture features can be extracted and integrated to represent the ground-based infrared images. For an image, its four features including energy, entropy, contrast and homogeneity from GLCM, express its texture, while 21-dimensional manifold features describe the non-Euclidean geometric characteristics. The manifold and texture features are combined to form a feature vector to represent the image. Thus, the joint features of the infrared image have a total of 25 dimensions.

The classifier used in this paper is the SVM (Cristianini and Shawe-Taylor,
2000), which exhibits prominent classification performance in the cloud type
recognition experiments (Zhuo et al., 2014; Li et al., 2016; Shi et al.,
2017). In machine learning, SVMs are supervised learning models. An SVM model
is a representation of the examples as points in the reproducing kernel
Hilbert space, mapped so that the examples of the separate categories are
divided by a clear gap that is as wide as possible. New examples are then
mapped into that same space and predicted to belong to a category based on
which side of the gap they fall. As Fig. 6 shows, given a set of two-class
training examples (denoted by × and o), the key problem
is to find the optimal hyperplane to do the separation: ${\mathit{w}}^{T}x+b=\mathrm{0}$,
where ** w** is a weight vector and

For a multi-class task, one binary SVM classifier is constructed for every
pair of distinct classes, and so, all together $c(c-\mathrm{1})/\mathrm{2}$ binary SVM
classifiers are constructed. For an unknown-type sample, it will be input
into these binary classifiers and each classifier makes its vote, thus
$c(c-\mathrm{1})/\mathrm{2}$ independent output labels are obtained. The
most frequent label is the sample's type. The variable *c* is 5 in this paper and the
final result is determined by the voting policy.

3 Experiments and discussions

Back to toptop
In this section, we validate which features are chosen and report experimental results to assess the performance of the proposed cloud classification method. Different from a deterministic case, the training samples of the experiments are chosen randomly. The effects of the proposed features are first tested by conducting the 10-fold cross validation (Li et al., 2016; Gan et al., 2017) 50 times on two datasets, with average values taken as the final results. In the 10-fold cross validation, each dataset is divided into 10 subsets with the same size at random. One single subset is used for validation in turn and the other nine parts are taken as the training set. The results of 10-fold cross validation with different features are given in Table 3. As Table 3 illustrates, the overall accuracy of texture, manifold and combined features achieves 83.49 %, 96.46 % and 96.50 % on the zenithal dataset, and 78.01 %, 82.38 % and 85.12 % on the whole-sky dataset, respectively. It can be seen that the texture or manifold features alone do not achieve a better performance than the joint features, which not only inherit the advantage of the texture features, but also own the characteristic of manifold features. On the whole, the method using the joint features performs best in the cross validation.

Naturally, combined features are used for the cloud type recognition. In the experiment, each dataset is grouped into the training set and testing set. The training set is selected randomly from each category in accordance with a certain proportion, 1∕10, 1∕2 or 9∕10, and the remaining part forms the testing set. Each experiment is repeated 50 times to reduce the accidental bias and the average accuracy is regarded as the final results of classification to evaluate the performance of the method.

To exhibit the recognition performance of the proposed method, we also compare with the other two models (Liu et al., 2015; Cheng and Yu, 2015) to assess its performance in this experiment. Liu's model employs the WLBP feature with the KNN classifier based on the chi-square distance while Cheng's method adopts the statistical and uniform LBP features with the Bayesian classifier. Note that we extract the statistical features from the greyscale images rather than from the RGB images so that the statistical features only have 8 dimensions, as a result, without extra colour information provided, both of the two methods are adaptable to the infrared images.

The first experiment is performed on the zenithal dataset. Table 4 reports the overall recognition rates of the proposed method and the other methods. The proposed method attains the best results, with at least 2.5 % improvement over Liu's method and over 9.5 % higher than Cheng's method. Meanwhile, the proposed method demonstrates a more stable and more superior performance than the other two methods, even when 1∕10 of the dataset is treated as the training set. In this case, the proposed method is up to 90.85 % on the overall accuracy while the other two methods achieve 81.30 % and 81.64 %, respectively. That means discriminative features used for classification can be gained even with what would normally be regarded as limited training data. Although only three cases are given when the fractions of training set are 1∕10, 1∕2 and 9∕10, they can represent most cases. In general, with the increase in the number of training samples, the overall accuracy of testing samples will increase until it holds stable, which is in line with the results in Table 4. As a result, as more representative images are used for training, there is no doubt that the recognition rate will be improved.

In Fig. 7, the classification results of the proposed method are demonstrated in the form of the confusion matrix (Zhuo et al., 2014; Liu et al., 2015; Li et al., 2016) when 1∕2 of the dataset constructs the training set while the rest 1∕2 is used for testing. In the confusion matrix, each row of the matrix represents an actual class while each column represents the predicted class given by SVM. For example, the element in the second row and third column is the percentage of cumuliform clouds misclassified as waveform clouds. Therefore, the recognition rate for each class is in the diagonal of the matrix. The discrimination rate of stratiform clouds is up to 100 %, which indicates that stratiform clouds have the most significant features to be distinguished among five cloud types. Likewise, the results of the other four cloud types achieve over 93 %. It is shown that a rather high accuracy of each cloud type is reached, which means the proposed method performs well in classifying the ground-based infrared zenithal images on the whole when compared to the analysis of meteorological experts.

The second experiment is performed on the whole-sky dataset, which is more challenging because a larger inner-class difference exists than that of the zenithal dataset. The experimental configuration retains the same in Sect. 3.1. Table 5 lists the results of different methods. It is illustrated that the proposed method gains the overall accuracy of 78.27 %, 83.54 % and 85.01 % as the proportion of the training set varies. In comparison, Liu's method achieves 73.58 %, 80.55 % and 81.31 % while Cheng's method achieves 66.99 %, 67.36 % and 68.18 %, correspondingly. Comparing to the other two methods, the experimental results indicate the effectiveness of the proposed method with an obvious improvement in the accuracy. Similarly, the cases where the fractions of data reserved for training constitute 1∕10, 1∕2 and 9∕10 of the total, can represent most cases of classification and are chosen to represent a wide range of possible training scenarios. Generally, the rise in the number of training samples makes the overall accuracy improve, which is in line with the results in Table 5. In a nutshell, a training set with more representative images can further promote the classification accuracy.

Figure 8 displays the confusion matrix of the whole-sky dataset when 1∕2 for training is used. The number of each category in the training set is 123, 120, 120, 23 and 44, respectively and the remaining part is treated as the testing set. It is demonstrated that stratiform clouds and clear sky possess obvious characteristics for classification while cumuliform, waveform and cirriform clouds pose a great challenge for a high accuracy of classification. Cirriform clouds are likely to be confused with the clear sky and about 15.22 % of cirriform cloud images are misclassified as the clear sky in the experiment. In the whole-sky image, when it is on the condition of cirriform clouds, the area of cirriform clouds may be just a fraction of the whole sky, making it hard to be distinguished correctly. Furthermore, multiple cloud types could exist in the whole-sky condition, which may result in a relatively low accuracy of the single-type classification, like cumuliform, waveform and cirriform clouds.

There are some misclassifications, just as demonstrated in Fig. 9. Figure 9a shows that stratiform clouds are recognized as waveform clouds. It can be seen that the cloud base has low fluctuation and makes it similar to the waveform cloud. Figure 9b shows that cumuliform clouds are recognized as waveform clouds. We can distinguish it as waveform clouds by the shape but the strong vertical motion of cumuliform clouds makes it hard to differ from waveform clouds. Figure 9c shows that cumuliform clouds are recognized as cirriform clouds. In this image, besides cumuliform clouds,few cirriform clouds can also be found. Figure 9d shows that waveform clouds are recognized as cumuliform clouds. It can be seen that both waveform and cumuliform clouds coexist in the sky. Figure 9e shows that cirriform clouds are recognized as cumuliform clouds. It is concluded that the whole-sky dataset is more complicated than the zenithal dataset as the weather conditions change.

4 Conclusions

Back to toptop
In this paper, a novel cloud classification method of the ground-based infrared images, including the zenithal and whole-sky datasets, is proposed. Besides the texture features computed from the GLCM, manifold features obtained from the SPD matrix manifold are combined together. With the joint features, the proposed method can improve the recognition rate of the cloud types. On one hand, the joint features can inherit the advantages of the statistical features, which represent texture information in Euclidean space; on the other hand, the manifold features on the matrix manifold can describe the non-Euclidean geometric structure of the image features and thus the proposed method can benefit from it for a high classification precision. The CovD is calculated by extracting 6-dimensional features including greyscale, first-order and second-order gradient information, and the mean values are subtracted from the feature vectors, which may improve the recognition performance to some extent, as it can remove the noises of the infrared images. The manifold feature vector is produced by mapping the SPD matrix into its tangent space and afterwards the combined feature vector is adopted for cloud type recognition with SVM. With different fractions that the training set occupies, it is validated that in most cases the proposed method outperforms the other two methods (Liu et al., 2015; Cheng and Yu, 2015). As a whole, the improvement of the proposed method is between 2 % and 10 %. To some degree, it may not be a great improvement, but we have validated that the introduction of manifold features is effective and can achieve some success, it is worthy doing more work in this field to promote its development.

In future work, more suitable image features like Gabor or wavelet coefficients (Liu and Wechsler, 2002) can be incorporated into the SPD matrix and the classification would be performed directly on the manifolds to improve the recognition rate further. Besides, feature extraction using a deep learning method such as convolutional neural networks can be taken into account to increase the classification accuracy. Furthermore, the addition of the brightness temperature, or the height information obtained from the laser ceilometer, might be helpful for the improvement of the cloud type recognition accuracy. It is found that the proposed method is effective to satisfy the requirement of the cloud classification task on both zenithal and whole-sky datasets. The complex sky condition with multiple cloud types should be our main concern in the next work.

Code and data availability

Back to toptop
Code and data availability.

The code of the proposed method can be made available via email to qixiang_luo@aliyun.com.

The two ground-based infrared cloud datasets used in this paper can be made available via email to liuleidll@gmail.com.

Author contributions

Back to toptop
Author contributions.

ZZ conceived and designed the experiments, reviewed the paper and gave constructive suggestions. QL performed the experiments and wrote the paper. YM and XZ analyzed the data and reviewed the paper. LL provided and analyzed the data.

Competing interests

Back to toptop
Competing interests.

The authors declare that they have no conflict of interest.

Acknowledgements

Back to toptop
Acknowledgements.

This work is supported financially, in part by the National Natural Science
Foundation of China under grant nos. 61473310, 41174164, 41775027 and
41575024.

Edited by: Alyn Lambert

Reviewed by: Roger Clay and one anonymous referee

References

Back to toptop
Arsigny, V., Fillard, P., Pennec, X., and Ayache, N.: Geometric means in a novel vector space structure on symmetric positive-definite matrices, Siam J. Matrix Anal. A., 29, 328–347, https://doi.org/10.1137/050637996, 2008.

Bensmail, H. and Celeux, G.: Regularized Gaussian discriminant analysis through eigenvalue decomposition, J. Am. Stat. Assoc., 91, 1743–1748, https://doi.org/10.1080/01621459.1996.10476746, 1996.

Buch, K. A., Sun Chen-Hui, and Thorne L. R.: Cloud classification using whole-sky imager data, in: Proceedings of the 5th Atmospheric Radiation Measurement Science Team Meeting, San Diego, CA, USA, 27–31 March, 1995.

Calbó, J. and Sabburg, J.: Feature extraction from whole-sky ground-based images for cloud-type recognition, J. Atmos. Ocean. Tech., 25, 3–14, https://doi.org/10.1175/2007JTECHA959.1, 2008.

Cazorla, A., Olmo, F. J., and Aladosarboledas, L.: Development of a sky imager for cloud cover assessment, J. Opt. Soc. Am. A., 25, 29–39, https://doi.org/10.1364/JOSAA.25.000029, 2008.

Chen, T., Rossow, W. B., and Zhang, Y.: Radiative effects of cloud-type variations, J. Climate, 13, 264–286, https://doi.org/10.1175/1520-0442(2000)013<0264:reoctv>2.0.co;2 , 2000.

Cheng, H.-Y. and Yu, C.-C.: Block-based cloud classification with statistical features and distribution of local texture features, Atmos. Meas. Tech., 8, 1173–1182, https://doi.org/10.5194/amt-8-1173-2015, 2015.

Cristianini, N. and Shawe-Taylor, J.: An introduction to support vector machines and other kernel-based learning methods, Cambridge university press, Cambridge, 2000.

Faraki, M., Palhang, M., and Sanderson, C.: Log-Euclidean bag of words for human action recognition, IET Comput. Vis., 9, 331–339, https://doi.org/10.1049/iet-cvi.2014.0018, 2015.

Gan, J., Lu, W., Li, Q., Zhang, Z., Yang, J., Ma, Y. and Yao, W.: Cloud type classification of total-sky images using duplex norm-bounded sparse coding, IEEE J. Sel. Top. Appl., 10, 3360–3372, https://doi.org/10.1109/JSTARS.2017.2669206, 2017.

Ghonima, M. S., Urquhart, B., Chow, C. W., Shields, J. E., Cazorla, A., and Kleissl, J.: A method for cloud detection and opacity classification based on ground based sky imagery, Atmos. Meas. Tech., 5, 2881–2892, https://doi.org/10.5194/amt-5-2881-2012, 2012.

Haralick, R. M., Shanmugam, K., and Dinstein, I. H.: Textural features for image classification, IEEE T. Syst. Man Cyb., 3, 610–621, https://doi.org/10.1109/TSMC.1973.4309314, 1973.

Harandi, M. T., Sanderson, C., Wiliem, A., and Lovell, B. C.: Kernel analysis over Riemannian manifolds for visual recognition of actions, pedestrians and textures, IEEE Workshop on the Applications of Computer Vision, Breckenridge, CO, USA, 9–11 January, 2012.

Harandi, M. T., Hartley, R., Lovell, B. C., and Sanderson, C.: Sparse coding on symmetric positive definite manifolds using Bregman divergences, IEEE T. Neur. Net. Lear., 27, 1294–1306, https://doi.org/10.1109/TNNLS.2014.2387383, 2015.

Hartmann, D. L., Ockert-bell, M. E., and Michelsen, M. L.: The effect of cloud type on earth's energy balance: global analysis, J. Climate, 5, 1281–1304, https://doi.org/10.1175/1520-0442(1992)005<1281:TEOCTO>2.0.CO;2, 1992.

Heinle, A., Macke, A., and Srivastav, A.: Automatic cloud classification of whole sky images, Atmos. Meas. Tech., 3, 557–567, https://doi.org/10.5194/amt-3-557-2010, 2010.

Illingworth, A. J., Hogan, R. J., O'Connor, E. J., Bouniol, D., Brooks, M. E., Delano, J., Donovan, D. P., Eastment, J. D., Gaussiat, N., Goddard, J. W. F., Haeffelin, M., Klein Baltink, H., Krasnov, O. A., Pelon, J., Piriou, J. M., Protat, A., Russchenberg, H. W. J., Seifert, A., Tompkins, A. M., Van Zadelhoff, G. J., Vinit, F., Willen, U., Wilson, D. R., and Wrench, C. L.: Cloudnet: Continuous evaluation of cloud profiles in seven operational models using ground-based observations, B. Am. Meteorol. Soc., 88, 883–898, 2007.

Isaac, G. A. and Stuart, R. A.: Relationships between cloud type and amount, precipitation, and surface temperature in the mackenzie river valley-beaufort sea area, J. Climate, 9, 1921–1941, https://doi.org/10.1175/1520-0442(1996)009<1921:RBCTAA>2.0.CO;2, 1996.

Jayasumana, S., Hartley, R., Salzmann, M., Li, H., and Harandi, M. T.: Kernel methods on Riemannian manifolds with Gaussian RBF kernels, IEEE T. Pattern Anal., 37, 2464–2477, https://doi.org/10.1109/TPAMI.2015.2414422, 2015.

Li, J., Menzel, W. P., Yang, Z., Frey, R. A., and Ackerman, S. A.: High-spatial-resolution surface and cloud-type classification from MODIS multispectral band measurements, J. Appl. Meteorol., 42, 204–226, https://doi.org/10.1175/1520-0450(2003)042<0204:HSRSAC>2.0.CO;2, 2003.

Li, Q., Zhang, Z., Lu, W., Yang, J., Ma, Y., and Yao, W.: From pixels to patches: a cloud classification method based on a bag of micro-structures, Atmos. Meas. Tech., 9, 753–764, https://doi.org/10.5194/amt-9-753-2016, 2016.

Liu, C. and Wechsler, H.: Gabor feature based classification using the enhanced fisher linear discriminant model for face recognition, IEEE T. Image Process., 11, 467–476, https://doi.org/10.1109/tip.2002.999679, 2002.

Liu, L., Sun, X., Chen, F., Zhao, S., and Gao, T.: Cloud classification based on structure features of infrared images, J. Atmos. Ocean. Tech., 28, 410–417, https://doi.org/10.1175/2010JTECHA1385.1, 2011.

Liu, L., Sun, X., Gao, T., and Zhao, S.: Comparison of cloud properties from ground-based infrared cloud measurement and visual observations, J. Atmos. Ocean. Tech., 30, 1171–1179, https://doi.org/10.1175/JTECH-D-12-00157.1, 2013.

Liu, S., Zhang, Z., and Mei, X.: Ground-based cloud classification using weighted local binary patterns, J. Appl. Remote Sens., 9, 095062, https://doi.org/10.1117/1.JRS.9.095062, 2015.

Liu, Y., Key, J. R., and Wang, X.: The Influence of changes in cloud cover on recent surface temperature trends in the Arctic, J. Climate, 21, 705–715, https://doi.org/10.1175/2007JCLI1681.1, 2008.

Naud, C. M., Booth, J. F., and Del Genio, A.D.: The relationships between boundary layer stability and cloud cover in the post-cloud-frontal region, J. Climate, 29, 8129–8149, https://doi.org/10.1175/JCLI-D-15-0700.1, 2016.

Ripley, B. D.: Pattern recognition and neural networks, 8 edn., Cambridge University Press, Cambridge, 2005.

Sanin, A., Sanderson, C., Harandi, M. T., and Lovell, B. C.: Spatio-temporal covariance descriptors for action and gesture recognition, in: Proceedings of 2013 IEEE Workshop on Applications of Computer Vision (WACV), Tampa, FL, USA, 15–17 March, 103–110, https://doi.org/10.1109/WACV.2013.6475006, 2013.

Shi, C., Wang, C., Wang, Y., and Xiao, B.: Deep convolutional activations-based features for ground-based cloud classification, IEEE Geosci. Remote S., 14, 816–820, https://doi.org/10.1109/LGRS.2017.2681658, 2017.

Shields, J. E., Johnson, R. W., Karr, M. E., Burden, A. R., and Baker, J. G.: Daylight visible/NIR whole-sky imagers for cloud and radiance monitoring in support of UV research programs, SPIE International Symposium on Optical Science & Technology, San Diego, California, 3–8 August, 155–166, https://doi.org/10.1117/12.509062, 2003.

Singh, M. and Glennen, M.: Automated ground-based cloud recognition, Pattern Anal. Appl., 8, 258–271, https://doi.org/10.1007/s10044-005-0007-5, 2005.

Souzaecher, M. P., Pereira, E. B., Bins, L. S., and Andrade, M. A. R.: A simple method for the assessment of the cloud cover State in high-latitude regions by a ground-based digital camera, J. Atmos. Ocean. Tech., 23, 437–447, https://doi.org/10.1175/JTECH1833.1, 2006.

Sun, X. J., Liu, L., Gao, T. C., and Zhao, S. J.: Classification of whole sky infrared cloud image based on the LBP operator, Transactions of Atmospheric Sciences, 32, 490–497, https://doi.org/10.3969/j.issn.1674-7097.2009.04.004, 2009 (in Chinese).

Taravat, A., Frate, F. D., Cornaro, C., and Vergari, S.: Neural networks and support vector machine algorithms for automatic cloud classification of whole-sky ground-based images, IEEE Geosci. Remote S., 12, 666–670, https://doi.org/10.1109/LGRS.2014.2356616, 2014.

Tuzel, O., Porikli, F., and Meer, P.: Pedestrian detection via classification on Riemannian manifolds, IEEE T. Pattern Anal., 30, 1713–1727, 2008.

Tzoumanikas, P., Kazantzidis, A., Bais, A. F., Fotopoulos, S., and Economou, G.: Cloud detection and classification with the use of whole-sky ground-based images, Atmos. Res., 113, 80–88, https://doi.org/10.1016/j.atmosres.2012.05.005, 2012.

Wang, Z. and Sassen, K.: Cloud type and macrophysical property retrieval using multiple remote sensors, J. Appl. Meteorol., 40, 1665–1683, https://doi.org/10.1175/1520-0450(2001)040<1665:CTAMPR>2.0.CO;2, 2001.

Zhuo, W., Cao, Z., and Xiao, Y.: Cloud classification of ground-based images using texture-structure features, J. Atmos. Ocean. Tech., 31, 79–92, https://doi.org/10.1175/JTECH-D-13-00048.1, 2014.

Short summary

In this paper, a novel cloud classification method is proposed to group images into five cloud types based on manifold and texture features. The proposed method is comprised of three stages: data pre-processing, feature extraction and classification. Compared to the recent cloud type recognition methods, the experimental results illustrate that the proposed method acquires a higher recognition rate with an increase of 2%–10% on the ground-based infrared datasets.

In this paper, a novel cloud classification method is proposed to group images into five cloud...

Atmospheric Measurement Techniques

An interactive open-access journal of the European Geosciences Union