[GRASS-dev] On bitness about RGB to HIS to RGB

Nikos Alexandris nik at nikosalexandris.net
Wed Mar 6 02:45:25 PST 2019


Dear all,

this is a kind reminder for the following modules

https://trac.osgeo.org/grass/browser/sandbox/alexandris/i.rgb.his/
(or https://github.com/NikosAlexandris/i.rgb.his)

and

https://trac.osgeo.org/grass/browser/sandbox/alexandris/i.his.rgb/
(or https://github.com/NikosAlexandris/i.his.rgb)

and the test

https://github.com/NikosAlexandris/test_color_space_conversions/blob/master/test_color_space_roundtrips.py
(or
https://gitlab.com/NikosAlexandris/test_color_space_conversions/blob/master/test_color_space_roundtrips.py)

Everything is detailed at https://trac.osgeo.org/grass/ticket/774#comment:13;
https://trac.osgeo.org/grass/ticket/774#comment:21.

Since Michael Barton wants to re-work on ticket
https://trac.osgeo.org/grass/ticket/2048, it's good to have ticket #774 fixed
first.

In my very humble view, regarding ticket #2048, it is not acceptable to
sacrifice bits, i.e. input 16-bit and output 8-bit.  At the very least,
give the user the option to decide what to do.

Kind regards, Nikos


More information about the grass-dev mailing list