Class ForceBitsPerPixel
Forces the bits per pixel to be a specific-value, irrespective of what bioformats infers.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe assigned bits per pixels.booleanisRGB(loci.formats.IFormatReader reader) Is it an image with three channels (red, green and blue)?voidsetBitsPerPixel(int bitsPerPixel) The assigned bits per pixels.Methods inherited from class org.anchoranalysis.io.bioformats.bean.options.ReadOptionsDelegate
channelsPerByteArray, delegate, determineChannelNames, effectiveBitsPerPixel, getOptions, setOptions, sizeC, sizeT, sizeZMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
ForceBitsPerPixel
public ForceBitsPerPixel()
-
-
Method Details
-
isRGB
public boolean isRGB(loci.formats.IFormatReader reader) Description copied from class:ReadOptionsIs it an image with three channels (red, green and blue)?- Overrides:
isRGBin classReadOptionsDelegate- 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.
-