Alternaive to ImagePlus.setDisplayMode() with IJ <= 1.48

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Alternaive to ImagePlus.setDisplayMode() with IJ <= 1.48

Jeff Hardin-2
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
Reply | Threaded
Open this post in threaded view
|

Re: Alternaive to ImagePlus.setDisplayMode() with IJ <= 1.48

Curtis Rueden
Hi Jeff,

> Could someone point me in the right direction for setting the display
> mode?

Sorry, I don't know the answer to this part. Is it possible to upgrade the
version of ImageJ that your Micro-Manager is using?

> 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

You can see exactly what changed with each lettered release by browsing the
commits here:

  https://github.com/imagej/ImageJA/commits/master

You can diff any two versions using GitHub's "compare" feature between two
tags. E.g.:

  https://github.com/imagej/ImageJA/compare/v1.48c...v1.49a

Regards,
Curtis

--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden


On Mon, Aug 13, 2018 at 10:04 AM, Jeff Hardin <
[hidden email]> wrote:

> 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
>

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