testDistanceTransformation.cpp File Reference

#include <iostream>
#include <iomanip>
#include "DGtal/base/Common.h"
#include "DGtal/kernel/SpaceND.h"
#include "DGtal/kernel/domains/HyperRectDomain.h"
#include "DGtal/kernel/images/ImageSelector.h"
#include "DGtal/geometry/nd/volumetric/SeparableMetricTraits.h"
#include "DGtal/geometry/nd/volumetric/DistanceTransformation.h"
#include "DGtal/io/colormaps/HueShadeColorMap.h"
#include "DGtal/io/colormaps/GrayScaleColorMap.h"
#include "DGtal/io/DGtalBoard.h"
Include dependency graph for testDistanceTransformation.cpp:


template<typename Image >
void randomSeeds (Image &input, const unsigned int nb, const int value)
bool testDistanceTransformation ()
bool testDistanceTransformationBorder ()
bool testDistanceTransformation3D ()
bool testTypeValidity ()
bool testChessboard ()
int main (int argc, char **argv)

Detailed Description

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 <>.

David Coeurjolly ( ) Laboratoire d'InfoRmatique en Image et Systèmes d'information - LIRIS (CNRS, UMR 5205), CNRS, France

Functions for testing class DistanceTransformation.

This file is part of the DGtal library.

Function Documentation

int main ( int  argc,
char **  argv 
template<typename Image >
void randomSeeds ( Image &  input,
const unsigned int  nb,
const int  value 
bool testChessboard (  ) 
bool testDistanceTransformation (  ) 
bool testDistanceTransformation3D (  ) 
bool testDistanceTransformationBorder (  ) 
bool testTypeValidity (  )