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