Dynamically create a convolution matrix inside a macro?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Dynamically create a convolution matrix inside a macro?

ijmatrix
Hi all,

Thank you very much for the help with the version control software! I have another question.. I am using the convolve filter, and for my current application I need the convolution matrix rotated by an angle determined inside a macro. Is it possible to input variables into the matrix array? (eg. the elements of the convolve matrix would be a11 a12 a13\n a21 a22 a32\n a31 a32 a33\n  etc). If I have to fix it with java through a plugin, is there a quick function to rotate matrices and convolve with an image?

I would appreciate any help,

Thanks!