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"
41 using namespace DGtal;
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;
88 int 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.
Aim: implements methods to read a "Longvol" file format (with DGtal::uint64_t value type).
Aim: Export a 3D Image using the Longvol formats (volumetric image with DGtal::uint64_t value type).
int main(int argc, char **argv)
ImageContainerBySTLVector< Domain, Value > Image