Alternaive to ImagePlus.setDisplayMode() with IJ <= 1.48
Posted by
Jeff Hardin-2 on
URL: http://imagej.273.s1.nabble.com/Alternaive-to-ImagePlus-setDisplayMode-with-IJ-1-48-tp5021073.html
Hi all,
I’m trying to work with HyperStacks, and trying to set/get the display mode (grayscale, color, composite) in a way that works with ImageJ 1.48, so it retains compatibility with MicroManager, which uses IJ 1.48.
There is an older routine ImagePlus.getCompositeMode() that I think functions in the same way as .getDisplayMode(), but no corresponding call that sets the display mode easily in IJ 1.48.
Two questions:
(1) Could someone point me in the right direction for setting the display mode? The Macro recorder under 1.48 creates a call .setDisplayMode, suggesting that there is something missing somwhere.
(2) Is there a way to search for calls that were added under a particular revision to IJ.jar? The browsable API and source code don’t seem to list versioning, unless I’m missing it. Right Now compiler errors under an earlier version are the only way I can detect new routines that aren’t backwards compatible.
Thanks!
Jeff
__________________________
Jeff Hardin
Raymond E. Keller Professor and Chair
Department of Integrative Biology
Faculty Director, Biology Core Curriculum
University of Wisconsin
1117 W. Johnson St.
Madison, WI 53706
voice: (608) 262-9634
fax: (608) 262-7319
email:
[hidden email]<mailto:
[hidden email]>
web page:
http://worms.zoology.wisc.edu--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html