Login  Register

Re: Method of creating a stack zprojection image using the mode / modal value

Posted by Gabriel Landini on Dec 31, 2008; 5:49pm
URL: http://imagej.273.s1.nabble.com/Method-of-creating-a-stack-zprojection-image-using-the-mode-modal-value-tp3694140p3694141.html

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.