public class LSS16_Writer extends Object implements ij.plugin.PlugIn
| Modifier and Type | Field and Description |
|---|---|
protected int |
lastNybble |
| Constructor and Description |
|---|
LSS16_Writer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
flushNybble(FileOutputStream out) |
void |
run(String arg) |
protected void |
writeByte(FileOutputStream out,
byte b) |
protected void |
writeColor(FileOutputStream out,
byte color) |
protected void |
writeColorTable(FileOutputStream out,
byte[] colors,
ij.LookUpTable lut) |
protected void |
writeImage(FileOutputStream out,
int w,
int h,
byte[] pixels,
byte[] colors) |
protected void |
writeIntLE(FileOutputStream out,
int i) |
protected void |
writeNybble(FileOutputStream out,
int n) |
protected void |
writeShortLE(FileOutputStream out,
int s) |
public void run(String arg)
run in interface ij.plugin.PlugInprotected void writeIntLE(FileOutputStream out, int i) throws IOException
IOExceptionprotected void writeShortLE(FileOutputStream out, int s) throws IOException
IOExceptionprotected void writeByte(FileOutputStream out, byte b) throws IOException
IOExceptionprotected void writeColor(FileOutputStream out, byte color) throws IOException
IOExceptionprotected void writeNybble(FileOutputStream out, int n) throws IOException
IOExceptionprotected void flushNybble(FileOutputStream out) throws IOException
IOExceptionprotected void writeColorTable(FileOutputStream out, byte[] colors, ij.LookUpTable lut) throws IOException
IOExceptionprotected void writeImage(FileOutputStream out, int w, int h, byte[] pixels, byte[] colors) throws IOException
IOExceptionCopyright © 2015–2021 Fiji. All rights reserved.