|
DGtal 2.0.0
|
#include "DGtal/base/SetFunctions.h"#include "DGtal/helpers/StdDefs.h"#include "DGtal/topology/CubicalComplexFunctions.h"#include "DGtal/topology/CubicalComplex.h"#include "DGtal/topology/KhalimskyCellHashFunctions.h"#include "DGtal/topology/VoxelComplex.h"#include "DGtal/topology/VoxelComplexFunctions.h"#include "DGtalCatch.h"#include <iostream>#include <unordered_map>#include "DGtal/geometry/volumes/distance/DistanceTransformation.h"#include "DGtal/geometry/volumes/distance/ExactPredicateLpSeparableMetric.h"#include "DGtal/geometry/volumes/distance/VoronoiMap.h"#include "DGtal/images/SimpleThresholdForegroundPredicate.h"#include "DGtal/kernel/BasicPointPredicates.h"#include "DGtal/topology/NeighborhoodConfigurations.h"#include "DGtal/topology/tables/NeighborhoodTables.h"Go to the source code of this file.
Data Structures | |
| struct | Fixture_complex_diamond |
| struct | Fixture_complex_fig4 |
| struct | Fixture_isthmus |
| struct | Fixture_X |
Functions | |
| TEST_CASE_METHOD (Fixture_complex_diamond, "insertVoxel", "[insert][close]") | |
| TEST_CASE_METHOD (Fixture_complex_diamond, "Faces of voxel", "[neighborhood][faces]") | |
| TEST_CASE_METHOD (Fixture_complex_diamond, "Neighbors from Object and KSpace", "[neighborhood]") | |
| TEST_CASE_METHOD (Fixture_complex_diamond, "Test Simplicity", "[simplicity]") | |
| TEST_CASE_METHOD (Fixture_complex_diamond, "Test table wrappers", "[table][simple]") | |
| TEST_CASE_METHOD (Fixture_complex_diamond, "Cliques Masks K_2", "[clique]") | |
| TEST_CASE_METHOD (Fixture_complex_diamond, "Cliques Masks K_1", "[clique]") | |
| TEST_CASE_METHOD (Fixture_complex_diamond, "Cliques Masks K_0", "[clique]") | |
| TEST_CASE_METHOD (Fixture_complex_diamond, "Get All Critical Cliques of diamond", "[critical][clique]") | |
| TEST_CASE_METHOD (Fixture_complex_fig4, "Get All Critical Cliques of fig4", "[critical][clique]") | |
| TEST_CASE_METHOD (Fixture_complex_fig4, "zeroSurface and oneSurface", "[isSurface][function]") | |
| TEST_CASE_METHOD (Fixture_isthmus, "Thin disconnected complex", "[isthmus][thin][function]") | |
| TEST_CASE_METHOD (Fixture_isthmus, "Check isthmus", "[isthmus][function]") | |
| TEST_CASE_METHOD (Fixture_isthmus, "Thin complex", "[isthmus][thin][function]") | |
| TEST_CASE_METHOD (Fixture_isthmus, "Persistence thin", "[persistence][isthmus][thin][function]") | |
| TEST_CASE_METHOD (Fixture_X, "X Thin", "[x][persistence][isthmus][thin][function]") | |
| TEST_CASE_METHOD (Fixture_X, "X Thin with Isthmus, and tables", "[x][isthmus][thin][function][table]") | |
| TEST_CASE_METHOD (Fixture_X, "X DistanceMap", "[x][distance][thin]") | |
| Use distance map in the Select function. | |
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/.
Testing class for VoxelComplex.
This file is part of the DGtal library.
Definition in file testVoxelComplex.cpp.
| TEST_CASE_METHOD | ( | Fixture_complex_diamond | , |
| "Cliques Masks K_0" | , | ||
| "" | [clique] ) |
Definition at line 402 of file testVoxelComplex.cpp.
References SECTION().
| TEST_CASE_METHOD | ( | Fixture_complex_diamond | , |
| "Cliques Masks K_1" | , | ||
| "" | [clique] ) |
Definition at line 380 of file testVoxelComplex.cpp.
References SECTION().
| TEST_CASE_METHOD | ( | Fixture_complex_diamond | , |
| "Cliques Masks K_2" | , | ||
| "" | [clique] ) |
Definition at line 341 of file testVoxelComplex.cpp.
| TEST_CASE_METHOD | ( | Fixture_complex_diamond | , |
| "Faces of voxel" | , | ||
| "" | [neighborhood][faces] ) |
Definition at line 180 of file testVoxelComplex.cpp.
| TEST_CASE_METHOD | ( | Fixture_complex_diamond | , |
| "Get All Critical Cliques of diamond" | , | ||
| "" | [critical][clique] ) |
Definition at line 425 of file testVoxelComplex.cpp.
References SECTION().
| TEST_CASE_METHOD | ( | Fixture_complex_diamond | , |
| "insertVoxel" | , | ||
| "" | [insert][close] ) |
Definition at line 120 of file testVoxelComplex.cpp.
References SECTION().
| TEST_CASE_METHOD | ( | Fixture_complex_diamond | , |
| "Neighbors from Object and KSpace" | , | ||
| "" | [neighborhood] ) |
Definition at line 248 of file testVoxelComplex.cpp.
References SECTION().
| TEST_CASE_METHOD | ( | Fixture_complex_diamond | , |
| "Test Simplicity" | , | ||
| "" | [simplicity] ) |
Definition at line 288 of file testVoxelComplex.cpp.
| TEST_CASE_METHOD | ( | Fixture_complex_diamond | , |
| "Test table wrappers" | , | ||
| "" | [table][simple] ) |
Definition at line 313 of file testVoxelComplex.cpp.
References DGtal::functions::loadTable(), REQUIRE(), SECTION(), and DGtal::trace.
| TEST_CASE_METHOD | ( | Fixture_complex_fig4 | , |
| "Get All Critical Cliques of fig4" | , | ||
| "" | [critical][clique] ) |
Definition at line 524 of file testVoxelComplex.cpp.
References SECTION().
| TEST_CASE_METHOD | ( | Fixture_complex_fig4 | , |
| "zeroSurface and oneSurface" | , | ||
| "" | [isSurface][function] ) |
Definition at line 544 of file testVoxelComplex.cpp.
References domain, DGtal::functions::isOneSurface(), DGtal::functions::isZeroSurface(), DGtal::JORDAN_DT, and SECTION().
| TEST_CASE_METHOD | ( | Fixture_isthmus | , |
| "Check isthmus" | , | ||
| "" | [isthmus][function] ) |
Definition at line 736 of file testVoxelComplex.cpp.
References DGtal::functions::oneIsthmus(), SECTION(), DGtal::functions::skelIsthmus(), and DGtal::functions::twoIsthmus().
| TEST_CASE_METHOD | ( | Fixture_isthmus | , |
| "Persistence thin" | , | ||
| "" | [persistence][isthmus][thin][function] ) |
Definition at line 810 of file testVoxelComplex.cpp.
References DGtal::functions::loadTable(), DGtal::functions::mapZeroPointNeighborhoodToConfigurationMask(), DGtal::functions::persistenceAsymetricThinningScheme(), SECTION(), DGtal::functions::selectRandom(), DGtal::functions::skelEnd(), DGtal::functions::skelUltimate(), and DGtal::functions::skelWithTable().
| TEST_CASE_METHOD | ( | Fixture_isthmus | , |
| "Thin complex" | , | ||
| "" | [isthmus][thin][function] ) |
Definition at line 778 of file testVoxelComplex.cpp.
References DGtal::functions::asymetricThinningScheme(), DGtal::functions::oneIsthmus(), SECTION(), DGtal::functions::selectFirst(), DGtal::functions::selectRandom(), DGtal::functions::skelEnd(), DGtal::functions::skelIsthmus(), DGtal::functions::skelUltimate(), and DGtal::functions::twoIsthmus().
| TEST_CASE_METHOD | ( | Fixture_isthmus | , |
| "Thin disconnected complex" | , | ||
| "" | [isthmus][thin][function] ) |
Definition at line 716 of file testVoxelComplex.cpp.
References DGtal::functions::asymetricThinningScheme(), SECTION(), DGtal::functions::selectFirst(), and DGtal::functions::skelUltimate().
| TEST_CASE_METHOD | ( | Fixture_X | , |
| "X DistanceMap" | , | ||
| "" | [x][distance][thin] ) |
Use distance map in the Select function.
Definition at line 1059 of file testVoxelComplex.cpp.
References DGtal::functions::asymetricThinningScheme(), dt, DGtal::functions::loadTable(), DGtal::functions::mapZeroPointNeighborhoodToConfigurationMask(), DGtal::functions::persistenceAsymetricThinningScheme(), SECTION(), DGtal::functions::selectMaxValue(), DGtal::functions::skelEnd(), DGtal::functions::skelWithTable(), and DGtal::trace.
| TEST_CASE_METHOD | ( | Fixture_X | , |
| "X Thin with | Isthmus, | ||
| and tables" | , | ||
| "" | [x][isthmus][thin][function][table] ) |
Definition at line 1004 of file testVoxelComplex.cpp.
References DGtal::functions::asymetricThinningScheme(), DGtal::functions::loadTable(), DGtal::functions::mapZeroPointNeighborhoodToConfigurationMask(), SECTION(), DGtal::functions::selectRandom(), DGtal::functions::skelWithTable(), and DGtal::trace.
| TEST_CASE_METHOD | ( | Fixture_X | , |
| "X Thin" | , | ||
| "" | [x][persistence][isthmus][thin][function] ) |
Definition at line 977 of file testVoxelComplex.cpp.
References DGtal::functions::asymetricThinningScheme(), DGtal::functions::persistenceAsymetricThinningScheme(), REQUIRE(), SECTION(), DGtal::functions::selectFirst(), DGtal::functions::selectRandom(), and DGtal::functions::skelEnd().