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
.converterListRGBA
can be used inCompositeXYProjector
to convert a 4-channel (R,G,B,A)UnsignedByteType
into compositeARGBType
.- Author:
- Tobias Pietzsch
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChannelARGBConverter.Channel
-
Field Summary
Fields Modifier and Type Field Description static java.util.ArrayList<Converter<UnsignedByteType,ARGBType>>
converterListRGBA
converterListRGBA
can be used inCompositeXYProjector
to convert a 4-channelUnsignedByteType
into compositeARGBType
.
-
Constructor Summary
Constructors Constructor Description ChannelARGBConverter(ChannelARGBConverter.Channel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
convert(UnsignedByteType input, ARGBType output)
-
-
-
Field Detail
-
converterListRGBA
public static final java.util.ArrayList<Converter<UnsignedByteType,ARGBType>> converterListRGBA
converterListRGBA
can be used inCompositeXYProjector
to convert a 4-channelUnsignedByteType
into compositeARGBType
.
-
-
Constructor Detail
-
ChannelARGBConverter
public ChannelARGBConverter(ChannelARGBConverter.Channel channel)
-
-
Method Detail
-
convert
public void convert(UnsignedByteType input, ARGBType output)
- Specified by:
convert
in interfaceConverter<UnsignedByteType,ARGBType>
-
-