There are two new BorderExtender classes available in the jai-tools project for use with convolution (JAI's standard convolve operator and the jai-tools MaskedConvolve operator).
RandomBorderExtender - extends the image by generating pixel values
drawn from a uniform random distribution with a user-specified range
SamplingBorderExtender - extends the image by randomly sampling the
source image within a specified distance of each border pixel
At the moment they are experimental ( = I only wrote them yesterday) and are in a branch in the source repositoryhttp://jai-tools.googlecode.com/svn/branches/1.1_advance/utils/
The BorderExtender classes are in the jaitools.imageutils package.
There are basic unit tests each BorderExtender as well but I haven't tried using them
in a convolution yet.
Michael
[Message sent by forum member 'cafeanimal' (
michael.bedward@...)]
http://forums.java.net/jive/thread.jspa?messageID=370401---------------------------------------------------------------------
To unsubscribe, e-mail:
interest-unsubscribe@...
For additional commands, e-mail:
interest-help@...