IJ {RImageJ}R Documentation

IJ object

Description

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

Usage

IJ

Format

This is a java object, instance of the class ij.IJ, that is created when the package is loaded.

Details

The ImageJ macro language is basically made of calls to methods of the IJ class. This object allows to mimic the macro language by using the convenient dollar notation. See examples below.

References

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

ImageJ macro language http://rsbweb.nih.gov/ij/developer/macro/macros.html

Examples

## Not run: 
download.file( "http://www.google.fr/intl/en_en/images/logo.gif", dest = "google.gif" )
image = IJ$openImage( "google.gif" )
image$show()
IJ$run( "8-bit" )
IJ$run( "Invert" )
image$close()
## End(Not run)

[Package RImageJ version 0.1-142 Index]