hwttdz wrote:You cannot do that.
1) there is no Gaussian:0x2 by itself
Right, I was wondering if I could automagically get one, in much the same way that I can automagically create a canvas using "-size 64x64 canvas:black".
You can get a image from a convolution kernel in a number of ways...
1/ convolve a single white pixel in the center of a black canvas.
Warning, you may need to include a scaling factor equal to the value of the orgin value of the kernel.
See kernel scaling
http://www.imagemagick.org/Usage/convol ... el_scaling
You can get an output of the kernel values using the special setting
http://www.imagemagick.org/Usage/morphology/#showkernel
You can use kernel2image script (unix shell script)
http://www.imagemagick.org/Usage/morpho ... rnel2image
It is what I use to generate IM Example kernel images. It can scale the kernel values, assign colors, or enlarge (image scale) the resulting image so you can see individual values (pixels) more clearly.
For example, from IM Examples...
http://www.imagemagick.org/Usage/convol ... ussian.gif
This is the example from the scripts built in documentation, no gamma adjustment.
kernel2image -n -g 1 Gaussian:0x30 gaussian_kernel.png
WARNING: The script was written before the colorspace adjustments, the resulting image may need checking to ensure colorspace changes are not doing automatic adjustments when saving the resulting image, and you are getting properly linear grayscale images. Similarly when extra colors are added if generating an array of enlarged pixels.
They do not have to be the same size, but for multiply, parts not overlayed will be preserved as is.
There is a proposal to provide a special setting to overlay images with virtual pixels (tiled or fixed color), whcih means the whole destination image will be covered including areas not directly overlayed.
I would like to blur at numerous different radii it ends up being faster because I can "save my previous work".
Take a look at variable blur mapping...
http://www.imagemagick.org/Usage/mapping/#blur