#include <DGtal/io/writers/GenericWriter.h>
|
static bool | exportFile (const std::string &filename, const TContainer &anImage, const TFunctor &aFunctor=TFunctor()) |
|
template<typename TContainer, typename TValue, typename TFunctor>
struct DGtal::GenericWriter< TContainer, 2, TValue, TFunctor >
GenericWriter Template partial specialisation for images of dimension 2
Definition at line 185 of file GenericWriter.h.
◆ BOOST_CONCEPT_ASSERT()
template<typename TContainer , typename TValue , typename TFunctor >
◆ exportFile()
template<typename TContainer , typename TValue , typename TFunctor >
static bool DGtal::GenericWriter< TContainer, 2, TValue, TFunctor >::exportFile |
( |
const std::string & |
filename, |
|
|
const TContainer & |
anImage, |
|
|
const TFunctor & |
aFunctor = TFunctor() |
|
) |
| |
|
static |
Export the 2D image file.
- Parameters
-
filename | the filename of the saved image (with a extension name). |
anImage | the image to be saved. |
aFunctor | to apply image transformation before saving. |
The documentation for this struct was generated from the following file: