Login  Register

Re: diffusion limited aggregation

Posted by Wayne Rasband on Nov 14, 2005; 9:44pm
URL: http://imagej.273.s1.nabble.com/Re-diffusion-limited-aggregation-tp3704484p3704486.html

> It's much better now!  I really like watching it grow.  Audrey

It does that by having the BufferedImage and an ImageProcessor share
the same pixel data. I found that this sharing slows the plugin down
somewhat on Mac OS X.

Have you seen the DLA applet at
"http://apricot.polyu.edu.hk/~lam/dla/dla.html"?

There is a newer version of the plugin on the ImageJ website that does
a better job of estimating the needed image size. It use this formula

             neededSize = (int)(180+0.047* NumberOfIterations-4.57e-7*
NumberOfIterations*NumberOfIterations)

which I created using by running the plugin 6 or 7 times, measuring the
size of the generated model, and then using the Analyze>Tools>Curve
Fitting tool in ImageJ to fit a polygon. I found, the hard way, that
the plugin sometimes stalls if the image is too small.

-wayne