htpp

htrdr-image post-processing
git clone git://git.meso-star.fr/htpp.git
Log | Files | Refs | README | LICENSE

commit bab4c76c73b9ab44344608d4b81351491941903e
parent 62796e1b4f67a755d49a14f39caca527ea1cac8c
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu,  7 May 2020 16:53:05 +0200

Merge branch 'release_0.3' into develop

Diffstat:
MREADME.md | 15+++++++++++++++
Mcmake/CMakeLists.txt | 7++++---
Mdoc/htpp.1.txt | 5++++-
Msrc/htpp.c | 5+++--
Msrc/htpp_version.h.in | 3++-
5 files changed, 28 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md @@ -29,6 +29,21 @@ informations on CMake. ## Release notes +### Version 0.3 + +- Add the `-i` option that regroups all the options controlling the + post-processing of the pixel color. The options `-e` and `-w` that defined + the exposure and the white scale factor are thus removed. +- Add support of raw data visualisation through color palettes. The `-m` option + enables the mapping of a pixel component to a color ramp. Both, the pixel + component to visualise and the palette to use can be set through this option. + The data range to visualise can also be fixed. When this option is defined, + the `-v` option can be used to displays into the terminal the color ramp and + its associated values. +- Remove the `-u` and `-T` options that are previously used to roughly + visualise the per pixel uncertainties and the estimate of the per realisation + time: the new `-m` option proposes a far more efficient alternative. + ### Version 0.2.1 - Update how the image exposure is handled: the pixels are multiplied by diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -1,4 +1,5 @@ -# Copyright (C) 2018-2019 CNRS, |Meso|Star>, Université Paul Sabatier +# Copyright (C) 2018, 2019, 2020 |Meso|Star> (contact@meso-star.com) +# Copyright (C) 2018, 2019 Université Paul Sabatier # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -36,8 +37,8 @@ include_directories(${RSys_INCLUDE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) # Configure and define targets ################################################################################ set(VERSION_MAJOR 0) -set(VERSION_MINOR 2) -set(VERSION_PATCH 1) +set(VERSION_MINOR 3) +set(VERSION_PATCH 0) set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}) configure_file(${HTPP_SOURCE_DIR}/htpp_version.h.in diff --git a/doc/htpp.1.txt b/doc/htpp.1.txt @@ -123,7 +123,10 @@ OPTIONS cores. *-v*:: - Make *htpp* verbose. + Make *htpp* verbose. When used in post-processing of the pixel color (*-i* + option), this option displays the __white-scale__ factor used to normalize + the colors. In pixel component mapping mode (*-m* option), this option + displays the color ramp and its associated values. *-w _white-scale_*:: Factor used to normalize input colors. If not defined, _white-scale_ is diff --git a/src/htpp.c b/src/htpp.c @@ -1,4 +1,5 @@ -/* Copyright (C) 2018-2019 CNRS, |Meso|Star>, Université Paul Sabatier +/* Copyright (C) 2018, 2019, 2020 |Meso|Star> (contact@meso-star.com) + * Copyright (C) 2018, 2019 CNRS, Université Paul Sabatier * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -116,7 +117,7 @@ print_help(const char* cmd) "Usage: %s [options] [image]\n" "Post process a htrdr-image(5) and convert the result in a regular PPM\n" "image. If no image name is defined, read the image data from\n" -"standard input\n", +"standard input.\n", cmd); printf("\n"); printf( diff --git a/src/htpp_version.h.in b/src/htpp_version.h.in @@ -1,4 +1,5 @@ -/* Copyright (C) 2018 CNRS, |Meso|Star>, Université Paul Sabatier +/* Copyright (C) 2018, 2019, 2020 |Meso|Star> (contact@meso-star.com) + * Copyright (C) 2018, 2019 CNRS, Université Paul Sabatier * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by