scieee AI-readable full text Open interactive document viewer

Texture Extraction Techniques for the Classification of Vegetation Species in Hyperspectral Imagery: Bag of Words Approach Based on Superpixels

Rey Blanco, Sergio; Blanco Heras, Dora; Argüello Pedreira, Francisco

Abstract

Texture information allows characterizing the regions of interest in a scene. It refers to the spatial organization of the fundamental microstructures in natural images. Texture extraction has been a challenging problem in the field of image processing for decades. In this paper, different techniques based on the classic Bag of Words (BoW) approach for solving the texture extraction problem in the case of hyperspectral images of the Earth surface are proposed. In all cases the texture extraction is performed inside regions of the scene called superpixels and the algorithms profit from the information available in all the bands of the image. The main contribution is the use of superpixel segmentation to obtain irregular patches from the images prior to texture extraction. Texture descriptors are extracted from each superpixel. Three schemes for texture extraction are proposed: codebook-based, descriptor-based, and spectral-enhanced descriptor-based. The first one is based on a codebook generator algorithm, while the other two include additional stages of keypoint detection and description. The evaluation is performed by analyzing the results of a supervised classification using Support Vector Machines (SVM), Random Forest (RF), and Extreme Learning Machines (ELM) after the texture extraction. The results show that the extraction of textures inside superpixels increases the accuracy of the obtained classification map. The proposed techniques are analyzed over different multi and hyperspectral datasets focusing on vegetation species identification. The best classification results for each image in terms of Overall Accuracy (OA) range from 81.07% to 93.77% for images taken at a river area in Galicia (Spain), and from 79.63% to 95.79% for a vast rural region in China with reasonable computation times

Full text

remote sensing Article Texture Extraction Techniques for the Classification of Vegetation Species in Hyperspectral Imagery: Bag of Words Approach Based on Superpixels Sergio R. Blanco 1,∗, Dora B. Heras 1and Francisco Argüello 2 1Centro Singular de Investigación en Tecnologías Inteligentes, Universidade de Santiago de Compostela, 15782 Santiago de Compostela, Spain; [email protected] 2Departamento de Electrónica y Computación, Universidade de Santiago de Compostela, 15782 Santiago de Compostela, Spain; [email protected] *Correspondence: sergiorey[email protected] Received: 9 July 2020; Accepted: 12 August 2020; Published: 14 August 2020   Abstract: Texture information allows characterizing the regions of interest in a scene. It refers to the spatial organization of the fundamental microstructures in natural images. Texture extraction has been a challenging problem in the field of image processing for decades. In this paper, different techniques based on the classic Bag of Words (BoW) approach for solving the texture extraction problem in the case of hyperspectral images of the Earth surface are proposed. In all cases the texture extraction is performed inside regions of the scene called superpixels and the algorithms profit from the information available in all the bands of the image. The main contribution is the use of superpixel segmentation to obtain irregular patches from the images prior to texture extraction. Texture descriptors are extracted from each superpixel. Three schemes for texture extraction are proposed: codebook-based,descriptor-based, and spectral-enhanced descriptor-based. The first one is based on a codebook generator algorithm, while the other two include additional stages of keypoint detection and description. The evaluation is performed by analyzing the results of a supervised classification using Support Vector Machines (SVM), Random Forest (RF), and Extreme Learning Machines (ELM) after the texture extraction. The results show that the extraction of textures inside superpixels increases the accuracy of the obtained classification map. The proposed techniques are analyzed over different multi and hyperspectral datasets focusing on vegetation species identification. The best classification results for each image in terms of Overall Accuracy (OA) range from 81.07% to 93.77% for images taken at a river area in Galicia (Spain), and from 79.63% to 95.79% for a vast rural region in China with reasonable computation times. Keywords: hyperspectral; texture extraction; superpixel; BoW; SVM; vegetation 1. Introduction Monitoring vegetation species in a natural area is an important task in the context of human intervention planning. Specifically, the observation of the dynamic behavior of the vegetation provides useful insights for biodiversity conservation and forestry, among other fields. Hyperspectral imagery for remote sensing has been revealed as a powerful technique in this field, and many examples can be mentioned: from land cover changes [ 1 ] to mapping vegetation species [ 2 , 3 ]. Although satellite-based remote sensing is a way of obtaining consistent and comparable data, Unmanned Aerial Vehicles (UAVs) provide a more flexible platform with higher spatial resolution. The price of multi- or hyperspectral sensors used on board UAVs has decreased during the last few years. This fact makes them widely used even by small companies for an increasing number of tasks. Remote Sens. 2020,12, 2633; doi:10.3390/rs12162633 www.mdpi.com/journal/remotesensing Remote Sens. 2020,12, 2633 2 of 24 In the case of images for land cover analysis, supervised classification solves the problem of, given a hyperspectral image and its reference data, obtaining and distinguishing the different vegetation species or artificial elements present in the scene. In order to perform this classification, texture features can be extracted from the image [ 4 ], thus improving the classification accuracy. These features characterize the visual structures present in the scene. As it is a powerful visual cue, texture supplies information to identify objects or uniform regions of interest in the images. Texture can be differentiated from color in the sense that it refers to the spatial organization of a set of basic elements or primitives over the image called textons. These can be defined as the fundamental microstructures in natural images and the atoms of preattentive human visual perception [5]. Texture classification deals with designing algorithms or processing schemes for declaring a given texture region as belonging to one out of a set of categories (in a context where training samples have been provided). Research on texture features is mainly focused on three well-established approaches: Bag of Words (BoW)-based [ 6 ], Convolutional Neural Network (CNN)-based [ 7 ], and attribute-based [ 8 ]. The goal of BoW texture feature extraction is the statistical representation of texture images as histograms over a texton dictionary. The approach of CNNs aims to leverage large labeled datasets to learn high quality features, which can then be categorized using a simple classifier. In the case of the attribute-based approach, there are three essential issues: the identification of a universal texture attribute vocabulary, the establishment of an annotated benchmark texture dataset, and the estimation of texture attributes from images based on low level texture representations. One of the first attempts was carried out in [ 9 ], where a set of seventeen human comprehensible attributes (seven related to color and ten to structure) for color texture characterization were introduced. Different papers focused on the classification of vegetation species using texture features in color, multi-, or hyperspectral imagery can be found in the literature. The simplest methods to characterize vegetation using textures are based on color histograms, statistical measures (mean, standard deviation, skewness, kurtosis, or entropy, among others), and clustered centers of filter bank responses. Following this approach, a classification scheme for the canopy cover mapping of spekboom in a large semiarid region in South Africa is presented in [ 10 ]. The scheme is based on a set of spectral features and vegetation indices, including several statistical measures in sliding windows of several sizes. A different scheme for natural roadside vegetation classification is presented in [ 11 ]. This scheme learns two individual sets of BoW dictionaries from color and filter-bank texture features. Two simple methods for texture extraction, based on the analysis of patterns in the neighborhood of a pixel, are Local Binary Pattern (LBP) and Gray-Level Co-occurrence Matrix (GLCM). LBP is used in [ 12 ] for the classification of tree species using hyperspectral data and an aerial stereo camera system. Feature extraction is performed following a patch-based approach. On the other hand, a large number of publications on the classification of vegetation are based on the GLCM texture method. Vegetation mapping in complex urban landscapes using a hybrid method combining Random Forest and GLCM texture analysis at nine different window sizes is presented in [ 13 ]. The classification is done using ultra-high resolution imagery acquired at low altitudes. A proposal of crop classification method for hyperspectral images combining spectral indices and GLCM texture information is presented in [ 14 ]. An object-based GLCM texture extraction method for the classification of man-planted forests on mountainous areas using satellite data is the contribution presented by [ 15 ]. As a preprocessing step, the texture feature of segmented image objects are enhanced using a 2D Gabor filter. Using very high resolution images acquired by UAVs, a study to identify the most relevant image parameters for tree species discrimination is conducted in [ 16 ]. Specifically, classification of savannah tree species is carried out by using chromatic coordinates, spectral indices, the canopy height model, and GLCM texture measures in different window sizes. Similarly, the potential of combining spectral measures and GLCM texture information for crop classification in time-series UAV images is investigated in [ 17 ]. More elaborate texture methods based on local invariant descriptors such as SURF and SIFT can also be used for characterizing vegetation species. For example, a methodology for vegetation segmentation in cornfield images obtained by UAVs is presented in [ 18 ]. Specifically, it focuses on Remote Sens. 2020,12, 2633 3 of 24 finding an appropriate set of different color vegetation indices and local descriptors for vegetation characterization. The classification of weeds growing among crops using a BoW model based on SIFT or SURF features is presented in [ 19 ]. Finally, a study on the application of SIFT to cropland mapping in the Brazilian Amazon based on vegetation index time series is conducted in [20]. A classification scheme based on textures can be combined with other types of features obtained by UAVs to improve the classification results [ 10 , 16 ]. Among them are spectral features, vegetation indices, and morphological measures. For the detection of the extent of trees and shrubs, the canopy height model (CHM) is the one most commonly used. LiDAR sensors have been widely used in order to collect high resolution information on forest structure. Surface reconstruction by image matching can also be used to estimate CHM. It is achieved by exploiting the redundancy of multiple overlapping aerial images [ 21 , 22 ]. CHM is not used in this paper since the available datasets in many cases do not provide multiple images for the same area. For the classification of a image using textures it is necessary to delimit regions over which the texture features are computed. Most of the vegetation classification methods proposed in the literature use regular patches [ 6 , 8 , 10 , 12 , 13 , 15 , 16 , 19 ]. In other cases, segmentation or object detection algorithms for dividing the image into regions are used [ 14 , 17 , 18 ]. A technique commonly used for the extraction of uniform regions in images is the segmentation based on superpixels [ 23 , 24 ]. A superpixel is a set of neighboring pixels (segment) which are similar in terms of low-level properties (such as spatial proximity, color, intensity, or other criteria). They differ from other segmentation methods in that the size and regularity of the superpixels are similar throughout the image. Superpixels provide a convenient and compact representation of images that allow to reduce the computational cost of the processing algorithms [ 25 ]. In the schemes presented in this paper, a texture feature vector is computed for each superpixel. In this paper, different techniques for vegetation classification in multi and hyperspectral images based on texture extraction and BoW are proposed. The techniques are grouped into three categories: codebook-based, descriptor-based, and spectral enhanced descriptor-based schemes. The main contribution of this work is that in all the presented schemes the texture algorithms are computed inside superpixels, in contrast to most of the methods previously published in the literature, in which the vegetation textures are extracted from patches or objects. Moreover, some of the descriptor-based methods have not been applied before to multi- and hyperspectral images. Finally, a detailed comparison of the different techniques is carried out in terms of classification accuracy for several land cover remote sensing datasets. The rest of the paper is organized into four sections. Section 2presents a description of the proposed schemes involving superpixel computation and texture extraction. The experimental results for the evaluation in terms of classification performance and computational cost are presented in Section 3. The discussion is carried out in Section 4. Finally, Section 5summarizes the main conclusions. 2. Methods Three different schemes for texture extraction in order to obtain superpixel descriptors (i.e., a vector which describes the texture or visual properties of each superpixel in the scene) were proposed. The main novelty is that the texture features were computed inside these irregular patches of the images called superpixels and that the schemes were adapted to profit from the information available in all the bands of the hyperspectral images. Different texture extraction techniques can be derived from the proposed schemes depending on the algorithms selected for their stages as it will be explained throughout the paper. The different stages of the proposed schemes, shown in Figure 1, are the following. Remote Sens. 2020,12, 2633 4 of 24 (a) (b) (c) Figure 1. Texture extraction schemes for hyperspectral imagery using the Bag of Words (BoW) superpixel-based approach proposed: ( a )codebook-based, ( b )descriptor-based, and ( c )spectral-enhanced descriptor-based. Superpixel extraction . This is a particular type of segmentation stage. As previously mentioned, a superpixel is a set of pixels which are similar in terms of spatial proximity, color, intensity, or other properties. There is a relationship between these superpixels and the objects present in the scene. Remote Sens. 2020,12, 2633 5 of 24 In this stage, a set of S superpixels was extracted from the image. The computed superpixels are irregular, which is a difference between this process and other similar ones (e.g., creation of a grid of square patches). The differences in size and shape among superpixels are due to the adaption of each superpixel to the objects appearing in the scene. In our case, the algorithm used for superpixel extraction was Simple Linear Iterative Clustering (SLIC) [ 26 ], although other options such as those based on watershed [ 27 ] or Efficient Topology Preserving Segmentation (ETPS) [ 28 ] would obtain similar results. SLIC clusterises pixels into superpixels, taking into account their relative position and spectral values, so both spatial an spectral information are considered. This algorithm is an adaptation of k-means for superpixel generation that begins defining clusters. Each pixel is associated to the nearest cluster center. Then, the cluster centers are adjusted to be the mean of all pixels belonging to the cluster. The assignment and update steps are iteratively repeated until the convergence criteria (a maximum number of iterations or an error value) is met. Finally, a postprocessing step enforces connectivity by reassigning disjoint pixels to nearby superpixels. It offers good results for segmenting hyperspectral images [24]. After the segmentation was computed, most of the subsequent stages in the proposed schemes were calculated at the superpixel level instead of at the pixel level. In particular, only one label from the reference data was considered for each superpixel, which is the one associated to the central pixel of this superpixel. Moreover, texture extraction was performed inside each superpixel. Keypoint detection and description . A set of points of interest or keypoints were extracted from the image for each band and each superpixel. This stage was used in two of the schemes as shown in Figure 1b,c. These keypoints may be extracted in the positions given by a keypoint detector [ 29 ] or densely at each pixel position over a fixed grid. In addition, they should be distinctive and robust to image transformations. Given a keypoint and its neighboring pixels, a set of features were computed, obtaining a local texture descriptor. In our case, the algorithms used to create texture descriptors were Scale-Invariant Feature Transform (SIFT) [ 30 ], Histogram of Oriented Gradients (HOG) [ 31 ], Dense SIFT (DSIFT) [ 32 ] and Local Intensity Order Pattern (LIOP) [ 33 ]. SIFT and HOG algorithms include both a descriptor and a keypoint detector. In LIOP a fixed grid was created, because this technique does not include a keypoint detector algorithm, only a descriptor one. DSIFT also uses a similar dense approach, but the detector is built-into the technique. This process was applied to each spectral band, and then descriptors from all the bands were grouped for each superpixel taking into account their location in the XY plane. At the end of the process, a variable number of keypoints (with their corresponding descriptors) was assigned to each superpixel. The dimension of each descriptor was denoted as D and the their number as N , as shown in Figure 1b,c. Codebook generation . The objective of this stage was to create a texton dictionary with K codewords based on all the bands of the input image. This codebook can be learned [ 34 , 35 ] or predefined [ 36 ]. In this paper the codebook was learned using k-means [ 6 ] or Gaussian Mixture Modeling (GMM) [ 37 ] algorithms. The size and nature of the codebook greatly affects the performance of the classification. The key was to generate a compact but yet discriminatory one. Feature encoding . Given the codebook and the computed local features (i.e., vector descriptors corresponding to each superpixel), this encoding process mapped the latter to one or a variable number of codewords. The result was a feature coding vector per superpixel. Thereby, the aim of this process was mapping each superpixel description (object representation) to one or more codewords. This is a core component of the scheme, influencing texture classification in terms of both accuracy and speed. The feature encoding algorithms employed in this paper were Vector of Locally Aggregated Descriptors (VLAD) [ 38 ] and Fisher Vectors (FV) [ 37 ]. Once the desired vector representation for each superpixel was obtained, this representation was used as representative of the superpixel for the later stages. Dimensionality Reduction . This is a stage where a set of vectors obtained in the previous stage (e.g., descriptors or coding vectors) were reduced. This reduction was performed if the number of Remote Sens. 2020,12, 2633 6 of 24 bands B of the image was higher than the dimension D of the descriptors or coding vectors, in which case the image was reduced to D bands (see Figure 1for details). This step was also used in Figure 1c in order to transform the descriptors from dimension D to Dred . The techniques used for the reduction could be any of the traditional functions of aggregation such as the sum or the mean, or any other algorithm related to feature extraction such as, for example, Principal Component Analysis (PCA). PCA constitutes a quite popular method for feature extraction [ 39 , 40 ]. PCA estimates projections of the original data so that most of the variance is concentrated in a few components. Feature classification . This last stage was not part of the texture extraction schemes and performed a classification of the images based on the features produced by the previous texture extraction technique. Texture features were inputs to a superpixel-level classification, i.e., the training and testing sets consisted of superpixels described by their texture features. Once the classification finished the same class was assigned to all the pixels in each superpixel. SVMs were selected as classifiers. They are usually presented as standard non-contextual classifiers for remote sensing classification [ 41 ], and can handle scenarios with a low number of training samples [ 42 ]. Results obtained by other two standard classifiers in remote sensing, RF and ELMs [43] were also obtained. Figure 1illustrates the three different proposed texture extraction schemes showing the different stages according to the previous description. All of them have the image as input and one feature vector per superpixel as output. 2.1. Codebook-Based Scheme The first scheme (named codebook-based from now on and shown in Figure 1a) began by performing two tasks in parallel: segmenting the image and creating a codebook. In terms of codebook generation, a texton dictionary with K codewords was created. The final set of codewords obtained was of size K×B(being Bthe number of bands of the input image). Given the generated codebook and the computed superpixel segmentation, the next stage was the feature encoding. A vector representation of each superpixel, a texture vector, was obtained by mapping each superpixel to one or more codewords. In the case of k-means, this assignment can be done using the centroid with the shortest Euclidean distance to the superpixel. 2.2. Descriptor-Based Scheme The second scheme in Figure 1(named descriptor-based) represents an increase in complexity with respect to the first one. In parallel to the superpixel generation, a conditional dimensionality reduction step was performed. Only if the number of bands B of the image is larger than the resulting dimension D of the descriptors that were created, the image was reduced to D spectral bands. The next stage was keypoint detection and description. An algorithm such as SIFT or HOG was applied over each one of the bands of the image. The algorithm carried out two sequential stages. First N keypoints (points of interest) were detected and then, using their neighborhood pixels, a local texture descriptor algorithm was applied to obtain a set or pool of texture features of dimension D . Each one of these vectors was assigned to a superpixel according to the location of the keypoint. The number of keypoints per superpixel is variable, being possible to obtain even zero keypoints for a particular one. The implications of this variable number of descriptors per superpixel are not important in this scheme because they are used only when computing the codebook where they are stacked together. Further implications will be pointed out when describing the feature encoding stage in the next scheme. After keypoint detection and description, the codebook generator was applied to the stacked descriptor vectors from all bands, obtaining K codewords of size D each. Another conditional dimensionality reduction stage was then performed in case the number of bands of the input image is lower than the descriptor dimension. After the dimensionality reduction (to the dimension of the input image in the first step or to the dimension of the descriptors later), the dimensions of both the codewords and the image pixel-vectors were equal (which means that now B is equal to D ). Remote Sens. 2020,12, 2633 7 of 24 The output obtained (a texture vector describing each superpixel) is equivalent to the one obtained by the codebook-based scheme in Figure 1a. 2.3. Spectral-Enhanced Descriptor-Based Scheme The last scheme (named spectral-enhanced descriptor-based), shown in Figure 1c, differs slightly from the previous one. The main novelty is that the feature coding stage operates at superpixel level and that a concatenation of spectral information to the texture descriptors at the end of the texture extraction process is performed. As it can be observed in the figure, the input hyperspectral image for the encoding stage in the previous schemes was replaced here by the image descriptors obtained for the different superpixels. If a superpixel has no associated texture descriptor, the resulting vector is zero. However, if it has one or more descriptors, all of them are compared to each codeword in order to obtain the resulting vector. As the feature encoding process took the texture descriptors as input (unlike the previous schemes), some kind of spectral information needed to be added. With this objective, a new stage called central pixel extraction was executed. It searched for the central pixel of each superpixel in the spatial coordinates of the image and extracted the corresponding spectral values (central pixel-vector). The resulting data structure once the central pixels were extracted consisted of S vectors (as many as superpixels in the segmentation) each one of dimension B (the number of bands). Finally, a concatenation was performed: a new vector per superpixel was created by stacking the texture vector from the feature encoding with the pixel-vector from the central pixel extraction stage. The output is equivalent to the one obtained by the previous schemes but differing in the dimension of the superpixel feature vector: B+DRed. 2.4. Dataset Description Three datasets were used to evaluate the schemes proposed: a set of three hyperspectral images (from now on standard dataset), a set of multispectral scenes from river basins for which only vegetation classes are taken into account (Galicia dataset), and a large set of multispectral images from a vast region in China called Gaofen dataset. The standard dataset was used for comparison purposes as the scenes in it are usually present in land cover classification papers. Both the Galicia dataset and the Gaofen dataset were used because they contain large images with a wide range of vegetation species (both forests and crops). For the Galicia dataset only vegetation classes will be classified although the images also contain other materials, while for the remaining two datasets all classes including a non-vegetation one are classified. The previously mentioned standard dataset corresponds to two images commonly used in the remote sensing literature: Pavia University (Pavia) and Salinas Valley (Salinas) [ 44 ]. Pavia was obtained by the ROSIS-03 (Reflective Optics System Imaging Spectrometer) sensor over the city of Pavia, Italy, with a spatial resolution of 2.6 m/pixel and covering the spectral range from 430 to 860 nm. Its dimensions are 610 × 340 pixels and 103 bands and its corresponding latitude and longitude are 45 ◦ 11’23.66”N and 09 ◦ 08’57.06”E, respectively. Salinas was obtained by the AVIRIS (Airborne Visible Infrared Imaging Spectrometer) sensor with a spectral range from 400 to 2500 nm. The main properties of this image are a resolution of 3.7 m/pixel, dimensions of 512 × 217 and 224 spectral bands. Moreover, its corresponding latitude and longitude are 36 ◦ 39’33.8”N and 121 ◦ 39’58.7”W. Figure 2shows the false color composite images and the reference data corresponding to this dataset, while Table 1displays the classes available in the reference data and the number of disjoint superpixels used for classification in training (15%) and testing (85%). Fifteen percent of superpixels corresponds to between 14% and 15% of the pixels in the image. Remote Sens. 2020,12, 2633 8 of 24 (a) (b) (c) (d) Figure 2. Standard dataset hyperspectral images and their corresponding reference maps for classification: ( a , b ) image and reference map for Salinas, respectively, and ( c , d ) image and reference map for Pavia, respectively. Each color in a reference map corresponds to a particular class for the image. No reference information is available for the regions marked in black. Table 1. Standard dataset. Classes available in the reference data and number of superpixels used for training (15%) and testing (85%). Salinas Pavia Superpixels Superpixels #and color Classes Train (15%) Test (85%) Classes Train (15%) Test (85%) 1. Broccoli gr. weeds 1 6 38 Asphalt 14 82 2. Broccoli gr. weeds 2 7 42 Meadows 59 336 3. Fallow 5 32 Gravel 8 50 4. Fallow rough plow 6 36 Trees 1 7 5. Fallow smooth 10 62 Metal 5 29 6. Stubble 9 57 Bare soil 15 85 7. Celery 13 77 Bitumen 7 41 8. Grapes untrained 30 174 Bricks 10 57 9. Soil vineyard dev. 12 68 Shadows 1 9 10. Corn gr. weeds 9 56 11. Lettuce rom 4 weeks 4 28 12. Lettuce rom 5 weeks 6 39 13. Lettuce rom 6 weeks 3 20 14. Lettuce rom 7 weeks 3 23 15. Vineyard untrained 22 126 16. Vineyard ver. trellis 4 26 The Galicia dataset is made up of four multispectral images, and the objective of their creation was to monitor the interaction of masses of native vegetation with artificial structures and river beds. Four locations in the Galician provinces of A Coruña and Pontevedra were selected in an area comprised between Eiras Dam and River Mestas, with a distance of approximately 145.6 kilometers end-to-end. The datasets were captured by a MicaSense RedEdge multispectral camera [ 45 ] mounted on a custom UAV. Its 5 discrete sensors provide spectral channels at wavelengths of 475 nm (Blue), 560 nm (Green), 668 nm (Red), 717 nm (Edge), and 840 nm (Near infrared). The spatial resolution is 8.2 cm/pixel at a height of 120 m. The four images in the dataset are the following; River Oitavén (Oitavén from now on) of size 6689 × 6722 pixels and is located in 42 ◦ 22’27.8”N 8 ◦ 25’30.3”W, River Mestas (Mestas from now on) of size 4915 ×9040 pixels and is located in 43◦38’38.5”N 7◦59’04.3”W, River Ferreiras (Ferreiras from now on) which is of size 9335 × 9219 pixels and is located in 43 ◦ 32’58.8”N 7 ◦ 57’33.2”W, and Eiras dam (Eiras from now on) whose dimensions are 5176 × 18,224 pixels and is located in 42 ◦ 22’26.0”N 8◦25’41.3”W. Remote Sens. 2020,12, 2633 9 of 24 Figure 3shows the false color composite images and their reference data (constructed in a long-term process involving forestry experts and the authors of the paper) corresponding to each one of the scenes, while Table 2shows the classes available in the reference data for classification and the number of superpixels used for training (15%) and testing (85%). Moreover, as the objective is the identification of plant species, only vegetation classes are considered. (a) (b) (c) (d) (e) (f) (g) (h) Figure 3. Galicia dataset multispectral images and their corresponding reference maps for classification: ( a , b ) image and reference map for Oitavén, respectively; ( c , d ) image and reference map for Mestas, respectively; ( e , f ) image and reference map for Ferreiras, respectively; and ( g , h ) image and reference map for Eiras, respectively. Each color in a reference map corresponds to a different class for the image. Only vegetations classes are represented and considered for the experiments. No reference information is available for the regions marked in black. Remote Sens. 2020,12, 2633 16 of 24 Table 9. Classification results in terms of OA (%), QD (%), AD (%), and execution times (seconds) obtained by the techniques detailed in Table 4for the Galicia dataset images and using a RF classifier. Fifteen percent of the superpixels are used for training. The best OA results are in a gray background. Oitavén Mestas OA QD AD Time OA QD AD Time Without Texture Features 73.66 ±0.27 2.38 ±0.75 1.69 ±1.12 8 ±0 87.65 ±0.32 1.85 ±0.10 1.56 ±0.93 7 ±0 k-means + VLAD 78.75 ±1.83 2.56 ±0.50 1.41 ±0.94 243 ±5 91.21 ±0.12 0.92 ±0.06 0.16 ±0.02 164 ±2 k-means + BoW 82.86 ±0.83 2.13 ±0.64 1.80 ±0.79 242 ±6 92.44 ±0.68 0.57 ±0.02 0.65 ±0.05 165 ±2 GMM + FV 80.35 ±0.69 1.13 ±0.51 1.74 ±0.05 362 ±4 91.31 ±0.15 0.48 ±0.06 0.25 ±0.08 402 ±2 SIFT + k-means + VLAD 81.38 ±0.48 2.35 ±0.59 1.33 ±0.04 285 ±2 87.85 ±0.39 2.90 ±0.60 1.45 ±0.27 477 ±4 SIFT + GMM + FV 66.93 ±0.12 6.98 ±1.23 3.26 ±0.77 264 ±1 90.34 ±0.39 1.13 ±0.57 0.46 ±0.06 272 ±2 DSIFT + k-means + VLAD 76.60 ±0.33 3.21 ±0.34 2.83 ±1.31 1291 ±9 88.63 ±0.11 1.47 ±0.22 0.55 ±0.07 1345 ±6 DSIFT + GMM + FV 78.78 ±0.89 2.94 ±0.35 1.33 ±0.25 1139 ±2 91.37 ±0.90 1.94 ±0.29 0.49 ±0.01 2263 ±5 LIOP + k-means + VLAD 83.29 ±0.80 2.86 ±0.85 2.36 ±0.23 69 ±1 91.24 ±3.99 1.09 ±0.03 1.16 ±0.02 29 ±0 LIOP + GMM + FV 73.89 ±0.41 7.61 ±1.29 4.90 ±0.37 22 ±1 91.44 ±0.04 1.66 ±0.83 1.77 ±0.03 15 ±0 HOG + k-means + VLAD 74.24 ±0.10 5.45 ±0.62 3.87 ±0.06 113 ±0 91.08 ±0.18 1.84 ±0.45 0.24 ±0.01 52 ±0 HOG + GMM + FV 62.04 ±0.38 10.59 ±1.98 6.29 ±1.51 115 ±3 91.33 ±0.09 1.56 ±0.08 0.28 ±0.01 51 ±0 SIFT + k-means + VLAD + Spec 78.26 ±0.28 4.21 ±0.87 2.51 ±0.46 1076 ±3 93.67 ±0.62 0.95 ±0.03 0.64 ±0.01 1089 ±1 SIFT + GMM + FV + Spec 78.92 ±0.55 4.04 ±0.31 2.08 ±0.32 1078 ±2 93.77 ±0.79 0.45 ±0.07 0.74 ±0.02 1086 ±1 DSIFT + k-means + VLAD + Spec 78.85 ±0.69 4.97 ±0.80 2.88 ±0.25 1097 ±3 93.34 ±0.42 0.99 ±0.03 0.59 ±0.03 1189 ±1 DSIFT + GMM + FV + Spec 78.04 ±0.59 4.14 ±0.25 2.46 ±0.92 1089 ±3 93.45 ±0.91 0.93 ±0.04 0.33 ±0.02 1146 ±3 Ferreiras Eiras OA QD AD Time OA QD AD Time Without Texture Features 78.64 ±0.99 7.19 ±1.62 3.64 ±0.38 11 ±0 81.70 ±0.78 6.60 ±1.95 4.68 ±1.43 14 ±1 k-means + VLAD 84.19 ±0.40 2.36 ±0.44 1.07 ±0.05 240 ±2 87.38 ±1.19 2.61 ±0.54 1.58 ±0.17 263 ±2 k-means + BoW 85.99 ±0.44 3.36 ±0.60 2.01 ±0.26 235 ±0 86.46 ±0.59 2.54 ±1.74 1.82 ±0.89 267 ±4 GMM + FV 83.47 ±0.96 3.48 ±0.14 2.10 ±1.40 732 ±1 85.41 ±0.85 2.39 ±0.09 1.66 ±0.53 896 ±1 SIFT + k-means + VLAD 81.82 ±0.31 3.22 ±0.61 2.16 ±0.58 701 ±3 85.57 ±0.24 3.71 ±0.57 1.93 ±0.64 533 ±12 SIFT + GMM + FV 84.09 ±0.82 3.18 ±1.07 2.27 ±0.12 608 ±4 81.84 ±0.49 4.96 ±1.41 2.01 ±0.27 515 ±5 DSIFT + k-means + VLAD 83.24 ±0.91 3.41 ±0.86 1.04 ±0.06 1962 ±14 73.54 ±4.13 5.11 ±1.25 3.74 ±0.80 2099 ±2 DSIFT + GMM + FV 85.76 ±1.92 3.35 ±0.80 2.49 ±0.46 2588 ±56 82.56 ±0.76 4.40 ±1.59 2.81 ±0.22 3943 ±4 LIOP + k-means + VLAD 84.56 ±0.65 3.68 ±0.27 2.94 ±0.10 123 ±3 89.20 ±0.96 3.39 ±1.54 2.25 ±0.56 117 ±2 LIOP + GMM + FV 85.96 ±0.84 5.19 ±1.16 3.27 ±0.54 58 ±0 71.03 ±0.60 6.65 ±1.32 3.16 ±0.25 87 ±0 HOG + k-means + VLAD 82.74 ±0.01 4.91 ±1.32 2.43 ±0.11 228 ±1 85.92 ±0.81 4.29 ±0.49 2.72 ±0.52 315 ±1 HOG + GMM + FV 84.63 ±0.09 3.86 ±1.28 2.14 ±0.16 239 ±0 69.01 ±0.54 6.59 ±1.07 3.97 ±0.07 308 ±0 SIFT + k-means + VLAD + Spec 84.93 ±0.09 3.22 ±1.04 2.02 ±0.45 1497 ±5 84.99 ±0.54 2.41 ±0.75 1.06 ±0.87 1712 ±4 SIFT + GMM + FV + Spec 84.64 ±0.37 3.10 ±1.30 2.53 ±0.49 1481 ±0 85.36 ±0.53 2.40 ±0.92 1.47 ±0.59 1757 ±5 DSIFT + k-means + VLAD + Spec 84.38 ±0.65 3.16 ±1.81 2.69 ±0.29 2208 ±20 85.87 ±0.59 2.94 ±0.01 1.89 ±0.74 2399 ±3 DSIFT + GMM + FV + Spec 84.62 ±0.94 3.17 ±1.90 2.15 ±0.61 2084 ±217 85.18 ±0.53 2.46 ±0.08 1.45 ±0.08 4056 ±176 It can be concluded from Table 11 that k-means + BoW is a technique that offers the best consistent results because it outperforms the other ones in terms of OA and obtains reasonable results regarding execution times. LIOP + k-means + VLAD is also an interesting technique, although it was experimentally checked that its results are highly dependent on the optimization of the tuning of its input parameters, which is a resource expensive process. Finally, Table 12 shows the results obtained for the Gaofen dataset as it is a dataset with a large number of scenes. It is divided into GID5 (150 scenes) and GID15 (10 scenes) [ 47 ], as it was detailed in the dataset description. The data trends are similar to those of the Galicia dataset, being the codebook-based scheme the best, followed by the descriptor-based scheme and the spectral-enhanced descriptor-based scheme. Specifically, the best techniques are again those based on k-means as codebook generator algorithm. In this case, the best techniques are, in particular, k-means + BoW and k-means + VLAD. Remote Sens. 2020,12, 2633 17 of 24 Table 10. Classification results in terms of OA (%), QD (%), AD (%), and execution times (seconds) obtained by the techniques detailed in Table 4for the Galicia dataset images and using a ELM classifier. Fifteen percent of the superpixels are used for training. The best OA results are in a gray background. Oitavén Mestas OA QD AD Time OA QD AD Time Without Texture Features 71.90 ±0.72 4.23 ±1.19 2.90 ±0.64 8 ±0 84.66 ±0.23 1.97 ±0.63 0.54 ±0.07 6 ±0 k-means + VLAD 74.32 ±0.57 3.19 ±0.80 2.66 ±0.89 248 ±3 87.31 ±0.15 0.74 ±0.04 0.34 ±0.02 178 ±1 k-means + BoW 80.01 ±0.86 2.54 ±0.33 1.22 ±0.92 248 ±4 91.95 ±0.16 1.38 ±0.08 0.94 ±0.06 179 ±1 GMM + FV 78.16 ±0.75 1.33 ±0.52 1.98 ±0.82 383 ±4 89.46 ±0.57 0.83 ±0.04 0.74 ±0.90 408 ±2 SIFT + k-means + VLAD 78.66 ±0.70 2.67 ±0.58 1.21 ±0.01 289 ±2 84.71 ±0.52 2.94 ±0.57 1.35 ±0.78 503 ±1 SIFT + GMM + FV 63.55 ±0.76 5.08 ±0.32 3.71 ±0.22 275 ±2 89.18 ±0.41 1.43 ±0.67 0.02 ±0.13 271 ±1 DSIFT + k-means + VLAD 73.39 ±0.36 3.85 ±0.08 2.58 ±0.13 1287 ±7 85.09 ±0.99 1.70 ±0.81 0.86 ±0.11 1469 ±7 DSIFT + GMM + FV 76.84 ±0.85 3.93 ±0.68 1.62 ±0.88 1153 ±4 91.04 ±0.59 1.36 ±0.90 0.37 ±0.07 2274 ±3 LIOP + k-means + VLAD 81.07 ±0.57 2.64 ±0.29 2.36 ±0.61 75 ±1 89.43 ±1.69 1.13 ±0.08 1.26 ±0.06 36 ±1 LIOP + GMM + FV 70.16 ±0.92 5.88 ±0.61 4.09 ±0.11 31 ±0 89.64 ±0.04 1.21 ±0.13 1.73 ±0.05 28 ±1 HOG + k-means + VLAD 72.91 ±0.40 5.01 ±0.70 3.57 ±0.73 121 ±2 89.35 ±0.31 1.67 ±0.49 0.29 ±0.09 56 ±1 HOG + GMM + FV 60.55 ±0.26 12.02 ±1.66 7.79 ±1.16 150 ±2 89.69 ±0.05 1.56 ±0.04 0.64 ±0.27 54 ±0 SIFT + k-means + VLAD + Spec 76.79 ±0.69 5.86 ±0.99 3.10 ±1.25 1076 ±3 90.20 ±0.02 0.96 ±0.04 0.39 ±0.01 1176 ±3 SIFT + GMM + FV + Spec 75.68 ±0.02 5.42 ±1.82 3.46 ±1.18 1142 ±3 91.49 ±0.01 0.16 ±0.06 0.63 ±0.07 1256 ±2 DSIFT + k-means + VLAD + Spec 76.10 ±0.76 5.96 ±1.65 3.79 ±1.84 1155 ±4 91.85 ±0.04 0.35 ±0.04 0.36 ±0.49 1701 ±5 DSIFT + GMM + FV + Spec 77.42 ±0.82 5.60 ±0.86 3.19 ±1.05 1835 ±4 90.14 ±0.03 0.47 ±0.05 0.65 ±0.06 2410 ±4 Ferreiras Eiras OA QD AD Time OA QD AD Time Without Texture Features 73.48 ±0.82 7.68 ±0.60 3.35 ±0.49 12 ±1 76.05 ±0.60 6.15 ±1.23 4.02 ±1.33 19 ±0 k-means + VLAD 80.93 ±0.55 2.27 ±1.97 2.75 ±0.90 252 ±3 85.98 ±0.76 2.40 ±0.52 1.80 ±0.60 269 ±3 k-means + BoW 83.27 ±0.66 3.94 ±0.97 2.72 ±0.61 235 ±1 84.68 ±0.81 3.29 ±0.97 1.60 ±0.47 282 ±2 GMM + FV 81.83 ±0.66 3.33 ±0.91 2.47 ±0.75 722 ±1 84.66 ±0.42 2.03 ±0.75 1.73 ±0.52 925 ±2 SIFT + k-means + VLAD 78.46 ±0.28 3.40 ±0.50 3.14 ±0.25 701 ±4 82.84 ±0.17 3.91 ±0.76 1.57 ±0.47 573 ±1 SIFT + GMM + FV 81.71 ±0.91 3.93 ±0.96 2.29 ±0.47 630 ±6 80.81 ±0.51 4.82 ±0.71 3.55 ±0.52 536 ±2 DSIFT + k-means + VLAD 82.82 ±0.07 3.27 ±0.44 1.41 ±0.87 2254 ±23 72.30 ±1.48 6.20 ±0.58 4.94 ±0.42 2191 ±1.70 DSIFT + GMM + FV 83.14 ±0.64 4.21 ±0.24 3.54 ±0.88 2747 ±52 80.29 ±0.72 4.01 ±0.44 3.34 ±0.45 4201 ±41 LIOP + k-means + VLAD 82.02 ±0.55 3.29 ±0.12 3.88 ±0.53 238 ±1 87.58 ±0.37 3.39 ±0.42 1.37 ±0.48 106 ±2 LIOP + GMM + FV 82.77 ±0.23 5.01 ±0.83 3.92 ±0.63 72 ±1 67.63 ±0.65 7.70 ±1.25 4.05 ±0.04 96 ±1 HOG + k-means + VLAD 81.12 ±0.09 4.40 ±1.09 2.29 ±0.04 266 ±1 83.70 ±0.93 4.28 ±1.07 2.78 ±0.40 358 ±1 HOG + GMM + FV 82.75 ±0.18 3.67 ±1.81 2.85 ±0.50 296 ±0 67.99 ±0.47 6.99 ±0.86 3.43 ±0.84 358 ±1 SIFT + k-means + VLAD + Spec 82.56 ±0.48 4.68 ±1.25 2.38 ±0.31 1682 ±7 82.33 ±0.07 3.50 ±0.29 1.77 ±0.08 1857 ±3 SIFT + GMM + FV + Spec 82.93 ±0.28 3.40 ±1.04 2.27 ±0.09 1688 ±0 84.08 ±0.03 2.73 ±0.95 1.54 ±0.09 1835 ±7 DSIFT + k-means + VLAD + Spec 83.88 ±0.96 3.01 ±1.10 2.30 ±0.26 2674 ±26 85.90 ±0.66 2.80 ±0.05 1.70 ±0.59 2412 ±14 DSIFT + GMM + FV + Spec 82.95 ±0.78 3.11 ±1.88 2.95 ±0.39 2580 ±476 83.48 ±0.59 2.49 ±0.60 1.41 ±0.37 4345 ±148 Table 11. Classification results for different percentages of training samples for the Galicia dataset images using a SVM classifier and varying the percentage of superpixels randomly selected for training. Accuracy values expressed in terms of OA (in %) indicating standard deviation values ( ± ). The best results are in a gray background. % Technique Oitavén Mestas Ferreiras Eiras 10 k-means + BoW GMM + FV LIOP + k-means + VLAD SIFT + k-means + VLAD + Spec 76.01 ±0.30 75.24 ±1.01 75.23 ±0.82 75.83 ±1.44 87.6 ±0.20 84.01 ±3.14 86.24 ±3.01 86.93 ±3.08 79.52 ±0.27 80.23 ±1.59 81.02 ±1.01 81.22 ±1.57 84.48 ±0.21 82.51 ±2.00 83.31 ±2.00 83.93 ±2.00 15 k-means + BoW GMM + FV LIOP + k-means + VLAD SIFT + k-means + VLAD + Spec 81.94 ±0.54 79.62 ±0.67 82.74 ±0.47 77.86 ±0.28 92.67 ±0.41 90.27 ±0.25 90.24 ±3.67 92.48 ±0.02 84.93 ±0.47 82.77 ±0.34 83.08 ±0.41 84.08 ±0.10 85.19 ±0.81 85.61 ±0.41 88.21 ±0.37 84.96 ±0.78 20 k-means + BoW GMM + FV LIOP + k-means + VLAD SIFT + k-means + VLAD + Spec 83.12 ±0.14 81.93 ±1.21 81.38 ±2.04 82.39 ±1.19 92.14 ±0.19 91.65 ±0.66 91.22 ±1.93 90.76 ±2.03 85.07 ±0.35 84.42 ±0.71 83.98 ±0.75 83.99 ±0.86 86.62 ±0.27 87.32 ±1.22 86.77 ±1.43 86.66 ±0.88 Remote Sens. 2020,12, 2633 18 of 24 Table 12. Classification accuracy results in terms of OA (%) for the GID5 and GID15 datasets. Scheme Technique GID5 GID15 - Without Texture Features 91.28 69.93 k-means + VLAD 93.84 79.63 Codebook-based scheme k-means + BoW 95.79 79.61 GMM + FV 94.66 79.61 SIFT + k-means + VLAD 92.46 76.21 SIFT + GMM + FV 93.63 75.97 DSIFT + k-means + VLAD 93.02 76.47 Descriptor-based DSIFT + GMM + FV 93.04 75.81 scheme LIOP + k-means + VLAD 94.85 77.32 LIOP + GMM + FV 92.19 71.24 HOG + k-means + VLAD 94.53 76.76 HOG + GMM + FV 92.18 70.98 SIFT + k-means + VLAD + Spec 93.99 75.49 Spectral-enhanced SIFT + GMM + FV + Spec 94.00 75.50 descriptor-based scheme DSIFT + k-means + VLAD + Spec 93.91 75.47 DSIFT + GMM + FV + Spec 93.92 75.51 4. Discussion In this work, different texture schemes based on BoW for vegetation classification using a superpixel approach were studied. We considered multi- and hyperspectral remote sensing images taken by UAVs and satellites. In all the presented schemes, the texture algorithms were computed inside superpixels, in contrast to most of the methods previously published in the literature, in which the vegetation textures are extracted from patches or objects. A detailed comparison of the different techniques was carried out in terms of classification accuracy for several land cover remote sensing datasets. In particular, the Galicia dataset contained five classes of vegetation (oak, meadows, autochthonous vegetation, eucalyptus, and pines), while in the GID5 5 classes were considered, three of them corresponding to vegetation, and in the GID15, 15 classes were considered, corresponding eight of them to vegetation. The best classification results for each image ranged from 81.07% to 93.77% for the Galicia dataset, and from 79.63% to 95.79% for the Gaofen dataset. The techniques and algorithms used in this work included several keypoint detectors and descriptors (HOG, LIOP, SIFT, and DSIFT), algorithms for codebook generation (k-means and GMM), algorithms for feature encoding (histogram-based, VLAD, and FV), and, finally, some algorithms for feature classification (SVM, RF, and ELM). Additionally, SLIC was used for superpixel generation and PCA for dimensionality reduction. In previous works, studies were carried out to determine the most suitable set of parameters, including textures, to carry out the classification of vegetation in remote sensing images. However, in these works the only texture method considered was GLCM. Specifically, the authors of [ 10 ] present a classification scheme for the canopy cover mapping of spekboom in a large semiarid region in South Africa using multispectral imagery (red, green, blue, and near-infrared bands). Three classes were considered (spekboom, tree, and background) and the classification scheme is a decision tree with 47 features grouped into two broad categories: per-pixel (spectral information) and sliding window features (statistic of the pixels inside a small local neighborhood). The decision tree obtained a mean absolute canopy cover error of 5.85%. The authors of [ 14 ] present a crop classification method for hyperspectral images combining 40 spectral indices, spectral features (several class-pair distances), and GLCM texture information in a object-oriented approach. Eight classes were considered (chinese cabagge, japanese cabbage, lettuce, radish, pasture, pole bean, and forest) and the classification accuracy obtained was 97.84%. Finally, the authors of [ 16 ] performed the classification of savannah tree species from very high resolution images acquired by UAVs. Two flights capturing Remote Sens. 2020,12, 2633 19 of 24 multispectral imagery (red, green, blue, and near-infrared bands) were made to obtain image mosaics with longitudinal and lateral overlap. The method uses chromatic coordinates, spectral indices, the canopy height model, and GLCM texture measures in different window sizes. Nine classes of trees and shrubs (with an abundance of more than ten individuals within the samples) were considered and an outline of each single-stem individual was drawn onto the image. The overall accuracy obtained was of 77% on average. For the detection of the extent of trees and shrubs, the canopy height model (CHM) is the one most commonly used. Information on height is obtained from different sources, in some cases through sensor fusion with LiDAR information. In other cases surface reconstruction from aerial images is the way of obtaining this complementary information [ 21 , 22 ]. In this paper, information on height was not considered as only single images are available in the dataset for the areas under study. Other works use simple texture methods for vegetation classification, specifically LBP and GLCM. For example, the authors of [ 12 ] applied the LBP textures for the classification of tree species using hyperspectral data and an aerial stereo camera system. In the classification step, a pixel-based approach and a patch-based BoW approach were used. Four classes were considered (spruce, beech, mixed, and non-tree) and the classification accuracy obtained was approximately 60%. In [ 13 ], an UAV performs vegetation mapping in complex urban landscapes using ultra-high resolution color imagery acquired at low altitudes. A hybrid method combining Random Forest and GLCM texture analysis at nine different window sizes was used. Six typical land covers (out of which three are vegetated ones) were considered (grass, trees, shrubs, bare soil, impervious surface, and water) and the classification accuracies ranged from 86.2% to 91.8%. The authors of [ 15 ] propose an object-based GLCM texture extraction method for the classification of man-planted forests on mountainous areas using high resolution satellite data, including panchromatic and multispectral bands. The method used a multi-resolution segmentation algorithm to generate image objects and enhances the texture feature of objects using a 2D Gabor filter. Four classes were considered (non-vegetation, natural forest, rubber trees, and crops) and the classification accuracy obtained was 91.4%. The authors of [ 17 ] propose a method combining spectral measures and GLCM texture information for crop classification in time-series UAV images composed of three bands (green, red, and near-infrared). The object-oriented approach extracted meaningful objects via multi-resolution segmentation and classification was carried out on object units. Four vegetation classes (highland kimchi cabbage, cabbage, potato, and fallow) were considered. In six multi-temporal images, combining texture features with spectral information led to an increase of 7.72% in OA, compared to the classification result with spectral information only (from 83.13% to 90.85%). For the classification of a image using textures it is necessary to delimit regions on which the texture features are computed. None of the works cited above uses superpixels to obtain the textures. Instead they use patches, segments or objects. Superpixels were used in [ 24 ], which proposes a scheme for natural roadside vegetation classification shooting on the ground (not remote sensing) using color cameras. Six classes were considered (brown grass, green, road, soil, tree, and soil) and the scheme learns two individual sets of BoW dictionaries from color and filter-bank texture features using the nearest Euclidean distance, which were aggregated into class probabilities for each superpixel. Experimental evaluations on a natural image dataset obtained 75.5% accuracy for classifying six objects. For keypoint detection and description, we considered four algorithms: HOG, LIOP, SIFT, and DSIFT. Few works in the literature proposed descriptor-based methods for the classification of vegetation in images, although this approach is common in the classification of scenes. For example, the authors of [ 18 ] present a methodology for vegetation segmentation in cornfield images obtained by autonomous agricultural vehicles. A collection of outdoor color images, which were acquired under different illumination conditions and different plant growth state, were selected. The method focuses on finding an appropriate set of different color vegetation indices and local descriptors for vegetation characterization. Three different classes were considered (vegetation, light-brown soil, and dark-brown soil), and an accuracy value of 95.3% was achieved. In [ 19 ], the classification of weeds Remote Sens. 2020,12, 2633 20 of 24 growing among crops using a BoW model based on SIFT or SURF features is presented. In that work, a small-sized robot was developed for vision based precision control of volunteer potatoes (weed) in a sugar beet field. The highest classification accuracy (96.5%) was obtained using SIFT, Out-of-Row Regional Index (ORRI), and SVM. Finally, the authors of [ 20 ] study the application of SIFT to cropland mapping in the Brazilian Amazon based on vegetation index time series. It used a dense temporal SIFT BoW algorithm, which is able to capture temporal locality of the data. The dataset was thus made of 46 MODIS images acquired over two years. Five crop classes were considered (soybean, soybean + millet, soybean + maize, soybean + cotton, and cotton) with accurate detection of around 70% of the agricultural areas. Based on the presented information, it can be concluded that the number of works in the literature that use descriptors to characterize textures in the topic of vegetation classification in images is very limited. To the best of our knowledge, no superpixel-based descriptors have been previously proposed for the classification of vegetation in multi and hyperspectral images. On the other hand, our classification results are comparable to other studies in the literature. However, an exact numerical comparison is difficult as it depends on the nature of the datasets, the number of classes, and the number of samples used for training. Comparable results in the literature are only available for GID5 [ 47 ]. In particular, the accuracy obtained by the CNN-based technique used in this reference was 95.74%, which is similar to the 95.79% obtained in the experiments shown in Table 12. However, the experimental conditions in [ 47 ] were different as disjoint sets of images were taken for training and testing. In our approach the same percentage of training and testing samples were selected over each one of the images. 5. Conclusions In this paper, different texture extraction schemes at the superpixel level for the classification of vegetation species using multi- and hyperspectral imagery are proposed. These schemes, based on the classical BoW approach, are called codebook-based,descriptor-based, and spectral-enhanced descriptor-based schemes. Some of the following stages are considered for each one; superpixel extraction, keypoint detection and description, codebook generation, feature encoding, and dimensionality reduction. The relevant contributions of this paper are the use of a superpixel segmentation algorithm as a way of dividing an image into homogeneous regions previously to the texture extraction, and the adequate exploitation of the spectral information available in all the bands of the image. Superpixels are used in the keypoint detection and description, codebook generation, feature encoding and classification stages. Sixteen different texture-extraction techniques derived from the three proposed schemes are analyzed in detail in the paper and compared in terms of classification accuracy and execution time considering SVM, RF and ELM as supervised classification algorithms. Three datasets consisting of real multi- and hyperspectral images containing vegetation classes were employed to test the proposed schemes. As the standard dataset does not focus on vegetation, the Galicia and Gaofen datasets were also considered. The best classification results for each image range from 81.07% to 93.77% for the Galicia dataset and from 79.63% to 95.79% for the Gaofen dataset. The techniques and algorithms used in this work include several keypoint detectors and descriptors (HOG, LIOP, SIFT, and DSIFT), algorithms for codebook generation (k-means and GMM), algorithms for feature encoding (histogram-based, VLAD and FV), and, finally, some algorithms for feature classification (SVM, RF, and ELM). Additionally, SLIC was used for superpixel generation and PCA for dimensionality reduction. The experimental results show that the best techniques are based on k-means as codebook generator. In particular, the highest OA values are offered by k-means + BoW, that is a representative of the codebook-based scheme, using BoW for feature encoding. The second best results on average are provided by LIOP + k-means + VLAD, which uses LIOP for keypoint detection and description and VLAD for feature encoding, as a representative of the descriptor-based scheme. These are also techniques that present reasonable computational cost according to our experiments. Remote Sens. 2020,12, 2633 21 of 24 As future work, we plan to analyze the performance of the best techniques with new multispectral images corresponding to vegetation. The desired properties of these images will be the abundance of vegetation and high spatial resolution. Several future research lines that would benefit from the current proposal have also been considered such as testing different algorithms for keypoint detection and description, for instance, robust and powerful techniques like SURF and KAZE. Moreover, the creation of schemes with a different structure from the three described is also projected as future work. Author Contributions: Conceptualization, D.B.H. and F.A.; Experiments, S.R.B.; Project administration, D.B.H. and F.A.; Software, S.R.B.; Supervision, F.A.; Writing—original draft, S.R.B.; Writing—review and editing, D.B.H. and F.A. All authors have read and agreed to the published version of the manuscript. Funding: This work was supported in part by the Civil Program UAVs Initiative, promoted by the Xunta de Galicia and developed in partnership with the Babcock Company to promote the use of unmanned technologies in civil services. We also have to acknowledge the support by Ministerio de Ciencia e Innovación, Government of Spain (grant number PID2019-104834GB-I00), and Consellería de Educación, Universidade e Formación Profesional (ED431C 2018/19, and accreditation 2019-2022 ED431G-2019/04). All are cofunded by the European Regional Development Fund (ERDF). Conflicts of Interest: The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results. Abbreviations The following abbreviations are used in this manuscript. UAV Unmanned Aerial Vehicle BoW Bag of Words LBP Local Binary Pattern GLCM Gray-Level Co-occurrence Matrix CHM Canopy Height Model SVM Support Vector Machines RF Random Forest ELM Extreme Learning Machine CNN Convolutional Neural Network GLCM Gray-Level Co-occurrence Matrix FNEA Fractal Net Evolution Approach NDVI Normalized Difference Vegetation Index DEM Digital Elevation Model SLIC Simple Linear Iterative Clustering ETPS Efficient Topology Preserving Segmentation SIFT Scale-Invariant Feature Transform HOG Histogram of Oriented Gradients DSIFT Dense Scale-Invariant Feature Transform LIOP Local Intensity Order Pattern GMM Gaussian Mixture Modeling VLAD Vector of Locally Aggregated Descriptors FV Fisher Vectors PCA Principal Component Analysis GID Gaofen Image Dataset ROSIS Reflective Optics System Imaging Spectrometer AVIRIS Airborne Visible Infrared Imaging Spectrometer RF Random Forest OA Overall Accuracy QD Quantity Disagreement AD Allocation Disagreement Remote Sens. 2020,12, 2633 22 of 24 References 1. Ghamisi, P.; Maggiori, E.; Li, S.; Souza, R.; Tarabalka, Y.; Moser, G.; De Giorgi, A.; Fang, L.; Chen, Y.; Chi, M.; et al. New frontiers in spectral-spatial classification of hyperspectral images. IEEE Geosci. Remote Sens. Mag. 2018,6, 10–43. . [CrossRef] 2. Wagner, F.; Sanchez, A.; Tarabalka, Y.; Lotte, R.; Ferreira, M.; Aidar, M.; Gloor, M.; Phillips, O.; Aragão, L. Using convolutional network to identify tree species related to forest disturbance in a neotropical Forest with very high resolution multispectral images. AGUFM 2018,2018, B33N–2861. 3. Zeng, Y.; Zhao, Y.; Zhao, D.; Wu, B. Forest biodiversity mapping using airborne LiDAR and hyperspectral data. In Proceedings of the 2016 IEEE International Geoscience and Remote Sensing Symposium (IGARSS), Beijing, China, 10–15 July 2016; pp. 3561–3562. 4. Liu, L.; Chen, J.; Fieguth, P.; Zhao, G.; Chellappa, R.; Pietikäinen, M. From BoW to CNN: Two decades of texture representation for texture classification. Int. J. Comput. Vis. 2019,127, 74–109. [CrossRef] 5. Julesz, B. Textons, the elements of texture perception, and their interactions. Nature 1981 ,290, 91–97. [CrossRef] 6. Csurka, G.; Dance, C.; Fan, L.; Willamowski, J.; Bray, C. Visual categorization with bags of keypoints. In Proceedings of the 8th European Conference on Computer Vision-ECCV 2004, Prague, Czech Republic, 11–14 May 2004; Volume 1, pp. 1–2. 7. Krizhevsky, A.; Sutskever, I.; Hinton, G.E. Imagenet classification with deep convolutional neural networks. In Advances in Neural Information Processing Systems; Curran Associates, Inc.: Red Hook, NY, USA, 2012; pp. 1097–1105. 8. Cimpoi, M.; Maji, S.; Kokkinos, I.; Mohamed, S.; Vedaldi, A. Describing textures in the wild. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA, 24–27 June 2014; pp. 3606–3613. 9. Bormann, R.; Esslinger, D.; Hundsdoerfer, D.; Haegele, M.; Vincze, M. Texture characterization with semantic attributes: Database and algorithm. In Proceedings of the ISR 2016: 47st International Symposium on Robotics, VDE, Munich, Germany, 21–22 June 2016; pp. 1–8. 10. Harris, D.; Vlok, J.; van Niekerk, A. Regional mapping of spekboom canopy cover using very high resolution aerial imagery. J. Appl. Remote Sens. 2018,12, 046022. [CrossRef] 11. Zhang, L.; Verma, B. Class-Semantic Textons with Superpixel Neighborhoods for Natural Roadside Vegetation Classification. In Proceedings of the IEEE 2015 International Conference on Digital Image Computing: Techniques and Applications (DICTA), Adelaide, Australia, 23–25 November 2015; pp. 1–8. 12. Yuan, X.; Tian, J.; Cerra, D.; Meynberg, O.; Kempf, C.; Reinartz, P. Tree Species Classification by Fusing of Very Highresoltuion Hyperspectral Images and 3K-DSM. In Proceedings of the IEEE 2018 9th Workshop on Hyperspectral Image and Signal Processing: Evolution in Remote Sensing (WHISPERS), Amsterdam, The Netherlands, 23–26 September 2018; pp. 1–5. 13. Feng, Q.; Liu, J.; Gong, J. UAV remote sensing for urban vegetation mapping using random forest and texture analysis. Remote Sens. 2015,7, 1074–1094. [CrossRef] 14. Zhang, X.; Sun, Y.; Shang, K.; Zhang, L.; Wang, S. Crop classification based on feature band set construction and object-oriented approach using hyperspectral images. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2016,9, 4117–4128. [CrossRef] 15. Yang, P.; Hou, Z.; Liu, X.; Shi, Z. Texture feature extraction of mountain economic forest using high spatial resolution remote sensing images. In Proceedings of the 2016 IEEE International Geoscience and Remote Sensing Symposium (IGARSS), Beijing, China, 10–15 July 2016; pp. 3156–3159. 16. Oldeland, J.; Große-Stoltenberg, A.; Naftal, L.; Strohbach, B. The potential of UAV derived image features for discriminating savannah tree species. In The Roles of Remote Sensing in Nature Conservation; Springer: Berlin/Heidelberg, Germany, 2017; pp. 183–201. 17. Kwak, G.H.; Park, N.W. Impact of texture information on crop classification with machine learning and UAV images. Appl. Sci. 2019,9, 643. [CrossRef] 18. Campos, Y.; Rodner, E.; Denzler, J.; Sossa, H.; Pajares, G. Vegetation segmentation in cornfield images using Bag of Words. In International Conference on Advanced Concepts for Intelligent Vision Systems; Springer: Berlin/Heidelberg, Germany, 2016, pp. 193–204. Remote Sens. 2020,12, 2633 23 of 24 19. Suh, H.K.; Hofstee, J.W.; IJsselmuiden, J.; van Henten, E.J. Sugar beet and volunteer potato classification using Bag-of-Visual-Words model, Scale-Invariant Feature Transform, or Speeded Up Robust Feature descriptors and crop row information. Biosyst. Eng. 2018,166, 210–226. [CrossRef] 20. Bailly, A.; Arvor, D.; Chapel, L.; Tavenard, R. Classification of MODIS time series with dense bag-of-temporal-SIFT-words: Application to cropland mapping in the Brazilian Amazon. In Proceedings of the 2016 IEEE International Geoscience and Remote Sensing Symposium (IGARSS), Beijing, China, 10–15 July 2016; pp. 2300–2303. 21. Dominik, W.A. Exploiting the redundancy of multiple overlapping aerial images for dense image matching based digital surface model generation. Remote Sens. 2017,9, 490. [CrossRef] 22. Osi´nska-Skotak, K.; Bakuła, K.; Jełowicki, Ł.; Podkowa, A. Using Canopy Height Model Obtained with Dense Image Matching of Archival Photogrammetric Datasets in Area Analysis of Secondary Succession. Remote Sens. 2019,11, 2182. [CrossRef] 23. Fang, L.; Li, S.; Kang, X.; Benediktsson, J.A. Spectral–spatial classification of hyperspectral images with a superpixel-based discriminative sparse model. IEEE Trans. Geosci. Remote Sens. 2015 ,53, 4186–4201. [CrossRef] 24. Zhang, X.; Chew, S.E.; Xu, Z.; Cahill, N.D. SLIC superpixels for efficient graph-based dimensionality reduction of hyperspectral imagery. In Algorithms and Technologies for Multispectral, Hyperspectral, and Ultraspectral Imagery XXI; International Society for Optics and Photonics: Bellingham, WA, USA, 2015; Volume 9472, p. 947209. 25. Li, J.; Zhang, H.; Zhang, L. Efficient superpixel-level multitask joint sparse representation for hyperspectral image classification. IEEE Trans. Geosci. Remote Sens. 2015,53, 5338–5351. 26. Achanta, R.; Shaji, A.; Smith, K.; Lucchi, A.; Fua, P.; Süsstrunk, S. SLIC superpixels compared to state-of-the-art superpixel methods. IEEE Trans. Pattern Anal. Mach. Intell. 2012 ,34, 2274–2282. [CrossRef] [PubMed] 27. Beucher, S. Use of watersheds in contour detection. In International Workshop on Image Processing; CCETT: Rennes, France, 1979. 28. Yao, J.; Boben, M.; Fidler, S.; Urtasun, R. Real-time coarse-to-fine topologically preserving segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Boston, MA, USA, 7–12 June 2015; pp. 2947–2955. 29. Lazebnik, S.; Schmid, C.; Ponce, J. A sparse texture representation using local affine regions. IEEE Trans. Pattern Anal. Mach. Intell. 2005,27, 1265–1278. [CrossRef] [PubMed] 30. Lowe, D.G. Distinctive image features from scale-invariant keypoints. Int. J. Comput. Vis. 2004 ,60, 91–110. [CrossRef] 31. Dalal, N.; Triggs, B. Histograms of oriented gradients for human detection. In Proceedings of the 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’05), San Diego, CA, USA, 20–25 June 2005; Volume 1, pp. 886–893. 32. Vedaldi, A.; Fulkerson, B. VLFeat: An Open and Portable Library of Computer Vision Algorithms. 2008. Available online: http://www.vlfeat.org/ (accessed on 13 August 2020). 33. Wang, Z.; Fan, B.; Wu, F. Local intensity order pattern for feature description. In Proceedings of the IEEE 2011 International Conference on Computer Vision, Barcelona, Spain, 6–13 November 2011; pp. 603–610. 34. Lazebnik, S.; Schmid, C.; Ponce, J. A sparse texture representation using affine-invariant regions. In Proceedings of the 2003 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Madison, WI, USA, 18–20 June 2003; Volume 2, p. II. 35. Varma, M.; Zisserman, A. A statistical approach to texture classification from single images. Int. J. Comput. Vis. 2005,62, 61–81. [CrossRef] 36. Ojala, T.; Pietikainen, M.; Maenpaa, T. Multiresolution gray-scale and rotation invariant texture classification with local binary patterns. IEEE Trans. Pattern Anal. Mach. Intell. 2002,24, 971–987. [CrossRef] 37. Perronnin, F.; Sánchez, J.; Mensink, T. Improving the fisher kernel for large-scale image classification. In European Conference on Computer Vision; Springer: Berlin/Heidelberg, Germany, 2010; pp. 143–156. 38. Jegou, H.; Perronnin, F.; Douze, M.; Sánchez, J.; Perez, P.; Schmid, C. Aggregating local image descriptors into compact codes. IEEE Trans. Pattern Anal. Mach. Intell. 2011,34, 1704–1716. [CrossRef] 39. Tong, X.; Xie, H.; Weng, Q. Urban land cover classification with airborne hyperspectral data: What features to use? IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2013,7, 3998–4009. [CrossRef] Remote Sens. 2020,12, 2633 24 of 24 40. Ghamisi, P.; Yokoya, N.; Li, J.; Liao, W.; Liu, S.; Plaza, J.; Rasti, B.; Plaza, A. Advances in hyperspectral image and signal processing: A comprehensive overview of the state of the art. IEEE Geosci. Remote Sens. Mag. 2017,5, 37–78. [CrossRef] 41. Ghamisi, P.; Maggiori, E.; Li, S.; Souza, R.; Tarablaka, Y.; Moser, G.; De Giorgi, A.; Fang, L.; Chen, Y.; Chi, M.; et al. New frontiers in spectral-spatial hyperspectral image classification: The latest advances based on mathematical morphology, Markov random fields, segmentation, sparse representation, and deep learning. IEEE Geosci. Remote Sens. Mag. 2018,6, 10–43. [CrossRef] 42. Plaza, A.; Benediktsson, J.A.; Boardman, J.W.; Brazile, J.; Bruzzone, L.; Camps-Valls, G.; Chanussot, J.; Fauvel, M.; Gamba, P.; Gualtieri, A.; others. Recent advances in techniques for hyperspectral image processing. Remote Sens. Environ. 2009,113, S110–S122. [CrossRef] 43. Ghamisi, P.; Plaza, J.; Chen, Y.; Li, J.; Plaza, A.J. Advanced spectral classifiers for hyperspectral images: A review. IEEE Geosci. Remote Sens. Mag. 2017,5, 8–32. [CrossRef] 44. ROSIS. Hyperspectral Remote Sensing Scenes. 2013. Available online: http://www.ehu.eus/ccwintco/ index.php/Hyperspectral_Remote_Sensing_Scenes (accessed on 13 August 2020). 45. Micasense RedEdge multispectral camera. Available online: https://micasense.com/rededge-mx/ (accessed on 13 August 2020). 46. Bascoy, P.G.; Garea, A.S.; Heras, D.B.; Argüello, F.; Ordóñez, A. Texture-based analysis of hydrographical basins with multispectral imagery. In Remote Sensing for Agriculture, Ecosystems, and Hydrology XXI; International Society for Optics and Photonics: Bellingham, WA, USA, 2019; Volume 11149, p. 111490Q. 47. Tong, X.Y.; Xia, G.S.; Lu, Q.; Shen, H.; Li, S.; You, S.; Zhang, L. Learning transferable deep models for land-use classification with high-resolution remote sensing images. arXiv 2018, arXiv:1807.05713. 48. He, L.; Li, J.; Liu, C.; Li, S. Recent advances on spectral–spatial hyperspectral image classification: An overview and new guidelines. IEEE Trans. Geosci. Remote Sens. 2017,56, 1579–1597. [CrossRef] 49. Pontius Jr, R.G.; Millones, M. Death to Kappa: Birth of quantity disagreement and allocation disagreement for accuracy assessment. Int. J. Remote Sens. 2011,32, 4407–4429. [CrossRef] 50. Chang, C.C.; Lin, C.J. LIBSVM: A library for support vector machines. ACM Trans. Intell. Syst. Technol. 2011 , 2, 27:1–27:27. Available online: http://www.csie.ntu.edu.tw/~cjlin/libsvm (accessed on 13 August 2020). [CrossRef] 51. Bradski, G. The OpenCV Library. Dr. Dobb’s J. Softw. Tools 2000,25, 120–125. 52. López-Fandiño, J.; Quesada-Barriuso, P.; Heras, D.B.; Argüello, F. Efficient ELM-based techniques for the classification of hyperspectral remote sensing images on commodity GPUs. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2015,8, 2884–2893. [CrossRef] © 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).