31#if defined(STBReader_RECURSES)
32#error Recursive header files inclusion detected in STBReader.h
35#define STBReader_RECURSES
37#if !defined STBReader_h
44#include "DGtal/base/Common.h"
45#include "DGtal/io/colormaps/BasicColorToScalarFunctors.h"
60 template <
typename TImageContainer,
typename TFunctor=functors::ColorRGBEncoder<
typename TImageContainer::Value> >
93#include "DGtal/io/readers//STBReader.ih"
98#undef STBReader_RECURSES
Aim: Image reader using the stb_image.h header only code.
TImageContainer ImageContainer
TImageContainer::Value Value
TImageContainer::Domain::Vector Vector
BOOST_STATIC_ASSERT((ImageContainer::Domain::dimension==2))
BOOST_CONCEPT_ASSERT((concepts::CUnaryFunctor< TFunctor, DGtal::Color, Value >))
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Defines a unary functor, which associates arguments to results.