31#if defined(RawWriter_RECURSES)
32#error Recursive header files inclusion detected in RawWriter.h
35#define RawWriter_RECURSES
37#if !defined RawWriter_h
45#include <boost/static_assert.hpp>
46#include <boost/type_traits.hpp>
47#include "DGtal/base/Common.h"
48#include "DGtal/base/CUnaryFunctor.h"
49#include "DGtal/base/BasicFunctors.h"
97 template <
typename TImage,
typename TFunctor = functors::Identity>
103 typedef typename TImage::Value
Value;
115 template <
typename Word>
129 const Image& anImage,
141 const Image& anImage,
153 const Image& anImage,
168 template <
typename Word>
175#include "DGtal/io/writers/RawWriter.ih"
182#undef RawWriter_RECURSES
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & raw_writer_write_word(std::ostream &outs, Word value)
Aim: Raw binary export of an Image.
static bool exportRaw32(const std::string &filename, const Image &anImage, const Functor &aFunctor=Functor())
static bool exportRaw8(const std::string &filename, const Image &anImage, const Functor &aFunctor=Functor())
static bool exportRaw16(const std::string &filename, const Image &anImage, const Functor &aFunctor=Functor())
static bool exportRaw(const std::string &filename, const Image &aImage, const Functor &aFunctor=Functor())