|
DGtal 1.4.2
|
#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 COBANaivePlaneComputer< Z3, InternalInteger > | NaivePlaneComputer |
| typedef DigitalSetBoundary< KSpace, DigitalSet > | MyDigitalSurfaceContainer |
| typedef DigitalSurface< MyDigitalSurfaceContainer > | MyDigitalSurface |
| typedef BreadthFirstVisitor< MyDigitalSurface > | Visitor |
Functions | |
| bool | operator< (const VertexSize &vs1, const VertexSize &vs2) |
| int | main (int argc, char **argv) |
| [greedy-plane-segmentation-ex3-typedefs] | |
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-ex3.
This file is part of the DGtal library.
Definition in file greedy-plane-segmentation-ex3.cpp.
Definition at line 64 of file greedy-plane-segmentation-ex3.cpp.
Definition at line 63 of file greedy-plane-segmentation-ex3.cpp.
Definition at line 60 of file greedy-plane-segmentation-ex3.cpp.
| typedef BreadthFirstVisitor<MyDigitalSurface> Visitor |
Definition at line 69 of file greedy-plane-segmentation-ex3.cpp.
| int main | ( | int | argc, |
| char ** | argv ) |
[greedy-plane-segmentation-ex3-typedefs]
[greedy-plane-segmentation-ex3-parseCommandLine]
[greedy-plane-segmentation-ex3-parseCommandLine]
[greedy-plane-segmentation-ex3-loadVolume]
[greedy-plane-segmentation-ex3-loadVolume]
[greedy-plane-segmentation-ex3-makeSurface]
[greedy-plane-segmentation-ex3-makeSurface]
[greedy-plane-segmentation-ex3-segment]
[greedy-plane-segmentation-ex3-segment]
[greedy-plane-segmentation-ex3-visualization]
[greedy-plane-segmentation-ex3-visualization]
[greedy-plane-segmentation-ex3-freeMemory]
[greedy-plane-segmentation-ex3-freeMemory]
Definition at line 95 of file greedy-plane-segmentation-ex3.cpp.
References DGtal::SetFromImage< TSet >::append(), 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::VolReader< TImageContainer, TFunctor >::importVol(), DGtal::Trace::info(), DGtal::COBANaivePlaneComputer< TSpace, TInternalInteger >::init(), DGtal::KhalimskySpaceND< dim, TInteger >::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 87 of file greedy-plane-segmentation-ex3.cpp.