Introducing OTBTF python classes.
-
PatchesReaderBase
: base abstract class for patches readers. Users/developers can implement their own from it. -
PatchesImagesReader
: a class implementingPatchesReaderBase
to access the patches images, as they are produced by thePatchesExtraction
application. -
IteratorBase
: base class to iterate onPatchesReaderBase
-derived readers. -
RandomIterator
: an iterator implementingIteratorBase
designed to randomly access elements. -
Dataset
: generic class to build datasets, consisting essentially of the assembly of aPatchesReaderBase
-derived reader, and aIteratorBase
-derived iterator. TheDataset
handles the gathering of the data using a thread. It can be used as atf.dataset
to feed computational graphs.