DGtal-team/DGtal — pull request #470 by dcoeurjo (2012-10-23 10:43:23+00:00)
Title: Colormap freewriters

Edits on the IO writers: previously, writers were parametrized by a colormap to map image values to (RGB). For some writers (ex PGM, Vol,...) the RGB color was then "casted " to scalar type (unsigned char, ...) depending on the file format.

In this pull, writers are parametrized by a functor returning scalar or color types depending on the file format.

The documentation has been enhanced too..