struct sophus::RuntimePixelTypeΒΆ

#include <runtime_image.h>

struct RuntimePixelType {
    // fields

    NumberType number_type;
    int num_channels;
    int num_bytes_per_pixel_channel;

    // methods

    template <class TPixel>
    static RuntimePixelType fromTemplate();

    int bytesPerPixel() const;

    template <class TPixel>
    bool is();
};