DGtal 2.0.0
|
#include <iostream>
#include <vector>
#include <set>
#include <map>
#include <queue>
#include "DGtal/base/Common.h"
#include "DGtal/io/readers/VolReader.h"
#include "DGtal/io/viewers/PolyscopeViewer.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.
Data Structures | |
struct | SegmentedPlane |
struct | VertexSize |
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] |
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 90 of file greedy-plane-segmentation-ex2.cpp.
typedef DGtal::int64_t InternalInteger |
Definition at line 84 of file greedy-plane-segmentation-ex2.cpp.
Definition at line 89 of file greedy-plane-segmentation-ex2.cpp.
typedef MyDigitalSurface::SurfelSet SurfelSet |
Definition at line 92 of file greedy-plane-segmentation-ex2.cpp.
typedef SurfelSet::iterator SurfelSetIterator |
Definition at line 93 of file greedy-plane-segmentation-ex2.cpp.
typedef MyDigitalSurface::Vertex Vertex |
Definition at line 91 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 120 of file greedy-plane-segmentation-ex2.cpp.
References DGtal::SetFromImage< TSet >::append(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::begin(), SegmentedPlane::color, DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::current(), DGtal::DigitalSetByAssociativeContainer< TDomain, TContainer >::domain(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::end(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::expand(), DGtal::COBANaivePlaneComputer< TSpace, TInternalInteger >::extend(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::finished(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::ignore(), image(), DGtal::VolReader< TImageContainer, TFunctor >::importVol(), DGtal::COBANaivePlaneComputer< TSpace, TInternalInteger >::init(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), SegmentedPlane::plane, DGtal::KhalimskySpaceND< dim, TInteger >::sCoords(), DGtal::KhalimskySpaceND< dim, TInteger >::sDirectIncident(), DGtal::PolyscopeViewer< Space, KSpace >::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 112 of file greedy-plane-segmentation-ex2.cpp.
References VertexSize::size.