DGtal 2.1.0
Loading...
Searching...
No Matches
RawIO8< Image > Struct Template Reference

Static Public Member Functions

static Image read (std::string const &filename, typename Image::Domain::Vector const &extent)
 
static bool write (std::string const &filename, Image const &anImage)
 

Detailed Description

template<typename Image>
struct RawIO8< Image >

Definition at line 189 of file testRawReader.cpp.

Member Function Documentation

◆ read()

template<typename Image >
static Image RawIO8< Image >::read ( std::string const &  filename,
typename Image::Domain::Vector const &  extent 
)
inlinestatic

Definition at line 191 of file testRawReader.cpp.

192 {
193 return DGtal::RawReader<Image>::importRaw8( filename, extent );
194 }
static ImageContainer importRaw8(const std::string &filename, const Vector &extent, const Functor &aFunctor=Functor())

References DGtal::RawReader< TImageContainer, TFunctor >::importRaw8().

◆ write()

template<typename Image >
static bool RawIO8< Image >::write ( std::string const &  filename,
Image const &  anImage 
)
inlinestatic

Definition at line 196 of file testRawReader.cpp.

197 {
198 return DGtal::RawWriter<Image>::exportRaw8( filename, anImage );
199 }
static bool exportRaw8(const std::string &filename, const Image &anImage, const Functor &aFunctor=Functor())

References DGtal::RawWriter< TImage, TFunctor >::exportRaw8().


The documentation for this struct was generated from the following file: