4#include "DGtal/shapes/parametric/Ball3D.h"
9#include "DGtal/shapes/GaussDigitizer.h"
10#include "DGtal/topology/LightImplicitDigitalSurface.h"
11#include "DGtal/topology/DigitalSurface.h"
12#include "DGtal/graph/DepthFirstVisitor.h"
13#include "DGtal/graph/GraphVisitorRange.h"
16#include "DGtal/geometry/surfaces/estimation/IIGeometricFunctors.h"
17#include "DGtal/geometry/surfaces/estimation/IntegralInvariantCovarianceEstimator.h"
22int main(
int argc,
char** argv )
25 const double radiusBall = 12.0;
26 const double radiusII = 6;
27 const double trueAreaSurface = 4.0*M_PI*radiusBall*radiusBall;
28 double areaSurfaceEstimated = 0.0;
50 trace.
info() <<
"Area Surface estimated : " << areaSurfaceEstimated << std::endl;
51 trace.
info() <<
"True areaSurface : " << trueAreaSurface << std::endl;
52 trace.
info() <<
"Ratio : " << areaSurfaceEstimated / trueAreaSurface << std::endl;
void beginBlock(const std::string &keyword="")
DGtal is the top-level namespace which contains all DGtal functions and types.