|
DGtal 2.0.0
|
Aim: Export a 3D Image using the Vol formats. More...
#include <DGtal/io/writers/VolWriter.h>
Public Types | |
| typedef TImage | Image |
| typedef TImage::Value | Value |
| typedef TFunctor | Functor |
Public Member Functions | |
| BOOST_CONCEPT_ASSERT ((concepts::CUnaryFunctor< TFunctor, Value, unsigned char >)) | |
| BOOST_STATIC_ASSERT (TImage::Domain::dimension==3) | |
Static Public Member Functions | |
| static bool | exportVol (const std::string &filename, const Image &aImage, const bool compressed=true, const Functor &aFunctor=Functor()) |
Aim: Export a 3D Image using the Vol formats.
Description of template struct 'VolWriter'
A functor can be specified to convert image values to Vol values (unsigned char).
| TImage | the Image type. |
| TFunctor | the type of functor used in the export. |
Definition at line 68 of file VolWriter.h.
| typedef TFunctor DGtal::VolWriter< TImage, TFunctor >::Functor |
Definition at line 73 of file VolWriter.h.
| typedef TImage DGtal::VolWriter< TImage, TFunctor >::Image |
Definition at line 71 of file VolWriter.h.
| typedef TImage::Value DGtal::VolWriter< TImage, TFunctor >::Value |
Definition at line 72 of file VolWriter.h.
| DGtal::VolWriter< TImage, TFunctor >::BOOST_CONCEPT_ASSERT | ( | (concepts::CUnaryFunctor< TFunctor, Value, unsigned char >) | ) |
| DGtal::VolWriter< TImage, TFunctor >::BOOST_STATIC_ASSERT | ( | TImage::Domain::dimension | = =3 | ) |
|
static |
Export an Image with the Vol format.
| filename | name of the output file |
| aImage | the image to export |
| compressed | boolean to decide wether the vol must be compressed or not |
| aFunctor | functor used to cast image values |
Referenced by HDF5_3D2vol(), testConsistence(), testImplicitShape3D(), and testVolReader().