Class DimensionsCreator

Object
DimensionsCreator

public class DimensionsCreator extends Object
Infers Dimensions for a particular image-file.
Author:
Owen Feehan
  • 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.