There's no file Christian. I just meant my comment about the ImageWorker class was a postscript to the previous posts in thread. Sorry to get your hopes up.
Have you considered Raster.getSamples(x, y, w, h, band, dest[]) as a way of implementing your moving window ? Michael On Wed, May 7, 2008 at 5:16 PM, ChristianG <[EMAIL PROTECTED]> wrote: > > Hi Michael, > > unfortunately I do not see a "small postscript". Could you post a link to > the file please? > > I'm trying to find out how to create a moving window/neighbourhood to do > operations inside this neighbourhood. I do not only want to use a "simple" > filter matrix like Sobel, but apply more complex equations within the moving > window. How can I do this? KernelJAI is not really what I need, is it? I > think I could use JAIs RandomIter in two for-loops, but a moving window > would be a better solution. > > Thanks, > Christian > > > > > Michael Bedward wrote: > > > > Hello Geotoolers, > > > > A small postscript to my query about neighbourhood operations on grid > > covereages (see below) which may be useful for other newbies. > > > > After Martin pointed me towards JAI for doing such ops I also stumbled > > upon the very handy org.geotools.image.ImageWorker class which nicely > > wraps a selection of JAI operators. I'm now happily convolving, > > binarizing etc. :) > > > > Michael > > -- > View this message in context: > http://www.nabble.com/summing-coverage-pixel-values-in-a-moving-neighbourhood-tp16847594p17098865.html > Sent from the geotools-gt2-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
