public final class ColorTableUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static ColorTable8 |
createChannelColorTable(Imaris.IDataSetPrx dataset,
int channel)
Create an imglib2
ColorTable8 for the given channel of
dataset. |
static <T extends NumericType<T> & RealType<T>> |
createChannelConverterToARGB(T type,
Imaris.IDataSetPrx dataset,
int channel)
Construct a converters for the specified
channel with display
range and color set up according to Imaris. |
static ARGBType |
getChannelColor(Imaris.IDataSetPrx dataset,
int channel)
Get the base color of the given
channel of dataset as an
imglib2 ARGBType. |
public static ColorTable8 createChannelColorTable(Imaris.IDataSetPrx dataset, int channel) throws Imaris.Error
ColorTable8 for the given channel of
dataset. If the channel has a colortable, translate it.
Otherwise, construct a ramp colortable from the base color of the channel.Imaris.Errorpublic static ARGBType getChannelColor(Imaris.IDataSetPrx dataset, int channel) throws Imaris.Error
channel of dataset as an
imglib2 ARGBType.Imaris.Errorpublic static <T extends NumericType<T> & RealType<T>> Converter<T,ARGBType> createChannelConverterToARGB(T type, Imaris.IDataSetPrx dataset, int channel) throws Imaris.Error
channel with display
range and color set up according to Imaris.Imaris.ErrorCopyright © 2019–2021 Imaris. All rights reserved.