Login  Register

Dynamically create a convolution matrix inside a macro?

Posted by ijmatrix on Aug 08, 2008; 7:40pm
URL: http://imagej.273.s1.nabble.com/Dynamically-create-a-convolution-matrix-inside-a-macro-tp3695427.html

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!