31 #if defined(RawReader_RECURSES) 32 #error Recursive header files inclusion detected in RawReader.h 33 #else // defined(RawReader_RECURSES) 35 #define RawReader_RECURSES 37 #if !defined RawReader_h 46 #include "DGtal/base/Common.h" 47 #include "DGtal/base/CUnaryFunctor.h" 48 #include <boost/static_assert.hpp> 91 template <
typename TImageContainer,
92 typename TFunctor = functors::Cast< typename TImageContainer::Value > >
116 template <
typename Word>
182 template <
typename Word>
190 #include "DGtal/io/readers/RawReader.ih" 195 #endif // !defined RawReader_h 197 #undef RawReader_RECURSES 198 #endif // else defined(RawReader_RECURSES) TImageContainer::Domain::Vector Vector
TImageContainer ImageContainer
static ImageContainer importRaw8(const std::string &filename, const Vector &extent, const Functor &aFunctor=Functor())
static ImageContainer importRaw16(const std::string &filename, const Vector &extent, const Functor &aFunctor=Functor())
FILE * raw_reader_read_word(FILE *fin, Word &aValue)
static ImageContainer importRaw(const std::string &filename, const Vector &extent, const Functor &aFunctor=Functor())
DGtal is the top-level namespace which contains all DGtal functions and types.
TImageContainer::Value Value
FreemanChain< int >::Vector Vector
Aim: Raw binary import of an Image.
static ImageContainer importRaw32(const std::string &filename, const Vector &extent, const Functor &aFunctor=Functor())