The ImageSource class¶
The ImageSource class provides a base class to be used for all kind of image providing devices, for example image processors.
For the cameras a more specific class is provided, see here.
The advantage of using this class, is that it can take care of creating the necessary output channels in the schema, and it provides functions to output images and End-of-Stream signals to them.
-
class
karabo
::
ImageSource
¶ Inherits from karabo::core::Device<>
Subclassed by karabo::CameraImageSource
Protected Functions
-
void
updateOutputSchema
(const std::vector<unsigned long long> &shape, const karabo::xms::EncodingType &encoding, const karabo::util::Types::ReferenceType &kType)¶
-
void
writeChannels
(const karabo::util::NDArray &data, const karabo::util::Dims &binning, const unsigned short bpp, const karabo::xms::EncodingType &encoding, const karabo::util::Dims &roiOffsets, const karabo::util::Timestamp ×tamp, bool safeNDArray = false)¶
-
void
signalEOS
()¶
-
void