Template Struct sensor_element_t

Struct Documentation

template<typename PixelT, typename WeightT>
struct sensor_element_t

Public Functions

inline auto pixel_value() const noexcept
inline auto &operator+=(const sensor_element_t &o) noexcept
inline auto operator+(const sensor_element_t &o) const noexcept
inline auto &operator*=(const WeightT scale) noexcept
inline auto operator*(const WeightT scale) const noexcept
template<std::constructible_from<PixelT> NewT, std::constructible_from<WeightT> NewW>
inline explicit operator sensor_element_t<NewT, NewW>() const noexcept

Public Members

PixelT value
WeightT weight