I would prefer to obtain in one step the absolute value of the difference
between two pixels, in part because I do not see the meaning of a negative
pixel value. In my example, I do not see meaning to a signed byte value for a
pixel channel being red=-51. Greg
On Feb 1, 2010, at 3:08 AM, Antoni
Hi Greg,
Il giorno Sun, 31 Jan 2010 14:58:19 -0500
Greg Coats ha scritto:
> Regarding the diff function
> "diff": computes the difference between 2 raster bands (b1 - b2)
> Since the result of diff could be a negative number, for example
> 99-150=-51, I suggest that there be an additional functi
Regarding the diff function
"diff": computes the difference between 2 raster bands (b1 - b2)
Since the result of diff could be a negative number, for example 99-150=-51, I
suggest that there be an additional function that provides the absolute value
of diff, which would be 51 in this example.
Gre
Hi Matt,
Il giorno Mon, 25 Jan 2010 20:57:58 -0600
Matt Klaric ha scritto:
> On Mon, Jan 25, 2010 at 8:38 PM, Frank Warmerdam
> wrote:
>
> > I don't think the VRT approach supports actually adding
> > different images together, only overlaying and rescaling.
> >
> >
> However, pixel functions c
On Mon, Jan 25, 2010 at 8:38 PM, Frank Warmerdam wrote:
> I don't think the VRT approach supports actually adding
> different images together, only overlaying and rescaling.
>
>
However, pixel functions could be used in a VRT file to accomplish the
desired outcome.
--matt
Chaitanya,
I don't think the VRT approach supports actually adding
different images together, only overlaying and rescaling.
Peder, such a script would be welcome initially in
the gdal/swig/python/samples directory which are
often "proof of concept" level scripts rather than being
as polished as
Peder,
At present, we can get that functionality using the GDAL Virtual Format. (
http://www.gdal.org/gdal_vrttut.html )
There are and values that can be specified within
the .
This .vrt file can be used as it is or translated to other formats.
On Mon, Jan 25, 2010 at 9:34 PM, Peder Axensten
I need a tool to add images together and I also need a tool to rescale the
values of an image. So I have this idea of a tool that can add images together,
where each may have its own weight. For example:
gdal_muladd.py -o result_file *2.2 file1 *-1 file2 file3
would multiply the values of fil