DGtal 2.1.0
|
#include <iostream>
#include <vector>
#include <set>
#include <map>
#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 |
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 | |
int | main () |
[greedy-plane-segmentation-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.
This file is part of the DGtal library.
Definition in file greedy-plane-segmentation.cpp.
Definition at line 82 of file greedy-plane-segmentation.cpp.
typedef DGtal::int64_t InternalInteger |
Definition at line 76 of file greedy-plane-segmentation.cpp.
Definition at line 81 of file greedy-plane-segmentation.cpp.
Definition at line 80 of file greedy-plane-segmentation.cpp.
Definition at line 77 of file greedy-plane-segmentation.cpp.
typedef MyDigitalSurface::SurfelSet SurfelSet |
Definition at line 84 of file greedy-plane-segmentation.cpp.
typedef SurfelSet::iterator SurfelSetIterator |
Definition at line 85 of file greedy-plane-segmentation.cpp.
typedef MyDigitalSurface::Vertex Vertex |
Definition at line 83 of file greedy-plane-segmentation.cpp.
typedef BreadthFirstVisitor<MyDigitalSurface> Visitor |
Definition at line 86 of file greedy-plane-segmentation.cpp.
int main | ( | void | ) |
[greedy-plane-segmentation-typedefs]
[greedy-plane-segmentation-parseCommandLine]
[greedy-plane-segmentation-parseCommandLine]
[greedy-plane-segmentation-loadVolume]
[greedy-plane-segmentation-loadVolume]
[greedy-plane-segmentation-makeSurface]
[greedy-plane-segmentation-makeSurface]
[greedy-plane-segmentation-segment]
[greedy-plane-segmentation-segment]
[greedy-plane-segmentation-visualization]
[greedy-plane-segmentation-visualization]
[greedy-plane-segmentation-freeMemory]
[greedy-plane-segmentation-freeMemory]
Definition at line 99 of file greedy-plane-segmentation.cpp.
References DGtal::DigitalSurface< TDigitalSurfaceContainer >::begin(), DGtal::Trace::beginBlock(), SegmentedPlane::color, DGtal::Image< TImageContainer >::domain(), DGtal::DigitalSetByAssociativeContainer< TDomain, TContainer >::domain(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::end(), DGtal::Trace::endBlock(), DGtal::COBANaivePlaneComputer< TSpace, TInternalInteger >::extend(), image(), DGtal::VolReader< TImageContainer, TFunctor >::importVol(), DGtal::Trace::info(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), DGtal::COBANaivePlaneComputer< TSpace, TInternalInteger >::init(), SegmentedPlane::plane, DGtal::Trace::progressBar(), DGtal::KhalimskySpaceND< dim, TInteger >::sCoords(), DGtal::KhalimskySpaceND< dim, TInteger >::sDirectIncident(), DGtal::PolyscopeViewer< Space, KSpace >::show(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::size(), DGtal::KhalimskySpaceND< dim, TInteger >::sOrthDir(), DGtal::trace, and DGtal::KhalimskySpaceND< dim, TInteger >::unsigns().