[GRASS-dev] [GRASS GIS] #2048: i.pansharpen limited to 8-bit imagery

GRASS GIS trac at osgeo.org
Wed Mar 6 03:40:19 PST 2019


#2048: i.pansharpen limited to 8-bit imagery
-------------------------+-------------------------------------------------
  Reporter:  Nikos       |      Owner:  grass-dev@…
  Alexandris             |
      Type:  defect      |     Status:  new
  Priority:  normal      |  Milestone:  7.6.1
 Component:  Imagery     |    Version:  svn-trunk
Resolution:              |   Keywords:  i.pansharpen, sharpening, fusion,
                         |  brovey, ihs, pca, 8-bit
       CPU:  All         |   Platform:  Unspecified
-------------------------+-------------------------------------------------

Comment (by Nikos Alexandris):

 Replying to [comment:29 cmbarton]:
 > To follow up with the proposal in comment 28 above, the easiest approach
 would be to add the option for the user to select bit depth (following one
 of the suggestions in the comments). I would add options for 8, 11, and 16
 bit. Any reason to include 32 bit or other?

 Dear Michael, it's great you work on this!  I would leave all the range
 [2, 16] or [2, 32] open to the user.  One never knows what needs there
 might be.

 However,

 - for bitness < 2, there I have a comment here
 https://github.com/NikosAlexandris/test_color_space_conversions/blob/master/test_color_space_roundtrips.py#L31
 about an `r.rescale` flaw which means, my test failed for `bitness = 2`.

 - for bitness >= 15 the test will fail for precision precision to 0.001

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2048#comment:30>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list