DGtal 1.3.0
|
#include <vector>
#include <fstream>
#include "DGtal/shapes/Shapes.h"
#include "DGtal/io/boards/Board2D.h"
#include "DGtal/io/Color.h"
#include "DGtal/geometry/volumes/DigitalConvexity.h"
#include "DGtal/geometry/volumes/NeighborhoodConvexityAnalyzer.h"
#include "DGtal/helpers/Shortcuts.h"
#include "ConfigExamples.h"
Go to the source code of this file.
Typedefs | |
typedef std::vector< bool > | ConfigMap |
typedef DigitalConvexity< KSpace > | DConv |
typedef Shortcuts< KSpace > | SH2 |
typedef NeighborhoodConvexityAnalyzer< KSpace, 1 > | NCA1 |
Functions | |
void | outputTableAsArray (ostream &out, const string &tableName, const ConfigMap &map) |
void | displaySimplicityTable (Board2D &board, const ConfigMap &map, bool complement, bool with) |
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 fullConvexityLUT2D.
This file is part of the DGtal library.
Definition in file fullConvexityLUT2D.cpp.
typedef std::vector<bool> ConfigMap |
Definition at line 76 of file fullConvexityLUT2D.cpp.
typedef DigitalConvexity< KSpace > DConv |
Definition at line 77 of file fullConvexityLUT2D.cpp.
typedef NeighborhoodConvexityAnalyzer<KSpace,1> NCA1 |
Definition at line 79 of file fullConvexityLUT2D.cpp.
Definition at line 78 of file fullConvexityLUT2D.cpp.
Definition at line 102 of file fullConvexityLUT2D.cpp.
References DGtal::HyperRectDomain< TSpace >::begin(), DGtal::HyperRectDomain< TSpace >::className(), DGtal::PointVector< dim, Integer >::diagonal(), display(), domain, and DGtal::HyperRectDomain< TSpace >::end().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 170 of file fullConvexityLUT2D.cpp.
References DGtal::HyperRectDomain< TSpace >::begin(), DGtal::Trace::beginBlock(), DGtal::PointVector< dim, Integer >::diagonal(), displaySimplicityTable(), domain, DGtal::HyperRectDomain< TSpace >::end(), DGtal::Trace::endBlock(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementaryFullyConvex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isFullyConvex(), K, outputTableAsArray(), LibBoard::Board::saveEPS(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::setCenter(), and DGtal::trace.
void outputTableAsArray | ( | ostream & | out, |
const string & | tableName, | ||
const ConfigMap & | map | ||
) |
Output simplicity configuration table as a C array.
Definition at line 86 of file fullConvexityLUT2D.cpp.
Referenced by main().