DGtal 1.4.0
|
Aim: Export an Image with the HDF5 format. More...
#include <DGtal/io/writers/HDF5Writer.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 | exportHDF5_3D (const std::string &filename, const Image &aImage, const std::string &aDataset, const Functor &aFunctor=Functor()) |
Aim: Export an Image with the HDF5 format.
Description of template struct 'HDF5Writer'
A functor can be specified to convert image values to unsigned char values.
TImage | the Image type. |
TFunctor | the type of functor used in the export. |
Definition at line 68 of file HDF5Writer.h.
typedef TFunctor DGtal::HDF5Writer< TImage, TFunctor >::Functor |
Definition at line 73 of file HDF5Writer.h.
typedef TImage DGtal::HDF5Writer< TImage, TFunctor >::Image |
Definition at line 71 of file HDF5Writer.h.
typedef TImage::Value DGtal::HDF5Writer< TImage, TFunctor >::Value |
Definition at line 72 of file HDF5Writer.h.
DGtal::HDF5Writer< TImage, TFunctor >::BOOST_CONCEPT_ASSERT | ( | (concepts::CUnaryFunctor< TFunctor, Value, unsigned char >) | ) |
DGtal::HDF5Writer< TImage, TFunctor >::BOOST_STATIC_ASSERT | ( | TImage::Domain::dimension | = =3 | ) |
|
static |
Export a 3D UInt8 HDF5 output file with ZLIB compression activated.
filename | name of the output file |
aImage | the image to export |
aDataset | the dataset name to export. |
aFunctor | functor used to cast image values |