Thanks Travis,

Steve


On Tue, Dec 20, 2011 at 10:24 AM, Travis Kirstine
<[email protected]>wrote:

> Stephen,
>
> I haven't used the gdal_calc tool but if you use python you can easily
> convert the image bands to a set of numpy arrays and use all the
> great numpy functions.
>
> See the val_repl.py  sample to convert a image to a numpy array(s)
> http://svn.osgeo.org/gdal/trunk/gdal/swig/python/samples/val_repl.py
>
> Numpy Stuff:
>
> http://www.scipy.org/Numpy_Example_List#head-7eb5ca476fca411db1db64bc024b7c0c94e42143
>
> Regards
>
>
> On 20 December 2011 10:11, Stephen Mather <[email protected]>
> wrote:
> > Hi All,
> >       Is there any casting (for lack of a better word) needed when using
> > gdal_calc to take, e.g. a series of 16-bit images and perform float
> > functions against them?
> >
> > Best,
> > Steve
> >
> > _______________________________________________
> > gdal-dev mailing list
> > [email protected]
> > http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to