DGtal
1.5.beta
|
#include <iostream>
#include <vector>
#include <set>
#include <map>
#include <queue>
#include "DGtal/base/Common.h"
#include "DGtal/io/readers/VolReader.h"
#include "DGtal/io/Display3D.h"
#include "DGtal/io/viewers/Viewer3D.h"
#include "DGtal/io/DrawWithDisplay3DModifier.h"
#include "DGtal/images/ImageSelector.h"
#include "DGtal/images/imagesSetsUtils/SetFromImage.h"
#include "DGtal/topology/DigitalSurface.h"
#include "DGtal/topology/DigitalSetBoundary.h"
#include "DGtal/graph/BreadthFirstVisitor.h"
#include "DGtal/geometry/surfaces/COBANaivePlaneComputer.h"
#include "DGtal/helpers/StdDefs.h"
#include "ConfigExamples.h"
Go to the source code of this file.
Typedefs | |
typedef DGtal::int64_t | InternalInteger |
typedef COBANaivePlaneComputer< Z3, InternalInteger > | NaivePlaneComputer |
typedef DigitalSetBoundary< KSpace, DigitalSet > | MyDigitalSurfaceContainer |
typedef DigitalSurface< MyDigitalSurfaceContainer > | MyDigitalSurface |
typedef MyDigitalSurface::ConstIterator | ConstIterator |
typedef MyDigitalSurface::Vertex | Vertex |
typedef MyDigitalSurface::SurfelSet | SurfelSet |
typedef SurfelSet::iterator | SurfelSetIterator |
typedef BreadthFirstVisitor< MyDigitalSurface > | Visitor |
Functions | |
bool | operator< (const VertexSize &vs1, const VertexSize &vs2) |
int | main (int argc, char **argv) |
[greedy-plane-segmentation-ex2-typedefs] More... | |
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 greedy-plane-segmentation-ex2.
This file is part of the DGtal library.
Definition in file greedy-plane-segmentation-ex2.cpp.
Definition at line 93 of file greedy-plane-segmentation-ex2.cpp.
typedef DGtal::int64_t InternalInteger |
Definition at line 87 of file greedy-plane-segmentation-ex2.cpp.
Definition at line 92 of file greedy-plane-segmentation-ex2.cpp.
typedef MyDigitalSurface::SurfelSet SurfelSet |
Definition at line 95 of file greedy-plane-segmentation-ex2.cpp.
typedef SurfelSet::iterator SurfelSetIterator |
Definition at line 96 of file greedy-plane-segmentation-ex2.cpp.
typedef MyDigitalSurface::Vertex Vertex |
Definition at line 94 of file greedy-plane-segmentation-ex2.cpp.
typedef BreadthFirstVisitor<MyDigitalSurface> Visitor |
int main | ( | int | argc, |
char ** | argv | ||
) |
[greedy-plane-segmentation-ex2-typedefs]
[greedy-plane-segmentation-ex2-parseCommandLine]
[greedy-plane-segmentation-ex2-parseCommandLine]
[greedy-plane-segmentation-ex2-loadVolume]
[greedy-plane-segmentation-ex2-loadVolume]
[greedy-plane-segmentation-ex2-makeSurface]
[greedy-plane-segmentation-ex2-makeSurface]
[greedy-plane-segmentation-ex2-segment]
[greedy-plane-segmentation-ex2-segment]
[greedy-plane-segmentation-ex2-visualization]
[greedy-plane-segmentation-ex2-visualization]
[greedy-plane-segmentation-ex2-freeMemory]
[greedy-plane-segmentation-ex2-freeMemory]
Definition at line 123 of file greedy-plane-segmentation-ex2.cpp.
References DGtal::DigitalSurface< TDigitalSurfaceContainer >::begin(), DGtal::Trace::beginBlock(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::current(), DGtal::DigitalSetByAssociativeContainer< TDomain, TContainer >::domain(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::end(), DGtal::Trace::endBlock(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::expand(), DGtal::COBANaivePlaneComputer< TSpace, TInternalInteger >::extend(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::finished(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::ignore(), DGtal::Trace::info(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), DGtal::COBANaivePlaneComputer< TSpace, TInternalInteger >::init(), DGtal::Trace::progressBar(), DGtal::KhalimskySpaceND< dim, TInteger >::sCoords(), DGtal::KhalimskySpaceND< dim, TInteger >::sDirectIncident(), DGtal::Viewer3D< TSpace, TKSpace >::show(), DGtal::COBANaivePlaneComputer< TSpace, TInternalInteger >::size(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::size(), DGtal::KhalimskySpaceND< dim, TInteger >::sOrthDir(), DGtal::trace, and DGtal::KhalimskySpaceND< dim, TInteger >::unsigns().
|
inline |
Definition at line 115 of file greedy-plane-segmentation-ex2.cpp.