Class Default
A default set of
ReadOptions without special behavior.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintchannelsPerByteArray(loci.formats.IFormatReader reader) The number of channels returned with each call toIFormatReader.openBytes(int).determineChannelNames(loci.formats.IFormatReader reader) A list of channel-names, if available.inteffectiveBitsPerPixel(loci.formats.IFormatReader reader) The number of bits used per pixel.booleanisRGB(loci.formats.IFormatReader reader) Is it an image with three channels (red, green and blue)?intsizeC(loci.formats.IFormatReader reader) Number of channels.intsizeT(loci.formats.IFormatReader reader) Number of time-points (frames in a time series).intsizeZ(loci.formats.IFormatReader reader) Number of z-slices (slices in a 3D image).Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
sizeT
public int sizeT(loci.formats.IFormatReader reader) Description copied from class:ReadOptionsNumber of time-points (frames in a time series).- Specified by:
sizeTin classReadOptions- Parameters:
reader- the bioformats reader- Returns:
- the number of channels
-
sizeZ
public int sizeZ(loci.formats.IFormatReader reader) Description copied from class:ReadOptionsNumber of z-slices (slices in a 3D image).- Specified by:
sizeZin classReadOptions- Parameters:
reader- the bioformats reader- Returns:
- the number of slices
-
sizeC
public int sizeC(loci.formats.IFormatReader reader) Description copied from class:ReadOptionsNumber of channels.- Specified by:
sizeCin classReadOptions- Parameters:
reader- the bioformats reader- Returns:
- the number of channels
-
isRGB
public boolean isRGB(loci.formats.IFormatReader reader) Description copied from class:ReadOptionsIs it an image with three channels (red, green and blue)?- Specified by:
isRGBin classReadOptions- Parameters:
reader- the bioformats reader- Returns:
- true iff its a RGB image
-
effectiveBitsPerPixel
public int effectiveBitsPerPixel(loci.formats.IFormatReader reader) Description copied from class:ReadOptionsThe number of bits used per pixel.This may be a smaller number than the size of the voxel's data-type e.g. a 16-bit format may be used to store only 12-bits of image data.
- Specified by:
effectiveBitsPerPixelin classReadOptions- Parameters:
reader- the bioformats reader- Returns:
- the number of bits used per pixel.
-
channelsPerByteArray
public int channelsPerByteArray(loci.formats.IFormatReader reader) Description copied from class:ReadOptionsThe number of channels returned with each call toIFormatReader.openBytes(int).- Specified by:
channelsPerByteArrayin classReadOptions- Parameters:
reader- the bioformats reader- Returns:
- the number of channels returned with each call to openBytes.
-
determineChannelNames
Description copied from class:ReadOptionsA list of channel-names, if available.The order matches the channel indexing e.g. the first name in the list corresponds to the channel with
index=0.- Specified by:
determineChannelNamesin classReadOptions- Parameters:
reader- the bioformats reader- Returns:
- the channel-names, if available.
-