class dlstreamer::ImageLayout#

#include <image_info.h>

class ImageLayout {
public:
    // enums

    enum Value;

    // construction

    ImageLayout();
    ImageLayout(Value value);
    ImageLayout(const std::string& str);
    ImageLayout(std::vector<size_t> shape);

    // methods

    operator Value () const;
    operator bool ();
    std::string to_string() const;
    int w_position() const;
    int h_position() const;
    int c_position() const;
    int n_position() const;
};