mt.ulb Convolution Demo |
---|
In mt5.ucl there's a coloring algorithm called "Convolution" (this is really just a shell for the ConvolutionColoring class - but you don't need to know that). Convolution is (and I quote) "an image processing technique in which each pixel is altered by some function of the surrounding pixels; different functions produce a variety of effects."
I've written convolution coloring algorithms before (and you might have even tried to use them) but UF5 allows me to take it to a whole new level. The new Convolution coloring lets you try the effect on any fractal formula and any coloring algorithm (as long as there are class versions available).
Try this... Start a new fractal and load the Pixel formula in Standard.ufm. Go to the Outside tab and browse for Convolution in mt5.ucl. You'll see a parameter called "Kernel" and it will read "Center" and next to that there'll be a browse button. Click on the browse button and try the other kernels to see what effect they have. For now these are the only effects available but more can be written (if you want to write your own kernels then the programmers list would be the place to ask if you need help).
Now a quick run through the parameters...
I know that's a lot to take in, so if your interested in playing with this formula you might file this message away for later reference.
The UPR below uses one layer of Convolution. You'll note that I've used the Edge Detect kernel in "Luminance" opacity mode as a mask to put black lines over the image.