public class Pseudocolour
extends java.lang.Object
Constructor and Description |
---|
Pseudocolour(Image image)
Create a 3-channel (RGB) LUT (look-up table) with the number of levels
in the given image.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(java.awt.image.BufferedImage bim)
Apply the LUT to the given image.
|
void |
apply(Image image)
Apply the LUT to the given image.
|
void |
apply(ImFrame imf)
Apply the LUT to the given image.
|
void |
contour(int interval)
Set black at regular intervals in the LUT.
|
int[][] |
getLUT()
Get a reference to the look-up table, indexed as [look-up value][channel].
|
void |
invert()
Invert the colours in the LUT.
|
public Pseudocolour(Image image)
public int[][] getLUT()
public void apply(ImFrame imf)
public void apply(java.awt.image.BufferedImage bim)
public void apply(Image image)
public void contour(int interval)
public void invert()