Login  Register

Plot a histogram with specific fixed bin width

Posted by Kai Schleicher on Jul 13, 2017; 6:18pm
URL: http://imagej.273.s1.nabble.com/Plot-a-histogram-with-specific-fixed-bin-width-tp5019061.html

I have a 32-bit image stack of which I wish to create a histogram. This
work well by simply using

|run("Histogram", "bins=256 use y_max=Auto stack");|

However, I wish to fix the bin width to a certain value. By default I
believe its set to (min-max)/nBins, but I would like to fix it to a
specific value.Is there a way to integrate that in a macro?

Thanks and cheers,
Kai

--
>>Please note my NEW PHONE NUMBERS: +41 61 207 57 31 (direct) +41 61 207 22 50 (central)<<
Kai Schleicher, PhD | Research Associate in Advanced Light Microscopy | Biozentrum, University of Basel | Klingelbergstrasse 50/70 | CH-4056 Basel |
Phone: +41 61 207 57 31 (direct) +41 61 207 22 50 (central) | [hidden email] | www.biozentrum.unibas.ch | www.microscopynetwork.unibas.ch


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