Class ARGBChannelSamplerConverter
java.lang.Object
net.imglib2.converter.readwrite.ARGBChannelSamplerConverter
- All Implemented Interfaces:
SamplerConverter<ARGBType, UnsignedByteType>
public final class ARGBChannelSamplerConverter
extends Object
implements SamplerConverter<ARGBType, UnsignedByteType>
Access the on channel of an
ARGBType as an UnsignedByteType.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate final class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
masks
private static final int[] masks -
shifts
private static final int[] shifts -
mask
private final int mask -
shift
private final int shift
-
-
Constructor Details
-
ARGBChannelSamplerConverter
public ARGBChannelSamplerConverter(int channel)
-
-
Method Details
-
convert
- Specified by:
convertin interfaceSamplerConverter<ARGBType, UnsignedByteType>
-