Package net.imglib2.converter
Class ChannelARGBConverter
- java.lang.Object
-
- net.imglib2.converter.ChannelARGBConverter
-
- All Implemented Interfaces:
Converter<UnsignedByteType,ARGBType>
public final class ChannelARGBConverter extends java.lang.Object implements Converter<UnsignedByteType,ARGBType>
Convert UnsignedByteType into one channel ofARGBType.converterListRGBAcan be used inCompositeXYProjectorto convert a 4-channel (R,G,B,A)UnsignedByteTypeinto compositeARGBType.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChannelARGBConverter.Channel
-
Field Summary
Fields Modifier and Type Field Description static java.util.ArrayList<Converter<UnsignedByteType,ARGBType>>converterListRGBAconverterListRGBAcan be used inCompositeXYProjectorto convert a 4-channelUnsignedByteTypeinto compositeARGBType.private intshift
-
Constructor Summary
Constructors Constructor Description ChannelARGBConverter(ChannelARGBConverter.Channel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconvert(UnsignedByteType input, ARGBType output)
-
-
-
Field Detail
-
converterListRGBA
public static final java.util.ArrayList<Converter<UnsignedByteType,ARGBType>> converterListRGBA
converterListRGBAcan be used inCompositeXYProjectorto convert a 4-channelUnsignedByteTypeinto compositeARGBType.
-
shift
private final int shift
-
-
Constructor Detail
-
ChannelARGBConverter
public ChannelARGBConverter(ChannelARGBConverter.Channel channel)
-
-
Method Detail
-
convert
public void convert(UnsignedByteType input, ARGBType output)
- Specified by:
convertin interfaceConverter<UnsignedByteType,ARGBType>
-
-