Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1#!/usr/bin/env python 

2# coding=utf-8 

3 

4"""IOSTAR vessel cross-evaluation dataset with matched resolution 

5 

6* Configuration resolution: 1024 x 1024 

7""" 

8 

9from bob.ip.binseg.configs.datasets.iostar.vessel_xtest import dataset as _xt 

10from bob.ip.binseg.data.transforms import CenterCrop, Crop, Pad, Resize 

11 

12dataset = { 

13 "train": _xt["train"], 

14 "test": _xt["test"], 

15 "drive (train)": _xt["drive (train)"].copy( 

16 [CenterCrop((540, 540)), Resize(1024)] 

17 ), 

18 "drive (test)": _xt["drive (test)"].copy( 

19 [CenterCrop((540, 540)), Resize(1024)] 

20 ), 

21 "stare (train)": _xt["stare (train)"].copy( 

22 [Pad((0, 32, 0, 32)), Resize(1024), CenterCrop(1024)] 

23 ), 

24 "stare (test)": _xt["stare (test)"].copy( 

25 [Pad((0, 32, 0, 32)), Resize(1024), CenterCrop(1024)] 

26 ), 

27 "chasedb1 (train)": _xt["chasedb1 (train)"].copy( 

28 [Crop(0, 18, 960, 960), Resize(1024)] 

29 ), 

30 "chasedb1 (test)": _xt["chasedb1 (test)"].copy( 

31 [Crop(0, 18, 960, 960), Resize(1024)] 

32 ), 

33 "hrf (train)": _xt["hrf (train)"].copy( 

34 [Pad((0, 584, 0, 584)), Resize(1024)] 

35 ), 

36 "hrf (test)": _xt["hrf (test)"].copy([Pad((0, 584, 0, 584)), Resize(1024)]), 

37}