Getting statistics of a raster band in the zoomed area

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Getting statistics of a raster band in the zoomed area

Anna Amat

Dear all,

Is there a way to get the maximum value of a specific band of a coverage only in the zoomed area visualized?

I'm actually getting  the statistics of the whole coverage by iterating in the rendered image:

    PlanarImage renderedImage = (PlanarImage) cov.getRenderedImage();
    java.awt.Rectangle bounds = renderedImage.getBounds();
    RectIter rectIter = RectIterFactory.create(renderedImage, bounds);



Thanks in advance,
Anna

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-GT2-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users