32#include "DGtal/base/Common.h"
33#include "DGtal/helpers/StdDefs.h"
34#include "DGtal/images/ImageSelector.h"
35#include "DGtal/images/ImageContainerBySTLVector.h"
36#include "DGtal/io/writers/LongvolWriter.h"
37#include "DGtal/io/readers/LongvolReader.h"
52 unsigned int nbok = 0;
64 image.setValue(c,0X8899AABBCCDDEEFFull);
73 it != itend; ++it, ++ito)
74 allFine &= (*it) == (*ito);
76 nbok += allFine ? 1 : 0;
78 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") "
79 <<
"true == true" << std::endl;
88int main(
int argc,
char** argv )
92 for (
int i = 0; i < argc; ++i )
97 trace.
emphase() << ( res ?
"Passed." :
"Error." ) << endl;
std::vector< Value >::const_iterator ConstIterator
Aim: implements association bewteen points lying in a digital domain and values.
void beginBlock(const std::string &keyword="")
DGtal is the top-level namespace which contains all DGtal functions and types.
static ImageContainer importLongvol(const std::string &filename, const Functor &aFunctor=Functor())
static bool exportLongvol(const std::string &filename, const Image &aImage, const bool compressed=true, const Functor &aFunctor=Functor())
ImageContainerBySTLVector< Domain, Value > Image