farm-ng-core
sophus::PixelFormat Struct Reference

#include <pixel_format.h>

Public Member Functions

auto numBytesPerPixel () const -> size_t
 
template<class TPixel >
auto is () -> bool
 

Static Public Member Functions

template<class TPixel >
static auto fromTemplate () -> PixelFormat
 

Public Attributes

NumberType number_type
 
uint8_t num_components
 
size_t num_bytes_per_component
 

Member Function Documentation

◆ fromTemplate()

template<class TPixel >
static auto sophus::PixelFormat::fromTemplate ( ) -> PixelFormat
inlinestatic

◆ is()

template<class TPixel >
auto sophus::PixelFormat::is ( ) -> bool
inline

◆ numBytesPerPixel()

auto sophus::PixelFormat::numBytesPerPixel ( ) const -> size_t
inline

Member Data Documentation

◆ num_bytes_per_component

size_t sophus::PixelFormat::num_bytes_per_component

◆ num_components

uint8_t sophus::PixelFormat::num_components

◆ number_type

NumberType sophus::PixelFormat::number_type

The documentation for this struct was generated from the following file: