[GRASS-dev] [GRASS GIS] #2048: i.pansharpen limited to 8-bit imagery
GRASS GIS
trac at osgeo.org
Wed Jul 31 08:00:31 PDT 2013
#2048: i.pansharpen limited to 8-bit imagery
-----------------------------------------------------------------------+----
Reporter: nikosa | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Imagery | Version: svn-trunk
Keywords: i.pansharpen, sharpening, fusion, brovey, ihs, pca, 8-bit | Platform: Unspecified
Cpu: All |
-----------------------------------------------------------------------+----
Comment(by nikosa):
Some (minor) things to improve i.pansharpen:
* make "sharpen=brovey" progress notifications more informative, for
example instead of solely "Histogram matching...", inform the user what is
being histo-matched to what. I.e., "Matching histogram of Input_Map to
histogram of Reference_Map"
* it seems that the module (at least when "sharp=brovey" ?) does not like
dashes in the input images names:
{{{
i.pansharpen sharpen=brovey ms1=M1BS-01_P001.1 ms2=M1BS-01_P001.2 ms3
=M1BS-01_P001.3 pan=P1BS-01_P001 output_prefix=sharpen_brovey_01_P001
Performing pan sharpening with hi res pan image: 1.000000
Using Brovey algorithm
Histogram matching...
100%
100%
Histogram matching...
100%
100%
Histogram matching...
100%
100%
Calculating Brovey transformation...
Invalid map <M1BS>
Invalid map <01_P001.1>
Parse error
ERROR: parse error
Invalid map <M1BS>
Invalid map <01_P001.2>
Parse error
ERROR: parse error
Invalid map <M1BS>
Invalid map <01_P001.3>
Parse error
ERROR: parse error
Assigning grey equalized color tables to output images...
ERROR: Raster map <sharpen_brovey_01_P001_red> not found
ERROR: Raster map <sharpen_brovey_01_P001_green> not found
ERROR: Raster map <sharpen_brovey_01_P001_blue> not found
The following pan-sharpened output maps have been generated:
sharpen_brovey_01_P001_red
sharpen_brovey_01_P001_green
sharpen_brovey_01_P001_blue
To visualize output, run: g.region -p rast=sharpen_brovey_01_P001.red
d.rgb r=sharpen_brovey_01_P001_red g=sharpen_brovey_01_P001_green
b=sharpen_brovey_01_P001_blue
If desired, combine channels into a single RGB map with 'r.composite'.
Channel colors can be rebalanced using i.landsat.rgb.
WARNING: Unable to write history for <sharpen_brovey_01_P001_red>. Raster
map <sharpen_brovey_01_P001_red> not found in current mapset.
WARNING: Unable to write history for <sharpen_brovey_01_P001_green>.
Raster
map <sharpen_brovey_01_P001_green> not found in current mapset.
WARNING: Unable to write history for <sharpen_brovey_01_P001_blue>. Raster
map <sharpen_brovey_01_P001_blue> not found in current mapset.
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2048#comment:11>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list