Next Article in Journal
Gallery-Distance Profiles for Open-Set Person Re-Identification with Frozen Encoders in Camera Networks
Previous Article in Journal
Two-Stage Meta-Learning with Matched Feature Regularization for Cross-Subject sEMG Gesture Recognition Under Posture Variation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

ArqPy: A Python Toolbox for Remote Sensing Image Preprocessing and AI-Assisted Interpretation of Derived Products for Archaeological Prospection

by
Cristian Iranzo
1,2,*,
Paula Uribe
3,4,
Jorge Angás
3,4,5 and
Fernando Pérez-Cabello
1,2
1
Departamento de Geografía y Ordenación del Territorio, Facultad de Filosofía y Letras, Universidad de Zaragoza, 50009 Zaragoza, Spain
2
Instituto Universitario de Investigación en Ciencias Ambientales de Aragón (IUCA), Universidad de Zaragoza, 50009 Zaragoza, Spain
3
Departamento de Ciencias de la Antigüedad, Facultad de Filosofía y Letras, Universidad de Zaragoza, 50009 Zaragoza, Spain
4
Instituto de Patrimonio y Humanidades (IPH), Universidad de Zaragoza, 50009 Zaragoza, Spain
5
Fundación Agencia Aragonesa para la Investigación y el Desarrollo (ARAID), 50018 Zaragoza, Spain
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(17), 5478; https://doi.org/10.3390/s26175478 (registering DOI)
Submission received: 8 July 2026 / Revised: 20 August 2026 / Accepted: 28 August 2026 / Published: 29 August 2026
(This article belongs to the Section Environmental Sensing)

Highlights

What are the main findings?
  • ArqPy uses an object-oriented architecture that generates suitable derived products from WorldView-3 imagery for initial archaeological assessment while facilitating the future integration of additional satellite sensors.
  • ArqPy integrates AI-based tools for complementary tasks, including MAE feature analysis of derived products, Z-PNN pansharpening, and SAM 3 text-guided segmentation of candidate crop marks.
What are the implications of the main findings?
  • The workflow improves reproducibility and comparability in archaeological remote sensing by making preprocessing and enhancement steps explicit and easily deployable on standard Windows systems.
  • ArqPy generated complementary WorldView-3-derived products that supported expert identification of candidate crop marks, while SAM 3 provided text-guided segmentation for preliminary detection of crop-mark-like features.

Abstract

Remote sensing is widely used in archaeology, but the lack of standardised and readily deployable preprocessing workflows limits reproducibility and cross-study comparability, particularly for very high-resolution multispectral imagery. This study presents ArqPy, a Python toolbox designed to automate and standardise image preprocessing, enhancement and initial interpretation for archaeological prospection. The toolbox includes atmospheric correction, conventional pansharpening, spectral indices, principal component analysis (PCA), and spatial filtering. Its object-oriented architecture currently supports WorldView-3 (WV3) and WorldView Legion (LEGION) imagery and facilitates the future integration of additional sensors. ArqPy also incorporates complementary AI-based tools: Masked Autoencoder (MAE) feature analysis for exploring and ranking derived products, Z-PNN for deep-learning-based pansharpening, and SAM 3 for text-guided segmentation of candidate crop marks. The toolbox was applied to the preliminary inspection of crop marks at the Zar Tepe archaeological site in southern Uzbekistan before the 2026 field campaign. This case study illustrates the proposed workflow and demonstrates how ArqPy provides a reproducible and readily deployable environment through which archaeologists can access advanced image-processing methods. AI-based tools can support preliminary reconnaissance, but they cannot replace expert interpretation without further training and validation using site-specific archaeological data.

1. Introduction

Remote sensing has become a core method in archaeology because it provides rapid, non-destructive observation of the ground surface across large areas and multiple spatial scales. It supports research that ranges from mapping individual sites to studying regional settlement systems and landscape change. It also supports heritage monitoring, including erosion, urban expansion, and conflict-related damage, using repeated satellite acquisitions and long image archives. These roles are widely reported in reviews of archaeological and cultural-heritage remote sensing [1,2,3,4,5,6].
However, raw satellite images are rarely suitable for direct archaeological interpretation. Radiometric differences between acquisitions and sensors complicate comparisons across time [7,8,9]. Atmospheric conditions, illumination, seasonality, and vegetation phenology can mask subtle traces, such as crop or soil marks [10,11]. In complex landscapes, rich spectral information can also increase confusion, because non-archaeological factors may produce similar spectral responses [7,11]. These limitations motivate systematic correction and enhancement steps before interpretation and classification.
This need has increased with the spread of very high-resolution multispectral satellites. Sensors such as WV3 provide fine spatial detail and additional spectral bands, including SWIR, that can improve sensitivity to vegetation stress, soil moisture, and material differences relevant to buried features [10]. At the same time, these data often require careful radiometric handling, robust atmospheric correction, and pansharpening choices that balance spatial detail against spectral distortion [12]. Multi-temporal use further increases the need for consistent preprocessing [13,14].
Current practice shows partial convergence in the types of methods used, but limited standardisation in how they are implemented and reported [15]. Simple image-based atmospheric corrections are common for index-based studies, while pansharpening choices vary. Comparative studies inside and outside archaeology indicate that no single method is optimal across sensors, landscapes, and research objectives [16,17,18]. In addition, terms such as “spectral enhancement” are used inconsistently, which reduces cross-study comparability unless the transformations and parameters are explicitly reported [19,20]. These issues support the case for transparent, reproducible workflows and shared best practices [21,22,23].
A further constraint is practical deployment. Many archaeological teams work with limited computational support and heterogeneous software environments [22,24]. Lightweight tools that run on standard operating systems like Windows can reduce barriers to adoption and make workflows more consistent across users. This is aligned with broader calls for explicit, shareable pipelines and improved documentation of processing steps and parameters in archaeological digital practice [25,26,27,28,29].
Besides preprocessing and the generation of accurately corrected remote-sensing products, several approaches have aimed to identify areas likely to host archaeological remains through the detection of crop marks using automated or semi-automated methods [30,31]. Crop marks arise from differential vegetation growth caused by buried remains that affect soil moisture and nutrient availability, and they have traditionally been identified through expert visual interpretation of aerial photographs [32,33]. Vegetation indices such as NDVI and red-edge-based metrics are widely used to enhance stress patterns [34,35,36], while PCA and related transforms are applied to separate crop, soil, and background components in heterogeneous landscapes [30,37,38]. More recent approaches integrate image segmentation, geometric feature extraction, and learning-based models to reduce subjectivity and improve scalability [27,31], although detection performance remains strongly dependent on crop phenology, environmental conditions, and expert validation [14,35]. This progression motivates pipelines that can generate and rank multiple derived channels, enabling probabilistic identification of areas with high crop mark density rather than reliance on single indices or visual inspection alone.
This paper presents ArqPy, a toolbox that standardises key preprocessing operations for archaeological remote sensing. Its application is illustrated through a case study at the archaeological site of Zar Tepe, Uzbekistan, where it was used to identify crop marks in preparation for forthcoming field campaigns. The toolbox performs atmospheric correction and pansharpening for WV3 and LEGION imagery and generates derived products, including vegetation indices, PCA products, and spatially filtered images. It also integrates complementary AI-based methods, including MAE feature analysis, Z-PNN deep learning pansharpening, and SAM 3 text-guided segmentation of candidate crop marks. Its object-oriented design facilitates the integration of additional sensors while reducing the need to write new code or adopt different processing platforms. A total of 244 derived products were visually examined, resulting in the identification of four previously undocumented candidate crop marks and the selection of the products most informative for their interpretation at Zar Tepe.

2. Materials and Methods

2.1. Study Area

The toolbox was applied at the archaeological site of Zar Tepe, dated to the Kushan and Kushan-Sasanian periods (1st–5th centuries AD). The site is located in the Surkhandarya Province of southern Uzbekistan, within the northwestern sector of ancient Bactria (Figure 1). The Kushan period in Bactria (1st–3rd centuries AD) has been widely described as a phase of political stability and economic prosperity, reflected in the growth of valley settlements and the architectural complexity of urban centres [39,40]. From the mid-3rd century AD, the region progressively entered the Sasanian sphere of influence, followed by the arrival of Hunnic groups during the 4th–5th centuries AD [41].
Zar Tepe is a fortified settlement, roughly square in plan (~400 m per side; ~16.9 ha), enclosed by a defensive wall and an external ditch. The study area encompasses the settlement and its surroundings, covering a total area of 619.8 ha. It lies about 36 km northeast of Termez and close to other major Kushan-period sites, including Kampyr Tepe and Dalverzin Tepe. The surrounding landscape is part of a wide irrigated plain north of the Hindu Kush, supplied by the Amu Darya (ancient Oxus River) and its tributaries, particularly the Surkhan Darya. This region contains a high density of archaeological sites, with a notable concentration dating to the Kushan period. For a visual characterisation of the study area, including ground-level photographs from previous campaigns, see Angás et al. [42].

2.2. Toolbox Overview

A Python-based processing pipeline was developed to preprocess very high-resolution satellite imagery and to generate a set of derivative products. The workflow supports imagery acquired by WV3 and LEGION, and integrates tools from Orfeo ToolBox (OTB) [43] and GDAL [44], within a unified and automated framework. The toolbox is openly distributed through the Zenodo repository, together with documentation, source code, and configuration files [45].
The pipeline outputs bottom-of-atmosphere (BOA) reflectance imagery and multiple derivative datasets, including pansharpened products, principal component analysis (PCA) images, spectral indices, spatially filtered layers and saliency maps derived from deep-learning-based analysis. ArqPy also provides graphical interfaces for two complementary AI-based tools. The Z-PNN module [46] performs deep-learning-based pansharpening, and SAM 3 [47] applies text-guided segmentation to identify candidate crop marks. The last module requires additional configuration, including dedicated Python environments, model dependencies and pretrained weights; some operations also benefit from GPU acceleration. Once configured, it can be executed through the toolbox interfaces. ArqPy outputs are intended to support archaeological interpretation, with specific focus on the detection and characterisation of crop marks.
The software architecture is modular and object-oriented. Computational routines implementing image processing operations are separated from sensor-specific metadata handlers. The design allows the extension of the toolbox to additional sensors by implementing new metadata classes while reusing existing processing functions.
The toolbox is distributed as a set of standalone Windows executable files in BAT format, with each file corresponding to a specific task (Figure 2):
  • atmcorr for atmospheric correction;
  • pansharpening for spatial-spectral fusion;
  • pansharpening_cnn to perform deep-learning-based pansharpening using Z-PNN;
  • pca for principal component generation;
  • spectral_indices for index computation;
  • highpass for spatial filtering;
  • mae to generate Masked Autoencoder (MAE)-based saliency maps;
  • sam3_detection to apply SAM 3 text-guided segmentation.
Each executable includes a graphical user interface that allows non-expert users to define processing parameters (Figure 3). By specifying the directory containing raw imagery as provided by the data distributor, the full workflow can be executed without manual intervention. The MAE, SAM 3, and Z-PNN modules run in separate PyTorch version 2.13 environments.
All tools were developed and tested in isolated Python environments under Windows 11. The required libraries are packaged and distributed together with the executables. While the released binaries are Windows-specific, the toolbox can be ported to other operating systems by recreating the environments and installing the source code as described in the repository [45].

2.3. Image Preprocessing

Satellite imagery requires preprocessing to reduce radiometric, atmospheric, and geometric distortions and to ensure that pixel values are physically comparable across scenes. This step is essential in archaeological applications, where accurate spatial alignment and radiometric consistency are required for comparison with ancillary datasets, such as geophysical surveys [12].
The described application focuses on WV3 and LEGION sensors, whose images are distributed without a complete set of radiometric and atmospheric corrections. Additional preprocessing is therefore required prior to analysis. The presented pipeline implements a standardised and reproducible correction workflow applicable to both sensors, differing only in the sensor-specific radiometric metadata used.
WV3 provides a panchromatic resolution of 0.31 m and a multispectral resolution of 1.24 m, whereas LEGION provides corresponding resolutions of 0.34 m and 1.36 m. Compared with WV3, LEGION includes an additional red-edge band and omits one of the near-infrared bands, resulting in a modified spectral configuration. The complete band specifications for both sensors are shown in Figure 4.
The first operation in this workflow is atmospheric correction. It was applied using the atmcorr executable and the Dark Object Subtraction method (DOS3 [48]). Digital numbers were first converted to top-of-atmosphere radiance and subsequently to bottom-of-atmosphere reflectance. Atmospheric path radiance was estimated from dark pixels using percentile-based thresholds, following an extension of the original method proposed by Chavez [49]. To reduce the risk of overcorrection caused by anomalously dark pixels or image noise, percentile-based dark-object values were used instead of absolute minimum values: the second percentile was selected for the multispectral bands, whereas the 0.1 percentile was applied to the panchromatic band. These percentile values were derived from digital numbers and converted to radiance prior to correction. Incident transmittance was computed as a function of band central wavelength and solar zenith angle, allowing wavelength-dependent correction [48].
After atmospheric correction, an optional step allows the atmospherically corrected images to be cropped to a region of interest. Whether cropped or not, the resulting images are then exported as Cloud Optimised GeoTIFFs using lossless compression.
Pansharpening was then performed using the pansharpening executable to enhance the spatial resolution of the multispectral imagery. Three methods are available. The first is a combination of a weighted Brovey method [50], applied to bands with high spectral correlation to the panchromatic signal, and a local mean and variance normalisation (LMVN) approach, applied to the NIR2 band, which shows lower correlation (Figure 4). These outputs were merged into a single multispectral product optimised for visual interpretation. The weighted Brovey method was implemented using GDAL, following coefficients proposed by Belfiore et al. [50].
The second pansharpening method available in the toolbox is a Bayesian approach. For analytical products, such as spectral indices and PCA, this approach is recommended because it better preserves spectral fidelity [51].
The third option is Z-PNN (Zoom-PNN), a CNN-based method that operates at full resolution and combines sensor-specific pretraining with rapid adaptation to the target image [46]. In tests on an off-training WV3 image, Z-PNN reached a spatial loss of approximately 0.06 in fewer than 200 iterations, whereas A-PNN-TA-FR required approximately 2000 iterations. Its initial spatial loss was already relatively low (approximately 0.10), although fine-tuning further improved spectral consistency. In this study, Z-PNN was applied using 10 target-adaptation iterations. A comparison of the pansharpening strategies is shown in Figure 5.

2.4. Generation of Derived Image Products

The derived image products generated with the toolbox are intended to enhance subtle spatial and spectral variations potentially associated with buried archaeological features. The corrected and pansharpened imagery serves as input for this stage.
Using the pansharpened image, the spectral_indices executable produces a total of 21 spectral indices. These indices were selected to enhance variations in crop stress and moisture conditions, which may reflect the presence of subsurface archaeological structures under suitable environmental conditions. All near-infrared bands were treated equivalently and assigned to the NIR1 band to ensure consistency in index computation. The full list of spectral indices and their corresponding formulations is available in the toolbox repository [45], in the directory ArqPy-Toolbox/Toolbox/app/spectral_indices/data/.
Principal component analysis (PCA) was performed using the pca executable, with the pansharpened image as input. The workflow uses the Orfeo ToolBox Dimensionality Reduction algorithm. All unique combinations of sensor spectral bands, with a minimum of three input bands, were evaluated, resulting in 219 band combinations for each available sensor. For each band combination, a corresponding set of principal components was generated.
Finally, the highpass tool generates a set of spatial high-pass-filtered outputs designed to enhance linear and textural features. In the predefined workflow, a corrected image is used as input, and four filters are applied: Laplacian, Laplacian of Gaussian (LoG), Sobel (horizontal), and high-boost filtering. These filters emphasise edges and fine-scale structures while suppressing low-frequency background variations. More generally, the toolbox allows the automated application of all available filter kernels to any GeoTIFF file, with user-defined selection of the spectral band to which the filters are applied.

2.5. Masked Autoencoder Analysis

A Masked Autoencoder (MAE) encoder [52] was used to identify image regions with a high density of geometric and textural features potentially associated with buried archaeological remains (Figure 6). A Vision Transformer-based MAE encoder [53], pretrained on ImageNet, was employed as a fixed feature extractor using the mae executable. No fine-tuning, masking, or image reconstruction was performed; the pretrained encoder was used only to extract patch-level feature representations. The executable allows the automated application of the MAE encoder to any GeoTIFF file.
Each derived image product was processed using an overlapping tile-based inference strategy. Input rasters were divided into 512 × 512 pixel tiles, with a stride smaller than the tile size to ensure overlap between adjacent tiles. Before being passed to the encoder, each tile was converted to a three-channel input when necessary, normalised independently by band to the [0, 1] range, and resized to the 224 × 224 pixel input size required by the MAE-pretrained Vision Transformer. The resized tile was subdivided by the model into 16 × 16 pixel patches, producing a 16 × 16 grid of 196 patch embeddings per tile. These embeddings encode high-level representations of local texture, contrast, and geometric structure learned during pretraining.
Patch-level feature saliency was quantified using the L2 norm of each embedding vector produced by the MAE encoder (Equation (1)). The L2 norm measures the magnitude of each patch embedding in feature space and was used as a proxy for local structural complexity. Higher norm values indicate patches with stronger geometric or textural content, whereas lower values correspond to more homogeneous or low-information areas. This metric provides a simple and computationally efficient measure of unsupervised saliency, without requiring inter-patch comparisons, labelled data, or additional model training.
norm i = e i 2 = j = 1 n e i , j 2
The resulting 14 × 14 patch-level saliency grid was bilinearly upsampled to the original 512 × 512 tile resolution. To obtain a continuous raster-scale saliency map and reduce artefacts at tile borders, overlapping tile predictions were merged using a raised Hann weighting window. This weighting assigns higher importance to the central region of each tile and lower importance to tile margins, where border effects are more likely to occur. For each raster pixel, the final MAE saliency value was computed as the weighted average of all overlapping tile predictions (Equation (2)). S ( x , y ) is the final saliency value at pixel location ( x , y ) , S i ( x , y ) is the saliency value predicted from tile i , and w i x , y is the corresponding Hann-window weight. A small minimum weight was retained to ensure stable normalisation in areas covered by only one tile. The final output was exported as a single-band floating-point GeoTIFF.
S x , y = i w i ( x , y ) S i ( x , y ) i w i ( x , y )
From each MAE-derived saliency map, summary statistics including the maximum and mean saliency values were computed and stored together with the corresponding derived image product identifier. These MAE-based statistics constitute the primary quantitative criterion used to rank derived products and to guide the initial identification and interpretation of potential crop mark signatures.

2.6. SAM 3 Text-Guided Segmentation

SAM 3 [47] was integrated as an optional tool to support the preliminary identification of candidate crop marks and soil marks (Figure 2). The pansharpened RGB image was processed using overlapping 1008 × 1008-pixel tiles with an overlap of 128 pixels. Prior to inference, each tile was independently contrast-stretched between its 2nd and 98th percentile values. Four text prompts were evaluated: crop marks, soil marks, archaeological crop marks, and archaeological soil marks. For each prompt, predictions were generated using two confidence thresholds (0.50 and 0.70), and only instances with confidence scores equal to or greater than the specified threshold were retained.
Predictions from overlapping tiles were subsequently merged to produce a binary candidate mask and a confidence raster, while individual detections and their associated attributes were recorded in a CSV file. These outputs were considered model-generated candidate detections rather than definitive archaeological features and therefore required subsequent expert archaeological interpretation. The SAM 3 module was implemented in a separate PyTorch environment and requires access to the pretrained SAM 3 checkpoint. Detailed instructions for configuring and running the module are provided in the accompanying repository [45].

2.7. Validation

Validation was conducted to assess the responses of the MAE saliency maps and SAM 3 segmentation when applied to crop-mark identification. The reference dataset comprised 19 digitised features (Table 1): 10 field-documented crop marks (eight in 2024 and two in 2025) recorded using a GNSS device and a customizable mobile application configured for archaeological field recording [42,54], four candidate crop marks were identified through expert inspection of ArqPy-derived products, and five negative controls (Figure 7). Three negative controls (IDs 15, 16, and 18) were placed in areas without visible geometric features. The remaining controls represented non-archaeological geometric patterns: ID 17 followed a boundary within a harvested field, and ID 19 surrounded a tractor.
The validation was conducted using all derived products generated from a WV3 image acquired on 29 May 2017. The image was atmospherically corrected, cropped to the study area, and pansharpened using the Bayesian method, which provided the closest visual agreement with the visible spectrum of the original multispectral image (Figure 5). Processing was performed on a Windows 11 workstation equipped with an Intel® Core™ i7-10700 CPU at 2.90 GHz, 16 GB of RAM, and 1 TB of local storage.
For each MAE saliency raster, all valid pixels intersected by each digitised feature were extracted, and their mean saliency was calculated. For the natural-colour composite, the red, green, and blue bands were used as model inputs. The single available band was used for each high-pass-filtered product and spectral index, whereas the first three principal components were used for each PCA product. To enable comparison among rasters, the mean saliency was converted into an empirical percentile rank, defined as the proportion of valid raster pixels with a saliency value equal to or lower than the feature mean. Percentile ranks ranged from 0 to 1, with higher values indicating comparatively high saliency. Derived products were ranked by their mean percentile rank across the 14 crop marks, whereas the five negative controls were analysed separately. The highest-ranking products were then compared with those selected through expert visual interpretation.
SAM 3 outputs were assessed visually using the merged segmentation masks to avoid duplicate detections caused by overlapping tiles. Each segmented instance was compared with the reference dataset and classified as matching a field-recorded crop mark, a newly identified candidate, a negative-control feature, or an unrelated feature. The shape and spatial context of the detected patterns were also examined to identify common causes of false-positive responses.
Unless otherwise stated, all raster images were displayed using a linear contrast stretch from μ 3 σ to μ + 3 σ . Consequently, image brightness represents relative variation within each product rather than directly comparable absolute values. Colour scales were therefore omitted.

3. Results

3.1. Toolbox Performance

Conventional preprocessing of the selected WV3 image was completed in under 15 min. This included atmospheric correction, cropping to the study area, and Bayesian pansharpening, which best preserved colour fidelity relative to the original natural-colour multispectral composite (Figure 5). By comparison, Z-PNN pansharpening required approximately 9 h when using 10 fine-tuning epochs.
Processing times varied among derived-product categories. Computing 21 spectral indices took approximately 10 min, or about 30 s per index. Generating 219 PCA products required around 6 h, with an average of 1.6 min per product. Applying the four high-pass filters to the atmospherically corrected panchromatic band took approximately 5 min.
In total, 244 derived products were obtained, including PCA images, spectral indices, and high-pass filtered products (Figure 8). These datasets occupied 276.5 GB of disc space using high compression and a cloud-optimised format. PCA images accounted for approximately 270 GB, spectral indices for 6 GB, and high-pass filters for about 500 MB. On average, each PCA image occupied 1 GB, high-pass filters 0.5 GB, and spectral indices 200 MB. Compression reduced file size by approximately 10%, corresponding to a saving of around 27 GB.
The Masked Autoencoder (MAE) analysis was applied to all derived products to generate saliency statistics. This was the most computationally demanding step. Processing times averaged 4 min per PCA image, 3 min per high-pass filter, and 2 min per spectral index, resulting in a total runtime of approximately 5 h. The combined storage footprint of derived image products and MAE saliency maps reached 310 GB.

3.2. Identification of Candidate Crop Marks

An expert visually examined all 244 derived products, resulting in the identification of four previously undocumented candidate crop marks. Two of these (IDs 13 and 14) were clearly visible in the Bayesian-pansharpened natural-colour composite (Figure 9). ID 13 may correspond to part of the site’s defensive wall, whereas ID 14 forms a distinctive pentagonal pattern within a cultivated field.
The other two candidates were identified using spectral-index products. ID 11 appeared as a small area of high TCARI/OSAVI values. No distinct crop-mark pattern was visible in the natural-colour composite, although the area showed relatively sparse vegetation within a cultivated field. Because TCARI/OSAVI is sensitive to chlorophyll content while reducing the effects of soil background and canopy structure [55], the high values may indicate reduced chlorophyll content or vegetation vigour. However, they could also be influenced by sparse vegetation or exposed soil; field validation is therefore required to determine the cause of this anomaly.
Previously ground-validated crop marks were examined in the derived product in which each was most clearly visible (Figure 10). Six crop marks were identified in the pansharpened natural-colour composite. Four were located within the archaeological site: a possible main road (ID 3), two possible road intersections (IDs 9 and 10), and a straight feature covered by shrub vegetation (ID 5). The other two were rectangular features located within or near cultivated fields (IDs 2 and 6).
The remaining crop marks were not clearly visible in the natural-colour composite. ID 1 was identified in a PCA product generated from the blue, green, and yellow bands. It formed an irregular pattern adjacent to a field boundary south of Zar Tepe. ID 4 was located within a cultivated field in the western part of the study area, where low SR values formed a roughly square pattern surrounded by higher values. Finally, IDs 7 and 8 were identified using the NDSI product and may correspond to secondary roads within the main archaeological site.

3.3. Analysis of MAE Saliency Values

Overall, PCA-derived products exhibited the highest mean and maximum MAE saliency values (Table 2). Crop mark ID 1 was identified using a PCA product generated from the blue, green, and yellow bands (combination 22). This used the same bands as the highest-ranking PCA product (combination 94), except that the latter also included the NIR1 band.
The Bayesian-pansharpened natural-colour composite produced the second-highest saliency values and supported the identification of eight crop marks (Table 1). High-pass-filtered products and spectral indices showed lower and broadly similar values. No crop marks were identified using the high-pass-filtered products. In contrast, four spectral indices supported the identification of five crop marks: SR for ID 4, NDSI for IDs 7 and 8, TCARI/OSAVI for ID 11, and MTVI for ID 12. TCARI/OSAVI had the highest mean MAE saliency among the spectral-index products
When MAE saliency was compared between crop-mark and negative-control locations, the negative controls produced higher mean values and percentile ranks for all product groups except spectral indices (Table 3). This indicates that MAE responded strongly to non-archaeological geometric features, including the tractor and harvested-field boundary, sometimes more strongly than to crop marks. At the product-group level, the negative controls had the highest mean percentile rank in the Bayesian-pansharpened image, followed by the PCA products. In contrast, crop-mark locations had their highest mean percentile rank in the PCA group.
In Figure 9 and Figure 10, the MAE maps showed elevated saliency relative to the surrounding pixels for IDs 3, 4, 6, 7, 8, 9, 10, and 12, represented by brighter red-to-yellow tones on the magma colour scale. The remaining crop marks appeared in darker purple tones, although most were still brighter than their immediate surroundings. ID 11 was the main exception, showing no clear local saliency enhancement and appearing as a dark area.
Except for the Bayesian-pansharpened image, the products with the highest MAE rankings at crop-mark locations did not correspond to those selected through expert visual interpretation. Within the spectral-index group, BAI produced the highest mean percentile rank at crop-mark locations, whereas NDSI ranked highest at the negative controls. Because NDSI was also used to identify crop marks, this result highlights its potential to emphasise both archaeological and non-archaeological patterns.

3.4. Analysis of SAM 3 Instance Segmentation

The red, green, and blue bands of the Bayesian-pansharpened image were used as input to SAM 3. Predicted instances with confidence scores above 0.5 were retained. Three text prompts were tested to assess the model’s behaviour: crop mark, archaeological crop mark, and archaeological soil mark (Figure 11).
With the prompt crop mark, the predicted instances primarily corresponded to roads and tracks within the cultivated fields surrounding the site (Figure 11, zone C). The model also identified former paths and field boundaries (Figure 11, zone D) visible in historical CORONA imagery [42].
Adding archaeological to the prompt reduced the number of predicted instances. One instance overlapped crop mark ID 4 (Figure 11, zone B), although the predicted mask was larger than the digitised feature and enclosed the entire patch of vegetation within an otherwise bare field. The prompt also identified an area southeast of the site with an unusual vegetation pattern (Figure 11, zone A). This anomaly may reflect a subsurface feature, but field investigation is required to determine its origin.
Neither prompt identified crop marks within the main archaeological site. Therefore, the word crop was replaced with soil to form the third prompt, archaeological soil mark. However, this prompt primarily segmented large geometric areas within cultivated fields and did not identify any archaeologically relevant crop marks inside or outside the site.

4. Discussion

Very-high-resolution multispectral imagery acquired by the WV3 proved effective for enhancing subtle variations in vegetation and soil conditions potentially associated with buried archaeological remains. ArqPy supports reproducibility by making the processing sequence and its parameters explicit and traceable. It therefore contributes to broader efforts to standardise remote sensing preprocessing and analysis in archaeological research. By integrating established open source processing capabilities into an accessible Windows application, ArqPy reduces some of the technical barriers associated with image preprocessing and dataset preparation.
Existing applications support image preprocessing and the generation of derived products at both research and operational scales. However, their adoption is often constrained by fragmented workflows, usability limitations, and the expertise required to install, configure, and combine multiple software components [56]. Although recent initiatives have begun to address these limitations [57,58,59], the wider software ecosystem remains fragmented.
The current pipeline uses predefined parameters for certain operations, including the coefficients applied in weighted Brovey pansharpening. These settings reflect the requirements of the Zar Tepe case study and favour consistency and robustness. Future development will increase flexibility by allowing users to modify processing parameters without editing the source code. ArqPy currently uses four separate environments to manage the dependencies of its conventional and AI-based tools. Their consolidation will be investigated where compatibility permits, with the aim of reducing storage requirements and simplifying installation.
The complete execution of the toolbox produces a large number of derived products, requiring substantial storage space and making visual inspection more time-consuming. An efficient strategy is therefore needed to identify the most informative products for the detection of crop and soil marks. In this case study, expert visual inspection remained the most reliable method for recognising and delineating crop marks. However, its results depend on local vegetation, soil, acquisition conditions, and archaeological characteristics; consequently, the most informative products at Zar Tepe may not perform equally well elsewhere [31]. Forthcoming field campaigns at comparable sites in Uzbekistan will provide an opportunity to assess the transferability of these results.
MAE saliency highlighted several crop marks but produced weak responses for others. Agreement between the MAE rankings and the products selected through expert interpretation was limited, although TCARI/OSAVI was a notable exception. Moreover, MAE produced strong responses to non-archaeological geometric features, including a tractor and a harvested-field boundary. The saliency maps therefore cannot independently distinguish archaeological crop marks from other visually distinctive patterns. They should be treated as exploratory indicators and interpreted alongside the source products, archaeological expertise, and field-validation data.
SAM 3 provided more direct spatial candidates than MAE because it generated segmented instances rather than general saliency patterns. It identified one area overlapping a visually interpreted crop mark and another potentially relevant vegetation anomaly. However, it also segmented numerous modern and historical paths, tracks, and field boundaries. These results show that text-guided segmentation alone cannot reliably determine the archaeological origin of a feature. Future work should investigate task-specific training or classification using representative archaeological and non-archaeological examples. Few-shot image classification may be particularly useful where labelled samples are limited [60], while ongoing initiatives to develop crop-mark datasets could support more robust model adaptation [31].
The pansharpened natural-colour composite, PCA products, and spectral indices were the most useful sources for visual crop-mark identification in this case study. High-pass-filtered images did not reveal additional crop marks, although they clarified the linear and edge-based characteristics of some features already visible in the natural-colour composite. They should therefore not be excluded from future inspections, as their usefulness may vary among sites and feature types. The complementary information provided by PCA and spectral indices also demonstrates the limitations of applying AI models only to red, green, and blue inputs. Future models should be adapted to exploit red-edge, near-infrared, and other multispectral information.
Finally, this study was based on a relatively small case study, and further testing is required to evaluate the derived products and AI-based methods across the wider region. Additional field campaigns are planned to expand the validation dataset and improve the robustness of the workflow. Bidirectional reflectance distribution function and topographic corrections were not applied because the study area is flat and lacks substantial relief or tall vegetation. These operations could be incorporated into future versions of ArqPy to extend its applicability to landscapes with complex terrain and vegetation structure. Its object-oriented sensor architecture provides a suitable foundation for this extension, allowing new processing operations and sensor-specific parameters to be integrated without redesigning the entire workflow.

5. Conclusions

This study presents ArqPy, a Python-based toolbox designed to standardise and automate key preprocessing and enhancement operations for archaeological remote sensing. The workflow integrates atmospheric correction, conventional and AI-based pansharpening, spatial filtering, PCA and spectral index generation for very high-resolution satellite imagery. Its graphical interfaces and Windows-based distribution reduce technical barriers, while its object-oriented sensor architecture facilitates the future integration of additional sensors beyond WV3 and LEGION.
Application to Zar Tepe generated 244 derived products and supported the expert identification of four previously undocumented candidate crop marks before the forthcoming field campaign. The pansharpened natural-colour composite, PCA products, and spectral indices provided the most useful information for visual interpretation. However, the most informative product varied among crop marks, demonstrating the value of systematically examining complementary image products rather than selecting a single universal solution.
The integrated AI-based tools supported different stages of the workflow but also showed important limitations. MAE saliency highlighted several crop marks but responded strongly to non-archaeological geometric features and showed limited agreement with expert product selection. SAM 3 generated potentially relevant segmentation candidates but also detected roads, tracks, and field boundaries. These tools can therefore assist preliminary reconnaissance and product exploration, but they cannot replace expert interpretation and field validation.
Overall, ArqPy promotes reproducibility and transparency by making the processing chain explicit and repeatable. Future work will focus on validating the workflow at additional archaeological sites, incorporating more sensors and correction methods, increasing parameter flexibility, and adapting AI models to archaeological training data and multispectral information beyond the visible bands.

Author Contributions

Conceptualization, C.I.; methodology, C.I., P.U. and J.A.; software, C.I.; validation, C.I., J.A. and P.U.; formal analysis, C.I. and F.P.-C.; investigation, C.I.; resources, C.I.; data curation, C.I., F.P.-C. and J.A.; writing—original draft preparation, C.I.; writing—review and editing, C.I., P.U., J.A. and F.P.-C.; visualisation, C.I.; supervision, F.P.-C. and J.A.; project administration, P.U.; funding acquisition, C.I. and P.U. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by several research projects supported by the Spanish Ministry of Science and Innovation: PID2020-114096GA-C22, led by Paula Uribe; PID2024-157190NB-C22, co-led by Paula Uribe and Jorge Angás; and PID2020-114096GB-C21 and PID2024-157190NB-C21, led by Verónica Martínez-Ferreras. Additional funding was provided through the DiGHER research project (CPP2022-009631), led by Jorge Angás and funded by MCIU/AEI/10.13039/501100011033 and by the European Union’s NextGenerationEU/PRTR programme. The Spanish Palarq Foundation contributed to supporting part of the archaeological fieldwork conducted at Zar Tepe in 2024 and 2025, led by Verónica Martínez-Ferreras. Cristian Iranzo contributed to this study through a PhD research contract funded by the Department of Science, University and Knowledge Society of the Government of Aragón (Spain).

Data Availability Statement

The original data presented in the study are openly available in the ArqPy-Toolbox GitHub repository at https://github.com/CristianICS/ArqPy-Toolbox (accessed on 24 August 2026).

Acknowledgments

During the preparation of this manuscript, the authors used Consensus for the purposes of bibliography review. The authors have reviewed and edited the output and take full responsibility for the content of this publication.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
MAEMasked Autoencoders
WV3WorldView-3
LEGIONWorldView Legion

References

  1. Luo, L.; Wang, X.; Guo, H.; Lasaponara, R.; Zong, X.; Masini, N.; Wang, G.; Shi, P.; Khatteli, H.; Chen, F.; et al. Airborne and Spaceborne Remote Sensing for Archaeological and Cultural Heritage Applications: A Review of the Century (1907–2017). Remote Sens. Environ. 2019, 232, 111280. [Google Scholar] [CrossRef] [Scilit]
  2. Davis, D.S.; Douglass, K. Aerial and Spaceborne Remote Sensing in African Archaeology: A Review of Current Research and Potential Future Avenues. Afr. Archaeol. Rev. 2020, 37, 9–24. [Google Scholar] [CrossRef] [Scilit]
  3. Cigna, F.; Balz, T.; Tapete, D.; Caspari, G.; Fu, B.; Abballe, M.; Jiang, H. Exploiting Satellite SAR for Archaeological Prospection and Heritage Site Protection. Geo-Spat. Inf. Sci. 2024, 27, 526–551. [Google Scholar] [CrossRef] [Scilit]
  4. Casana, J. Rethinking the Landscape: Emerging Approaches to Archaeological Remote Sensing. Annu. Rev. Anthropol. 2021, 50, 167–186. [Google Scholar] [CrossRef] [Scilit]
  5. Zingaro, M.; Scicchitano, G.; Capolongo, D. The Innovative Growth of Space Archaeology: A Brief Overview of Concepts and Approaches in Detection, Monitoring, and Promotion of the Archaeological Heritage. Remote Sens. 2023, 15, 3049. [Google Scholar] [CrossRef] [Scilit]
  6. Kadhim, I.; Abed, F.M. A Critical Review of Remote Sensing Approaches and Deep Learning Techniques in Archaeology. Sensors 2023, 23, 2918. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  7. Alders, W.; Davis, D.S.; Haines, J.J. Archaeology in the Fourth Dimension: Studying Landscapes with Multitemporal PlanetScope Satellite Data. J. Archaeol. Method Theory 2024, 31, 1588–1621. [Google Scholar] [CrossRef] [Scilit]
  8. McGrath, C.N.; Scott, C.; Cowley, D.; Macdonald, M. Towards a Satellite System for Archaeology? Simulation of an Optical Satellite Mission with Ideal Spatial and Temporal Resolution, Illustrated by a Case Study in Scotland. Remote Sens. 2020, 12, 4100. [Google Scholar] [CrossRef] [Scilit]
  9. Agapiou, A. Optimal Spatial Resolution for the Detection and Discrimination of Archaeological Proxies in Areas with Spectral Heterogeneity. Remote Sens. 2020, 12, 136. [Google Scholar] [CrossRef] [Scilit]
  10. Casana, J.; Ferwerda, C. Archaeological Prospection Using WorldView-3 Short-wave Infrared (SWIR) Satellite Imagery: Case Studies from the Fertile Crescent. Archaeol. Prospect. 2023, 30, 327–340. [Google Scholar] [CrossRef] [Scilit]
  11. Agapiou, A.; Lysandrou, V.; Lasaponara, R.; Masini, N.; Hadjimitsis, D. Study of the Variations of Archaeological Marks at Neolithic Site of Lucera, Italy Using High-Resolution Multispectral Datasets. Remote Sens. 2016, 8, 723. [Google Scholar] [CrossRef] [Scilit]
  12. Vanonckelen, S.; Lhermitte, S.; Van Rompaey, A. The Effect of Atmospheric and Topographic Correction Methods on Land Cover Classification Accuracy. Int. J. Appl. Earth Obs. Geoinf. 2013, 24, 9–21. [Google Scholar] [CrossRef] [Scilit]
  13. Hill, A.C.; Laugier, E.J.; Casana, J. Archaeological Remote Sensing Using Multi-Temporal, Drone-Acquired Thermal and Near Infrared (NIR) Imagery: A Case Study at the Enfield Shaker Village, New Hampshire. Remote Sens. 2020, 12, 690. [Google Scholar] [CrossRef] [Scilit]
  14. Moriarty, C.; Cowley, D.C.; Wade, T.; Nichol, C.J. Deploying Multispectral Remote Sensing for Multi-temporal Analysis of Archaeological Crop Stress at Ravenshall, Fife, Scotland. Archaeol. Prospect. 2019, 26, 33–46. [Google Scholar] [CrossRef] [Scilit]
  15. Opitz, R.; Herrmann, J. Recent Trends and Long-Standing Problems in Archaeological Remote Sensing. J. Comput. Appl. Archaeol. 2018, 1, 19–41. [Google Scholar] [CrossRef] [Scilit]
  16. Pirowski, T.; Szypuła, B.; Marciak, M. Interpretation of Multispectral Satellite Data as a Tool for Detecting Archaeological Artifacts (Navkur Plain and Karamleis Plain, Iraq). Archaeol. Anthropol. Sci. 2022, 14, 166. [Google Scholar] [CrossRef] [Scilit]
  17. Tapete, D.; Cigna, F. Detection of Archaeological Looting from Space: Methods, Achievements and Challenges. Remote Sens. 2019, 11, 2389. [Google Scholar] [CrossRef] [Scilit]
  18. El-Behaedi, R. Detection and 3D Modeling of Potential Buried Archaeological Structures Using WorldView-3 Satellite Imagery. Remote Sens. 2022, 14, 92. [Google Scholar] [CrossRef] [Scilit]
  19. Schulze, H.G.; Rangan, S.; Vardaki, M.Z.; Blades, M.W.; Turner, R.F.B.; Piret, J.M. Critical Evaluation of Spectral Resolution Enhancement Methods for Raman Hyperspectra. Appl. Spectrosc. 2022, 76, 61–80. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  20. Ge, Z.-Z.; Ding, Z.; Wang, Y.; Bian, L.-F.; Yang, C. Spectral Domain Strategies for Hyperspectral Super-Resolution: Transfer Learning and Channel Enhance Network. Int. J. Appl. Earth Obs. Geoinf. 2024, 134, 104180. [Google Scholar] [CrossRef] [Scilit]
  21. Waagen, J. Documenting Drone Remote Sensing: A Reality-Based Modelling Approach for Applications in Cultural Heritage and Archaeology. Drone Syst. Appl. 2025, 13, 1–14. [Google Scholar] [CrossRef] [Scilit]
  22. Marwick, B. Computational Reproducibility in Archaeological Research: Basic Principles and a Case Study of Their Implementation. J. Archaeol. Method Theory 2017, 24, 424–450. [Google Scholar] [CrossRef] [Scilit]
  23. Strupler, N. Re-Discovering Archaeological Discoveries. Experiments with Reproducing Archaeological Survey Analysis. Internet Archaeol. 2021, 56, 6. [Google Scholar] [CrossRef] [Scilit]
  24. Strupler, N. Archaeology as Community Enterprise. In CAA 2015 Keep the Revolution Going, Proceedings of the 43rd Annual Conference on Computer Applications and Quantitative Methods in Archaeology, Sienna, Italy, 30 March–3 April 2015; Campana, S., Scopigno, R., Carpentiero, G., Cirillo, M., Eds.; Archaeopress: Oxford, UK, 2016; pp. 1015–1018. [Google Scholar]
  25. Colleter, R.; Romain, J.-B.; Barreau, J.-B. HumanOS: An Open Source Nomadic Software Database for Physical Anthropology and Archaeology. Virtual Archaeol. Rev. 2020, 11, 94–105. [Google Scholar] [CrossRef] [Scilit]
  26. Moullou, D.; Vital, R.; Sylaiou, S.; Ragia, L. Digital Tools for Data Acquisition and Heritage Management in Archaeology and Their Impact on Archaeological Practices. Heritage 2024, 7, 107–121. [Google Scholar] [CrossRef] [Scilit]
  27. Duarte, L.; Sánchez, J.G.; Fonte, J.; Teodoro, A.C. A GIS Open-Source Application to Enhance the Identification of Archaeological Crop Marks Using Remote Sensing Data. In Proceedings of the Earth Resources and Environmental Remote Sensing/GIS Applications XII, Online, 13–18 September 2021; Schulz, K., Nikolakopoulos, K.G., Michel, U., Eds.; SPIE: Bellingham, WA, USA, 2021; p. 10. [Google Scholar]
  28. Grosman, L.; Muller, A.; Dag, I.; Goldgeier, H.; Harush, O.; Herzlinger, G.; Nebenhaus, K.; Valetta, F.; Yashuv, T.; Dick, N. Artifact3-D: New Software for Accurate, Objective and Efficient 3D Analysis and Documentation of Archaeological Artifacts. PLoS ONE 2022, 17, e0268401. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  29. Vlizos, S.; Kotsopoulos, K.; Christodoulou, D. Enhancing Cultural Sustainability: Making Rescue Excavations Accessible through Educational Applications and Virtual Reality. Sustainability 2024, 16, 1439. [Google Scholar] [CrossRef] [Scilit]
  30. Calleja, J.F.; Requejo Pagés, O.; Díaz-Álvarez, N.; Peón, J.; Gutiérrez, N.; Martín-Hernández, E.; Cebada Relea, A.; Rubio Melendi, D.; Fernández Álvarez, P. Detection of Buried Archaeological Remains with the Combined Use of Satellite Multispectral Data and UAV Data. Int. J. Appl. Earth Obs. Geoinf. 2018, 73, 555–573. [Google Scholar] [CrossRef] [Scilit]
  31. Gravanis, E.; Agapiou, A. Physically Based Predictive Modelling of Archaeological Proxies Using Cropmarks. Archaeol. Prospect. 2026, 33, 177–187. [Google Scholar] [CrossRef] [Scilit]
  32. Caldwell, A.E. Application of Remote Sensing in Archaeology: A Study of Crop Mark Detection Using Airborne Thermal Infrared Imagery in the Heslerton Parish Project Area, Vale of Pickering, North Yorks, UK. In Infrared Spaceborne Remote Sensing VIII, Proceedings of the International Symposium on Optical Science and Technology, San Diego, CA, USA, 30 July–4 August 2000; Strojnik, M., Andresen, B.F., Eds.; SPIE: Bellingham, WA, USA, 2000; pp. 185–193. [Google Scholar]
  33. Lasaponara, R.; Masini, N. Detection of Archaeological Crop Marks by Using Satellite QuickBird Multispectral Imagery. J. Archaeol. Sci. 2007, 34, 214–221. [Google Scholar] [CrossRef] [Scilit]
  34. Agapiou, A.; Hadjimitsis, D.; Alexakis, D. Evaluation of Broadband and Narrowband Vegetation Indices for the Identification of Archaeological Crop Marks. Remote Sens. 2012, 4, 3892–3919. [Google Scholar] [CrossRef] [Scilit]
  35. Agapiou, A.; Hadjimitsis, D.G.; Sarris, A.; Georgopoulos, A.; Alexakis, D.D. Optimum Temporal and Spectral Window for Monitoring Crop Marks over Archaeological Remains in the Mediterranean Region. J. Archaeol. Sci. 2013, 40, 1479–1492. [Google Scholar] [CrossRef] [Scilit]
  36. Materazzi, F.; Pacifici, M. Archaeological Crop Marks Detection through Drone Multispectral Remote Sensing and Vegetation Indices: A New Approach Tested on the Italian Pre-Roman City of Veii. J. Archaeol. Sci. Rep. 2022, 41, 103235. [Google Scholar] [CrossRef] [Scilit]
  37. Agapiou, A. Enhancement of Archaeological Proxies at Non-Homogenous Environments in Remotely Sensed Imagery. Sustainability 2019, 11, 3339. [Google Scholar] [CrossRef] [Scilit]
  38. Peña-Villasenín, S.; Gil-Docampo, M.; Ortiz-Sanz, J. Hidden Archaeological Remains in Heterogeneous Vegetation: A Crop Marks Study in Fortified Settlements of Northwestern Iberian Peninsula. Remote Sens. 2024, 16, 3923. [Google Scholar] [CrossRef] [Scilit]
  39. Stride, S. Regions and Territories in Southern Central Asia: What the Surkhan Darya Province Tells Us about Bactria. In After Alexander: Central Asia Before Islam; Cribb, J., Herrmann, G., Eds.; Proceedings of the British Academy; British Academy: London, UK, 2007; Volume 133, pp. 99–117. [Google Scholar]
  40. Leriche, P. Bactria: Land of a Thousand Cities. In After Alexander: Central Asia Before Islam; Cribb, J., Herrmann, G., Eds.; Proceedings of the British Academy; British Academy: London, UK, 2007; Volume 133, pp. 121–153. [Google Scholar]
  41. Benjamin, C. Empires of Ancient Eurasia: The First Silk Roads Era, 100 BCE–250 CE, 1st ed.; Cambridge University Press: Cambridge, UK, 2018; ISBN 978-1-316-33556-7. [Google Scholar]
  42. Angás, J.; Uribe, P.; Martínez-Ferreras, V.; Iranzo, C.; Gurt, J.M.; Zakirov, A.; Yanbukhtin, I.; Musaev, U.; Ariño, E.; Hoshimov, H.; et al. From Satellite to Ground: An Integrated Multiscale and Multitemporal Remote-Sensing Workflow for Archaeological Prospection at Zar Tepe (1st–5th Centuries AD) in Surkhandarya, Uzbekistan. Remote Sens. 2026, 18, 2089. [Google Scholar] [CrossRef] [Scilit]
  43. Grizonnet, M.; Michel, J.; Poughon, V.; Inglada, J.; Savinaud, M.; Cresson, R. Orfeo ToolBox: Open Source Processing of Remote Sensing Images. Open Geospat. Data Softw. Stand. 2017, 2, 15. [Google Scholar] [CrossRef] [Scilit]
  44. GDAL/OGR Contributors. GDAL/OGR Geospatial Data Abstraction Software Library; Open Source Geospatial Foundation: Beaverton, OR, USA, 2026. [Google Scholar]
  45. Iranzo, C. ArqPy Toolbox, version 1.2.1. 2026. Available online: https://zenodo.org/records/18448373 (accessed on 24 August 2026).
  46. Ciotola, M.; Vitale, S.; Mazza, A.; Poggi, G.; Scarpa, G. Pansharpening by Convolutional Neural Networks in the Full Resolution Framework. IEEE Trans. Geosci. Remote Sens. 2022, 60, 5408717. [Google Scholar] [CrossRef] [Scilit]
  47. Carion, N.; Gustafson, L.; Hu, Y.-T.; Debnath, S.; Hu, R.; Suris, D.; Ryali, C.; Alwala, K.V.; Khedr, H.; Huang, A.; et al. SAM 3: Segment Anything with Concepts. In Proceedings of the International Conference on Learning Representations 2026, Rio de Janeiro, Brazil, 23–27 April 2026. [Google Scholar]
  48. Song, C.; Woodcock, C.E.; Seto, K.C.; Lenney, M.P.; Macomber, S.A. Classification and Change Detection Using Landsat TM Data: When and How to Correct Atmospheric Effects? Remote Sens. Environ. 2001, 75, 230–244. [Google Scholar] [CrossRef] [Scilit]
  49. Chavez, P.S. Image-Based Atmospheric Corrections: Revisited and Improved. Photogramm. Eng. Remote Sens. 1996, 62, 1025–1035. [Google Scholar]
  50. Belfiore, O.; Meneghini, C.; Parente, C.; Santamaria, R. Application of Different Pan-Sharpening Methods on WorldView-3 Images. J. Eng. Appl. Sci. 2016, 11, 490–496. [Google Scholar]
  51. Zhang, K.; Zhang, F.; Wan, W.; Yu, H.; Sun, J.; Del Ser, J.; Elyan, E.; Hussain, A. Panchromatic and Multispectral Image Fusion for Remote Sensing and Earth Observation: Concepts, Taxonomy, Literature Review, Evaluation Methodologies and Challenges Ahead. Inf. Fusion 2023, 93, 227–242. [Google Scholar] [CrossRef] [Scilit]
  52. He, K.; Chen, X.; Xie, S.; Li, Y.; Dollár, P.; Girshick, R. Masked Autoencoders Are Scalable Vision Learners. In Proceedings of the 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 18–24 June 2022. [Google Scholar] [CrossRef] [Scilit]
  53. Dosovitskiy, A.; Beyer, L.; Kolesnikov, A.; Weissenborn, D.; Zhai, X.; Unterthiner, T.; Dehghani, M.; Minderer, M.; Heigold, G.; Gelly, S.; et al. An Image Is Worth 16 × 16 Words: Transformers for Image Recognition at Scale. arXiv 2020, arXiv:2010.11929. [Google Scholar]
  54. Iranzo, C.; Barber, Q.E.; Millard, K.; Longares, L.A.; Pérez-Cabello, F.; Angás, J. MIFCSheet: An Open-Source Progressive Web Application for Vegetation Inventory Data Collection. J. Open Res. Softw. 2026, 14, 49. [Google Scholar] [CrossRef] [Scilit]
  55. Haboudane, D.; Miller, J.R.; Tremblay, N.; Zarco-Tejada, P.J.; Dextraze, L. Integrated Narrow-Band Vegetation Indices for Prediction of Crop Chlorophyll Content for Application to Precision Agriculture. Remote Sens. Environ. 2002, 81, 416–426. [Google Scholar] [CrossRef] [Scilit]
  56. Beale, G.; Beale, N. Community-Driven Approaches to Open Source Archaeological Imaging. In Open Source Archaeology; Wilson, A.T., Edwards, B., Eds.; De Gruyter Open Poland: Warsaw, Poland, 2015; pp. 44–63. ISBN 978-3-11-044017-1. [Google Scholar]
  57. Iranzo, C.; Uribe, P.; Angas, J.; Ariño, E.; Martínez-Ferreras, V.; Gurt, J.M.; Pidaev, S. Archaeological Prospection with Corona and WV-3 Satellite Imagery of the Archaeological Site of Zar Tepe (Uzbekistan). Int. Arch. Photogramm. Remote Sens. Spat. Inf. Sci. 2023, XLVIII-M-2-2023, 743–749. [Google Scholar] [CrossRef] [Scilit]
  58. Miraglio, T.; Coops, N. SUREHYP: An Open Source Python Package for Preprocessing Hyperion Radiance Data and Retrieving Surface Reflectance. Sensors 2022, 22, 9205. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  59. Kim, K.; Lee, K. An Implementation of Open Source-Based Software as a Service (SaaS) to Produce TOA and TOC Reflectance of High-Resolution KOMPSAT-3/3A Satellite Image. Remote Sens. 2021, 13, 4550. [Google Scholar] [CrossRef] [Scilit]
  60. Liu, Y.; Zhang, H.; Zhang, W.; Lu, G.; Tian, Q.; Ling, N. Few-Shot Image Classification: Current Status and Research Trends. Electronics 2022, 11, 1752. [Google Scholar] [CrossRef] [Scilit]
Figure 1. Location of the Zar Tepe archaeological site and study area. The mapped features include crop marks verified during fieldwork, four candidate crop marks newly identified and digitised using ArqPy-derived products, and four crop-mark-like negative controls selected to assess false-positive responses in the MAE saliency maps.
Figure 1. Location of the Zar Tepe archaeological site and study area. The mapped features include crop marks verified during fieldwork, four candidate crop marks newly identified and digitised using ArqPy-derived products, and four crop-mark-like negative controls selected to assess false-positive responses in the MAE saliency maps.
Sensors 26 05478 g001
Figure 2. Toolbox architecture and relationships among processing components. The diagram represents the predefined workflow. First, the original very-high-resolution imagery, including multispectral and panchromatic bands, is radiometrically corrected. The corrected panchromatic band is used to generate four high-pass-filtered products. Pansharpening is then performed using one of the available conventional or AI-based methods. The resulting image can be processed with SAM 3 to segment candidate crop mark instances. Spectral indices and principal components are also computed from the pansharpened image to generate additional derived products. The derived products can subsequently be analysed using MAE-based saliency maps. Border colours indicate the software used by each operation, including GDALversion 3.12 and OrfeoToolbox version 9.1.1.
Figure 2. Toolbox architecture and relationships among processing components. The diagram represents the predefined workflow. First, the original very-high-resolution imagery, including multispectral and panchromatic bands, is radiometrically corrected. The corrected panchromatic band is used to generate four high-pass-filtered products. Pansharpening is then performed using one of the available conventional or AI-based methods. The resulting image can be processed with SAM 3 to segment candidate crop mark instances. Spectral indices and principal components are also computed from the pansharpened image to generate additional derived products. The derived products can subsequently be analysed using MAE-based saliency maps. Border colours indicate the software used by each operation, including GDALversion 3.12 and OrfeoToolbox version 9.1.1.
Sensors 26 05478 g002
Figure 3. Examples of graphical user interfaces provided by ArqPy: the MAE saliency tool (mae), shown on the left, and the atmospheric correction tool (atmcorr), shown on the right. The interfaces provide input selection and operation-specific parameters, including source bands, an optional clipping layer, output settings, and the sensor from which the imagery was acquired.
Figure 3. Examples of graphical user interfaces provided by ArqPy: the MAE saliency tool (mae), shown on the left, and the atmospheric correction tool (atmcorr), shown on the right. The interfaces provide input selection and operation-specific parameters, including source bands, an optional clipping layer, output settings, and the sensor from which the imagery was acquired.
Sensors 26 05478 g003
Figure 4. Spectral bands available in WorldView-3 and WorldView Legion satellites.
Figure 4. Spectral bands available in WorldView-3 and WorldView Legion satellites.
Sensors 26 05478 g004
Figure 5. Comparison of pansharpening results for the original WV3 image acquired on 29 May 2017. The outputs are shown at two detail levels: Level 1 in the upper row and Level 2 in the lower row. Their locations are indicated in the overview map at the upper right, while the original image is shown at the lower right. All images are displayed using a linear contrast stretch of the mean ± three standard deviations ( µ ± 3 σ ).
Figure 5. Comparison of pansharpening results for the original WV3 image acquired on 29 May 2017. The outputs are shown at two detail levels: Level 1 in the upper row and Level 2 in the lower row. Their locations are indicated in the overview map at the upper right, while the original image is shown at the lower right. All images are displayed using a linear contrast stretch of the mean ± three standard deviations ( µ ± 3 σ ).
Sensors 26 05478 g005
Figure 6. Workflow for MAE-based saliency map generation using overlapping tile-based inference. Each derived image product was divided into 512 × 512 pixel tiles with a stride smaller than the tile size, producing overlap between adjacent tiles. For each tile, patch-level saliency values were predicted on a 14 × 14 grid and bilinearly interpolated to the original tile resolution. Overlapping tile-level maps were then merged using a raised Hann weighting window to reduce border artefacts and generate a continuous saliency map for the full image.
Figure 6. Workflow for MAE-based saliency map generation using overlapping tile-based inference. Each derived image product was divided into 512 × 512 pixel tiles with a stride smaller than the tile size, producing overlap between adjacent tiles. For each tile, patch-level saliency values were predicted on a 14 × 14 grid and bilinearly interpolated to the original tile resolution. Overlapping tile-level maps were then merged using a raised Hann weighting window to reduce border artefacts and generate a continuous saliency map for the full image.
Sensors 26 05478 g006
Figure 7. Locations of the crop marks and negative controls used in this study. Features are grouped according to the field campaign in which they were recorded, whether they were newly digitised from ArqPy-derived products, or whether they served as negative controls. The background is the natural-colour pansharpened WV3 image used for validation. Crop marks are outlined with yellow dashed lines; those outlined in black were not visible in the natural-colour composite and required derived products for their identification (IDs 1, 4, 7, 8, 11, and 12).
Figure 7. Locations of the crop marks and negative controls used in this study. Features are grouped according to the field campaign in which they were recorded, whether they were newly digitised from ArqPy-derived products, or whether they served as negative controls. The background is the natural-colour pansharpened WV3 image used for validation. Crop marks are outlined with yellow dashed lines; those outlined in black were not visible in the natural-colour composite and required derived products for their identification (IDs 1, 4, 7, 8, 11, and 12).
Sensors 26 05478 g007
Figure 8. Representative examples of the derived image products: (a) the GDVI spectral index; (b) a false-colour RGB composite generated from principal components 1, 2, and 3; (c) Sobel high-pass filtering; and (d) the MAE saliency map computed from the PCA-derived image product shown in (b).
Figure 8. Representative examples of the derived image products: (a) the GDVI spectral index; (b) a false-colour RGB composite generated from principal components 1, 2, and 3; (c) Sobel high-pass filtering; and (d) the MAE saliency map computed from the PCA-derived image product shown in (b).
Sensors 26 05478 g008
Figure 9. Locations of candidate crop marks identified using ArqPy products. The upper row shows the products used for their identification: TCARI/OSAVI for ID 11, MTVI for ID 12, both displayed using the viridis colour scale, and the Bayesian-pansharpened natural-colour composite for IDs 13 and 14. The lower row shows the corresponding MAE saliency maps displayed using the magma colour scale. Crop marks are outlined with yellow dashed lines; those outlined in black were not visible in the natural-colour composite and required derived products for their identification.
Figure 9. Locations of candidate crop marks identified using ArqPy products. The upper row shows the products used for their identification: TCARI/OSAVI for ID 11, MTVI for ID 12, both displayed using the viridis colour scale, and the Bayesian-pansharpened natural-colour composite for IDs 13 and 14. The lower row shows the corresponding MAE saliency maps displayed using the magma colour scale. Crop marks are outlined with yellow dashed lines; those outlined in black were not visible in the natural-colour composite and required derived products for their identification.
Sensors 26 05478 g009
Figure 10. Ground-validated crop marks recorded during the 2024 and 2025 field campaigns, shown in the image product in which each was most clearly identified. The upper row presents the selected products, and the lower row shows their corresponding MAE saliency maps. The indices are displayed using the viridis colour scale. The PCA is shown as an RGB composite of the first three principal components, with the first, second, and third components assigned to the red, green, and blue channels, respectively. The MAE saliency maps are displayed using the magma colour scale. Crop marks are outlined with yellow dashed lines; those outlined in black were not visible in the natural-colour composite and required derived products for their identification.
Figure 10. Ground-validated crop marks recorded during the 2024 and 2025 field campaigns, shown in the image product in which each was most clearly identified. The upper row presents the selected products, and the lower row shows their corresponding MAE saliency maps. The indices are displayed using the viridis colour scale. The PCA is shown as an RGB composite of the first three principal components, with the first, second, and third components assigned to the red, green, and blue channels, respectively. The MAE saliency maps are displayed using the magma colour scale. Crop marks are outlined with yellow dashed lines; those outlined in black were not visible in the natural-colour composite and required derived products for their identification.
Sensors 26 05478 g010
Figure 11. SAM 3 instances generated using the three text prompts, shown over the Bayesian-pansharpened image used as model input. Reference crop marks are displayed in grey, while predicted instances are classified by confidence score. Four areas are highlighted: zones A and B represent the two potentially relevant detections, whereas zones C and D illustrate responses to modern or historical roads, tracks, and field boundaries. Although the latter are crop-mark-like geometric features, they were not interpreted as archaeological crop marks.
Figure 11. SAM 3 instances generated using the three text prompts, shown over the Bayesian-pansharpened image used as model input. Reference crop marks are displayed in grey, while predicted instances are classified by confidence score. Four areas are highlighted: zones A and B represent the two potentially relevant detections, whereas zones C and D illustrate responses to modern or historical roads, tracks, and field boundaries. Although the latter are crop-mark-like geometric features, they were not interpreted as archaeological crop marks.
Sensors 26 05478 g011
Table 1. Description of the validation set of crop marks.
Table 1. Description of the validation set of crop marks.
GroupSeen in RGBLocated Only in Derived ProductTotal
2024 campaign448
2025 campaign202
ArqPy derived224
False crop marks--5
Table 2. Mean and maximum MAE saliency values for each derived-product group, together with the product showing the highest mean saliency within each group. Statistics for the Bayesian-pansharpened natural-colour composite, analysed using its red, green, and blue bands, are included for comparison.
Table 2. Mean and maximum MAE saliency values for each derived-product group, together with the product showing the highest mean saliency within each group. Statistics for the Bayesian-pansharpened natural-colour composite, analysed using its red, green, and blue bands, are included for comparison.
GroupMean SaliencyMax SaliencyBest Derived Product
PCA14.327.57B-G-Y-N combination
High-pass filters12.117.4Laplacian filter
Spectral indices1217.5TCARI-OSAVI
Bayesian PAN12.817.9-
Table 3. Mean MAE saliency values and empirical percentile ranks at the locations of 14 crop marks and five negative controls, summarised by derived-product group. For each group and feature class, the product with the highest mean percentile rank is reported. Results for the Bayesian-pansharpened natural-colour composite are included for comparison.
Table 3. Mean MAE saliency values and empirical percentile ranks at the locations of 14 crop marks and five negative controls, summarised by derived-product group. For each group and feature class, the product with the highest mean percentile rank is reported. Results for the Bayesian-pansharpened natural-colour composite are included for comparison.
GroupCrop MarksMAE SaliencyPercentile RankBest Product
PCAIdentified14.40.54G-Y-R-N2
Negative15.50.69Y-N-N2
High-passIdentified11.70.38Log5
Negative12.10.66Log5
IndicesIdentified11.50.44BAI
Negative12.280.38NDSI
Bayesian PAN 12.30.43-
13.580.78-
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Iranzo, C.; Uribe, P.; Angás, J.; Pérez-Cabello, F. ArqPy: A Python Toolbox for Remote Sensing Image Preprocessing and AI-Assisted Interpretation of Derived Products for Archaeological Prospection. Sensors 2026, 26, 5478. https://doi.org/10.3390/s26175478

AMA Style

Iranzo C, Uribe P, Angás J, Pérez-Cabello F. ArqPy: A Python Toolbox for Remote Sensing Image Preprocessing and AI-Assisted Interpretation of Derived Products for Archaeological Prospection. Sensors. 2026; 26(17):5478. https://doi.org/10.3390/s26175478

Chicago/Turabian Style

Iranzo, Cristian, Paula Uribe, Jorge Angás, and Fernando Pérez-Cabello. 2026. "ArqPy: A Python Toolbox for Remote Sensing Image Preprocessing and AI-Assisted Interpretation of Derived Products for Archaeological Prospection" Sensors 26, no. 17: 5478. https://doi.org/10.3390/s26175478

APA Style

Iranzo, C., Uribe, P., Angás, J., & Pérez-Cabello, F. (2026). ArqPy: A Python Toolbox for Remote Sensing Image Preprocessing and AI-Assisted Interpretation of Derived Products for Archaeological Prospection. Sensors, 26(17), 5478. https://doi.org/10.3390/s26175478

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop