DGtal
1.5.beta
|
#include <DGtal/io/writers/GenericWriter.h>
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CConstImage< TContainer >)) | |
Static Public Member Functions | |
static bool | exportFile (const std::string &filename, const TContainer &anImage, const TFunctor &aFunctor=TFunctor()) |
GenericWriter Template partial specialisation for images of dimension 2 and unsigned char value type (which allows to export pgm, ppm file format ).
Definition at line 233 of file GenericWriter.h.
DGtal::GenericWriter< TContainer, 2, unsigned char, TFunctor >::BOOST_CONCEPT_ASSERT | ( | (concepts::CConstImage< TContainer >) | ) |
|
static |
Export the 2D image file.
filename | the filename of the saved image (with a extension name). |
anImage | the image to be saved. |
aFunctor | to apply image transformation before saving. |