Re: [Geotools-gt2-users] Accessing a band as an image

2007-10-11 Thread Martin Desruisseaux
dead passive a écrit : > Is there a way of getting a single band as a RenderedImage? The JAI "BandSelect" operation do that. I don't remember if we wrapped this image operation in a coverage operation or not. In any case, you can work directly on the RenderedImage if you prefered, by invoking Grid

[Geotools-gt2-users] Accessing a band as an image

2007-10-11 Thread dead passive
Hi, I've got a GridCoverage2D and would like to access a single band so that I can carry out a subtraction operation with it. I'm currently using SubtractDescriptor from JAI which requires RenderedImage's as input. Is there a way of getting a single band as a RenderedImage? Thanks, Jon -- View t