Re: Method of creating a stack zprojection image using the mode / modal value
Posted by
jeremydouglass on
Dec 31, 2008; 6:16pm
URL: http://imagej.273.s1.nabble.com/Method-of-creating-a-stack-zprojection-image-using-the-mode-modal-value-tp3694140p3694142.html
As I specified above, the first mode of 1,3,7,80 is 1. The first mode of 47,47,50,50 is 47.
Gabriel Landini wrote
On Wednesday 31 December 2008, jeremydouglass wrote:
> I'm trying to discover a method of using ImageJ to create a modal
> zprojection image from a stack -- that is, with the resulting image value
> at each xy being the mode / modal value of z rather than the median or
> mean. So for example if for pixel 1,1 the values along z in the stack were
> 0,0,0,96,96,128,128,256,256, I want the resulting zprojection image at 1,1
> to have a value of 0 (modal value) rather than 96 (median) or 106.66
> (mean).
The mode cannot be guaranteed. What is the mode of pixel values {1, 3, 7, 80}
G.