38 #include "DGtal/base/Common.h"
39 #include "DGtal/helpers/StdDefs.h"
41 #include "DGtal/images/ImageContainerBySTLVector.h"
43 #include "DGtal/io/readers/VolReader.h"
44 #include "DGtal/io/writers/VolWriter.h"
46 #include "DGtal/images/SimpleThresholdForegroundPredicate.h"
47 #include "DGtal/geometry/volumes/distance/DistanceTransformation.h"
48 #include "DGtal/shapes/implicit/ImplicitBall.h"
49 #include "DGtal/base/BasicFunctors.h"
53 #include "DGtal/io/viewers/Viewer3D.h"
54 #include "DGtal/io/colormaps/GradientColorMap.h"
57 using namespace DGtal;
59 int main(
int argc,
char ** argv)
75 QApplication application(argc,argv);
112 DT::Value maxDT = (*boost::first_max_element(distancemap.constRange().begin(),
113 distancemap.constRange().end()));
static const Color Yellow
Aim: This class template may be used to (linearly) convert scalar values in a given range into a colo...
virtual void show()
Overload QWidget method in order to add a call to updateList() method (to ensure that the lists are w...
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Export a 3D Image using the Vol formats.
int main(int argc, char **argv)