How does ImageJ do Pixel Binning?

Posted by Jacob Keller on
URL: http://imagej.273.s1.nabble.com/How-does-ImageJ-do-Pixel-Binning-tp4999658.html

Dear List,

I have been doing some binning of pixels in ImageJ, but to be rigorous and
quantitative about this I need to know what is the algorithm.

--In which order are pixels binned? Starting from the upper left corner, or
the middle, or what? I guess it mainly matters for what happens at the edge
of the images.

--How does it deal with binning factors which are not factors of the total
pixel dimensions? For example, if I have an image of 9x9 pixels and bin
2x2, how does imageJ deal with it?

--I just want to be sure: the binning procedure is not a "moving window"
procedure, is it? That would not really be binning imho, but rather
smoothing. Just want to be sure.

Thanks,

Jacob


--
*******************************************
Jacob Pearson Keller
Northwestern University
Medical Scientist Training Program
email: [hidden email]
*******************************************

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