DGtal  0.9.3beta
Public Member Functions | Static Public Member Functions
DGtal::GenericWriter< TContainer, 2, TValue, HueShadeColorMap< TValue > > Struct Template Reference

#include <DGtal/io/writers/GenericWriter.h>

Public Member Functions

 BOOST_CONCEPT_ASSERT ((concepts::CConstImage< TContainer >))
 

Static Public Member Functions

static bool exportFile (const std::string &filename, const TContainer &anImage, const HueShadeColorMap< TValue > &aFunctor) throw (DGtal::IOException)
 

Detailed Description

template<typename TContainer, typename TValue>
struct DGtal::GenericWriter< TContainer, 2, TValue, HueShadeColorMap< TValue > >

GenericWriter Template partial specialisation for images of dimension 2 and Functor returning a Color object

Definition at line 207 of file GenericWriter.h.

Member Function Documentation

template<typename TContainer , typename TValue >
DGtal::GenericWriter< TContainer, 2, TValue, HueShadeColorMap< TValue > >::BOOST_CONCEPT_ASSERT ( (concepts::CConstImage< TContainer >)  )
template<typename TContainer , typename TValue >
static bool DGtal::GenericWriter< TContainer, 2, TValue, HueShadeColorMap< TValue > >::exportFile ( const std::string &  filename,
const TContainer &  anImage,
const HueShadeColorMap< TValue > &  aFunctor 
)
throw (DGtal::IOException
)
static

Export the 2D image file.

Parameters
filenamethe filename of the saved image (with a extension name).
anImagethe image to be saved.
aFunctorto apply image transformation before saving: transform scalar value to Color by using HueShadeColorMap. Export image with specific scalar->Color functor: .

The documentation for this struct was generated from the following file: