Datasets:
Tasks:
Image Segmentation
Formats:
parquet
Size:
1K - 10K
Tags:
marine-animal-segmentation
underwater
camouflaged-object-detection
salient-object-detection
background-removal
benchmark
License:
Add dataset card
Browse files
README.md
CHANGED
|
@@ -1,4 +1,17 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
features:
|
| 4 |
- name: image
|
|
@@ -26,3 +39,109 @@ configs:
|
|
| 26 |
- split: test
|
| 27 |
path: data/test-*
|
| 28 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: RMAS
|
| 3 |
+
license: unknown
|
| 4 |
+
task_categories:
|
| 5 |
+
- image-segmentation
|
| 6 |
+
size_categories:
|
| 7 |
+
- 1K<n<10K
|
| 8 |
+
tags:
|
| 9 |
+
- marine-animal-segmentation
|
| 10 |
+
- underwater
|
| 11 |
+
- camouflaged-object-detection
|
| 12 |
+
- salient-object-detection
|
| 13 |
+
- background-removal
|
| 14 |
+
- benchmark
|
| 15 |
dataset_info:
|
| 16 |
features:
|
| 17 |
- name: image
|
|
|
|
| 39 |
- split: test
|
| 40 |
path: data/test-*
|
| 41 |
---
|
| 42 |
+
|
| 43 |
+
# RMAS
|
| 44 |
+
|
| 45 |
+
**RMAS** is a real-world **marine animal segmentation** (MAS) benchmark. It has 3,014
|
| 46 |
+
underwater images, each with a binary object-level mask and an animal category. It uses
|
| 47 |
+
the standard **2,514 / 500** train / test split. The test images are also tagged by
|
| 48 |
+
imaging condition (`clean`, `degraded` or `camouflaged`).
|
| 49 |
+
|
| 50 |
+
```python
|
| 51 |
+
from datasets import load_dataset
|
| 52 |
+
|
| 53 |
+
ds = load_dataset("nobg/RMAS") # train: 2514, test: 500
|
| 54 |
+
ex = ds["test"][0]
|
| 55 |
+
ex["image"] # PIL RGB, original resolution
|
| 56 |
+
ex["mask"].convert("L") # binary GT mask (mode varies in test, see below)
|
| 57 |
+
ex["class_name"] # 'sea products' | 'small fish' | 'big fish' | 'turtle' | 'others'
|
| 58 |
+
ex["condition"] # 'clean' | 'degraded' | 'camouflaged' (test only)
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
## Columns
|
| 62 |
+
|
| 63 |
+
| column | type | description |
|
| 64 |
+
|:--|:--|:--|
|
| 65 |
+
| `image` | image | RGB underwater photo, original resolution |
|
| 66 |
+
| `mask` | image | binary ground-truth mask, same size as `image` |
|
| 67 |
+
| `class_name` | string | animal category (5 values) |
|
| 68 |
+
| `condition` | string | imaging condition on `test`; always the empty string `""` on `train` |
|
| 69 |
+
|
| 70 |
+
## One property to know before you decode
|
| 71 |
+
|
| 72 |
+
Every `train` mask is mode `L`. In `test`, **441** masks are `L` and **59** are
|
| 73 |
+
`RGB`. `datasets` decodes each file to whatever mode it declares, so call
|
| 74 |
+
`.convert("L")` instead of assuming a single channel.
|
| 75 |
+
|
| 76 |
+
## Splits and statistics
|
| 77 |
+
|
| 78 |
+
| | `train` | `test` |
|
| 79 |
+
|:--|--:|--:|
|
| 80 |
+
| images | 2,514 | 500 |
|
| 81 |
+
| width range | 320–3840 px | 201–3840 px |
|
| 82 |
+
| median size | 720×480 | 640×480 |
|
| 83 |
+
|
| 84 |
+
| `class_name` | `train` | `test` |
|
| 85 |
+
|:--|--:|--:|
|
| 86 |
+
| `sea products` | 1,284 | 196 |
|
| 87 |
+
| `small fish` | 526 | 155 |
|
| 88 |
+
| `big fish` | 501 | 107 |
|
| 89 |
+
| `others` | 107 | 25 |
|
| 90 |
+
| `turtle` | 96 | 17 |
|
| 91 |
+
|
| 92 |
+
| `condition` (test only) | images |
|
| 93 |
+
|:--|--:|
|
| 94 |
+
| `degraded` | 328 |
|
| 95 |
+
| `clean` | 138 |
|
| 96 |
+
| `camouflaged` | 34 |
|
| 97 |
+
|
| 98 |
+
The `condition` column lets you report per-slice scores. The `camouflaged` slice is
|
| 99 |
+
small (34 images), so treat its numbers as noisy.
|
| 100 |
+
|
| 101 |
+
## Evaluation
|
| 102 |
+
|
| 103 |
+
This repo includes an `eval.yaml` that registers RMAS as a Hub benchmark on the
|
| 104 |
+
**`test`** split (config `default`). It defines five tasks:
|
| 105 |
+
|
| 106 |
+
| task id | metric | better |
|
| 107 |
+
|:--|:--|:--|
|
| 108 |
+
| `test_miou` | mean IoU | higher |
|
| 109 |
+
| `test_s_measure` | structure measure S<sub>α</sub> | higher |
|
| 110 |
+
| `test_weighted_f` | weighted F-measure F<sub>β</sub><sup>w</sup> | higher |
|
| 111 |
+
| `test_mean_e` | mean E-measure | higher |
|
| 112 |
+
| `test_mae` | mean absolute error | **lower** |
|
| 113 |
+
|
| 114 |
+
MAS papers that use RMAS, together with MAS3K, UFO120 and RUWI (for example
|
| 115 |
+
[Dual-SAM](https://github.com/Drchip61/Dual_SAM), CVPR 2024, and
|
| 116 |
+
[MASAM2](https://github.com/leishen12138/MASAM2)), usually report mIoU, S<sub>α</sub>,
|
| 117 |
+
weighted F (F<sub>β</sub><sup>w</sup>), mean E and MAE, the same five metrics as
|
| 118 |
+
the tasks above, so leaderboard scores line up with published tables.
|
| 119 |
+
|
| 120 |
+
## Source and credit
|
| 121 |
+
|
| 122 |
+
RMAS was introduced with **MASNet** (Fu et al., IEEE Journal of Oceanic Engineering).
|
| 123 |
+
The paper's abstract describes "a new large-scale real-world MAS data set ... of over 3000
|
| 124 |
+
images ... Each image is annotated with an object-level mask and assigned to a
|
| 125 |
+
category". Dual-SAM cites this paper for RMAS and describes it as 3,014 images
|
| 126 |
+
split 2,514 / 500, which matches this repo.
|
| 127 |
+
|
| 128 |
+
## Licensing
|
| 129 |
+
|
| 130 |
+
**No license is declared** here, and none was found from the RMAS authors, so it is left
|
| 131 |
+
as `unknown` rather than guessed. Treat the data as **research use only** and check with
|
| 132 |
+
the original authors before any other use.
|
| 133 |
+
|
| 134 |
+
## Citation
|
| 135 |
+
|
| 136 |
+
```bibtex
|
| 137 |
+
@article{fu2024masnet,
|
| 138 |
+
title={{MASNet}: A Robust Deep Marine Animal Segmentation Network},
|
| 139 |
+
author={Fu, Zhenqi and Chen, Ruizhe and Huang, Yue and Cheng, En and Ding, Xinghao and Ma, Kai-Kuang},
|
| 140 |
+
journal={IEEE Journal of Oceanic Engineering},
|
| 141 |
+
volume={49},
|
| 142 |
+
number={3},
|
| 143 |
+
pages={1104--1115},
|
| 144 |
+
year={2024},
|
| 145 |
+
doi={10.1109/JOE.2023.3252760}
|
| 146 |
+
}
|
| 147 |
+
```
|