Setup¶
Bob.ip.binseg¶
Complete bob’s installation instructions. Then, to install this package
conda install bob.ip.binseg
Datasets¶
The package supports a range of retina fundus datasets but does not install the bob.db APIs by default, nor does it include the datasets.
To setup a datasets:
Download the dataset from the authors website
Install the corresponding bob.db package via
conda install bob.db.<database>
. E.g. to install the DRIVE API runconda install bob.db.drive
Dataset |
Website |
bob.db package |
STARE |
bob.db.stare |
|
DRIVE |
bob.db.drive |
|
DRIONS |
bob.db.drionsdb |
|
RIM-ONE |
bob.db.rimoner3 |
|
CHASE-DB1 |
bob.db.chasedb |
|
HRF |
bob.db.hrf |
|
Drishti-GS |
http://cvit.iiit.ac.in/projects/mip/drishti-gs/mip-dataset2/Home.php |
bob.db.drishtigs1 |
IOSTAR |
bob.db.iostar |
|
REFUGE |
bob.db.refuge |
Set up dataset paths¶
For each dataset that you are planning to use, set the datadir to the path where it is stored. E.g.:
bob config set bob.db.drive.datadir "/path/to/drivedataset/"
To check your current setup
bob config show
This should result in an output similar to the following:
{
"bob.db.chasedb1.datadir": "/idiap/resource/database/CHASE-DB11/",
"bob.db.drionsdb.datadir": "/idiap/resource/database/DRIONS",
"bob.db.drishtigs1.datadir": "/idiap/resource/database/Drishti-GS1/",
"bob.db.drive.datadir": "/idiap/resource/database/DRIVE",
"bob.db.hrf.datadir": "/idiap/resource/database/HRF",
"bob.db.iostar.datadir": "/idiap/resource/database/IOSTAR/IOSTAR Vessel Segmentation Dataset/",
"bob.db.refuge.datadir": "/idiap/resource/database/REFUGE",
"bob.db.rimoner3.datadir": "/idiap/resource/database/RIM-ONE/RIM-ONE r3",
"bob.db.stare.datadir": "/idiap/resource/database/STARE"
}
Test dataset consitency¶
To check whether the downloaded version is consistent with
the structure that is expected by our bob.db
packages
run bob_dbmanage.py datasettocheck checkfiles
E.g.:
conda activate your-conda-env-with-bob.ip.binseg
bob_dbmanage.py drive checkfiles
> checkfiles completed sucessfully