This toolbox performs a series of remote sensing–derived products for archaeological analysis, with a particular focus on crop mark detection. It also includes an option to apply a Masked Autoencoder to identify zones with a higher probability of containing crop marks.
The toolbox is distributed as a self-contained package and does not require Conda, Miniforge, or manual environment setup by the end user.
The available operations are executed in the following recommended order:
atmcorr– atmospheric correctionpansharpening– spatial–spectral fusionpca– principal component analysisspectral_indices– spectral index computationhighpass– spatial filteringmae– Masked Autoencoder–based analysis
Each operation provides a graphical user interface for configuring the parameters required for execution.
Atmospheric correction is currently supported for the following sensors:
- GEOSAT
- WorldView-3 (WV3)
- WorldView LEGION-06
The pca, pansharpening and spectral_indices operations are available only for WV3 and LEGION sensors.
The highpass and mae operations are available for any image provided in GeoTIFF format.
This repository includes a reduced WorldView-3 image provided for testing and demonstration purposes. The dataset covers the Zar Tepe archaeological site (Uzbekistan).
No installation is required beyond downloading and extracting the toolbox.
- Download the toolbox release.
- Extract the archive to a local directory (e.g.
C:\Toolbox). - Ensure the directory structure is preserved.
The toolbox includes all required Python environments and external dependencies.
After extraction, the toolbox directory must have the following structure:
Toolbox
|
|- app (Python scripts used to perform the operations)
|- env (packed Python environment for preprocessing)
| |
| |- OTB-9.1.1-Win64 (Orfeo ToolBox binaries)
|- env_mae (packed Python environment for MAE analysis)
|- atmcorr.bat
|- ...
|- README.mdThe toolbox relies on Orfeo ToolBox (OTB) version 9.1.1, which is already included in the release. No additional downloads are required.
To launch the toolbox operations:
- Double-click on the desired operation (e.g.
atmcorr.bat), or - Run it from a Windows command prompt.
Each batch file automatically activates the appropriate environment and routes the operation to the correct backend.
- Operating system: Windows 11
- No administrator privileges required
The release includes the complete application folder, together with the required environments. To replicate the same structure, follow the steps below in a Miniforge or Miniconda console.
Install the environments using the provided .yml files:
mamba env create -f requirements_otb.yml
mamba env create -f requirements_mae.ymlPack the environments and place the resulting archives inside the toolbox directory. They must be unpacked later:
conda pack -n arcpy_otb -o Toolbox/env.zip
conda pack -n mae -o Toolbox/env_mae.zipFinally, include Orfeo ToolBox inside the env folder.
Download OTB version 9.1.1 and place it within the toolbox directory as follows:
Toolbox
|
|- env
| |
| |- ...
| |- OTB-9.1.1-Win64
| |- ...
|_ ...