Better multifractal spectrum graphs for the fractal flame upthread. The main difference is that the Q range is higher, and more of it is calculated in OpenCL.
Still need to move the simple linear regression code into OpenCL and get it working on GPU (the OpenCL works perfectly fine on CPU, but on my GPU it outputs garbage (different on each run) - even the initial image mipmap reduction stage fails).
Computation time with 1024 Q steps is 23mins on CPU, input histogram image resolution 7280x7552x4 f32.
Added EXR import to my #MultifractalSpectrum calculator. Hacked an option into #Fractorium command line renderer to output raw histogram data to EXR. Ran a batch process to render and analyze some of the examples that come with Fractorium (in its Data/Bench directory).
The f(q) vs a(q) curves look a bit crisper with this method.
And calculating D(q) is easy, just
$$D = (a * Q - f) / (Q - 1)$$
I ported the linear regression to OpenCL too, now only input and output needs to run on the CPU, GPU does all the calculations.
Some of the test histograms I'm using give bizarro curves though, not sure what's up - bizarro with two different algorithms means it's probably (?) a real behaviour?
Welcome to post.lurk.org, an instance for discussions around cultural freedom, experimental, new media art, net and computational culture, and things like that.