|
DGtal
0.6.devel
|
#include <RawWriter.h>
Public Types | |
| typedef TImage | Image |
| typedef TImage::Value | Value |
| typedef TFunctor | Functor |
Public Member Functions | |
| BOOST_CONCEPT_ASSERT ((CUnaryFunctor< TFunctor, Value, unsigned char >)) | |
Static Public Member Functions | |
| static bool | exportRaw8 (const std::string &filename, const Image &aImage, const Functor &aFunctor=Functor()) |
Aim: Raw binary export of an Image.
Description of template struct 'RawWriter'
A functor can be specified to convert image values to raw values (unsigned char for exportRaw8).
| TImage | the Image type. |
| TFunctor | the type of functor used in the export. |
Definition at line 68 of file RawWriter.h.
| typedef TFunctor DGtal::RawWriter< TImage, TFunctor >::Functor |
Definition at line 74 of file RawWriter.h.
| typedef TImage DGtal::RawWriter< TImage, TFunctor >::Image |
Definition at line 72 of file RawWriter.h.
| typedef TImage::Value DGtal::RawWriter< TImage, TFunctor >::Value |
Definition at line 73 of file RawWriter.h.
| DGtal::RawWriter< TImage, TFunctor >::BOOST_CONCEPT_ASSERT | ( | (CUnaryFunctor< TFunctor, Value, unsigned char >) | ) |
|
static |
Export an Image to Raw format (8bits, unsigned char).
| filename | name of the output file |
| aImage | the image to export |
| aFunctor | functor used to cast image values |
Definition at line 44 of file RawWriter.ih.
1.8.1.1