Datasets:
File size: 4,799 Bytes
a30e452 4e4845c 3ff2914 7441144 a30e452 68da3e9 a30e452 2a1432d a30e452 589f8ef a30e452 7beb0bd e1e605f 7beb0bd e269f8f e1e605f 7d6d35c e1e605f 7beb0bd e1e605f ca67e98 e1e605f a30e452 cd8a9ef a30e452 2a1432d a30e452 44e4e72 a30e452 44e4e72 a30e452 6ae69b6 a30e452 a42d99c a30e452 f5b12be c5b9542 4b8265c c5b9542 a30e452 51dfbe0 016e052 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
---
license: cc-by-4.0
task_categories:
- image-segmentation
language:
- en
tags:
- image
- geospatial
- biology
- aerial imagery
- remote sensing
pretty_name: MusselSeg
size_categories:
- 1K<n<10K
---
# MusselSeg: Semantic Segmentation for Rocky Intertidal Mussel Habitat
## Dataset description
MusselSeg is a large-scale dataset for semantic segmentation of mussel habitat using high resolution drone imagery. It covers coastal mussel habitat located on the central coast of British Columbia, Canada, as well as areas in California, USA and provides pixel-wise annotation for mussel beds.
- **Source:** Imagery collected by the Hakai Institute and University of California Santa Cruz
- **Geographic Coverage:** ~3500m<sup>2</sup>
- **Time Period:** 2021-2023
## Task description
The dataset is designed for semantic segmentation of mussel habitat in aerial imagery. The task involves assigning each pixel in the image to either the "mussel" class or "background" (i.e. not mussels) class.
## Usage
### Download and iterate
Install the HuggingFace datasets library ([instructions](https://huggingface.co./docs/datasets/en/installation))
```python
from datasets import load_dataset
train_dataset = load_dataset("HakaiInstitute/mussel-seg-1024-1024", split="train")
val_dataset = load_dataset("HakaiInstitute/mussel-seg-1024-1024", split="validation")
test_dataset = load_dataset("HakaiInstitute/mussel-seg-1024-1024", split="test")
for sample in train_dataset:
x = sample["img.tif"]
y = sample["seg.tif"]
# x and y are `PIL.Image` instances, ready to feed into a training loop, PyTorch dataloader, etc.
# ...
```
### Streaming from HuggingFace
This data is released as a WebDatasets, which makes it possible to use the data without downloading it in advance.
For instructions on how to do this, please see [WebDataset](https://huggingface.co./docs/hub/en/datasets-webdataset)
## Data characteristics
- **Image Format:** GeoTiff
- **Resolution:** mean=0.45cm, stdev=0.20cm
- **Tile Size:** 1024x1024 pixels with 50% overlap
- **Number of Tiles:** 9972 image and label pairs
- **Total Dataset Size:** 42G
## Annotation details
- **Method:** Manual heads-up digitizing with manual verification
- **Format:** Pixel-wise labels stored as separate mask images
- **Labelling Convention:** Each pixel assigned a single class label
## Class distribution
| Class ID | Class Name | Description | Percentage |
| :------- | :--------- | :----------------- | :--------: |
| 0 | Background | Unclassified areas | 87% |
| 1 | Mussels | Mussel bed | 13% |
## Split information
| Split | Data Percentage | Tiles Count | Mussel Pixels |
| :--------- | --------------: | ----------: | ------------: |
| Train | 48% | 4834 | 18.4% |
| Validation | 13% | 1277 | 16.7% |
| Test | 39% | 3861 | 4.3% |
Train and Validation split tiles all contain at least 1 pixel in each class. For the Test split, some tiles are entirely the background class. If ignoring the test split tiles which contain only background pixels, the split percentages instead become 70/17/13 for the train/validation/test splits, respectively.
Splits are created such that tiles from the same source orthomosaic image are not divided across different splits. That is, all tiles from the same drone flight are present only in a single split.
## Preprocessing
1. Orthorectification applied to raw imagery
2. Tiles extracted with 50% overlap
3. Tiles with no mussels present eliminated for the Train and Validation splits
## Licensing information
This dataset is released under the Creative Commons Attribution 4.0 License (CC BY 4.0).
## Ethical considerations
- No identifiable individuals are present in imagery
- Minimized impact on wildlife and sensitive habitats
- Engaged with local First Nations in planning aerial surveys
## Citation information
If you use this dataset in your research, please cite:
```
@misc{denouden2024musselseg,
author = {Denouden, Taylor and McInnes, William and Ammann, Karah and Fletcher, Nathaniel},
title = {MusselSeg: Semantic Segmentation for Rocky Intertidal Mussel Habitat},
month = July,
year = 2024,
doi = { 10.57967/hf/2760 },
publisher = {Hakai Institute {\tt [email protected]}},
howpublished = {\url{https://huggingface.co./datasets/HakaiInstitute/mussel-seg-1024-1024}}
}
```
## Known limitations
- Limited seasonal variation due to imagery being captured primarily in summer months
- Imagery only covers areas with known mussel beds
- No examples of mussel beds near urban or built-up environments
- Labelling errors may be present in areas with shadows, where it is difficult to distinguish mussels beds |