I'm using Grass 6.4.3 in Linuxmint 16. I don't have a very big problem but I'm trying to understand what is Grass doing, if I'm applying the process correctly and if there is something wrong with my image files.
I'm trying to pansharpen a SPOT image. I have two files, one the panchromatic band and the other is the multiband file.
I import them to grass as, for example, 'spotimage.pan' (panchromatic) and the other file is automatic named by grass as 'spotimage.1', 'spotimage.2', 'spotimage.3' and 'spotimage.4'.
I think that in the original file, the bands order is inverted, I mean that the first band is NIR, the second one is Red and the third one is Green. This is because original image composite was done in order to obtain a false color image when is displayed as R,G,B = B1, B2, B3
So, if I do
d.rgb -o red=spotimage.1 green=spotimage.2 blue=spotimage.3
I obtain a false color view of the image.
Then, to pansharpen the image I use
i.fusion.brovey -s ms1=spotimage.3 ms2=spotimage.2 ms3=spotimage.1 pan=spotimage.pan outputprefix=spotimage.pansh
I inverted the order, where I should use the SPOT Band 1, I'm using the band 3 of my image and where I should use the SPOT Band 3, I'm using the band 2 of my image.
This because, in the dialog box of
i.fusion.brovey, where it says "Name of input raster map (green: tm2 | qbird_green | spot1)" I suppose I have to use the name of the SPOT Band 1 and, where it says Name of input raster map (MIR; tm5 | qbird_red | spot3)" I suppose I have to use the name of the SPOT Band 3.
Is it correct?
The output are three raster files: pansh.red, pansh.green and pansh.blue.
But I cannot manage to obtain again a false color view with any combination of these pansharpened bands.
What am I doing wrong?
Are pansh.red the "pansharpened version" of spotimage.2, pansh.green the pansharpened version of spotimage.3 and pansh.blue the pansharpened version of spotimage.1? Remember thar the bands order is inverted.
Should I use
i.landsat.rgb? Can I use it with a SPOT image?