31 #if defined(RawReader_RECURSES)
32 #error Recursive header files inclusion detected in RawReader.h
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>
92 typename TFunctor = functors::Cast< typename TImageContainer::Value > >
116 template <
typename Word>
182 template <
typename Word>
190 #include "DGtal/io/readers/RawReader.ih"
197 #undef RawReader_RECURSES
DGtal is the top-level namespace which contains all DGtal functions and types.
FILE * raw_reader_read_word(FILE *fin, Word &aValue)
Aim: Raw binary import of an Image.
TImageContainer::Value Value
static ImageContainer importRaw8(const std::string &filename, const Vector &extent, const Functor &aFunctor=Functor())
TImageContainer::Domain::Vector Vector
TImageContainer ImageContainer
static ImageContainer importRaw16(const std::string &filename, const Vector &extent, const Functor &aFunctor=Functor())
static ImageContainer importRaw(const std::string &filename, const Vector &extent, const Functor &aFunctor=Functor())
static ImageContainer importRaw32(const std::string &filename, const Vector &extent, const Functor &aFunctor=Functor())
ImageContainerBySTLVector< HyperRectDomain< Z2i::Space >, std::unordered_set< Z2i::Point > > TImageContainer