Full text
Ecological Indicators 163 (2024) 112110 Available online 8 May 2024 1470-160X/© 2024 The Authors. Published by Elsevier Ltd. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/bync-nd/4.0/). Original Articles Spectral–Spatial transformer-based semantic segmentation for large-scale mapping of individual date palm trees using very high-resolution satellite data Rami Al-Ruzouq a , Mohamed Barakat A. Gibril a , * , Abdallah Shanableh a , Jan Bolcek a , b , Fouad Lamghari c , Nezar Atalla Hammour d , e , Ali El-Keblawy f , Ratiranjan Jena a a GIS and Remote Sensing Center, Research Institute of Sciences and Engineering, University of Sharjah, Sharjah 27272, United Arab Emirates b Department of Radio Electronics, Faculty of Electrical Engineering and Communication, Brno University of Technology, Brno-Kralovo pole 61600, Czech Republic c Fujairah Research Centre, Al-Hilal Tower, 3003, P.O. Box 666 Fujairah, United Arab Emirates d Department of Applied Physics and Astronomy, Faculty of Science, University of Sharjah, Sharjah 27272, United Arab Emirates e Department of Earth and Environmental Sciences, Prince El-Hassan Bin Talal Faculty for Natural Resources & Environment, The Hashemite University, Zarqa 13133, Jordan f Department of Applied Biology, College of Sciences, University of Sharjah, Sharjah P.O. Box 2727, United Arab Emirates ARTICLE INFO Keywords: Tree crown delineation Semantic segmentation Vision transformers Deep learning ABSTRACT Date palm plantations in the United Arab Emirates (UAE) are under threat from soil salinity, drought, and date palm weevils. Accordingly, monitoring and conserving date palms are crucial to preserving a vital component of the country’s agricultural heritage, economy, food security, and ecological balance. Previous studies have effectively identified date palm trees using RGB-based aerial and UAV imagery utilizing diverse deep learning methods. However, the utilization of very high-resolution satellite data for delineating individual date palm crowns remains unexplored due to the limited spatial resolution capabilities of existing satellite systems. This study primarily aimed to achieve precise and comprehensive mapping of date palm trees using WorldView-3 (WV-3) satellite data by leveraging the high representational power of the state-of-the-art vision transformers (ViT) in capturing global information from the input data. First, an in-depth analysis assessment of the various transformer-based semantic segmentation architectures, including UperNet with vision transformer and Swin transformer, SegFormer, Mask2Former, and UniFormer, was conducted. Second, the integration of spectral data on the performance of ViTs was evaluated. Moreover, the models’ generalizability and complexity effect on the segmentation effectiveness were assessed. Accordingly, a postprocessing strategy was developed to aid in delineating and counting date palm trees from semantic segmentation outputs. Results demonstrated that integration of WV-3 spectral data into the analysis resulted in a marked improvement in segmentation quality. The UniFormer, UperNet-Swin, and Mask2Former models demonstrated considerable improvements in multispectral data analysis, with increases in mean intersection over union (mIoU) of 2.17% (77.88% mIoU, 86.01% mean F- score [mF-score]), 2% (78.10% mIoU, 86.18% mF-score), and 1.15% (77.36% mIoU, 85.59% mF-score), respectively, compared with their RGB-based results. Evaluations of model transferability also indicated that Mask2Former, UniFormer, and UperNet-Swin transformers efficiently adapted to multispectral data in the Dibba region. These models achieved mIoU scores of 84.36%, 84.25%, and 83.17% and mF-scores of 90.95%, 90.87%, and 90.13%, highlighting their effectiveness and potential for broader regional application. This research highlights the efficacy and feasibility of using ViTs with WV-3 multispectral data for accurate and comprehensive surveying of date palm plantations, enabling the development of palm tree inventories and continuously updating geospatial databases. * Corresponding author. E-mail address: [email protected] (M.B.A. Gibril). Contents lists available at ScienceDirect Ecological Indicators journal homepage: www.elsevier.com/locate/ecolind https://doi.org/10.1016/j.ecolind.2024.112110 Received 8 February 2024; Received in revised form 15 April 2024; Accepted 2 May 2024
Ecological Indicators 163 (2024) 112110 2 1. Introduction 1.1. Background The 2021 statistics of the Food and Agriculture Organization (FAO) indicated that approximately 9.66 million tons of date palms were produced, covering an area of 1.3 million hectares (FAO, 2023). The United Arab Emirates (UAE) is among the top ten producing countries, with almost 40 million trees distributed across the UAE (El-Juhany, 2010). Date palm trees are an important part of UAE’s cultural heritage and a vital agricultural resource. Thus, accurate mapping of date palm plantations across the country is imperative to effectively and sustainably monitor and manage this pivotal agricultural asset. Traditional methods for date palm tree inventory development, such as on-site surveys and visual examination of aerial photographs, are costly, laborious, and time-consuming. Remote sensing techniques provide a more cost-efficient approach, offering detailed data with versatile temporal and spatial resolutions (Hartling et al., 2019). Remote sensing using unmanned aerial vehicles (UAVs), increasingly adopted in numerous studies focusing on date palms for its superior spatial and temporal resolutions and precise positional accuracy, aids in the precise detection and mapping of date palm trees (Ammar et al., 2021; Gibril et al., 2022; Jintasuttisak et al., 2022; Gibril et al., 2023). Unlike earthobserving satellites, UAVs have limited area coverage and are constrained by weather conditions and flying restrictions (Ozdarici-ok and Ok, 2023). Satellite remote sensing provides a comprehensive view, enabling repeated observations and extensive coverage across vast regions. Combining satellite and UAV data could result in a more comprehensive and in-depth assessment of date palm trees. A diverse range of machine learning algorithms has been established and utilized to localize and chart tree crowns using data derived from remote sensing in automatic and semi-automatic manners (Al-Ruzouq et al., 2018; Ghasemi et al., 2022; Ji et al., 2022; Qin et al., 2022; Zhang et al., 2023; H. Zhao et al., 2023). In recent years, computer vision techniques based on deep learning, primarily convolutional neural networks (CNNs), have become increasingly prevalent for individual tree crown (ITC) delineating from very high-resolution (VHR) remotely sensed images. This prevalence can be attributed to the remarkable capability of these methods to automatically extract intricate high-level features and complex patterns from the input image datasets, substantially enhancing the efficacy and robustness of the models (Gibril et al., 2022; Zheng et al., 2023). CNNs have demonstrated outstanding performance in various ITC studies (H. Zhao et al., 2023) due to their distinctive architecture, which includes localized receptive fields, weight sharing, and the process of subsampling (Kattenborn et al., 2021). CNN-based models are typically used to undertake different tasks to detect and delineate tree species. Some widely used tasks include object detection (Zheng et al., 2021; Zheng and Wu, 2022; Cai et al., 2023; Velasquez-camacho and Etxegarai, 2023), instance (Braga et al., 2020; Yang et al., 2022b; Ball et al., 2023; Hao et al., 2023), and semantic segmentation (Freudenberg et al., 2022; Gibril et al., 2023). Numerous semantic segmentation models based on CNNs, a set of encoder–decoder deep learning architectures that are used to perform pixel-wise classification, has been developed and utilized to outline tree canopies from different types of remotely sensed data (Bhatnagar et al., 2020; Cao and Zhang, 2020; Kentsch et al., 2020a; Kentsch et al., 2020b; Torres et al., 2020; Wagner et al., 2020; Wu and Misra, 2020; Xiao et al., 2020; Akca and Polat, 2022; Sun et al., 2023). Freudenberg et al. (2022) utilized a two-step approach based on U-Net architecture for ITC from WorldView-3 (WV-3) satellite data (acquired in Bengaluru, India) and aerial imagery (acquired in a densely forested area near Gartow, Germany). Their approach involves extracting tree crowns with an intersection-over-union (IoU) of 71.2 % on the satellite data and an IoU of 81.9 ±2.2% on the aerial imagery. Semantic segmentation architectures, with different backbone networks, commonly utilized for tree crown delineation in recent years include the U-Net (Freudenberg et al., 2019; Kentsch et al., 2020a; Wagner et al., 2019,2020; Liu,Wang,and Wang, 2019; Kentsch et al., 2020b; Schiefer et al., 2020) and Deep- LabV3+(Ayhan and Kwan, 2020; Ferreira et al., 2020; Cheng,Qi,and Cheng, 2021). Given that convolutions process images by examining local areas, their design inherently restricts them from grasping the global context of an entire image in a single operation, potentially diminishing accuracy, especially in scenarios where the input images exhibit intricate relationships between pixels (Fayad et al., 2024). Recently, the field of remote sensing has experienced an increasing adoption of diverse vision transformers (ViT) for a variety of tasks (Abozeid et al., 2022; Fan et al., 2022; Mekhalfi et al., 2022; Sun et al., 2022; L. Yang et al., 2022; Zhou et al., 2022; Li et al., 2023; Yi et al., 2023; Zhao et al., 2023b; Jamali et al., 2024). In contrast to CNNs, operations within ViTs are inherently parallel and sequence-independent, allowing ViTs to efficiently gather comprehensive contextual information and attain a superior level of representational capability (Xia et al., 2022; Zhou et al., 2022). Additionally, encoders constructed with ViTs maintain a uniform dimensional representation throughout the processing phases, thus circumventing the necessity for explicit down-sampling operations (Fayad et al., 2024). Recently, an increasing number of studies have utilized various ViTs in the fields of plant disease detection (Chang et al., 2024; Li et al., 2024; Rezaei et al., 2024), fruit identification (Bai et al., 2024; Liu et al., 2024), canopy height mapping (Fayad et al., 2024; Tolan et al., 2024), and crown delineation studies. 1.2. Related work Transformer-based models are increasingly utilized in ITC research for a variety of visual tasks, including instance segmentation (Gibril et al., 2022; Dersch et al., 2023; Firoze et al., 2023), object detection (Dersch et al., 2022; Zhang et al., 2022), and tree counting (Chen and Shang, 2022; Amirkolaee et al., 2023). Dersch et al. (2023) utilized the transformer-based instance segmentation approach detection transformer (DETR) to delineate ITCs in mixed forest areas utilizing multispectral UAV images and UAV-derived LiDAR data. The authors conducted experiments with two-channel selections – RGB and Color- Infrared (CIR) – using DETR and achieved the highest mean F-scores (mF-scores) on the CIR dataset, attaining 90 % in coniferous forests, 81 % in deciduous, and 84 % in mixed forests. Zhang et al. (2022) used a Faster R-CNN with a Swin transformer and ResNet-50 backbone for identifying individual trees from VHR aerial images. The study examined the performance of the models in diverse environments and observed their highest performance in street areas. Chen and Shang (2022) introduced a density transformer designed for the automated counting of trees in aerial photographs and evaluated its efficacy against several leading-edge algorithms. Their proposed transformer-based method showed promising results, surpassing the performance of various existing state-of-the-art techniques. Amirkolaee et al. (2023) introduced a semi-supervised methodology based on a transformer architecture (encoder–decoder design) for tree counting. Their network’s encoder, designed to extract features at multiple scales, utilized a pyramid vision transformer (Wang et al., 2021). Despite utilizing the same quantity of labeled images, this novel approach outperformed existing semi-supervised and fully-supervised techniques in performance. Fu et al. (2023) examined the performance of two algorithms, namely, adaptive stacking ensemble learning (ASEL) and multi-path vision transformer for dense prediction (MPViT), for mangrove species mapping from multispectral UAV-based images. The study showed that MPViT outperformed ASEL and achieved 95.5 %–97.3 % of the overall classification accuracy. Zhou et al. (2022) proposed a semi-automatic workflow-based TransUNet to detect and characterize broccoli canopy and heads from the RGB imagery and LiDAR data. Their results showed that the proposed transformer-based framework outperformed three CNN-based and two shallow learning-based techniques. Zhang and Liu (2024) introduced a dual-branch network designed to segment street R. Al-Ruzouq et al.
Ecological Indicators 163 (2024) 112110 3 trees using high-resolution satellite imagery. They integrated dilated convolutional layers in parallel with transformer blocks to improve the network’s capacity for extracting features across multiple scales. He et al. (2024) leveraged the CNN-based network (improved EfficicentNet- V2) and transformer-based network (CSwin transformer) to capture local and global semantic information for citrus tree canopy segmentation from 3D data obtained from UAV. Their approach showed superior performance than using some CNN only and some transformer-based only. A broad spectrum of studies has focused on detecting palm trees from multiplatform aerial orthophotos using CNNs (Culman et al., 2020; Gibril et al., 2021; Ammar et al., 2021; Gibril et al., 2022; Jintasuttisak et al., 2022). Gibril et al., (2022,2023, & 2024) demonstrated that ViTs outperformed various CNN-based architectures for the semantic and instance segmentation of individual date palms from multiplatform aerial images. Gibril et al. (2022) comprehensively evaluated various instance segmentation architectures to identify and outline individual palm trees through multiscale drone-based images. The authors evaluated a range of networks, including Mask R-CNN with different CNN- based and Swin transformer backbones, SOLO, SOLOv2, YOLACT, and Mask Scoring R-CNN. The transformer-based model, Mask R-CNN with Swin transformer backbones, exhibited superior performance, surpassing CNN-based models. Gibril et al. (2023) examined the realiability of various vision transformer to extract date palm trees from multiscale UAV and aerial images. Their results showed that transformer-based models achived an mF-score ranging from 91.62 % to 92.44 %. Among the evaluated models, the SegFormer model outperformed all of the evaluated CNN-based models in the multiscale and the independent testing datasets, followed by the UperNet-Swin transformer. Gibril et al. (2024) presented a transformer-based method to delineate, countify, and assess the health of individual date palm trees from large-scale UAV data. The proposed method is based on the synergy between an improved multiscale ViT (MViTv2), a feature pyramid network, Mask R- CNN, and an improved slicing-aided hyper inference module. The model, which was initially developed to delineate date palm trees, was then fine-tuned to assess the health of the date palm trees. This architecture outperformed various instance segmentation models, achieving an F-score of 94.2 % for segmentation and 88.4 % for health assessment. Previous research on mapping and monitoring palm trees based on deep learning has predominantly utilized drone-based and aerial imagery with spatial resolutions ranging from 2 cm to 20 cm. Distinguishing the crowns of palm trees in heterogeneous landscapes intensifies as the data’s ground space distance (GSD) becomes coarser. This increased difficulty can adversely affect the performance of semantic segmentation models, potentially hindering their ability to accurately recognize individual date palm trees. The feasibility of utilizing VHR satellite imagery to extract date palm trees from satellite images has yet to be thoroughly investigated. This work mainly aims to introduce an effective deep learning methodology for extensive, detailed and accurate regional surveys of date palm distribution, utilizing the VHR WV-3 satellite imagery across multiple cities. Accurate mapping and quantification of individual date palms across regions enables the automated development of date palm tree inventories and can provide insights into their health and genetic diversity. These data are crucial for developing conservation measures and ensuring sustainable cultivation in their natural habitats. The specific objectives of this study are to (1) evaluate the performance of different deep ViTs in regional surveying of date palms using WV-3 satellite data, (2) investigate the influence of spectral data integration on the efficacy of the evaluated ViTs, (3) assess model generalizability across varied geographic regions, and (4) develop a novel postprocessing technique for individual date palm tree delineation and quantification. 2. Materials and methods 2.1. Overview The research methodology encompasses five main stages (Fig. 1). Initially, WV-3 satellite data tiles were preprocessed, including atmospheric correction, image pansharpening, and data normalization. The second stage involved manually annotating date palm trees; dividing the data into training, validation, and testing regions; and generating imagemask pairs. The third stage consisted of comprehensive experiments to assess the efficacy of several advanced ViTs in delineating date palm trees in WV-3 satellite imagery, utilizing spatial and spectral information. The evaluated ViTs in this study are UperNet (Xiao et al., 2018) with vision transformer (Kolesnikov et al., 2021) and Swin transformer (Liu et al., 2021), SegFormer (Xie et al., 2021), Mask2Former (Cheng et al., 2022), and UniFormer (Li et al., 2022). Training and evaluation of these models were conducted using diverse data inputs, including RGB, a combination of RGB with NIR1 and NIR2, eight multispectral channels, and an amalgamation of these channels with NDVI. In the fourth Fig. 1. Methodological framework of this work. R. Al-Ruzouq et al.
Ecological Indicators 163 (2024) 112110 4 stage, the adaptability of these models to various WV-3 datasets from different locations in Dibba, collected on different dates, was examined to determine their generalization capabilities. The final step proposes a data postprocessing technique for counting and delineating individual date palm trees. Fig. 2. Location of the experimental sites: (a) UAE emirates, (b) detailed zoom of the study sites, and (c–e) enhanced zoom levels highlighting the date palm trees as seen in multiple WV-3 images. Fig. 3. Variations in date palm trees in terms of crown size, shape, height, and the surrounding environments. R. Al-Ruzouq et al.
Ecological Indicators 163 (2024) 112110 5 2.2. Study areas The experimental sites are situated across various cities in the UAE, including Fujairah, Sharjah, and Ajman (Fig. 2a and 2b). Specifically, the areas are located in east Ajman, Al Zubair, Kalba, Dibba, and Masafi. Collectively, these areas encompass an area of 275 km 2 , distributed as follows: Ajman and Sharjah cover an area of 38.6 km 2 , Kalba encompasses an area of 93 km 2 , Dibba is 77.1 km 2 , and Masafi spans an area of 66.3 km 2 . The study sites host a diverse array of tree and vegetation species, including the date palm (Phoenix dactylifera L.), ghaf (Prosopis cineraria), Mesquite (Prosopis juliflora), Sidr or Christ’s thorn jujube (Ziziphus spina-christi), umbrella thorn acacia (Acacia tortilis), and neem (Azadirachta indica), among various shrubs and other flora. Fig. 2c–e display close-up views of the regions marked by cyan circles, highlighting different date palm trees in WV-3 satellite data. In the preliminary analysis stage, a comprehensive field campaign was conducted to thoroughly understand the locations, distributions, and visual characteristics of date palm trees. This campaign was also crucial for gaining insight into the study area’s broader geographic and environmental contexts, such as vegetation and tree species’ terrain, variety, and surroundings. The ArcGIS Field Map mobile application was utilized to record and manage observations throughout the field visits. The coordinates for the date palm plantations within the study areas were documented. The date palm trees displayed a considerable variation in crown shape and size, age, height, density, and the surrounding landscape characteristics (Fig. 3). 2.3. Data acquisition and preprocessing In this research, a total of 20 multidate VHR WV-3 satellite image tiles were utilized. The WV-3 dataset features eight spectral bands with a GSD of 1.24 m alongside a panchromatic band with a 0.31 m GSD. The WV-3 imagery for the different sites was acquired in Ajman and Sharjah city in March 2021, Kalba in August 2022, Dibba in November 2019, and Masafi in September 2019. Table 1 lists the general characteristics of the WV-3 data. The processing of the WV-3 data comprised several stages. First, atmospheric correction was conducted using the FLAASH method. Second, the spatial resolution of the multispectral data was improved through the application of the Gram–Schmidt pansharpening technique. Thereafter, the bit depth of the data underwent conversion from 11 bit to 8 bit, standardizing the image values within a 0–255 range. Conducting precise, large-scale mapping of date palm trees utilizing WV-3 satellite data with classical machine learning techniques, which primarily depend on the spectral information of the data, encounter notable shortcomings. Some expected challenges include misclassification and a decrease in generalizability, which may result from substantial variations in acquisition dates and illumination conditions of the acquired satellite data. Fig. 4 illustrates the average pixel values of Table 1 Characteristics of the WV-3 data. Channel Wavelength range (nm) GSD (m) Panchromatic 450–800 0.31 Coastal 400–450 1.24 Blue 450–510 1.24 Green 510–580 1.24 Yellow 585–625 1.24 Red 630–690 1.24 Red Edge 705–745 1.24 NIR-1 770–895 1.24 NIR-2 860–1,040 1.24 Fig. 4. Average pixel values of comprehensive date palm trees derived from various channels of the WV-3 dataset. R. Al-Ruzouq et al.
Ecological Indicators 163 (2024) 112110 6 diverse date palm trees, derived from various channels of the preprocessed WV-3 dataset, based on an analysis of 76,950 individual date palm trees. Furthermore, the date palms within the study area exhibited a wide range of crown sizes, structures, ages, and health states, adding another layer of complexity to the mapping process. Therefore, this study attempts to leverage spectral, spatial, and global contextual information through the utilization of state-of-the-art ViTs to ensure accurate large-scale mapping of date palm trees from different WV-3 datasets. 2.4. Data preparation for semantic segmentation The WV-3 images featuring date palm trees from Ajman and Kalba were manually outlined using ground-truth data and visual interpretation of VHR aerial images to train and assess different transformer-based deep learning models. The preparation of ground truth data was Fig. 5. Examples of (a), (b), and (c) image tiles, and the corresponding annotations (A, B, C) were selected from the training datasets. Fig. 6. Steps involved in postprocessing to delineate and enumerate separate date palm trees. R. Al-Ruzouq et al.
Ecological Indicators 163 (2024) 112110 7 comprehensive and aimed to include large areas with diverse variations in date palm trees, such as palm type, canopy size, elevation, age, and adjacent environments. Delineating smaller date palm trees was challenging due to the satellite data’s limited spatial resolution. The manual verification of delineated palms, serving as ground-truth data, was thoroughly conducted by analysts using VHR aerial and UAV imagery from various locations in the study area and revised by multiple annotators for quality assurance. The vector data encompassed a total of 76,950 date palm trees scattered across agricultural and urban landscapes. The WV-3 data and its annotations were cropped into consistent 512 ×512 image tiles. A total of 16,260 image tiles were dedicated to developing deep learning models. Meanwhile, approximately 1800 images were kept for evaluating and testing the models. Fig. 5 displays a set of image tiles and their corresponding labels (masks) chosen from the training dataset. 2.5. Semantic segmentation architectures Various transformer-based semantic segmentation architectures were subjected to training and evaluation, utilizing a diverse array of spectral image composites (i.e., standard RGB, an integration of RGB with NIR1 and NIR2 bands, to eight distinct multispectral channels, and a fusion of these channels with the NDVI). The evaluated semantic segmentation models include UperNet (Xiao et al., 2018) based on ViT backbone, UperNet based on Swin transformer (Liu et al., 2021), Mask2Former (Cheng et al., 2022), SegFormer (Xie et al., 2021), and UniFormer (Li et al., 2022). The models were implemented utilizing the PyTorch (Paszke et al., 2019) and MMsegmentation (MMsegmentation, 2020) framework. The following subsections offer a brief description of the aforementioned models. 2.5.1. UperNet-ViT The UperNet, an encoder–decoder network for semantic segmentation developed by Xiao et al. (2018), is based on a feature pyramid network (FPN) framework (Lin et al., 2017). This framework integrates a pyramid pooling module (PPM) from the PSPNet (Zhao et al., 2017). The FPN facilitates a dual process involving the downsampling of feature maps through a bottom-up pathway and subsequent upsampling via a top-down mechanism connected through lateral linkages. This bottomup pathway generates feature maps across multiple scales, contingent on the architecture of the chosen backbone architecture. The spatial dimensions of the extracted features are effectively doubled by the topdown path. This configuration facilitates the amalgamation of features that are low in resolution yet rich in semantic content with those that Table 2 List of the utilized hyperparameters. UperNet based on ViT and Swin transformer and SegFormer UniFormer Mask2Former Optimizer SGD AdamW AdamW Loss Cross entropy Cross entropy Cross entropy Pretrained weights AED20K AED20K AED20K Initial learning rate 0.01 0.0001 0.0001 Momentum 0.9 0.9 0.9 Weight decay 0005 0.0001 0.05 Batch size 2 2 2 L.R. scheduler PolyLR (power = 0.9, begin =1500, and end =160,000) LinearLR (power =0.9, begin = 1500, and end = 160,000) PolyLR (power = 0.9, begin =1500, and end =160,000) Fig. 7. (a) Training time, (b) loss graph, (c) mIoU, and (d) mF-score. R. Al-Ruzouq et al.
Ecological Indicators 163 (2024) 112110 8 possess high resolution but comparatively weaker semantic strength. The effectiveness of UperNet, utilizing ViT and Swin transformer backbones, was assessed in this study. The structure of ViT comprises an embedding layer, a transformer encoder with several identical layers, and a head classifier. First, ViT splits an image into uniform square patches (i.e., 16 ×16 or 32 ×32 sizes), with each patch processed as a token. These patches are then converted into 1D vector sequences via a learnable linear projection of dimension E, and positional embeddings are added to retain their location information. This sequence is subsequently inputted into the transformer encoder. Every transformer encoder contains a multi-head self-attention (MSA) block and a dense feedforward block. A residual connection supports each sublayer, followed by layer normalization of the output. The MSA block comprises four components: an initial linear layer, a self-attention layer, a concatenation layer that merges the outputs from various attention heads, and a final linear layer. Self-attention involves calculating attention scores reflecting the patch embeddings’ relationships. A position-wise feedforward network is applied to each patch embedding by leveraging the self-attention mechanism. The transformed encoder’s output is then fed into the classification head, which performs the classification of the input image, utilizing the feature representations derived from the encoded patch embeddings. 2.5.2. UperNet-Swin transformer The Swin transformer, a hierarchical transformer structured in multiple stages, utilizes a “shifted window” technique to derivate its representations. This approach allows the extraction of features at various levels, thereby efficiently capturing the extensive dependencies inherent in the dataset (Liu et al. 2021). The “shifted windowing” technique enhances computational efficiency by confining the selfattention mechanism to distinct, non-overlapping local windows. This method promotes the establishment of interconnections between these windows. The Swin transformer’s four-stage design encompasses various processes, including multiscale feature map extraction, patch partitioning, merging of patches, linear embedding, and implementing Swin transformer blocks. The patch partition module initially divides the original image into distinct, non-overlapping patches, with each patch being processed as an individual token. These tokens combine raw pixel data from multiple channels to form their feature representation. This raw feature is then transformed through a linear embedding layer into a feature vector of a specified dimension (C). Finally, these patch tokens undergo processing by a series of transformer blocks, aiding the development of feature representations. The Swin transformer block comprises three main components: window MSA, shifted window MSA, and a multilayer perceptron (MLP). After each stage, the architecture uses a patch merging layer to reduce the token count and create a hierarchical representation. This model’s “tiny” variant was chosen as the foundational architecture for the UperNet framework, which consists of {2, 2, 6, 2} layers across its four stages, and it operates with a feature dimension (C) of 96. The readers may refer to Liu et al. (2021) for additional details about the design and variations of the Swin transformer. 2.5.3. Mask2Former The Mask2Former (Cheng et al., 2022) is a universal architecture for versatile tasks, such as semantic segmentation, panoptic segmentation, and instance segmentation. Mask2Former is constructed using a simple meta-architecture encompassing a backbone network, a pixel decoder, and a transformer decoder. The backbone’s architecture can be designed using either CNN (i.e., residual learning networks) or transformer-based frameworks. In this work, the adopted backbone network was based on the Swin transformer (Liu et al., 2021), considering its efficiency in capturing global and local features. The pixel decoder of Mask2Former utilizes a multiscale deformable attention transformer (MSDeformAttn) (Zhu et al. 2020) to effectively incorporate low- and high-resolution features, optimizing the computational efficiency. The transformer decoder in Mask2former uses a masked attention mechanism, focusing entirely on local features surrounding the predicted segments rather than processing the entire feature map. In this study, the “tiny” version of the Swin transformer was selected to serve as the backbone architecture for the Mask2former. Readers can refer to the work by Cheng et al. (2022) for more insights into the design and variations of the Mask2Former. 2.5.4. SegFormer SegFormer (Xie et al., 2021), which is a robust and effective transformer-based semantic segmentation architecture, has demonstrated remarkable performance in various remote sensing applications (Tang et al., 2022; Gibril et al., 2023; Gonçalves et al., 2023; Jiang et al., 2023). SegFormer is designed using encoder–decoder design, uniquely integrating Transformers with a lightweight MLP-based decoder. The encoder extracts multiscale features using four distinct transformer blocks. Each block entails three integral modules: an efficient selfattention mechanism, a mixed feedforward network (FFN) (known as Mix-FFN), and merging blocks for overlapping patches. Contrary to the conventional ViT that utilizes fixed resolution position encodings (P.E.s) for positional information integration, the SegFormer adopts convolutional layers in its FFN for a data-dependent approach to positional encoding. The decoder fuses multiscale information, encompassing local and global details, to accurately predict the final segmentation outcomes. This study selected a mix transformer (MiT) encoder based on B3 (MiT-B3). Further information can be found in the study by Xie et al. (2021). 2.5.5. UniFormer The unified transformer (Li et al., 2022) leverages the capabilities of CNNs and transformers to mitigate each approach’s limitations, achieving an optimal balance between computational efficiency and accuracy. A basic transformer format (Vaswani et al., 2017) is utilized and customized for efficient and effective learning of spatiotemporal representations. The UniFormer block consists of three main modules: dynamic position embedding (DPE), multi-head relation aggregator Table 3 Quantitative evaluation of the transformer-based semantic segmentation models. Metrics RGB (%) RGB þ NIR1 þ NIR2 (%) Eight MS bands (%) Eight MS bands þ NDVI (%) SegFormer-MiT- B3 mAcc 85.29 85.69 86.89 85.60 mIoU 76.16 76.54 76.62 76.47 mPrecision 83.92 84.16 83.27 84.15 mRecall 85.29 85.69 86.89 85.60 mF-score 84.59 84.91 84.98 84.86 UperNet-ViT mAcc 83.41 74.29 78.06 78.13 mIoU 75.04 68.99 71.57 71.64 mPrecision 83.87 83.09 83.46 83.51 mRecall 83.41 74.29 78.06 78.13 mF-score 83.64 77.98 80.51 80.57 UperNet-Swin- tiny mAcc 85.84 86.81 86.93 85.64 mIoU 76.12 76.78 78.10 76.65 mPrecision 83.38 83.57 85.46 84.38 mRecall 85.84 86.81 86.93 85.64 mF-score 84.56 85.12 86.18 85.0 Mask2Former- Swin-tiny mAcc 85.11 84.23 87.54 85.41 mIoU 76.21 75.28 77.36 75.73 mPrecision 84.17 83.48 83.85 83.14 mRecall 85.11 84.23 87.54 85.41 mF-score 84.63 83.85 85.59 84.24 UniFormer mAcc 83.58 86.86 88.30 86.33 mIoU 75.71 77.51 77.88 77.34 mPrecision 84.86 84.62 84.00 84.83 mRecall 83.58 86.86 88.3 86.33 mF-score 84.21 85.70 86.01 85.56 R. Al-Ruzouq et al.
Ecological Indicators 163 (2024) 112110 9 (MHRA), and feedforward network (FFN). The DPE actively incorporates 3D positional data into each token, efficiently leveraging the spatiotemporal sequence of the tokens for video modeling purposes. The MHRA combines each token with its contextual counterparts, which handles local redundancy and global dependency in videos through its adaptable approach to token affinity learning across shallow and deep layers. Although the local MHRA in the shallow layers significantly lessens the computational burden, the global MHRA in the deeper layers focuses on comprehensively learning global token relationships. The reader may refer to Li et al. (2022) for the detailed information about the UniFormer architecture. 2.6. Accuracy metrics This study evaluated the efficacy of various semantic segmentation architectures through multiple accuracy metrics. These metrics determine the congruence between the reference tree crowns and the predicted\delineated tree crowns by ViTs. The combination of the various semantic segmentation evaluation metrics provides a thorough understanding of the results of date palm tree mapping, highlighting the errors and limitations of the different models. The utilized metrics include mIoU, precision, recall, and mF-score and are detailed in Equations (1)– (6). The IoU and F-score are commonly utilized metrics in ITC studies to assess the level of agreement between deep learning model results and ground-truth data. These metrics range from zero to one or hundred, Fig. 8. Curated selection of seven multispectral images (a–g) randomly chosen from the testing data, accompanied by their corresponding reference data and the experimental results. R. Al-Ruzouq et al.
Ecological Indicators 163 (2024) 112110 16 management and monitoring date palm trees. CRediT authorship contribution statement Rami Al-Ruzouq: Writing – review & editing, Writing – original draft, Supervision, Project administration, Methodology, Investigation, Formal analysis, Conceptualization. Mohamed Barakat A. Gibril: Writing – review & editing, Writing – original draft, Visualization, Validation, Software, Methodology, Formal analysis, Data curation, Conceptualization. Abdallah Shanableh: Writing – review & editing, Supervision, Resources, Conceptualization. Jan Bolcek: Writing – original draft, Validation, Software, Methodology, Formal analysis. Fouad Lamghari: Writing – review & editing, Supervision, Project administration, Funding acquisition, Conceptualization. Nezar Atalla Hammour: Writing – review & editing, Supervision, Conceptualization. Ali El-Keblawy: Writing – review & editing, Writing – original draft, Supervision, Conceptualization. Ratiranjan Jena: Writing – review & editing, Methodology, Formal analysis. Declaration of competing interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. Data availability The like to the code is given in the manuscript Acknowledgments The authors express their appreciation to the Fujairah Research Centre (FRC) for its financial support (Funded Project Number: 133049) and to the University of Sharjah for offering research facilities. References “Food and Agriculture Organization.” FAOSTAT [Internet]. [accessed 2021 Mar 9]. http://www.fao.org/faostat/en/#data/QC. Abozeid, A., Alanazi, R., Elhadad, A., Taloba, A.I., Abd El-Aziz, R.M., 2022. A large-scale dataset and deep learning model for detecting and counting olive trees in satellite imagery. Comput Intell Neurosci. 2022 https://doi.org/10.1155/2022/1549842. Akca S, Polat N. 2022. Semantic segmentation and quantification of trees in an orchard using UAV orthophoto. Earth Sci Informatics 2022 154 [Internet]. [accessed 2022 Nov 28] 15(4):2265–2274. https://doi.org/10.1007/S12145-022-00871-Y. Al-Ruzouq, R., Shanableh, A., Barakat, A., Gibril, M., AL-Mansoori, S., 2018. Image segmentation parameter selection and ant colony optimization for date palm tree detection and mapping from very-high-spatial-resolution aerial imagery. Remote Sens [internet]. 10 (9), 1413. https://doi.org/10.3390/rs10091413. Amirkolaee, H.A., Shi, M., Member, S., Mulligan, M., 2023. TreeFormer : a semisupervised transformer-based framework for tree counting from a single. IEEE Trans Geosci Remote Sens. 61, 1–15. https://doi.org/10.1109/TGRS.2023.3295802. Ammar, A., Koubaa, A., Benjdira, B., 2021. Deep-learning-based automated palm tree counting and geolocation in large farms from aerial geotagged images. Agronomy [internet]. 11 (8), 1458. https://doi.org/10.3390/agronomy11081458. Ayhan, B., Kwan, C., 2020. Tree, shrub, and grass classification using only RGB images. Remote Sens. 12 (8) https://doi.org/10.3390/RS12081333. Bai, Y., Yu, J., Yang, S., Ning, J., 2024. An improved YOLO algorithm for detecting flowers and fruits on strawberry seedlings. Biosyst Eng [internet]. 237(June 2023): 1–12 https://doi.org/10.1016/j.biosystemseng.2023.11.008. Ball JGC, Hickman SHM, Jackson TD, Koay XJ, Hirst J, Jay W, Archer M, Coomes DA. 2023. Accurate delineation of individual tree crowns in tropical forests from aerial RGB imagery using Mask R-CNN. :1–14. https://doi.org/10.1002/rse2.332. Bhatnagar, S., Gill, L., Ghosh, B., 2020. Drone image segmentation using machine and deep learning for mapping raised bog vegetation communities. Remote Sens. 12 (16) https://doi.org/10.3390/RS12162602. Braga, J.R.G., Peripato, V., Dalagnol, R., Ferreira, M.P., Tarabalka, Y., Arag˜ ao, L.E.O.C., de Campos Velho, H.F., Shiguemori, E.H., Wagner, F.H., 2020. Tree crown delineation algorithm based on a convolutional neural network. Remote Sens. 12 (8), 1–27. https://doi.org/10.3390/RS12081288. Cai C, Xu H, Chen S, Yang L, Weng Y, Huang S, Dong C, Lou X. 2023. Tree Recognition and Crown Width Extraction Based on Novel Faster-RCNN in a Dense Loblolly Pine Environment. Cao, K., Zhang, X., 2020. An improved Res-UNet model for tree species classification using airborne high-resolution images. Remote Sens. 12 (7) https://doi.org/ 10.3390/rs12071128. Chang, B., Wang, Y., Zhao, X., Li, G., Yuan, P., 2024. A general-purpose edge-feature guidance module to enhance vision transformers for plant disease identification. Expert Syst Appl [internet]. 237, 121638 https://doi.org/10.1016/j. eswa.2023.121638. Chen, G., Shang, Y., 2022. Transformer for tree counting in aerial images. Remote Sens. 14 (3), 476. https://doi.org/10.3390/rs14030476. Cheng B, Misra I, Schwing AG, Kirillov A, Girdhar R. 2022. Masked-attention Mask Transformer for Universal Image Segmentation. Proc IEEE Comput Soc Conf Comput Vis Pattern Recognit. 2022-June:1280–1289. https://doi.org/10.1109/ CVPR52688.2022.00135. Cheng, Z., Qi, L., Cheng, Y., 2021. Cherry tree crown extraction from natural orchard images with complex backgrounds. Agriculture [internet]. 11 (5), 431. https://doi. org/10.3390/agriculture11050431. Culman, M., Delalieux, S., Van Tricht, K., 2020. Individual palm tree detection using deep learning on RGB imagery to support tree inventory. Remote Sens. 12 (21), 1–31. https://doi.org/10.3390/rs12213476. Dersch, S., Krzystek, P., Heurich, M., Resources, N., Forest, B., Park, N., Monitoring, N.P., Technology, I., Systems, I., 2022. NOVEL SINGLE TREE DETECTION BY TRANSFORMERS USING UAV-BASED MULTISPECTRAL IMAGERY, XLIII(June): 6–11. Dersch, S., Sch¨ ottl, A., Krzystek, P., Heurich, M., 2023. Towards complete tree crown delineation by instance segmentation with Mask R-CNN and DETR using UAV-based multispectral imagery and lidar data. ISPRS Open J Photogramm Remote Sens. 8, 100037. El-Juhany, L., 2010. Degradation of date palm trees and date production in Arab countries: causes and potential rehabilitation. Aust J Basic Appl Sci [internet]. 4 (8), 3998–4010. https://doi.org/10.1016/j.fcr.2011.04.017. Fan, F., Zeng, X., Wei, S., Zhang, H., Tang, D., Shi, J., Zhang, X., 2022. Efficient instance segmentation paradigm for interpreting SAR and optical images. Remote Sens. 14 (3), 1–22. https://doi.org/10.3390/rs14030531. Fayad, I., Ciais, P., Schwartz, M., Wigneron, J.P., Baghdadi, N., de Truchis, A., d’Aspremont, A., Frappart, F., Saatchi, S., Sean, E., et al., 2024. Hy-TeC: a hybrid vision transformer model for high-resolution and large-scale mapping of canopy height. Remote Sens Environ. 302 (December 2023) https://doi.org/10.1016/j. rse.2023.113945. Ferreira MP, Almeida DRA de, Papa D de A, Minervino JBS, Veras HFP, Formighieri A, Santos CAN, Ferreira MAD, Figueiredo EO, Ferreira EJL. 2020. Individual tree detection and species classification of Amazonian palms using UAV images and deep learning. For Ecol Manage [Internet]. 475(April):118397. https://doi.org/10.1016/ j.foreco.2020.118397. Firoze A, Wingren C, Yeh RA, Benes B, Aliaga D. 2023. Tree Instance Segmentation With Temporal Contour Graph. In: Proc IEEE/CVF Conf Comput Vis Pattern Recognit. [place unknown]; p. 2193–2202. Freudenberg, M., N¨ olke, N., Agostini, A., Urban, K., W¨ org¨ otter, F., Kleinn, C., 2019. Large scale palm tree detection in high resolution satellite images using U-Net. Remote Sens. 11 (3), 1–18. https://doi.org/10.3390/rs11030312. Freudenberg, M., Magdon, P., N¨ olke, N., 2022. Individual tree crown delineation in highresolution remote sensing images based on U-Net. Neural Comput Appl. 34 (24), 22197–22207. https://doi.org/10.1007/s00521-022-07640-4. Fu, B., He, X., Liang, Y., Deng, T., Li, H., He, H., Jia, M., Fan, D., Wang, F., 2023. Examination of the performance of ASEL and MPViT algorithms for classifying mangrove species of multiple natural reserves of Beibu Gulf, south China. Ecol Indic. 154 (August) https://doi.org/10.1016/j.ecolind.2023.110870. Ghasemi, M., Latifi, H., Pourhashemi, M., 2022. A novel method for detecting and delineating coppice trees in UAV images to monitor tree decline. Remote Sens. 14 (23), 5910. Gibril MBA, Shafri HZM, Shanableh A, Al-Ruzouq R, Wayayok A, Hashim SJ bin, Sachit MS. 2022. Deep convolutional neural networks and Swin transformer-based frameworks for individual date palm tree detection and mapping from large-scale UAV images. Geocarto Int [Internet]. 37(27):18569–18599. https://doi.org/ 10.1080/10106049.2022.2142966. Gibril MBA, Shafri HZM, Shanableh A, Al-Ruzouq R, bin Hashim SJ, Wayayok A, Sachit MS. 2024. Large-scale assessment of date palm plantations based on UAV remote sensing and multiscale vision transformer. Remote Sens Appl Soc Environ [Internet].:101195. https://doi.org/https://doi.org/10.1016/j.rsase.2024.101195. Gibril, M.B.A., Shafri, H.Z.M., Shanableh, A., Al-Ruzouq, R., Wayayok, A., Hashim, S.J., 2021. Deep convolutional neural network for large-scale date palm tree mapping from uav-based images. Remote Sens. 13 (14), 1–24. https://doi.org/10.3390/ rs13142787. Gibril, M.B.A., Shafri, H.Z.M., Al-Ruzouq, R., Shanableh, A., Nahas, F., Al, M.S., 2023. Large-scale date palm tree segmentation from multiscale UAV-based and aerial images using deep vision transformers. Drones. 7 (2) https://doi.org/10.3390/ drones7020093. Gonçalves DN, Marcato J, Carrilho AC, Acosta PR, Ramos APM, Gomes FDG, Osco LP, da Rosa Oliveira M, Martins JAC, Damasceno GA, et al. 2023. Transformers for mapping burned areas in Brazilian Pantanal and Amazon with PlanetScope imagery. Int J Appl Earth Obs Geoinf [Internet]. 116(December 2022):103151. https://doi.org/ 10.1016/j.jag.2022.103151. Hao, Z., Lin, L., Post, C.J., Mikhailova, E.A., Yu, K., 2023. The co-effect of image resolution and crown size on deep learning for individual tree detection and delineation. Int J Digit Earth [Internet].:3753–3771. https://doi.org/10.1080/ 17538947.2023.2257636. R. Al-Ruzouq et al.
Ecological Indicators 163 (2024) 112110 17 Hartling, S., Sagan, V., Sidike, P., Maimaitijiang, M., Carron, J., 2019. Urban tree species classification using a worldview-2/3 and liDAR data fusion approach and deep learning. Sensors (switzerland). 19 (6), 1–23. https://doi.org/10.3390/s19061284. He, H., Zhou, F., Xia, Y., Chen, M., Chen, T., 2024. Parallel fusion neural network considering local and global semantic information for citrus tree canopy segmentation. IEEE J Sel Top Appl Earth Obs Remote Sens. 17, 1535–1549. https:// doi.org/10.1109/JSTARS.2023.3339290. Jamali, A., Roy, S.K., Hashemi Beni, L., Pradhan, B., Li, J., Ghamisi, P., 2024. Residual wave vision U-Net for flood mapping using dual polarization Sentinel-1 SAR imagery. Int J Appl Earth Obs Geoinf [internet]. 127, 103662 https://doi.org/ 10.1016/j.jag.2024.103662. Ji, Y., Yan, E., Yin, X., Song, Y., Wei, W., Mo, D., 2022. Automated extraction of Camellia oleifera crown using unmanned aerial vehicle visible images and the ResU-Net deep learning model. Front Plant Sci. 13 (August), 1–13. https://doi.org/10.3389/ fpls.2022.958940. Jiang, K., Afzaal, U., Lee, J., 2023. Transformer-based weed segmentation for grass management. Sensors. 23 (1), 1–15. https://doi.org/10.3390/s23010065. Jintasuttisak T, Edirisinghe E, Elbattay A. 2022. Deep neural network based date palm tree detection in drone imagery. Comput Electron Agric [Internet]. 192(April 2021): 106560. https://doi.org/10.1016/j.compag.2021.106560. Kattenborn, T., Leitloff, J., Schiefer, F., Hinz, S., 2021. Review on convolutional neural networks (CNN) in vegetation remote sensing. ISPRS J Photogramm Remote Sens. 173, 24–49. Kentsch, S., Caceres, M.L.L., Serrano, D., Roure, F., Diez, Y., 2020a. Computer vision and deep learning techniques for the analysis of drone-acquired forest images, a transfer learning study. Remote Sens. 12 (8), 1–19. https://doi.org/10.3390/RS12081287. Kentsch S, Karatsiolis S, Kamilaris A, Tomhave L, Lopez Caceres ML. 2020. Identification of Tree Species in Japanese Forests based on Aerial Photography and Deep Learning. arXiv. https://doi.org/10.1007/978-3-030-61969-5_18. Kolesnikov, A., Dosovitskiy, A., Weissenborn, D., Heigold, G., Uszkoreit, J., Beyer, L., Minderer, M., Dehghani, M., Houlsby, N., Gelly, S., et al., 2021. An image is worth 16x16 words: Transformers for image recognition at scale. In: [place Unknown]. Li, R., Chen, T., Liu, Y., Jiang, H., 2023. CoupleUNet: Swin Transformer coupling CNNs makes strong contextual encoders for VHR image road extraction. Int J Remote Sens. 44 (18), 5788–5813. Li K, Wang Y, Gao P, Song G, Liu Y, Li H, Qiao Y. 2022. Uniformer: Unified transformer for efficient spatiotemporal representation learning. arXiv Prepr arXiv220104676. Li, Y., Ma, L., Sun, N., 2024. A bilinear transformer interactive neural networks-based approach to fine-grained recognition and protection of plant diseases for gardening design. Crop Prot [internet]. 180, 106660 https://doi.org/10.1016/j. cropro.2024.106660. Lin, T.-Y., Doll´ ar, P., Girshick, R., He, K., Hariharan, B., Belongie, S., 2017. Feature pyramid networks for object detection. In: Proc IEEE Conf Comput vis Pattern Recognit. Honolulu, HI, USA, pp. 2117–2125. Liu Z, Lin Y, Cao Y, Hu H, Wei Y, Zhang Z, Lin S, Guo B. 2021. Swin Transformer: Hierarchical Vision Transformer using Shifted Windows. In: 2021 IEEE/CVF Int Conf Comput Vis. Montreal, QC, Canada: IEEE; p. 9992–10002. https://doi.org/10.1109/ ICCV48922.2021.00986. Liu, J., Wang, X., Wang, T., 2019. Classification of tree species and stock volume estimation in ground forest images using Deep Learning. Comput Electron Agric [internet]. 166 (May), 105012 https://doi.org/10.1016/j.compag.2019.105012. Liu, H., Wang, X., Zhao, F., Yu, F., Lin, P., Gan, Y., Ren, X., Chen, Y., Tu, J., 2024. Upgrading swin-B transformer-based model for accurately identifying ripe strawberries by coupling task-aligned one-stage object detection mechanism. Comput Electron Agric [internet]. 218, 108674 https://doi.org/10.1016/j. compag.2024.108674. Mekhalfi, M.L., Nicolo, C., Bazi, Y., Al, R.MM., Alsharif, N.A., Al, M.E., 2022. Contrasting YOLOv5, transformer, and efficientdet detectors for crop circle detection in desert. IEEE Geosci Remote Sens Lett. 19, 19–23. https://doi.org/10.1109/ LGRS.2021.3085139. Contributors Mms. 2020. {MMSegmentation}: OpenMMLab Semantic Segmentation Toolbox and Benchmark. Ozdarici-ok, A., Ok, A.O., 2023. Scientia Horticulturae Using remote sensing to identify individual tree species in orchards : Sci Hortic (Amsterdam). [internet]. 321 (10), 112333 https://doi.org/10.1016/j.scienta.2023.112333. Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., et al., 2019. Pytorch: An imperative style, highperformance deep learning library. Adv Neural Inf Process Syst. 32. Qin, H., Zhou, W., Yao, Y., Wang, W., 2022. Individual tree segmentation and tree species classification in subtropical broadleaf forests using UAV-based LiDAR, hyperspectral, and ultrahigh-resolution RGB data. Remote Sens Environ. 280, 113143. Rezaei, M., Diepeveen, D., Laga, H., Jones, M.G.K., Sohel, F., 2024. Plant disease recognition in a low data scenario using few-shot learning. Comput Electron Agric [internet]. 219, 108812 https://doi.org/10.1016/j.compag.2024.108812. Schiefer, F., Kattenborn, T., Frick, A., Frey, J., Schall, P., Koch, B., Schmidtlein, S., 2020. Mapping forest tree species in high resolution UAV-based RGB-imagery by means of convolutional neural networks. ISPRS J Photogramm Remote Sens [internet]. 170 (November), 205–215. https://doi.org/10.1016/j.isprsjprs.2020.10.015. Selvaraju RR, Cogswell M, Das A, Vedantam R, Parikh D, Batra D. 2017. Grad-cam: Visual explanations from deep networks via gradient-based localization. In: Proc IEEE Int Conf Comput Vis. [place unknown]; p. 618–626. Sun, Y., Li, Z., He, H., Guo, L., Zhang, X., Xin, Q., 2022. Counting trees in a subtropical mega city using the instance segmentation method. Int J Appl Earth Obs Geoinf. 106, 102662 https://doi.org/10.1016/j.jag.2021.102662. Sun, Y., Hao, Z., Guo, Z., Liu, Z., Jh., 2023. Detection and mapping of chestnut using deep learning from high-resolution UAV-Based RGB imager. Remote Sens.:1–18. Suzuki, S., 1985. Topological structural analysis of digitized binary images by border following. Comput Vision, Graph Image Process. 30 (1), 32–46. Tang, X., Tu, Z., Wang, Y., Liu, M., Li, D., Fan, X., 2022. Automatic detection of coseismic landslides using a new transformer method. Remote Sens. 14 (12), 1–19. https://doi. org/10.3390/rs14122884. Tolan J, Yang HI, Nosarzewski B, Couairon G, Vo H V., Brandt J, Spore J, Majumdar S, Haziza D, Vamaraju J, et al. 2024. Very high resolution canopy height maps from RGB imagery using self-supervised vision transformer and convolutional decoder trained on aerial lidar. Remote Sens Environ [Internet]. 300(April 2023):113888. https://doi.org/10.1016/j.rse.2023.113888. Torres, D.L., Feitosa, R.Q., Happ, P.N., La Rosa, L.E.C., Junior, J.M., Martins, J., Bressan, P.O., Gonçalves, W.N., Liesenberg, V., 2020. Applying fully convolutional architectures for semantic segmentation of a single tree species in urban environment on high resolution UAV optical imagery. Sensors (switzerland). 20 (2), 1–20. https://doi.org/10.3390/s20020563. Ulku, I., Akagündüz, E., Ghamisi, P., Member, S., 2022. Deep Semantic Segmentation of Trees Using Multispectral Images. 15, 7589–7604. https://doi.org/10.1109/ JSTARS.2022.3203145. Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, Kaiser Ł, Polosukhin I. 2017. Attention is all you need. In: Adv Neural Inf Process Syst. Vol. 30. [place unknown]; p. 5998–6008. Velasquez-camacho, L., Etxegarai, M., 2023. Deep Learning algorithms for urban tree detection and geolocation with high-resolution aerial, satellite, and ground-level images. Comput Environ Urban Syst [internet]. 105 (August), 102025 https://doi. org/10.1016/j.compenvurbsys.2023.102025. Wagner, F.H., Sanchez, A., Tarabalka, Y., Lotte, R.G., Ferreira, M.P., Aidar, M.P.M., Gloor, E., Phillips, O.L., Arag˜ ao, L.E.O.C., 2019. Using the U-net convolutional network to map forest types and disturbance in the Atlantic rainforest with very high resolution images. Remote Sens Ecol Conserv. 5 (4), 360–375. https://doi.org/ 10.1002/rse2.111. Wagner, F.H., Sanchez, A., Aidar, M.P.M., Rochelle, A.L.C., Tarabalka, Y., Fonseca, M.G., Phillips, O.L., Gloor, E., Arag˜ ao, L.E.O.C., 2020. Mapping Atlantic rainforest degradation and regeneration history with indicator species using convolutional network. PLoS One. 15 (2), e0229448. Wang W, Xie E, Li X, Fan D-P, Song K, Liang D, Lu T, Luo P, Shao L. 2021. Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions [Internet]. :568–578. http://arxiv.org/abs/2102.12122. Wu, Y., Misra, S., 2020. Intelligent image segmentation for organic-rich shales using random forest, wavelet transform, and hessian matrix. IEEE Geosci Remote Sens Lett. 17 (7), 1144–1147. https://doi.org/10.1109/LGRS.2019.2943849. Xia Z, Pan X, Song S, Li LE, Huang G. 2022. Vision Transformer with Deformable Attention [Internet]. http://arxiv.org/abs/2201.00520. Xiao T, Liu Y, Zhou B, Jiang Y, Sun J. 2018. Unified Perceptual Parsing for Scene Understanding. Lect Notes Comput Sci (including Subser Lect Notes Artif Intell Lect Notes Bioinformatics). 11209 LNCS:432–448. https://doi.org/10.1007/978-3-030- 01228-1_26. Xiao, C., Qin, R., Huang, X., 2020. Treetop detection using convolutional neural networks trained through automatically generated pseudo labels. Int J Remote Sens [internet]. 41 (8), 3010–3030. https://doi.org/10.1080/01431161.2019.1698075. Xie, E., Wang, W., Yu, Z., Anandkumar, A., Alvarez, J.M., Luo, P., 2021. SegFormer: simple and efficient design for semantic segmentation with transformers. Adv Neural Inf Process Syst. 15, 12077–12090. Yang, M., Mou, Y., Liu, S., Meng, Y., Liu, Z., Li, P., Xiang, W., Zhou, X., Peng, C., 2022b. Detecting and mapping tree crowns based on convolutional neural network and Google Earth images. Int J Appl Earth Obs Geoinf. 108(August, 2021). https://doi. org/10.1016/j.jag.2022.102764. Yang, L., Wang, X., Zhai, J., 2022a. Waterline extraction for artificial coast with vision transformers. Front Environ Sci. 10 (February), 1–12. https://doi.org/10.3389/ fenvs.2022.799250. Yi, S., Liu, X., Li, J., Chen, L., 2023. UAVformer: a composite transformer network for urban scene segmentation of UAV images. Pattern Recognit. 133 https://doi.org/ 10.1016/j.patcog.2022.109019. Zhang, T., Hu, D., Wu, C., Liu, Y., Yang, J., Tang, K., 2023. Large-scale apple orchard mapping from multi-source data using the semantic segmentation model with image- to-image translation and transfer learning. Comput Electron Agric. 213, 108204. Zhang, L., Lin, H., Wang, F., 2022. Individual tree detection based on high-resolution RGB images for urban forestry applications. IEEE Access. 10, 46589–46598. https:// doi.org/10.1109/ACCESS.2022.3171585. Zhang, H., Liu, S., 2024. Double-branch multi-scale contextual network: a model for multi-scale street tree segmentation in high-resolution remote sensing images. Sensors. 24 (4), 1110. https://doi.org/10.3390/s24041110. Zhao, J., Berge, T.W., Geipel, J., 2023b. Transformer in UAV image-based weed mapping. Remote Sens. 15 (21), 5165. Zhao H, Shi J, Qi X, Wang X, Jia J. 2017. Pyramid scene parsing network. In: Proc - 30th IEEE Conf Comput Vis Pattern Recognition, CVPR 2017. Vol. 2017-Janua. [place unknown]; p. 6230–6239. https://doi.org/10.1109/CVPR.2017.660. Zhao, H., Morgenroth, J., Pearse, G., Schindler, J., 2023a. A Systematic review of individual tree crown detection and delineation with convolutional neural networks (CNN). Curr for Reports [internet]. 9 (3), 149–170. https://doi.org/10.1007/ s40725-023-00184-3. Zheng, J., Wu, W., Yu, L., Fu, H., 2021. COCONUT TREES DETECTION ON THE TENARUNGA USING HIGH-RESOLUTION SATELLITE IMAGES AND DEEP LEARNING Ministry of Education Key Laboratory for Earth System Modeling, and R. Al-Ruzouq et al.
Ecological Indicators 163 (2024) 112110 18 Department of Earth System Science, Tsinghua University, Beijing 100084, China Nation. Int Geosci Remote Sens. Symp.:6512–6515. Zheng, Y., Wu, G., 2022. YOLOv4-Lite – Based Urban Plantation Tree Detection and Positioning with High-Resolution Remote Sensing Imagery. 9(January):1–12 https://doi.org/10.3389/fenvs.2021.756227. Zheng, J., Yuan, S., Wu, W., Li, W., Yu, L., Fu, H., Coomes, D., 2023. Surveying coconut trees using high-resolution satellite imagery in remote atolls of the Pacific Ocean. Remote Sens Environ. 287 https://doi.org/10.1016/j.rse.2023.113485. Zhou, C., Ye, H., Sun, D., Yue, J., Yang, G., Hu, J., 2022. An automated, highperformance approach for detecting and characterizing broccoli based on UAV remote-sensing and transformers: A case study from Haining, China. Int J Appl Earth Obs Geoinf [internet]. 114 (July), 103055 https://doi.org/10.1016/j. jag.2022.103055. Zhou, B., Zhao, H., Puig, X., Fidler, S., Barriuso, A., Torralba, A., 2017. Scene Parsing through ADE20K Dataset. In: In: Proc IEEE Conf Comput vis Pattern Recognit. [place Unknown], p. p. page 4.. Zhu X, Su W, Lu L, Li B, Wang X, Dai J. 2020. Deformable DETR: Deformable Transformers for End-to-End Object Detection [Internet]. :1–16. http://arxiv.org/ abs/2010.04159. R. Al-Ruzouq et al.