43 #include "DGtal/kernel/BasicPointFunctors.h"
44 #include "DGtal/base/Common.h"
45 #include "DGtal/helpers/StdDefs.h"
46 #include "DGtal/io/readers/VolReader.h"
47 #include "DGtal/io/writers/PGMWriter.h"
48 #include "DGtal/images/ImageSelector.h"
49 #include "DGtal/images/ConstImageAdapter.h"
50 #include "ConfigExamples.h"
54 using namespace DGtal;
69 std::string filename = examplesPath +
"samples/lobster.vol";
72 proj(image.domain().upperBound()));
78 for (
unsigned int i=0; i<30; i+=10){
79 std::stringstream name;
80 name <<
"lobsterSliceZ_" << i <<
".pgm";
82 SliceImageAdapter sliceImageZ(image,
domain, aSliceFunctor, idV);