ImageJ: ImageJ object

Description Usage Format Details References See Also Examples

Description

This represents an object of class ij.ImageJ created when the RImageJ package is loaded.

Usage

1

Format

This is a Java object, instance of the class ij.ImageJ, that is created when the package is loaded. In case the ImageJ instance cannot be created, it contains NULL (for example, when AWT cannot be instanciated on this machine). In this case, you still can access a few IJ methods that do not require AWT, but most of ImageJ features will not be available. You should rather make sure ImageJ can be fully instanciated on your machine, and you can test this by looking if the ImageJ object contains something else than NULL.

Details

The ImageJ routines are loaded within R, and all theirs features are accessible through the menus and toolbar. Many other aspects of ImageJ can be manipulated from within R, by using the associated methods (see .jmethods(ImageJ)).

References

The Java documentation of the class IJ: http://rsbweb.nih.gov/ij/developer/api/ij/ImageJ.html

See Also

IJ, IJWindowManager

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
## Normally the ImageJ toolbar and menus are visible, but you can hide them
ImageJ$hide()
ImageJ$isVisible()
## Redisplay them again
ImageJ$show()
ImageJ$isVisible()

## End(Not run)

RImageJ documentation built on May 2, 2019, 5:53 p.m.