Class ForceBitsPerPixel


public class ForceBitsPerPixel extends ReadOptionsDelegate
Forces the bits per pixel to be a specific-value, irrespective of what bioformats infers.
Author:
Owen Feehan
  • Constructor Details

    • ForceBitsPerPixel

      public ForceBitsPerPixel()
  • Method Details

    • isRGB

      public boolean isRGB(loci.formats.IFormatReader reader)
      Description copied from class: ReadOptions
      Is it an image with three channels (red, green and blue)?
      Overrides:
      isRGB in class ReadOptionsDelegate
      Parameters:
      reader - the bioformats reader
      Returns:
      true iff its a RGB image
    • getBitsPerPixel

      public int getBitsPerPixel()
      The assigned bits per pixels.
    • setBitsPerPixel

      public void setBitsPerPixel(int bitsPerPixel)
      The assigned bits per pixels.