public interface ColorTable
Modifier and Type | Field and Description |
---|---|
static int |
ALPHA |
static int |
BLUE |
static int |
GREEN |
static int |
RED |
Modifier and Type | Method and Description |
---|---|
int |
get(int comp,
int bin)
Gets an individual value from the color table.
|
int |
getComponentCount()
Gets the number of color components in the table (typically 3 for RGB or
4 for RGBA).
|
int |
getLength()
Gets the number of elements for each color component in the table.
|
int |
getResampled(int comp,
int bins,
int bin)
Gets an individual value from a color table with given number of bins.
|
int |
lookupARGB(double min,
double max,
double value) |
static final int RED
static final int GREEN
static final int BLUE
static final int ALPHA
int lookupARGB(double min, double max, double value)
int getComponentCount()
int getLength()
int get(int comp, int bin)
comp
- The color component to query.bin
- The index into the color table.int getResampled(int comp, int bins, int bin)
comp
- The color component to query.bins
- The total number of bins.bin
- The index into the color table.Copyright © 2015–2022 ImgLib2. All rights reserved.