IJ {RImageJ} | R Documentation |
This represents an object of class ij.IJ
created when the
RImageJ package is loaded
IJ
This is a java object, instance of the class ij.IJ
, that is created when the
package is loaded.
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.
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
## 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)