DGtal 2.1.0
Loading...
Searching...
No Matches
RawIO16< 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 RawIO16< Image >

Definition at line 203 of file testRawReader.cpp.

Member Function Documentation

◆ read()

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

Definition at line 205 of file testRawReader.cpp.

206 {
207 return DGtal::RawReader<Image>::importRaw16( filename, extent );
208 }
static ImageContainer importRaw16(const std::string &filename, const Vector &extent, const Functor &aFunctor=Functor())

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

◆ write()

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

Definition at line 210 of file testRawReader.cpp.

211 {
212 return DGtal::RawWriter<Image>::exportRaw16( filename, anImage );
213 }
static bool exportRaw16(const std::string &filename, const Image &anImage, const Functor &aFunctor=Functor())

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


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