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