# Single RAW Sample Patches after Split and Geometric Augmentation



## Overview

This dataset contains 30 × 30 pixel image patches extracted from multispectral UAV imagery (RGB and CIR sensors) over agricultural fields in Germany. Samples are labeled using a BBCH-based sub-class system [1] and include reflectance or DN formats. The dataset was used to train and evaluate CNN models for crop sub-class classification and includes both pre-split and augmented training/validation sets (resized to 12 × 12 pixels after augmentation).


## Changelog

### Version 2.0 – 2025-08-01

**SG/**: Removed test folders that were used solely for export testing.

**KM/**: Updated the sample data to match those used with the model published in Version 1.

**WW/**: Replaced the model (trained on 6 classes) with a new model trained on 7 classes. Updated the corresponding sample data to match the new model.


### Version 1.0 – 2025-05-23
- Initial set of samples for all model folders (WW, SG, WR, WW).



## Directory Structure

Version2 — Samples used for publication [3]  
Format: RAW 

```plaintext
samples/
├── WW/
│   └── samples_B5_BG_CIVE_EVI2_LossTrain_0.483_LossValid_0.469_Recall_0.846_Epochs_800_BatchSize_50/
│       ├── samples/              # Pre-split, unaugmented samples
│       ├── training_samples/     # Augmented training data
│       └── validation_samples/   # Validation data
│
├── SG/
│   └── samples_EVI2_ExR_NDWI_LossTrain_0.789_LossValid_0.640_Recall_0.853_Epoches_300_BatchSize_50/
│       ├── samples/
│       ├── training_samples/
│       └── validation_samples/
│
├── WR/
│   └── samples_A_MExG_NDVI_U_LossTrain_0.855_LossValid_0.431_Recall_0.836_Epochs200_BatchSize50/
│       ├── samples/
│       ├── training_samples/
│       └── validation_samples/
│
├── KM/
│   └── samples_BG_GRVI_NDSI_NGRDI_LossTrain_0.200_LossValid_0.214_Recall_0.967_Epochs_800_BatchSize_50/
│       ├── samples/
│       ├── training_samples/
│       └── validation_samples/
```



#### Second Round of Sample Selection and Train/Valid Split:

The second (manually stratified) selection of samples — based on the `'Class/Label'` column in Table 3 of [1], which follows a labeling system derived from the BBCH scale — was used for model training.

Geometric augmentation techniques were applied, including rotation, flipping, center zooming, and scaling. After augmentation, the samples were resized to 12 × 12 pixel patches. An 80:20 split (training:validation) was applied.

This dataset includes both the pre-split and post-split samples in RAW format, along with corresponding XML files (generated in eCognition 10.3, Trimble) that contain annotations on the label and number of samples.





## References

[1] Arslanova, L. et al., *Assessing data and sample complexity in unmanned aerial vehicle imagery for agricultural pattern classification*, Smart Agricultural Technology: Volume 10, March 2025, 100799. [https://doi.org/10.1016/j.atech.2025.100799](https://doi.org/10.1016/j.atech.2025.100799)

[2] Arslanova, L. et al., *Potential of UAV-Based Pattern Classification with Convolutional Neural Network on Moderate/Low Quality UAV Data*. IGARSS 2023: 3510–3513, 2021. [https://ieeexplore.ieee.org/document/10282406](https://ieeexplore.ieee.org/document/10282406)

[3] Arslanova, L. et al., *Toward Generalizable CNN-Based Classification of Agricultural Sub-Classes*, submitted to Smart Agricultural Technology: under review.


## License
CC BY-NC 4.0


## Contact

- **GitHub**: [@Aranil](://github.com/Aranil)
- **Email**: linara.arslanova@uni-jena



## Last updated
This README and dataset metadata were last updated on **August 1, 2025**.



## Funding

The Datasets, Code and Publications were created in the frame of the Project Radar-Crop-Monitor funded by the Federal Ministry for Economic Affairs and Climate Action (BMWK), Germany, under the support code FKZ: 50EE1901.
