public class AmiraMeshEncoder extends Object
Constructor and Description |
---|
AmiraMeshEncoder(String path_) |
Modifier and Type | Method and Description |
---|---|
boolean |
open() |
boolean |
write(ij.ImagePlus ip)
Write image as AmiraMesh.
|
boolean |
writeFast(ij.ImagePlus ip)
Write image as AmiraMesh with just one access to file.
|
boolean |
writeHeader(ij.ImagePlus ip) |
void |
writeRLE(byte[] pixels) |
void |
writeZlib(byte[] pixels) |
public final int RAW
public final int RLE
public final int ZLIB
public AmiraMeshEncoder(String path_)
public boolean open()
public boolean writeHeader(ij.ImagePlus ip)
public boolean write(ij.ImagePlus ip)
writeFast
but uses less memory.
Important: the file will be closed after writing.ip
- image to writepublic boolean writeFast(ij.ImagePlus ip)
write
but requires duplicating the
data in memory.
Important: the file will be closed after writing.ip
- image to writepublic void writeRLE(byte[] pixels) throws IOException
IOException
public void writeZlib(byte[] pixels) throws IOException
IOException
Copyright © 2015–2021 Fiji. All rights reserved.