Package edu.gsu.cs.dmlab.imageproc
Class ColorMap
- java.lang.Object
-
- edu.gsu.cs.dmlab.imageproc.ColorMap
-
- Direct Known Subclasses:
Autumn
,Bone
,Hot
,Jet
,SDO_AIA_131
,SDO_AIA_1600
,SDO_AIA_1700
,SDO_AIA_171
,SDO_AIA_193
,SDO_AIA_211
,SDO_AIA_304
,SDO_AIA_335
,SDO_AIA_4500
,SDO_AIA_94
,Spring
,Summer
,Winter
public abstract class ColorMap extends Object
- Author:
- Dustin Kempton, Data Mining Lab, Georgia State University
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ColorMap.COLORMAP
-
Field Summary
Fields Modifier and Type Field Description protected IndexColorModel
_lut
-
Constructor Summary
Constructors Constructor Description ColorMap()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static BufferedImage
applyColorMap(BufferedImage src, ColorMap.COLORMAP colormap)
void
finalize()
protected abstract void
init(int n)
protected static IndexColorModel
linear_colormap(double[] X, double[] r, double[] g, double[] b, double[] xi)
protected static IndexColorModel
linear_colormap(double[] X, double[] r, double[] g, double[] b, int n)
protected static double[]
linspace(double x0, double x1, int n)
-
-
-
Field Detail
-
_lut
protected IndexColorModel _lut
-
-
Method Detail
-
linspace
protected static double[] linspace(double x0, double x1, int n)
-
linear_colormap
protected static IndexColorModel linear_colormap(double[] X, double[] r, double[] g, double[] b, double[] xi) throws InvalidConfigException
- Throws:
InvalidConfigException
-
linear_colormap
protected static IndexColorModel linear_colormap(double[] X, double[] r, double[] g, double[] b, int n) throws InvalidConfigException
- Throws:
InvalidConfigException
-
applyColorMap
public static BufferedImage applyColorMap(BufferedImage src, ColorMap.COLORMAP colormap) throws InvalidConfigException
- Throws:
InvalidConfigException
-
init
protected abstract void init(int n) throws InvalidConfigException
- Throws:
InvalidConfigException
-
-