|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectij.io.RoiDecoder
public class RoiDecoder
Decodes an ImageJ, NIH Image or Scion Image ROI file.
Field Summary | |
---|---|
static int |
ARROW
|
static int |
ARROW_HEAD_SIZE
|
static int |
ARROW_STYLE
|
static int |
BOTTOM
|
static int |
COORDINATES
|
static int |
DOUBLE_HEADED
|
static int |
ELLIPSE
|
static int |
ELLIPSE_ASPECT_RATIO
|
static int |
FILL_COLOR
|
static int |
LEFT
|
static int |
N_COORDINATES
|
static int |
OPTIONS
|
static int |
OUTLINE
|
static int |
POSITION
|
static int |
RIGHT
|
static int |
ROUNDED_RECT_ARC_SIZE
|
static int |
SHAPE_ROI_SIZE
|
static int |
SPLINE_FIT
|
static int |
STROKE_COLOR
|
static int |
STROKE_WIDTH
|
static int |
SUBTYPE
|
static int |
TEXT
|
static int |
TOP
|
static int |
TYPE
|
static int |
VERSION_OFFSET
|
static int |
X1
|
static int |
X2
|
static int |
Y1
|
static int |
Y2
|
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()
|
static Roi |
openFromByteArray(byte[] bytes)
Opens an ROI from a byte array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int VERSION_OFFSET
public static final int TYPE
public static final int TOP
public static final int LEFT
public static final int BOTTOM
public static final int RIGHT
public static final int N_COORDINATES
public static final int X1
public static final int Y1
public static final int X2
public static final int Y2
public static final int STROKE_WIDTH
public static final int SHAPE_ROI_SIZE
public static final int STROKE_COLOR
public static final int FILL_COLOR
public static final int SUBTYPE
public static final int OPTIONS
public static final int ARROW_STYLE
public static final int ELLIPSE_ASPECT_RATIO
public static final int ARROW_HEAD_SIZE
public static final int ROUNDED_RECT_ARC_SIZE
public static final int POSITION
public static final int COORDINATES
public static final int TEXT
public static final int ARROW
public static final int ELLIPSE
public static final int SPLINE_FIT
public static final int DOUBLE_HEADED
public static final int OUTLINE
Constructor Detail |
---|
public RoiDecoder(java.lang.String path)
public RoiDecoder(byte[] bytes, java.lang.String name)
Method Detail |
---|
public Roi getRoi() throws java.io.IOException
java.io.IOException
public Roi getShapeRoi() throws java.io.IOException
java.io.IOException
public static Roi openFromByteArray(byte[] bytes)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |