This block constructs a database from a folder structure.
BK = BLOCK_DB() Initializes the block with the default options.
BK = BLOCK_DB(BK) Executes the block with options and inputs BK.
Options:
- bk.db_prefix
A prefix to where the database resides
- bk.db_type
The type of database. Supported types are: Graz02: Graz02 (see also BLOCK_DBPART()) Graz02odds: Graz02 with odd numbered images for training Caltech4: Caltech-4 Caltech101: Caltech-101 Pascal05: Pascal Challenge 2005 Pascal07: Pascal Challenge 2007 Pascal09: Pascal Challenge 2009 Scenes: Fei-fei and Lazebnik scenes database. Path: A generic database consisting of a folder of
images. Each folder is a category.
- bk.verb
Be verbose. Default 0.
Fetchable attributes:
- db
The database structure.
- image
Image data, requires parameter: segid.
- imageinfo
Image information, required parameter: segid.
- mask
Image mask [if provided], required parameter: segid.