Hi Dmitry,
Right now I'm not sure about how you can efficiently do that...
However, you may consider doing 2 Adds ops followed by a DivideByConstant.
Result = ((A+B) + C) / 3.
(since the Add op only takes 2 sources).
You can take a look to the BinaryOpTest.testAdd test from the gt-coverage
module to see how to do GeoTools operations.
Hope this helps,
Daniele
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Daniele Romagnoli
Senior Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
On Tue, Oct 8, 2013 at 9:47 AM, dementiev <dementie...@gmail.com> wrote:
> Hi Daniele,
>
> Thank you for the answer.
>
> "Do you want that the first band of the final image is the average of the
> first band of each image and so on" - yep. My images share the same
> positions.
>
> I just want to know the most rational way of doing this kind of merge.
>
> Regards,
> Dmitry.
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/merge-rasters-tp5082029p5082307.html
> Sent from the geotools-gt2-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
> _______________________________________________
> GeoTools-GT2-Users mailing list
> GeoTools-GT2-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users