Maya Pottery Red: Hue as a Perceptual Prior for Object Detection in UAV-Based Areal Survey
Highlights
- Developed a Hue-Weighted Loss Function and Two-Phase Workflow for small-object detection.
- HSV-based filtering reduced candidates by 99.1% while retaining 97.8% of targets (F1: 0.731).
- Chromatic priors can also assist search-and-rescue, environmental, and traffic detection.
- Low-altitude UAV chromatic detection scales survey records while reducing manual effort.
Abstract
1. Introduction
1.1. The Challenge of Small-Object Detection in Heritage Documentation
1.2. Ecological Context and the “Maya Pottery Red” (MPR) Signature
1.3. Related Work and the Technical Gap
1.4. The Proposed Two-Phase Framework
| Algorithm 1. Two-Phase Chromatic Artifact Detection Framework |
| Input: |
| 16-bit HSV image array A; trained detector D; |
| Phase II parameters: target hue htarget = 40.6°, bounds (H(floor), H(ceil)); |
| Smin = 18.0; weights wc = 0.70, w = 0.30 |
| Output: |
| Final detection set F |
| Phase I: Geometric Candidate Generation |
|
| Phase II: Chromatic Validation |
|
| Post-processing |
|
2. Materials and Methods
2.1. Motivation and Conceptual Design
2.1.1. Empirical Establishment of the MPR Norm
2.1.2. Chromatic Range and Inductive Bias
- (1)
- Low-penalty zone: Candidates whose mean hue closely approximates the MPR norm (within approximately ±10°) incur minimal weighting penalties, allowing the model to prioritize geometric learning for chromatically consistent detections.
- (2)
- Graduated amplification zone: As angular deviation increases beyond this region, the cubic penalty function produces progressively stronger suppression, with penalty severity scaling nonlinearly with distance from the centroid. This scaled penalty assignment is referred to as the Accelerated Penalty region in Figure 7.
- (3)
- Effective exclusion zone: Candidates deviating beyond approximately 50° from the MPR centroid accumulate penalties sufficient to suppress detection in practice. This is an emergent consequence of the cubic weighting function, not a hard threshold. Hard chromatic gates—where detections are accepted or rejected by fixed hue bounds—appear only in the Phase II post-inference filter and constitute a separate mechanism from the HWLF.
2.2. Mathematical Formalization of Hue-Weighted Loss Function
2.2.1. Circular Hue Distance Metric
2.2.2. Hue-Weighted Penalty Function
- -
- α is a hyperparameter controlling penalty severity (e.g., α = 10)
- -
- δi3 is the cubic term that provides nonlinear amplification of the error.
- -
- Chromatic Tolerance for MPR: Objects closely approximating Maya Pottery Red (htarget = 40.6°, δi ≈ 0): w ≈ 1. This minimal penalty allows the model to prioritize geometric learning for artifacts within the acceptable chromatic range.
- -
- Non-linear Rejection of Distractors: As the deviation increases, the penalty grows nonlinearly via the cubic term. Small deviations (δi < 0.3), which may be caused by minor lighting variations or mineralogical shifts in the clay, are penalized lightly, ensuring the model remains robust to heterogenous field conditions.
- -
- Maximum Penalty for Distant Hues: For objects at the maximum chromatic opposition (δi ≈ 1), such as certain limestone fragments or dense vegetation, the function reaches its peak weighting of w ≈ 1 + α. This severe penalty ensures that these geometrically similar but chromatically distinct materials are effectively rejected by the model.
2.2.3. Total Loss Function
2.2.4. Classification Loss (Hue-Weighted)
- -
- CE(ŷi, yi) is cross-entropy between predicted class ŷi and ground truth yi
- -
- N is the number of predictions
- -
- whue(hi) scales the penalty based on hue distance
2.2.5. Bounding Box Regression Loss
2.2.6. Hue Consistency Loss (Auxiliary Term)
2.2.7. Hyperparameters
- -
- htarget = 40.6° (Maya Pottery Red) as established by circular mean analysis of the 502-sherd reference set; Phase 2 chromatic filter target is refined to 38.4° following field calibration
- -
- α = 10 (penalty severity, tunable)
- -
- λbbox = 1.0 (bounding box loss weight)
- -
- λhue = 0.5 (hue consistency loss weight)
2.2.8. Implementation Considerations, Hue Extraction During Training
2.2.9. Gradient Flow
2.3. Implementation and Pipeline Verification
2.3.1. Image Conversion and Annotation Workflow
2.3.2. Training Dataset and Augmentation
2.3.3. Hue Extraction Protocol
2.3.4. Model Architecture
2.3.5. Training Configuration
2.3.6. Two-Phase Workflow Implementation
2.3.7. Tiling and Computational Performance
2.3.8. Evaluation Criteria
3. Results
3.1. Diagnostic Evaluation of the Hue-Weighted Loss Function
3.2. HWLF Training Behaviour and Extinction Phenomenon
3.3. Munsell Calibration and Chromatic Fidelity
3.4. Detection Performance of the Two-Phase Workflow
3.5. Independent Validation
IVT Protocol and Results
- -
- 962 were detected by the Two-Phase Workflow (TP)
- -
- 22 were missed by it (FN)
4. Discussion
4.1. Chromatic Priors as a Diagnostic and Design Tool
4.2. Decoupled Architectures for Stable Deployment
4.3. Implications for Remote Sensing and Archaeological Survey
4.4. Limitations and Future Work
4.5. Future Directions: Bidirectional Hue-Weighted Loss and Dynamic Penalty Scheduling
4.6. The Two-Phase Workflow as a Decoupled Analytical Alternative
5. Conclusions
Supplementary Materials
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| AGL | Above Ground Level |
| AI | Artificial Intelligence |
| CE | Cross-Entropy |
| DEM | Digital Elevation Model |
| DNG | Digital Negative (a raw image file format) |
| IVT | Independent Validation Test |
| GIS | Geographic Information Systems |
| HITL | Human-in-the-Loop |
| HSV | Hue, Saturation, Value (color space) |
| HWLF | Hue-Weighted Loss Function |
| IoU | Intersection over Union |
| JSON | JavaScript Object Notation |
| LiDAR | Light Detection and Ranging |
| mAP | mean Average Precision |
| MPR | Maya Pottery Red |
| ORCID iD | Open Researcher and Contributor ID |
| RGB | Red, Green, Blue (color space) |
| ROI | Region of Interest |
| RTK | Real-Time Kinematic |
| SAHI | Slicing Aided Hyper Inference |
| SOD | Small Object Detection |
| UAV | Unmanned Aerial Vehicle |
| ViT | Vision Transformer |
| ViTDet | Vision Transformer Detector |
References
- Casana, J.; Wiewel, A.; Cool, A.; Hill, A.C.; Fisher, K.D.; Laugier, E.J. Archaeological aerial thermography in theory and practice. Adv. Archaeol. Pract. 2017, 5, 310–327. [Google Scholar] [CrossRef]
- Orengo, H.A.; Garcia-Molsosa, A. A brave new world for archaeological survey: Automated machine learning-based potsherd detection using high-resolution drone imagery. J. Archaeol. Sci. 2019, 112, 105013. [Google Scholar] [CrossRef]
- Katz, S.A.; Kimmel, A.P.; Wilk, E. Fieldwalking into the Twenty-First Century: The Enduring Strengths of Pedestrian Survey and Opportunities for Innovation. SAA Archaeol. Rec. 2026, 26, 33–37. [Google Scholar]
- McLellan, A.; Haines, H.R.; Bacon, J. Lidar, Hydrology, and Wetland Management Strategies in the Periphery of Lamanai, Belize. Lat. Am. Antiq. 2026, 1–16. [Google Scholar] [CrossRef]
- Rushton, E.A.; Metcalfe, S.E.; Whitney, B.S. A late-Holocene vegetation history from the Maya lowlands, Lamanai, Northern Belize. Holocene 2013, 23, 485–493. [Google Scholar] [CrossRef]
- McLellan, A. From Lamanai to Ka’kabish: Human and Environment Interaction, Settlement Change, and Urbanism in Northern Belize. Doctoral Dissertation, UCL (University College London), London, UK, 2020. Available online: https://discovery.ucl.ac.uk/id/eprint/10089565/ (accessed on 1 March 2026).
- Willey, G.R.; Culbert, T.P.; Adams, R.E. Maya Lowland ceramics: A report from the 1965 Guatemala City conference. Am. Antiq. 1967, 32, 289–315. [Google Scholar] [CrossRef]
- Smith, R.E.; Gifford, J.C. Pottery of the Maya Lowlands. In Handbook of Middle American Indians, Volumes 2 and 3: Archaeology of Southern Mesoamerica; University of Texas Press: Austin, TX, USA, 1965; pp. 498–534. [Google Scholar] [CrossRef]
- Inomata, T.; Triadan, D.; Vázquez López, V.A.; Fernandez-Diaz, J.C.; Omori, T.; Méndez Bauer, M.B.; García Hernández, M.; Beach, T.; Cagnato, C.; Aoyama, K. Monumental architecture at Aguada Fénix and the rise of Maya civilization. Nature 2020, 582, 530–533. [Google Scholar] [CrossRef] [PubMed]
- Kokalj, Ž.; Džeroski, S.; Šprajc, I.; Štajdohar, J.; Draksler, A.; Somrak, M. Machine learning-ready remote sensing data for Maya archaeology. Sci. Data 2023, 10, 558. [Google Scholar] [CrossRef]
- Character, L.; Beach, T.; Inomata, T.; Garrison, T.G.; Luzzadder-Beach, S.; Baldwin, J.D.; Cambranes, R.; Pinzón, F.; Ranchos, J.L. Broadscale deep learning model for archaeological feature detection across the Maya area. J. Archaeol. Sci. 2024, 169, 106022. [Google Scholar] [CrossRef]
- Britton, B.J.; McLellan, A.; Brewer, J.; Carr, C.; Dunning, N.; Liu, L. Evaluating Broadscale Deep Learning for Maya Settlement Detection in G-LiHT Lidar. J. Archaeol. Method Theory 2025, 33, 15. [Google Scholar] [CrossRef]
- Thompson, A.E. Detecting Classic Maya settlements with lidar-derived relief visualizations. Remote Sens. 2020, 12, 2838. [Google Scholar] [CrossRef]
- Kokalj, Ž. Standardizing Visualization in Ancient Maya Lidar Research: Techniques, Challenges and Recommendations. Archaeol. Prospect. 2025, 32, 967–988. [Google Scholar] [CrossRef]
- Argyrou, A.; Agapiou, A.; Papakonstantinou, A.; Alexakis, D.D. Comparison of machine learning pixel-based classifiers for detecting archaeological ceramics. Drones 2023, 7, 578. [Google Scholar] [CrossRef]
- Agapiou, A.; Sarris, A.; Papadopoulos, N. Remote Sensing for Cultural Heritage Management: From Site Detection to Digital Documentation. Remote Sens. 2021, 13, 2115. [Google Scholar] [CrossRef]
- Agapiou, A.; Vionis, A.; Papantoniou, G. Detection of archaeological surface ceramics using deep learning image-based methods and very high-resolution UAV imageries. Land 2021, 10, 1365. [Google Scholar] [CrossRef]
- Adamopoulos, E.; Papadopoulou, E.E.; Mpia, M.; Deligianni, E.O.; Papadopoulou, G.; Athanasoulis, D.; Konioti, M.; Koutsoumpou, M.; Anagnostopoulos, C.N. 3D survey and monitoring of ongoing archaeological excavations via terrestrial and drone LIDAR. ISPRS Ann. Photogramm. Remote Sens. Spat. Inf. Sci. 2023, 10, 3–10. [Google Scholar] [CrossRef]
- Van De Sande, K.; Gevers, T.; Snoek, C. Evaluating color descriptors for object and scene recognition. IEEE Trans. Pattern Anal. Mach. Intell. 2010, 32, 1582–1596. [Google Scholar] [CrossRef]
- Bouchard, L.F.; Lazreg, M.B.; Toews, M. Coloring Deep CNN Layers with Activation Hue Loss. arXiv 2023, arXiv:2310.03911. [Google Scholar] [CrossRef]
- Lin, T.Y.; Goyal, P.; Girshick, R.; He, K.; Dollár, P. Focal loss for dense object detection. In Proceedings of the IEEE International Conference on Computer Vision; IEEE: Piscataway, NJ, USA, 2017; pp. 2980–2988. [Google Scholar] [CrossRef]
- Gao, L.; Fu, P.; Xu, M.; Wang, T.; Liu, B. UMINet: A unified multi-modality interaction network for RGB-D and RGB-T salient object detection. Vis. Comput. 2024, 40, 1565–1582. [Google Scholar] [CrossRef]
- Pérez, M.; de Lucio, O.G.; Mitrani, A.; Lope, C.P.; Cruz Alvarado, W.; Sobral, H.; Márquez Herrera, C.; Ortiz Ruiz, S. Tapping into the Past: First Approach to a Diachronic Material Characterization of Mayapán Pottery. Ceramics 2025, 8, 131. [Google Scholar] [CrossRef]
- Wang, D.; Zhu, H.; Zhao, Y.; Shi, J. A method for constructing a loss function for multi-scale object detection networks. Sensors 2025, 25, 1738. [Google Scholar] [CrossRef] [PubMed]
- Kendall, A.; Gal, Y.; Cipolla, R. Multi-task learning using uncertainty to weigh losses for scene geometry and semantics. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2018; pp. 7482–7491. [Google Scholar] [CrossRef]
- Shrivastava, A.; Gupta, A.; Girshick, R. Training region-based object detectors with online hard example mining. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2016; pp. 761–769. [Google Scholar] [CrossRef]
- Su, Z.; Adam, A.; Nasrudin, M.F. Adaptive focal loss for keypoint-based deep learning detectors addressing class imbalance. IEEE Access 2025, 13, 31842–31856. [Google Scholar] [CrossRef]
- Soroush, M.; Mehrtash, A.; Khazraee, E.; Ur, J.A. Deep learning in archaeological remote sensing: Automated qanat detection in the Kurdistan region of Iraq. Remote Sens. 2020, 12, 500. [Google Scholar] [CrossRef]
- Esri. ArcGIS Pro (Version 3.x). Environmental Systems Research Institute. 2024. Available online: https://www.esri.com/en-us/arcgis/products/arcgis-pro/overview (accessed on 20 March 2026).
- Li, Y.; Mao, H.; Girshick, R.; He, K. Exploring Plain Vision Transformer Backbones for Object Detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Piscataway, NJ, USA, 2022; pp. 19118–19128. [Google Scholar]
- Wu, Y.; Kirillov, A.; Massa, F.; Lo, W.Y.; Girshick, R. Detectron2. 2019. Available online: https://github.com/facebookresearch/detectron2 (accessed on 20 March 2026).
- DJI. Mavic 3 Classic Specs. Available online: https://www.dji.com/mavic-3-classic/specs (accessed on 30 March 2026).
- Akyon, F.C.; Altinuc, S.O.; Temizel, A. Slicing Aided Hyper Inference and Fine-tuning for Small Object Detection. In Proceedings of the IEEE International Conference on Image Processing (ICIP); IEEE: Piscataway, NJ, USA, 2022; pp. 966–970. [Google Scholar] [CrossRef]
- QGIS Development Team. QGIS Geographic Information System. Open Source. Geospatial Foundation Project. 2024. Available online: https://qgis.org (accessed on 20 March 2026).
- Zimmer-Dauphinee, J.; VanValkenburgh, P.; Wernke, S.A. Eyes of the machine: AI-assisted satellite archaeological survey in the Andes. Antiquity 2024, 98, 245–259. [Google Scholar] [CrossRef]
- Elkan, C. The foundations of cost-sensitive learning. In Proceedings of the 17th International Joint Conference on Artificial Intelligence; Lawrence Erlbaum Associates Ltd.: Mahwah, NJ, USA, 2001; Volume 17, pp. 973–978. Available online: https://cseweb.ucsd.edu/~elkan/rescale.pdf (accessed on 20 March 2026).
- Liu, Y.; Xu, M.; Xiao, T.; Tang, H.; Hu, Y.; Nie, L. Heterogeneous Feature Collaboration Network for Salient Object Detection in Optical Remote Sensing Images. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5626314. [Google Scholar] [CrossRef]
- Xu, M.; Wang, S.; Hu, Y.; Tang, H.; Cong, R.; Nie, L. Cross-Model Nested Fusion Network for Salient Object Detection in Optical Remote Sensing Images. IEEE Trans. Cybern. 2025, 55, 5332–5345. [Google Scholar] [CrossRef]
- Xu, M.; Yu, C.; Li, Z.; Tang, H.; Hu, Y.; Nie, L. HDNet: A Hybrid Domain Network with Multiscale High-Frequency Information Enhancement for Infrared Small-Target Detection. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5004115. [Google Scholar] [CrossRef]











| Feature | Traditional Pedestrian Survey | UAV/AI Object Detection Model |
|---|---|---|
| Subjectivity | Highly dependent on “archaeological eye” and fatigue. | Consistent, mathematically defined “Maya Red” threshold. |
| Coverage | Limited to small transects (e.g., 5–15 m spacing). | Rapid, 100% coverage of the ground surface via high-res imagery. |
| Speed | Person-hours per hectare are extremely high. | Surveying and processing is rapid; large datasets completed with minimal latency. |
| Precision | Recorded via handheld GPS with variable accuracy. | Targets are located with centimeter accuracy using UAV imaging with precise AGL. |
| Metric | RGB Baseline (Hue OFF) | RGB + Hue Test (Hue ON) | HSV Baseline (Hue OFF) | HSV + Hue Test (Hue ON) |
|---|---|---|---|---|
| Total Loss | 0.9853 | 0.5951 | 0.0850 | 0.1635 |
| Cls Loss (Stage 2) | 0.0201 | 0.0429 | 0.0102 | 0.0147 |
| Time (s/iter) | 1.6303 | 2.3927 | 3.7974 | 3.5282 |
| Max Memory | 11,473 M | 11,472 M | 9913 M | 11,471 M |
| Iteration | Total Loss | fg_cls_acc | false_neg | BG:FG | loss_rpn_cls | Stage |
|---|---|---|---|---|---|---|
| 19 | 272.234 | 1.000 | 0.000 | 2:1 | 109.942 | I. Normal detection |
| 39 | 237.660 | 1.000 | 0.000 | 2:1 | 108.259 | I. Normal detection |
| 59 | 162.375 | 0.250 | 0.750 | 2:1 | 107.533 | II. Initial collapse |
| 79 | 166.318 | 0.000 | 1.000 | 2:1 | 108.196 | II. First extinction |
| 99 | 127.262 | 0.000 | 1.000 | 2:1 | 104.549 | II. Extinction sustained |
| 199 | 80.525 | 1.000 | 0.000 | 6:1 | 70.114 | III. Extended recovery |
| 499 | 9.913 | 1.000 | 0.000 | 8:1 | 4.612 | III. Extended recovery |
| 999 | 10.315 | 1.000 | 0.000 | 6:1 | 3.114 | III. Extended recovery |
| 1999 | 7.287 | 1.000 | 0.000 | 6:1 | 2.385 | III. Extended recovery |
| 2999 | 2.492 | 1.000 | 0.000 | 43:1 | 0.487 | III. Ratio climbing |
| 3279 | 1.792 | 0.000 | 1.000 | 270:1 | 0.396 | IV. Transition to lock-in |
| 3999 | 1.493 | 0.000 | 1.000 | 511:1 | 0.397 | IV. Permanent lock-in |
| 4999 | 0.728 | 0.000 | 1.000 | 511:1 | 0.196 | IV. Terminal state |
| Category | Key Field(s) | Data Type | Functional Description |
|---|---|---|---|
| Indexing | Object_ID | String | Unique UID: {Flight}{Tile}{Detection}. |
| Confidence | Gold_Score | Float | Weighted composite: 0.70 × Color + 0.30 × Geom |
| Chromatic | CIRC_HUE | Float | Circular mean hue (0–360°) of mask pixels. |
| STD_HUE | Float | Primary discriminator for multi-chromatic noise. | |
| Morphology | MASK_PX | Integer | Total pixel count within RLE segmentation. |
| Circularity | Float | Isoperimetric quotient for shape refinement. | |
| Spatial | UTM_Easting | Float | Centroid coordinate (UTM 16N, WGS84). |
| Data Record | RLE_Mask | String | COCO-standard run-length encoded geometry. |
| Chip_Path | String | Local path to extracted 128 px image chip. |
| Model | Detections | Precision | Recall | F1 Score | AP |
|---|---|---|---|---|---|
| Phase I | 727,991 | 0.001 | 0.978 | 0.002 | 0.282 |
| Phase II | 1647 | 0.584 | 0.978 | 0.731 | 0.374 |
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Britton, B.; McLellan, A.; Dunning, N. Maya Pottery Red: Hue as a Perceptual Prior for Object Detection in UAV-Based Areal Survey. Remote Sens. 2026, 18, 1836. https://doi.org/10.3390/rs18111836
Britton B, McLellan A, Dunning N. Maya Pottery Red: Hue as a Perceptual Prior for Object Detection in UAV-Based Areal Survey. Remote Sensing. 2026; 18(11):1836. https://doi.org/10.3390/rs18111836
Chicago/Turabian StyleBritton, Benjamin, Alec McLellan, and Nicholas Dunning. 2026. "Maya Pottery Red: Hue as a Perceptual Prior for Object Detection in UAV-Based Areal Survey" Remote Sensing 18, no. 11: 1836. https://doi.org/10.3390/rs18111836
APA StyleBritton, B., McLellan, A., & Dunning, N. (2026). Maya Pottery Red: Hue as a Perceptual Prior for Object Detection in UAV-Based Areal Survey. Remote Sensing, 18(11), 1836. https://doi.org/10.3390/rs18111836

