SyB3R - Synthetic Benchmark for 3D Reconstruction
Public Member Functions | Protected Attributes | List of all members
FloatImage< Type > Class Template Reference

Public Member Functions

 FloatImage (unsigned w, unsigned h, std::initializer_list< float > values)
 
void resize (unsigned w, unsigned h)
 
unsigned getHeight () const
 
unsigned getWidth () const
 
Type & operator[] (unsigned idx)
 
const Type & operator[] (unsigned idx) const
 
Type & operator() (unsigned x, unsigned y)
 
const Type & operator() (unsigned x, unsigned y) const
 
template<typename OtherType , class BinaryOp >
const FloatImage< Type > & performBinaryOp (const FloatImage< OtherType > &rhs, BinaryOp op)
 
template<class UnaryOp >
const FloatImage< Type > & performUnaryOp (UnaryOp op)
 
template<typename OtherType >
const FloatImage< Type > & operator-= (const FloatImage< OtherType > &rhs)
 
template<typename OtherType >
const FloatImage< Type > & operator+= (const FloatImage< OtherType > &rhs)
 
template<typename OtherType >
const FloatImage< Type > & operator*= (const FloatImage< OtherType > &rhs)
 
template<typename OtherType >
const FloatImage< Type > & operator/= (const FloatImage< OtherType > &rhs)
 
template<typename OtherType >
const FloatImage< Type > & operator*= (const OtherType &factor)
 
template<typename OtherType >
const FloatImage< Type > & operator+= (const OtherType &factor)
 
void subsample (const FloatImage< Type > &other, unsigned stride)
 
float sampleLinear (float x, float y)
 

Protected Attributes

unsigned m_width = 0
 
unsigned m_height = 0
 
std::vector< Type > m_data
 

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