public class RoiEncoder extends Object
RoiDecoder,
RoiReader| Constructor and Description |
|---|
RoiEncoder(OutputStream f)
Creates an RoiEncoder using the specified OutputStream.
|
RoiEncoder(String path)
Creates an RoiEncoder using the specified path.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
save(Roi roi,
String path)
Saves the specified ROI as a file, returning 'true' if successful.
|
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.
|
public RoiEncoder(String path)
public RoiEncoder(OutputStream f)
public static boolean save(Roi roi, String path)
public void write(Roi roi) throws IOException
IOExceptionpublic static byte[] saveAsByteArray(Roi roi)
Copyright © 1997–2018 NIH. All rights reserved.