DGtal 1.3.0
|
#include "DGtalCatch.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/shapes/Shapes.h"
#include "DGtal/base/Common.h"
#include "DGtal/topology/NeighborhoodConfigurations.h"
#include "DGtal/topology/tables/NeighborhoodTables.h"
Go to the source code of this file.
Functions | |
template<typename TObject > | |
TObject | Object3D (const typename TObject::DigitalTopology &dt) |
TEST_CASE ("Check that each neighborhood point in 3D (26 points) has associated a bit in an unsigned integer (NeighborhoodConfiguration).", "[map][mask][3D]") | |
SCENARIO ("Simplicity tables match on-the-fly calculations for all 3D topologies", "[simple][object][diamond][3D]") | |
TEST_CASE ("Check that each neighborhood point in 2D (8 points) has associated a bit in an unsigned integer (NeighborhoodConfiguration).", "[map][mask][2D]") | |
TEST_CASE_METHOD (Objects2D, "Simplicity tables match on-the-fly calculations for all 2D topologies", "[simple][object][balls][2D]") | |
SCENARIO ("Load isthmus tables", "[isthmus]") | |
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 classs of NeighborhoodConfigurations
This file is part of the DGtal library.
Definition in file testNeighborhoodConfigurations.cpp.
TObject Object3D | ( | const typename TObject::DigitalTopology & | dt | ) |
Definition at line 45 of file testNeighborhoodConfigurations.cpp.
References DGtal::HyperRectDomain< TSpace >::begin(), domain, DGtal::HyperRectDomain< TSpace >::end(), DGtal::DigitalSetByAssociativeContainer< TDomain, TContainer >::erase(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), DGtal::DigitalSetByAssociativeContainer< TDomain, TContainer >::insertNew(), K, DGtal::HyperRectDomain< TSpace >::lowerBound(), and DGtal::HyperRectDomain< TSpace >::upperBound().
SCENARIO | ( | "Load isthmus tables" | , |
"" | [isthmus] | ||
) |
Definition at line 301 of file testNeighborhoodConfigurations.cpp.
References DGtal::functions::loadTable(), and SECTION().
SCENARIO | ( | "Simplicity tables match on-the-fly calculations for all 3D topologies" | , |
"" | [simple][object][diamond][3D] | ||
) |
Definition at line 103 of file testNeighborhoodConfigurations.cpp.
References DGtal::functions::loadTable(), and SECTION().
TEST_CASE | ( | "Check that each neighborhood point in 2D (8 points) has associated a bit in an unsigned integer (NeighborhoodConfiguration)." | , |
"" | [map][mask][2D] | ||
) |
Definition at line 232 of file testNeighborhoodConfigurations.cpp.
TEST_CASE | ( | "Check that each neighborhood point in 3D (26 points) has associated a bit in an unsigned integer (NeighborhoodConfiguration)." | , |
"" | [map][mask][3D] | ||
) |
Definition at line 67 of file testNeighborhoodConfigurations.cpp.
TEST_CASE_METHOD | ( | Objects2D | , |
"Simplicity tables match on-the-fly calculations for all 2D topologies" | , | ||
"" | [simple][object][balls][2D] | ||
) |
Definition at line 251 of file testNeighborhoodConfigurations.cpp.
References DGtal::functions::loadTable(), and SECTION().