#774: i.rgb.his, i.his.rgb, d.his support for >8 bit --------------------------+------------------------------------------------- Reporter: hamish | Owner: [email protected] Type: enhancement | Status: new Priority: normal | Milestone: 6.5.0 Component: Raster | Version: svn-develbranch6 Resolution: | Keywords: i.rgb.his, i.his.rgb, d.his Platform: All | Cpu: All --------------------------+------------------------------------------------- Comment (by hamish):
for d.his main.c we can probably pass HIS_to_RGB() something like (int)(value_[atcol]/pow(2, bitdepth-8)) to rescale >8bit to 0,255. opt_bit_depth->options = "8-16"; (we can only set the color to 8-bit per channel, right? so we have to degrade at some point.. might as well be here) Hamish -- Ticket URL: <https://trac.osgeo.org/grass/ticket/774#comment:1> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
