Package net.imglib2.display
Interface RealARGBColorConverter<R extends RealType<?>>
-
- Type Parameters:
R- source type
- All Superinterfaces:
ColorConverter,Converter<R,ARGBType>,LinearRange
- All Known Implementing Classes:
RealARGBColorConverterFactory.Imp
public interface RealARGBColorConverter<R extends RealType<?>> extends ColorConverter, Converter<R,ARGBType>
A converterRealTypetoARGBTypewith configurablelinear rangeandcolor.Input values are passed through a linear function that maps the configured
linear rangeto[0..255], the resulting value is then multiplied with R, G, B components of the configuredcolorwhich are finally individually clamped to[0..255].
-
-
Method Summary
Static Methods Modifier and Type Method Description static <R extends RealType<?>>
RealARGBColorConverter<R>create(R type, double min, double max)-
Methods inherited from interface net.imglib2.display.ColorConverter
getColor, setColor, supportsColor
-
Methods inherited from interface net.imglib2.display.LinearRange
getMax, getMin, setMax, setMin
-
-
-
-
Method Detail
-
create
static <R extends RealType<?>> RealARGBColorConverter<R> create(R type, double min, double max)
-
-