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.PlugIn
protected void writeIntLE(FileOutputStream out, int i) throws IOException
IOException
protected void writeShortLE(FileOutputStream out, int s) throws IOException
IOException
protected void writeByte(FileOutputStream out, byte b) throws IOException
IOException
protected void writeColor(FileOutputStream out, byte color) throws IOException
IOException
protected void writeNybble(FileOutputStream out, int n) throws IOException
IOException
protected void flushNybble(FileOutputStream out) throws IOException
IOException
protected void writeColorTable(FileOutputStream out, byte[] colors, ij.LookUpTable lut) throws IOException
IOException
protected void writeImage(FileOutputStream out, int w, int h, byte[] pixels, byte[] colors) throws IOException
IOException
Copyright © 2015–2021 Fiji. All rights reserved.