Package org.anchoranalysis.io.bioformats
Class DimensionsCreator
Object
DimensionsCreator
Infers
Dimensions for a particular image-file.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(loci.formats.IFormatReader reader, ReadOptions readOptions, int seriesIndex) Infers the dimensions from an image file.
-
Constructor Details
-
DimensionsCreator
public DimensionsCreator(loci.formats.meta.IMetadata lociMetadata)
-
-
Method Details
-
apply
public Dimensions apply(loci.formats.IFormatReader reader, ReadOptions readOptions, int seriesIndex) throws CreateException Infers the dimensions from an image file.- Parameters:
reader- a bioformats reader that has opened the image-file.readOptions- further specification of how to read the image file.seriesIndex- which series to read (zero-indexed).- Returns:
- newly created
Dimensions. - Throws:
CreateException- if unable to infer dimensions from the image file.
-