struct dlstreamer::ImageInfo#

#include <image_info.h>

struct ImageInfo {
    // construction

    ImageInfo(const TensorInfo& info);

    // methods

    ImageLayout layout() const;
    size_t width() const;
    size_t height() const;
    size_t channels() const;
    size_t batch() const;
    size_t width_stride() const;
    size_t height_stride() const;
    size_t channels_stride() const;
    const TensorInfo info() const;
};