T - the (un-masked) source type of the wrapped converterpublic interface MaskedToARGBConverter<T> extends Converter<Masked<T>,ARGBType>
Converter<Masked<T>, ARGBType> that wraps a Converter<T, ARGBType>.
To convert a Masked<T> input, its Masked.value() is passed
through the wrapped converter to obtain the RGB components of the output. The
Masked.mask() of the input is used to obtain the A component of the
output (mapping mask [0..1] to [0..255]).
| Modifier and Type | Method and Description |
|---|---|
Converter<T,ARGBType> |
delegate() |
static <T> Converter<Masked<T>,ARGBType> |
wrap(Converter<T,ARGBType> converter)
Given a
Converter<T, ARGBType>, creates a Converter<Masked<T>, ARGBType> that works as follows. |
static <T> Converter<Masked<T>,ARGBType> wrap(Converter<T,ARGBType> converter)
Converter<T, ARGBType>, creates a Converter<Masked<T>, ARGBType> that works as follows. To convert a
Masked<T> input, its Masked.value() is passed through the
wrapped converter to obtain the RGB components of the output. The Masked.mask() of the input is used to obtain the A component of the
output (mapping mask [0..1] to [0..255]).T - the (un-masked) source type of the wrapped converterconverter - converter to wrapCopyright © 2009–2025 ImgLib2. All rights reserved.