[GRASS-user] unexpected i.pansharpen results

Yann Chemin yann.chemin at gmail.com
Thu Jan 31 01:11:33 PST 2013


hmmm, yes that looks like an old friend to check...


On 31 January 2013 14:06, Hamish <hamish_b at yahoo.com> wrote:

> (sorry for the html,top posting)
>
> I wonder if the script is doing integer division when it should be doing
> floating point division?
>
>
> http://trac.osgeo.org/grass/browser/grass/trunk/scripts/i.pansharpen/i.pansharpen.py
>
>
> Hamish
>
> --- On *Wed, 1/30/13, Eric Goddard <egoddard1010 at gmail.com>* wrote:
>
>
> From: Eric Goddard <egoddard1010 at gmail.com>
> Subject: [GRASS-user] unexpected i.pansharpen results
> To: grass-user at lists.osgeo.org
> Date: Wednesday, January 30, 2013, 8:30 AM
>
>
> Hi all,
>
> I'm attempting to pansharpen some ikonos imagery using the i.pansharpen
> tool in Grass7 on windows 7 installed via OSGeo4W (r54756-478).  The range
> for the sharpened red, green, and blue outputs are 0-30, which seems
> suspicious given the 16bit range of the input bands. The command I used was:
>
> i.pansharpen.py "sharpen=ihs" "ms3=ik_mss.4 at eric" "ms2=ik_mss.3 at eric"
> "ms1=ik_mss.2 at eric" "pan=ik_pan at eric" "output_prefix=ik_ihs"
>
> The input bands are linked via r.external, would that matter?
>
> The output from my test area is below. Any assistance would be greatly
> appreciated.[image: Inline image 3]
>
>
> Thanks,
> Eric
>
> -----Inline Attachment Follows-----
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org<http://mc/compose?to=grass-user@lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>


-- 
Yann Chemin
Researcher at IWMI
Skype/FB: yann.chemin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130131/1e5532f9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 42669 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130131/1e5532f9/attachment-0001.png>


More information about the grass-user mailing list