30#if defined(HDF5Reader_RECURSES)
31#error Recursive header files inclusion detected in HDF5Reader.h
34#define HDF5Reader_RECURSES
36#if !defined HDF5Reader_h
43#include "DGtal/base/Common.h"
44#include "DGtal/base/CUnaryFunctor.h"
45#include "DGtal/images/CImage.h"
61 template <
typename TImageContainer,
typename TFunctor= functors::Cast<
typename TImageContainer::Value > >
78 (ImageContainer::Domain::dimension == 3));
123#include "DGtal/io/readers/HDF5Reader.ih"
131#undef HDF5Reader_RECURSES
DGtal is the top-level namespace which contains all DGtal functions and types.
static ImageContainer importHDF5_3D(const std::string &aFilename, const std::string &aDataset, const Functor &aFunctor=Functor())
TImageContainer OutputImage
TImageContainer::Domain Domain
BOOST_CONCEPT_ASSERT((concepts::CUnaryFunctor< TFunctor, unsigned char, Value >))
BOOST_CONCEPT_ASSERT((concepts::CImage< TImageContainer >))
TImageContainer::Value Value
TImageContainer ImageContainer
BOOST_STATIC_ASSERT((ImageContainer::Domain::dimension==2)||(ImageContainer::Domain::dimension==3))
TImageContainer::Domain::Vector Vector
static ImageContainer importHDF5(const std::string &aFilename, const std::string &aDataset, const Functor &aFunctor=Functor(), bool topbotomOrder=true)
Aim: Defines the concept describing a read/write image, having an output iterator.
Aim: Defines a unary functor, which associates arguments to results.