Template Class Image
Defined in File image.h
Class Documentation
-
template<typename PixelT = FloatingPoint>
class Image Public Types
-
using PixelType = PixelT
-
using Data = Eigen::Matrix<PixelT, Eigen::Dynamic, Eigen::Dynamic>
Public Functions
-
inline Image(IndexElement num_rows, IndexElement num_columns, PixelT initial_value = data::fill::zero<PixelT>())
-
inline void resize(IndexElement num_rows, IndexElement num_columns)
-
inline void setToConstant(PixelT value)
-
inline IndexElement getNumRows() const
-
inline IndexElement getNumColumns() const
-
inline Index2D getDimensions() const
-
inline Data &getData()
-
inline const Data &getData() const
-
inline bool isIndexWithinBounds(const Index2D &index) const
-
template<typename CwiseFunctor, typename R = std::invoke_result_t<CwiseFunctor, PixelT>>
inline Image<R> transform(CwiseFunctor functor) const
-
using PixelType = PixelT