Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,44 +1,131 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
- name: group_id
|
| 15 |
-
dtype: string
|
| 16 |
-
- name: frame_index
|
| 17 |
-
dtype: int32
|
| 18 |
-
- name: source_group
|
| 19 |
-
dtype: string
|
| 20 |
-
- name: split
|
| 21 |
-
dtype: string
|
| 22 |
-
- name: height
|
| 23 |
-
dtype: int32
|
| 24 |
-
- name: width
|
| 25 |
-
dtype: int32
|
| 26 |
-
- name: has_pupil_mask
|
| 27 |
-
dtype: bool
|
| 28 |
-
splits:
|
| 29 |
-
- name: train
|
| 30 |
-
num_bytes: 303231129
|
| 31 |
-
num_examples: 292
|
| 32 |
-
- name: test
|
| 33 |
-
num_bytes: 110730850
|
| 34 |
-
num_examples: 109
|
| 35 |
-
download_size: 414069282
|
| 36 |
-
dataset_size: 413961979
|
| 37 |
-
configs:
|
| 38 |
-
- config_name: default
|
| 39 |
-
data_files:
|
| 40 |
-
- split: train
|
| 41 |
-
path: data/train-*
|
| 42 |
-
- split: test
|
| 43 |
-
path: data/test-*
|
| 44 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-segmentation
|
| 5 |
+
tags:
|
| 6 |
+
- medical
|
| 7 |
+
- ophthalmology
|
| 8 |
+
- cataract-surgery
|
| 9 |
+
- surgical-video
|
| 10 |
+
- intraocular-lens
|
| 11 |
+
- pupil
|
| 12 |
+
size_categories:
|
| 13 |
+
- n<1K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
+
|
| 16 |
+
# LensID — lens & pupil segmentation
|
| 17 |
+
|
| 18 |
+
Segmentation subsets of **LensID** (Ghamsarian et al., MICCAI 2021), a cataract-surgery
|
| 19 |
+
dataset from ITEC, Alpen-Adria-Universität Klagenfurt and the Department of
|
| 20 |
+
Ophthalmology, Klinikum Klagenfurt. Frames are extracted from surgical microscope
|
| 21 |
+
video of the anterior segment of the eye.
|
| 22 |
+
|
| 23 |
+
| | |
|
| 24 |
+
|---|---|
|
| 25 |
+
| Modality | Cataract surgery microscope video (RGB), annotated on extracted 2D frames |
|
| 26 |
+
| Anatomy | Eye, anterior segment |
|
| 27 |
+
| Targets | `lens` (intraocular lens implant), `pupil` |
|
| 28 |
+
| Images | **401 unique** (train 292 / test 109) |
|
| 29 |
+
| `lens_mask` | 401 (every row) |
|
| 30 |
+
| `pupil_mask` | 189 (train 141 / test 48) — `null` on the other 212 |
|
| 31 |
+
| Resolutions | 1024×768 (299 frames) and 720×720 (102 frames) |
|
| 32 |
+
| Mask format | binary PNG, single channel, values `{0, 255}` |
|
| 33 |
+
| Official split | preserved as released; **no video appears in both splits** |
|
| 34 |
+
|
| 35 |
+
## Important: `lens` ⊂ `pupil` — the two targets NEST
|
| 36 |
+
|
| 37 |
+
The intraocular lens sits inside the pupil aperture. Measured over all 189 frames
|
| 38 |
+
that carry both masks:
|
| 39 |
+
|
| 40 |
+
* **99.59 %** of `lens` pixels fall inside `pupil` (per-frame minimum 94.01 %)
|
| 41 |
+
* only 68.19 % of `pupil` pixels fall inside `lens`
|
| 42 |
+
|
| 43 |
+
They are therefore published as **two independent binary masks**. Do **not** merge
|
| 44 |
+
them into a single `{0, 1=pupil, 2=lens}` label map — that would silently reduce
|
| 45 |
+
"pupil" to a rim annulus and change what the benchmark measures.
|
| 46 |
+
|
| 47 |
+
## Important: `pupil` is an annotation layer, not extra images
|
| 48 |
+
|
| 49 |
+
The 189 images in the upstream `Dataset_pupil.zip` are **byte-identical duplicates**
|
| 50 |
+
of 189 images in `Dataset_lens.zip` (md5 match on all 189, same split, same
|
| 51 |
+
filename). This mirror stores each image **once** and marks pupil availability with
|
| 52 |
+
`has_pupil_mask`. Unique images = 401, not 590.
|
| 53 |
+
|
| 54 |
+
Pupil annotations cover exactly the 189 **non-`case_`** frames; the 212
|
| 55 |
+
`case_3xxx` frames have a lens mask only.
|
| 56 |
+
|
| 57 |
+
## Naming and grouping
|
| 58 |
+
|
| 59 |
+
`group_id` is the safe key for group-wise splitting or video assembly — it is never
|
| 60 |
+
null. `video_id` is null only for the 10 `t1xxxx` frames, whose video of origin is
|
| 61 |
+
not recoverable from the release.
|
| 62 |
+
|
| 63 |
+
| `source_group` | example | `video_id` | n | size |
|
| 64 |
+
|---|---|---|---|---|
|
| 65 |
+
| `case_XXXX` | `case_3155_000002` | `case_3155` | 212 | 1024×768 |
|
| 66 |
+
| `Vnn_nnn` | `V11_123` | `V11` | 87 | 1024×768 |
|
| 67 |
+
| `Vn_6digit` | `V1000006`, `V000139` | `V1`, `V` | 92 | 720×720 |
|
| 68 |
+
| `t1xxxx` | `t10001` | `null` | 10 | 720×720 |
|
| 69 |
+
|
| 70 |
+
The V-series rule is *strip the trailing 6 digits*. Ten files carry no video digit
|
| 71 |
+
and share the bare prefix `V`; grouping them as one video is what makes the paper's
|
| 72 |
+
counts reconcile exactly — 21 train / 6 test videos for lens, 13 / 3 for pupil,
|
| 73 |
+
27 videos in total.
|
| 74 |
+
|
| 75 |
+
## Deviations from the upstream archives
|
| 76 |
+
|
| 77 |
+
1. **`Dataset_phase.zip` is not mirrored.** It is 367 GB of `.avi` clips for binary
|
| 78 |
+
Implantation-vs-Rest *classification* and contains no segmentation masks.
|
| 79 |
+
2. **One orphan mask dropped**: `lens/test/V000268_31.png` had no matching image
|
| 80 |
+
(402 masks vs 401 images) and was 512×512 RGB where its group is 720×720 L.
|
| 81 |
+
A proper `V000268` image+mask pair is present and unaffected.
|
| 82 |
+
3. **Masks normalised to single-channel `L`.** Upstream ships a mix of RGB and L.
|
| 83 |
+
Every RGB mask was verified to have three identical channels, so this is lossless.
|
| 84 |
+
Values remain exactly `{0, 255}`.
|
| 85 |
+
4. Images are byte-for-byte the upstream PNGs; no resizing or re-encoding.
|
| 86 |
+
|
| 87 |
+
## Scope note
|
| 88 |
+
|
| 89 |
+
"LensID" is the name of the *framework* in the paper. The `lens` target is the
|
| 90 |
+
**artificial intraocular lens (IOL) implant after implantation** — not the natural
|
| 91 |
+
crystalline lens and not the cataract.
|
| 92 |
+
|
| 93 |
+
## Overlap with other cataract datasets
|
| 94 |
+
|
| 95 |
+
No frame overlap with Cataract-101 (`case_269`–`case_934` vs LensID's
|
| 96 |
+
`case_3091`–`case_3262`; the ID spaces are disjoint), Cataract-21, IrisPupilSeg,
|
| 97 |
+
InSegCat or CatRelDet. CaDIS / CATARACTS-2018 were recorded at Brest University
|
| 98 |
+
Hospital, France; LensID is Klagenfurt, Austria. **Cataract-1K** shares the same two
|
| 99 |
+
anatomy targets but was recorded 2021–2023, after LensID published — target
|
| 100 |
+
duplication, not data duplication. No cross-reference ID column exists upstream.
|
| 101 |
+
|
| 102 |
+
## License
|
| 103 |
+
|
| 104 |
+
**CC BY-NC 4.0**, as stated on the official dataset page.
|
| 105 |
+
|
| 106 |
+
The authors' page adds a further restriction, reproduced verbatim:
|
| 107 |
+
|
| 108 |
+
> This dataset is exclusively provided for scientific research purposes and as such
|
| 109 |
+
> cannot be used commercially or for any other purpose. If any other purpose is
|
| 110 |
+
> intended, you may directly contact the originators of the datasets.
|
| 111 |
+
|
| 112 |
+
This mirror exists for non-commercial scientific research only. Source:
|
| 113 |
+
<https://ftp.itec.aau.at/datasets/ovid/LensID/>
|
| 114 |
+
|
| 115 |
+
## Citation
|
| 116 |
+
|
| 117 |
+
```bibtex
|
| 118 |
+
@inproceedings{ghamsarian2021lensid,
|
| 119 |
+
title = {LensID: A CNN-RNN-Based Framework Towards Lens Irregularity
|
| 120 |
+
Detection in Cataract Surgery Videos},
|
| 121 |
+
author = {Ghamsarian, Negin and Taschwer, Mario and
|
| 122 |
+
Putzgruber-Adamitsch, Doris and Sarny, Stephanie and
|
| 123 |
+
El-Shabrawi, Yosuf and Schoeffmann, Klaus},
|
| 124 |
+
booktitle = {MICCAI 2021},
|
| 125 |
+
series = {LNCS},
|
| 126 |
+
volume = {12908},
|
| 127 |
+
pages = {76--86},
|
| 128 |
+
year = {2021},
|
| 129 |
+
doi = {10.1007/978-3-030-87237-3_8}
|
| 130 |
+
}
|
| 131 |
+
```
|