public class EnhancementTable extends Object
Constructor and Description |
---|
EnhancementTable()
Construct an enhancement table with a grey scale enhancement.
|
EnhancementTable(File file)
Construct an enhancement table from a file object.
|
EnhancementTable(String source)
Construct an enhancement table from a local disk file or
URL.
|
EnhancementTable(URL url)
Construct an enhancement table from a remote URL object.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex(int red,
int green,
int blue)
Look up a unique (hopefully) RGB value and return the index
|
int[][] |
getRGBValues()
Retrieve the data values.
|
static void |
main(String[] args)
Test by running:
java edu.wisc.ssec.mcidas.EnhancementTable _OR_
java edu.wisc.ssec.mcidas.EnhancementTable enhancement_file.
|
String |
toString()
Print out a pretty table.
|
public EnhancementTable()
public EnhancementTable(String source) throws McIDASException
source
- source of the enhancement table (path or URL)McIDASException
- error finding or reading the source.public EnhancementTable(File file) throws McIDASException
file
- file object representing the enhancement table.McIDASException
- error finding or reading the file.public EnhancementTable(URL url) throws McIDASException
url
- URL representing the enhancement table.McIDASException
- error finding or reading the URL.public int[][] getRGBValues()
public int getIndex(int red, int green, int blue)
public String toString()
public static void main(String[] args)
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.