testColorMaps.cpp File Reference

#include <iostream>
#include "DGtal/base/Common.h"
#include "DGtal/io/colormaps/CColorMap.h"
#include "DGtal/io/colormaps/GrayScaleColorMap.h"
#include "DGtal/io/colormaps/HueShadeColorMap.h"
#include "DGtal/io/colormaps/ColorBrightnessColorMap.h"
#include "DGtal/io/colormaps/GradientColorMap.h"
#include "Board/PSFonts.h"
Include dependency graph for testColorMaps.cpp:


template<typename TColorMap >
void addColorMapSample (const char *name, const TColorMap &aColorMap, const typename TColorMap::ValueType step, Board &board)
bool testGrayscaleColorMap ()
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 <>.

Sebastien Fourey ( ) Groupe de Recherche en Informatique, Image, Automatique et Instrumentation de Caen - GREYC (CNRS, UMR 6072), ENSICAEN, France

Functions for testing the ColorMap classes.

This file is part of the DGtal library.

Function Documentation

template<typename TColorMap >
void addColorMapSample ( const char *  name,
const TColorMap &  aColorMap,
const typename TColorMap::ValueType  step,
Board board 
int main ( int  argc,
char **  argv 
bool testGrayscaleColorMap (  )