libeblearntools
ebl::pascalbg_dataset< Tdata > Class Template Reference

#include <pascalbg_dataset.h>

Inheritance diagram for ebl::pascalbg_dataset< Tdata >:
ebl::pascal_dataset< Tdata > ebl::dataset< Tdata > ebl::pascalclear_dataset< Tdata >

List of all members.

Public Member Functions

 pascalbg_dataset (const char *name, const char *inroot, const char *outdir, uint max_folders=1, bool ignore_diff=true, bool ignore_trunc=false, bool ignore_occl=false, const char *annotations=NULL, const char *tmpout=NULL)
virtual ~pascalbg_dataset ()
 Destructor.
virtual bool extract ()
 Extract data from files into dataset.

Protected Attributes

uint max_folders

Detailed Description

template<class Tdata>
class ebl::pascalbg_dataset< Tdata >

The pascalbg_dataset class extract background patches from a dataset of type PASCAL.


Constructor & Destructor Documentation

template<class Tdata >
ebl::pascalbg_dataset< Tdata >::pascalbg_dataset ( const char *  name,
const char *  inroot,
const char *  outdir,
uint  max_folders = 1,
bool  ignore_diff = true,
bool  ignore_trunc = false,
bool  ignore_occl = false,
const char *  annotations = NULL,
const char *  tmpout = NULL 
)

Initialize the dataset's name and other internal variables, but does not allocate data matrices, user must call alloc for that effect. outdims are the target output dimensions of each sample. inroot is the root directory from which we extract data. ignore_diff ignores difficult objects if true.


The documentation for this class was generated from the following files: