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 TypeMethodDescriptionint
The assigned bits per pixels.boolean
isRGB
(loci.formats.IFormatReader reader) Is it an image with three channels (red, green and blue)?void
setBitsPerPixel
(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, sizeZ
Methods 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:ReadOptions
Is it an image with three channels (red, green and blue)?- Overrides:
isRGB
in 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.
-