[ImageJ-devel] IJ2 work/Histogram

Curtis Rueden ctrueden at wisc.edu
Fri Aug 10 14:44:39 CDT 2012


Hi all,

Aivar & I also discussed histograms, and our plan for those is a bit more
nebulous. Aivar is going to investigate improving Larry's histogram API in
net.imglib2.algorithms.stats.

The general idea is that computing min/max, computing histograms, and
computing other statistics are intrinsically related, and for performance
reasons it is nice to minimize the number of passes through the image when
computing these. So we would like to create a unified ImageStatistics class
(sound familiar? ;-) that can compute one or more of these in an
intelligent way, then return the results on demand.

None of this is reconciled with the net.imglib2.script.analysis package
(Histogram, ImgMax, ImgMean, etc.), but perhaps in the future the
net.imglib2.script stuff can take more direct advantage of it.

Regards,
Curtis


On Tue, Aug 7, 2012 at 4:45 PM, Aivar Grislis <grislis at wisc.edu> wrote:

> I'd also be interested in working on the histogram code.  Mostly the code
> that generates histogram data, also their display, perhaps the histogram
> tool itself.
>
> SLIM Plugin uses histograms in a very dynamic way, as they are updated
> periodically during the fit process.  You can change the minimum and
> maximum values interactively.  So I might be an interested consumer of any
> common histogram code.
>
> (I looked at the histogram code in the AutoContrast plugin,
> net.imglib2.algorithm.stats.**Histogram, and net.imglib2.script.analysis.*
> *Histogram and found bugs in all of them when binning up the histogram
> values.)
>
> Aivar
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20120810/384723c0/attachment.html>


More information about the ImageJ-devel mailing list