public class AmiraMeshDecoder extends Object
Modifier and Type | Field and Description |
---|---|
int |
ASCII |
AmiraParameters |
parameters |
int |
RAW |
int |
RLE |
int |
ZLIB |
Constructor and Description |
---|
AmiraMeshDecoder() |
Modifier and Type | Method and Description |
---|---|
void |
AmiraMeshDecoder() |
ij.ImageStack |
getStack()
Get AmiraMesh data as a stack.
|
ij.ImageStack |
getStackFast()
Get AmiraMesh data as a stack in a fast way, at a cost of reading the
whole image information at once.
|
AmiraTable |
getTable() |
boolean |
isTable() |
boolean |
open(String fileName) |
int |
readRLE(byte[] pixels,
int offset,
int length) |
int |
readZlib(byte[] pixels,
int offset,
int length) |
public final int RAW
public final int RLE
public final int ZLIB
public final int ASCII
public AmiraParameters parameters
public void AmiraMeshDecoder()
public boolean open(String fileName)
public int readRLE(byte[] pixels, int offset, int length) throws IOException
IOException
public int readZlib(byte[] pixels, int offset, int length) throws IOException
IOException
public ij.ImageStack getStack()
getStackFast
but uses less memory.
Important: the file and output stream are closed after reading.public ij.ImageStack getStackFast()
getStack
but it is much faster.
Important: the file and output stream are closed after reading.public boolean isTable()
public AmiraTable getTable()
Copyright © 2015–2021 Fiji. All rights reserved.