[ImageJ-devel] autoscaling behavior in IJ2

Adam Fraser afraser at broadinstitute.org
Tue Oct 4 13:42:05 CDT 2011


So I've been having a heck of a time trying to implement and understand the
IJ 1.0 auto contrast behavior in IJ 2.0.

The current IJ 2 implementation is in
imagej.data.display.AbstractDatasetView.autoscale

You can see the original code here:
http://rsbweb.nih.gov/ij/developer/source/ij/plugin/frame/ContrastAdjuster.java.html
search for: void autoAdjust

I'm particularly perplexed by the AUTO_THRESHOLD variable.

I'm available on IRC if anyone has a moment to discuss this.

-Adam

PS: Here's the related ticket:
http://dev.imagejdev.org/trac/imagej/ticket/796
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20111004/0d15de7f/attachment.html>


More information about the ImageJ-devel mailing list