DGtal
1.5.beta
|
#include <iostream>
#include "DGtal/base/Common.h"
#include "DGtal/shapes/parametric/Flower2D.h"
#include "DGtal/shapes/GaussDigitizer.h"
#include "DGtal/topology/LightImplicitDigitalSurface.h"
#include "DGtal/topology/DigitalSurface.h"
#include "DGtal/graph/DepthFirstVisitor.h"
#include "DGtal/graph/GraphVisitorRange.h"
#include "DGtal/images/ImageHelper.h"
#include "DGtal/images/ImageSelector.h"
#include "DGtal/geometry/surfaces/estimation/IIGeometricFunctors.h"
#include "DGtal/geometry/surfaces/estimation/IntegralInvariantVolumeEstimator.h"
#include "DGtal/io/boards/Board2D.h"
#include "DGtal/io/colormaps/GradientColorMap.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
An example file named exampleIntegralInvariantCurvature2D.
This file is part of the DGtal library.
Definition in file exampleIntegralInvariantCurvature2D.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Construction of the shape + digitalization
Integral Invariant stuff [IntegralInvariantUsage]
Functor used to convert volume -> curvature
Setting a KSpace and a predicate on the object to evaluate
Setting the digital radius of the convolution kernel
Initialisation for a given h
output iterator for results of Integral Invariant curvature computation
Computation
[IntegralInvariantUsage]
Drawing results
Definition at line 59 of file exampleIntegralInvariantCurvature2D.cpp.
References DGtal::HyperRectDomain< TSpace >::begin(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::begin(), DGtal::Trace::beginBlock(), DGtal::Color::Black, DGtal::PointVector< dim, Integer >::diagonal(), DGtal::HyperRectDomain< TSpace >::end(), DGtal::Trace::endBlock(), DGtal::Trace::error(), DGtal::Surfaces< TKSpace >::findABel(), image(), DGtal::imageFromRangeAndValue(), DGtal::Trace::info(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), DGtal::HyperRectDomain< TSpace >::lowerBound(), max(), LibBoard::Board::saveSVG(), DGtal::KhalimskySpaceND< dim, TInteger >::sIndirectIncident(), DGtal::KhalimskySpaceND< dim, TInteger >::sOrthDirs(), DGtal::trace, and DGtal::HyperRectDomain< TSpace >::upperBound().