No - that hasn't been included in the OperationJAI classes.  The
easiest way for you to do it is to use JAI directly.

For example, assuming that your two grid coverages have the same
bounds here is one was of doing it...

import javax.media.jai.operator.MultiplyDescriptor;

RenderedImage img1 = cov1.getRenderedImage();
RenderedImage img2 = cov2.getRenderedImage();
RenderedImage result = MultiplyDescriptor.create(img1, img2, null);

Then you can use GridCoverageFactory to create a coverage from the result image
http://javadoc.geotools.fr/2.5/org/geotools/coverage/grid/GridCoverageFactory.html

Hope this helps

Michael

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to