|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjview.FalseColor
public class FalseColor
Factory class to generate look-up tables for false-color images.
| Nested Class Summary | |
|---|---|
static class |
FalseColor.Convert
Converts the lookup-table file one (binary) into an ascii-lookup table. |
| Constructor Summary | |
|---|---|
FalseColor()
|
|
| Method Summary | |
|---|---|
static LookupTable |
asciiLoad(File f)
ASCII load of a lookup table assumes 256 lines with the three RGB values at each line. |
private static LookupTable |
asciiLoad(List<String> level)
ASCII load of a lookup table assumes 256 lines with the three RGB values at each line. |
static LookupTable |
asciiLoad(URL f)
ASCII load of a lookup table assumes 256 lines with the three RGB values at each line. |
static LookupTable |
blackBody()
Generates a byte lookup-table converting gray images to black-body false colors. |
static LookupTable |
load(File file)
Load a lut from a file. |
static LookupTable |
load(InputStream in)
Load a lut from an input stream. |
static LookupTable |
load(URL url)
Loads a look-up table from an URL. |
private static byte |
parse(String asc)
Parses a single string to a byte value in decimal, hex or octal representation. |
static List<String> |
toAscii(ByteLookupTable bt,
int radix)
Converts the lookup-table to a list of strings. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FalseColor()
| Method Detail |
|---|
public static final LookupTable blackBody()
public static final LookupTable load(URL url)
public static final LookupTable load(File file)
public static final LookupTable load(InputStream in)
throws IOException
IOExceptionpublic static final LookupTable asciiLoad(File f)
public static final LookupTable asciiLoad(URL f)
private static final LookupTable asciiLoad(List<String> level)
private static byte parse(String asc)
public static final List<String> toAscii(ByteLookupTable bt,
int radix)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||