DGtal
1.5.beta
|
#include <DGtal/io/writers/GenericWriter.h>
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CUnaryFunctor< TFunctor, typename TContainer::Value, unsigned char >)) | |
BOOST_CONCEPT_ASSERT ((concepts::CConstImage< TContainer >)) | |
Static Public Member Functions | |
static bool | exportFile (const std::string &filename, const TContainer &anImage, const std::string &datasetName="UInt8Array3D", const TFunctor &aFunctor=TFunctor()) |
GenericWriter Template partial specialisation for volume images of dimension 3 and unsigned char value type (which allows to export vol, pgm3D, h5 and raw file format).
Definition at line 114 of file GenericWriter.h.
DGtal::GenericWriter< TContainer, 3, unsigned char, TFunctor >::BOOST_CONCEPT_ASSERT | ( | (concepts::CConstImage< TContainer >) | ) |
DGtal::GenericWriter< TContainer, 3, unsigned char, TFunctor >::BOOST_CONCEPT_ASSERT | ( | (concepts::CUnaryFunctor< TFunctor, typename TContainer::Value, unsigned char >) | ) |
|
static |
Export a volume image.
filename | the filename of the saved image (with a extension name). |
anImage | the image to be saved. |
datasetName | the dataset name to export. |
aFunctor | to apply image transformation before saving. |