Hi Jacob,
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.
If you are using the Fiji distribution of ImageJ, you can find the source
to most operations using the Plugins > Scripting > Open Source for Menu
Item command, then selecting the command of interest from the menu. In this
case, I presume you mean the Image > Transform > Bin... command.
This will bring up its source code in your web browser, which you can study
to get the explanation you need.
Regards,
Curtis
On Mon, Aug 6, 2012 at 1:33 PM, Jacob Keller <
[hidden email]
> wrote:
> 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>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html