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.
  • 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