ij.plugin
Class RoiReader

java.lang.Object
  extended by ij.plugin.RoiReader
All Implemented Interfaces:
PlugIn

public class RoiReader
extends java.lang.Object
implements PlugIn

Opens ImageJ, NIH Image and Scion Image for windows ROI outlines. RoiDecoder.java has a description of the file format.

See Also:
RoiDecoder, RoiWriter

Field Summary
(package private)  int freehand
           
(package private)  int freeLine
           
(package private)  int line
           
(package private)  int noRoi
           
(package private)  int oval
           
(package private)  int polygon
           
(package private)  int rect
           
(package private)  int segLine
           
(package private)  int traced
           
 
Constructor Summary
RoiReader()
           
 
Method Summary
 void openRoi(java.lang.String dir, java.lang.String name)
           
 void run(java.lang.String arg)
          This method is called when the plugin is loaded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

polygon

final int polygon
See Also:
Constant Field Values

rect

final int rect
See Also:
Constant Field Values

oval

final int oval
See Also:
Constant Field Values

line

final int line
See Also:
Constant Field Values

freeLine

final int freeLine
See Also:
Constant Field Values

segLine

final int segLine
See Also:
Constant Field Values

noRoi

final int noRoi
See Also:
Constant Field Values

freehand

final int freehand
See Also:
Constant Field Values

traced

final int traced
See Also:
Constant Field Values
Constructor Detail

RoiReader

public RoiReader()
Method Detail

run

public void run(java.lang.String arg)
Description copied from interface: PlugIn
This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.

Specified by:
run in interface PlugIn

openRoi

public void openRoi(java.lang.String dir,
                    java.lang.String name)
             throws java.io.IOException
Throws:
java.io.IOException