|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectij.io.RoiEncoder
public class RoiEncoder
Saves an ROI to a file or stream. RoiDecoder.java has a description of the file format.
RoiDecoder
,
RoiReader
Constructor Summary | |
---|---|
RoiEncoder(java.io.OutputStream f)
Creates an RoiEncoder using the specified OutputStream. |
|
RoiEncoder(java.lang.String path)
Creates an RoiEncoder using the specified path. |
Method Summary | |
---|---|
static byte[] |
saveAsByteArray(Roi roi)
Saves the specified ROI as a byte array. |
void |
write(Roi roi)
Save the Roi to the file of stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoiEncoder(java.lang.String path)
public RoiEncoder(java.io.OutputStream f)
Method Detail |
---|
public void write(Roi roi) throws java.io.IOException
java.io.IOException
public static byte[] saveAsByteArray(Roi roi)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |