DGtal
1.4.2
|
#include <cstdio>
#include <cmath>
#include <fstream>
#include <vector>
#include <iostream>
#include <iterator>
#include "DGtal/base/Common.h"
#include "DGtal/base/Exceptions.h"
#include "DGtal/io/boards/Board2D.h"
#include "DGtal/topology/KhalimskySpaceND.h"
#include "DGtal/geometry/curves/GridCurve.h"
#include "DGtal/geometry/curves/ArithmeticalDSSComputer.h"
#include "DGtal/geometry/curves/estimation/MostCenteredMaximalSegmentEstimator.h"
#include "DGtal/geometry/curves/estimation/CCurveLocalGeometricEstimator.h"
#include "ConfigTest.h"
Go to the source code of this file.
Functions | |
template<typename I > | |
bool | test (const I &itb, const I &ite) |
bool | testEval (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/.
This file is part of the DGtal library
Definition in file testMostCenteredMSEstimator.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 176 of file testMostCenteredMSEstimator.cpp.
References DGtal::Trace::beginBlock(), DGtal::Trace::emphase(), DGtal::Trace::endBlock(), DGtal::Trace::info(), testEval(), and DGtal::trace.
bool test | ( | const I & | itb, |
const I & | ite | ||
) |
Test
Definition at line 71 of file testMostCenteredMSEstimator.cpp.
References DGtal::Trace::info(), DGtal::isNotEmpty(), and DGtal::trace.
Referenced by main(), test_operator(), testEval(), testPublicSercives(), and testStaticServices().
bool testEval | ( | string | filename | ) |
Applying test on a given data file
Definition at line 148 of file testMostCenteredMSEstimator.cpp.
References DGtal::Trace::info(), DGtal::GridCurve< TKSpace >::initFromVectorStream(), test(), and DGtal::trace.
Referenced by main().