[GRASS-dev] Re: [GRASS GIS] #774: i.rgb.his, i.his.rgb,
d.his support for >8 bit
GRASS GIS
trac at osgeo.org
Tue Oct 6 23:58:44 EDT 2009
#774: i.rgb.his, i.his.rgb, d.his support for >8 bit
--------------------------+-------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
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):
updated patch attached allowing >8 bit support for i.rgb.his and
i.his.rgb. Patch is against latest 6.5svn.
Note round-trip is a little lossy due to hexagonal approximation to the
color-cone. TODO: use real cone geometry maths.
These modules write out colr/ tables as min,max of channel. Would it be
better to write them out as 0,max_level for the particular bit-depth? e.g.
0,255 for 8-bit and 0,2047 for 11-bit. Then d.rgb and d.his give natural
looking results without subtle extra steps.
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/774#comment:3>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list