Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ij.io
Class RoiDecoder

    java.lang.Object
      ij.io.RoiDecoder

public class RoiDecoder
extends java.lang.Object

Decodes an ImageJ, NIH Image or Scion Image ROI.

Constructor Summary
`RoiDecoder(byte[] bytes, java.lang.String name)` Constructs an RoiDecoder using a byte array.
`RoiDecoder(java.lang.String path)` Constructs an RoiDecoder using a file path.

Method Summary
`Roi` | `getRoi()` Returns the ROI.
`Roi` | `getShapeRoi()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RoiDecoder

    public RoiDecoder(java.lang.String path)

  Constructs an RoiDecoder using a file path.

### RoiDecoder

    public RoiDecoder(byte[] bytes,
                      java.lang.String name)

  Constructs an RoiDecoder using a byte array.

Method Detail

### getRoi

    public Roi getRoi()
               throws java.io.IOException

  Returns the ROI.

  Throws:
    `java.io.IOException`

### getShapeRoi

    public Roi getShapeRoi()
                    throws java.io.IOException

  Throws:
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD