3x3 convolution kernel to IM ftt convolution
Posted: 2013-10-25T06:16:09-07:00
Hi there i'm wondering is there any way to convert simple 3x3 convolution kernel like:
[1,2,1]
[2,4,2]
[1,2,1]
to ImageMagick FTT convolution/deconvolution. In IM ftt i saw that there authors for kernel use image with the same size as input image with circle filled of solid white color or white tone. In my app i'm using 3x3 kernel where user sets kernel values>0 and i'd like to transform it to IM white circle filled of toned white depending on my kernel values.
[1,2,1]
[2,4,2]
[1,2,1]
to ImageMagick FTT convolution/deconvolution. In IM ftt i saw that there authors for kernel use image with the same size as input image with circle filled of solid white color or white tone. In my app i'm using 3x3 kernel where user sets kernel values>0 and i'd like to transform it to IM white circle filled of toned white depending on my kernel values.