Re: Method of creating a stack zprojection image using the mode / modal value
Posted by Gabriel Landini on Dec 31, 2008; 7:31pm
URL: http://imagej.273.s1.nabble.com/Method-of-creating-a-stack-zprojection-image-using-the-mode-modal-value-tp3694140p3694143.html
On Wednesday 31 December 2008, jeremydouglass wrote:
> As I specified above, the first mode of 1,3,7,80 is 1. The first mode of
> 47,47,50,50 is 47.
The lowest valued mode, I see. You could reslice your stack. Now all the
pixels in the z direction exist in the same (new) slices, so they can be
processed quicker than having to get each pixel from a different slice.
You put the result of the mode (calculated along the y axis) in the top row of
pixels (depending how you resliced, of course) and finally you un-reslice the
result back.
The top slice should have the result.
Cheers,
G.