Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
It is slooow, what is making it so slow, is it the function polynomial, how can I speed it up or achieve a similar tilt shift effect that is not so slow / resource consuming.
The slowness is probably in the compose blur. This is potentially very useful, but I find it far too slow for real-world images. (My record so far is five days to process an image!)
Instead, I make two or more images at different conventional blurs, and blend them as required.
I am not certain why it is so slow you must be using some very very large blur sigmas. However two variable blurs (one using just height, the other using just width) should be a lot faster. It is actually how 'blur' works, as opposed to 'gaussian blur'
See http://www.imagemagick.org/Usage/convol ... an_vs_blur
I just uploaded a new unix bash script, tiltshift, to my web site. It uses a mask to generate a varying blur and to keep the center unblurred. It does not use -compose blur, but a simple -blur and composites the original and blurred image using a gradient mask. See the link below. I have no idea if it will be faster or slower than Anthony's method using -compose blur.