Login  Register

"Rod filter" plugin.

Posted by Benjamin Eltzner on Nov 13, 2014; 1:17pm
URL: http://imagej.273.s1.nabble.com/creating-a-real-blank-image-tp5010383p5010404.html

Dear list,

I would like to write a plugin that does an operation at each pixel and
takes into account only certain other pixels in the neighborhood of the
pixel.

Assume for example, I want to take the mean brightness of the pixel
itself and 5 neighbors in a straight diagonal to its upper left and 5
neighbors in a straight diagonal to its lower right. (So a rectangular
mask for the convolve() method will not do.)

Could you point me to the ImageJ API functions to accomplish this as
efficiently (as in calculation time, not developer time) as possible? If
you know a plugin that does something similar I would also be glad for a
pointer.


Best Regards,

Benjamin

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html