37#include "DGtal/base/Common.h"
38#include "DGtal/helpers/StdDefs.h"
40#include "DGtal/kernel/PointFunctorHolder.h"
41#include "DGtal/geometry/volumes/distance/DistanceTransformation.h"
43#include "DGtal/io/boards/Board2D.h"
44#include "DGtal/io/colormaps/HueShadeColorMap.h"
46#include <boost/algorithm/minmax_element.hpp>
76 DTL2::Value maxDT = *boost::first_max_element(
dt.constRange().begin(),
dt.constRange().end() );
82 aBoard.
saveEPS(
"examplePointFunctorHolder.eps");
Aim: This class specializes a 'Board' class so as to display DGtal objects more naturally (with <<)....
Aim: implements separable l_p metrics with exact predicates.
Aim: This class template may be used to (linearly) convert scalar values in a given range into a colo...
double norm(const NormType type=L_2) const
void saveEPS(const char *filename, PageSize size=Board::BoundingBox, double margin=10.0) const
SpaceND< 2, Integer > Space
static const L2Metric l2Metric
auto holdPointFunctor(TFunctor &&aFunctor) -> PointFunctorHolder< TPoint, TValue, decltype(holdFunctor(std::forward< TFunctor >(aFunctor)))>
PointFunctorHolder construction helper with specification of the return type.
DGtal is the top-level namespace which contains all DGtal functions and types.
static void drawImage(DGtal::Board2D &board, const Image &i, const typename Image::Value &minV, const typename Image::Value &maxV)