|
DGtal 2.2.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 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 () |
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 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::Color::Color(), DGtal::CustomColors::CustomColors(), DGtal::CustomStyle::CustomStyle(), DGtal::PointVector< dim, Integer >::diagonal(), display(), displaySimplicityTable(), domain, and DGtal::SetMode::SetMode().
Referenced by displaySimplicityTable(), displaySimplicityTable(), main(), and main().
| int main | ( | void | ) |
Definition at line 170 of file fullConvexityLUT2D.cpp.
References DGtal::Trace::beginBlock(), DGtal::PointVector< dim, Integer >::diagonal(), displaySimplicityTable(), domain, DGtal::Trace::endBlock(), image(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementaryFullyConvex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isFullyConvex(), K, main(), outputTableAsArray(), LibBoard::Board::saveEPS(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::setCenter(), DGtal::Image< TImageContainer >::setValue(), and DGtal::trace.
Output simplicity configuration table as a C array.
Definition at line 86 of file fullConvexityLUT2D.cpp.
References outputTableAsArray().
Referenced by main(), main(), outputTableAsArray(), and outputTableAsArray().