Skip to content

Latest commit

 

History

History
138 lines (104 loc) · 4.36 KB

segmentation_benchmark.md

File metadata and controls

138 lines (104 loc) · 4.36 KB

MIRAGE - Segmentation benckmark

Download

Compressed datasets with data splits are available in the Segmentation datasets release on GitHub. The links below are direct download from the release page.

Dataset Download link
AROI Full dataset
Duke DME Full dataset
Duke iAMD Part A - Part B - Part C - Part D - Part E - Part F - Part G - Part H
GOALS Full dataset
RETOUCH Part A - Part B

Important

Some datasets are split into multiple parts due to size limitations. Check the Large datasets section for more information.

Data structure

Training and evaluation dataset

AROI, Duke DME, GOALS, and RETOUCH datasets.

bscan/ contains the B-scans and semseg/ contains the segmentation masks, both in PNG format and with the same names. INFO.json contains mapping of the classes to the intensity values in the segmentation maps and the full class names.

Dataset/
    |-- test/
    |    |-- bscan/
    |    |    |-- img_id_0.png
    |    |    | ...
    |    |-- semseg/
    |         |-- img_id_0.png
    |         | ...
    |-- train/
    |    |-- bscan/
    |    |    |-- img_id_1.png
    |    |    | ...
    |    |-- semseg/
    |         |-- img_id_1.png
    |         | ...
    |-- val/
    |    |-- bscan/
    |    |    |-- img_id_2.png
    |    |    | ...
    |    |-- semseg/
    |         |-- img_id_2.png
    |         | ...
    |-- INFO.json

Example INFO.json (from GOALS):

{
    "0": {
        "value": 0,
        "label": "Elsewhere"
    },
    "1": {
        "value": 80,
        "label": "RNFL"
    },
    "2": {
        "value": 160,
        "label": "GCIPL"
    },
    "3": {
        "value": 255,
        "label": "Choroid"
    }
}

Important

RETOUCH dataset does not have a semseg folder under test because the test segmentation masks are not available. The evaluation was performed on the Grand Challenge platform (https://retouch.grand-challenge.org/).

Evaluation-only dataset

Duke iAMD (labeled) dataset.

Dataset/
    |-- bscan/
    |    |-- img_id_0.png
    |    |-- img_id_1.png
    |    | ...
    |-- semseg/
    |    |-- img_id_0.png
    |    |-- img_id_1.png
    |    | ...
    |-- INFO.json

Large datasets

Large datasets (Duke iAMD and RETOUCH) are split into multiple parts using the Linux split command.

split -b $(( $(stat -c%s Duke_iAMD_labeled.zip) / 8 + 1 )) Duke_iAMD_labeled.zip Duke_iAMD_labeled_part_
split -b $(( $(stat -c%s RETOUCH.zip) / 2 + 1 )) RETOUCH.zip RETOUCH_part_

To reassemble the parts, run:

cat Duke_iAMD_labeled_part_* > Duke_iAMD_labeled.zip
cat RETOUCH_part_* > RETOUCH.zip

In windows, use the copy command in the Command Prompt (cmd):

copy /b Duke_iAMD_labeled_part_* Duke_iAMD_labeled.zip
copy /b RETOUCH_part_* RETOUCH.zip

Official links

Dataset Official website
AROI Link
Duke DME Link
Duke iAMD Link
GOALS No longer available
RETOUCH Link