|
DGtal 1.4.2
|
#include <iostream>#include "DGtal/base/Common.h"#include "DGtal/kernel/SpaceND.h"#include "DGtal/kernel/domains/HyperRectDomain.h"#include "DGtal/kernel/sets/DigitalSetSelector.h"#include "DGtal/topology/KhalimskySpaceND.h"#include "DGtal/topology/SurfelAdjacency.h"#include "DGtal/topology/SurfelNeighborhood.h"#include "DGtal/geometry/curves/GridCurve.h"#include "DGtal/geometry/2d/L1LengthEstimator.h"#include "DGtal/geometry/2d/TwoStepLocalLengthEstimator.h"#include "DGtal/geometry/2d/MLPLengthEstimator.h"#include "DGtal/geometry/2d/FPLengthEstimator.h"#include "DGtal/geometry/2d/DSSLengthEstimator.h"#include "ConfigTest.h"Go to the source code of this file.
Functions | |
| bool | testL1LengthEstimator (std::string &filename) |
| 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/.
Functions for testing class L1LengthEstimator.
This file is part of the DGtal library.
Definition in file testL1LengthEstimator.cpp.
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 129 of file testL1LengthEstimator.cpp.
References DGtal::Trace::beginBlock(), DGtal::Trace::emphase(), DGtal::Trace::endBlock(), DGtal::Trace::info(), testL1LengthEstimator(), and DGtal::trace.
| bool testL1LengthEstimator | ( | std::string & | filename | ) |
L1 test
Definition at line 64 of file testL1LengthEstimator.cpp.
References DGtal::GridCurve< TKSpace >::begin(), DGtal::GridCurve< TKSpace >::end(), DGtal::DSSLengthEstimator< TConstIterator >::eval(), DGtal::FPLengthEstimator< TConstIterator >::eval(), DGtal::L1LengthEstimator< TConstIterator >::eval(), DGtal::MLPLengthEstimator< TConstIterator >::eval(), DGtal::GridCurve< TKSpace >::getArrowsRange(), DGtal::GridCurve< TKSpace >::getPointsRange(), DGtal::Trace::info(), DGtal::GridCurve< TKSpace >::initFromVectorStream(), and DGtal::trace.
Referenced by main().