Package loci.formats

Class SwappableMetadata

java.lang.Object
loci.formats.CoreMetadata
loci.formats.SwappableMetadata
All Implemented Interfaces:
Cloneable

public class SwappableMetadata extends loci.formats.CoreMetadata
Extends CoreMetadata to include the notion of an "input order" for planes: the input order being the order planes are stored on disk.

NB: Input order can differ from the CoreMetadata.dimensionOrder field, the latter being the order dimensions are returned (and thus returned by IFormatReader.getDimensionOrder()).

This class is primarily intended for use by DimensionSwapper and its children, which introduce the API to separate input and output orders.

Author:
Mark Hiner
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Order in which dimensions are stored.

    Fields inherited from class loci.formats.CoreMetadata

    bitsPerPixel, dimensionOrder, falseColor, imageCount, indexed, interleaved, littleEndian, metadataComplete, moduloC, moduloT, moduloZ, orderCertain, pixelType, resolutionCount, rgb, seriesMetadata, sizeC, sizeT, sizeX, sizeY, sizeZ, thumbnail, thumbSizeX, thumbSizeY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    SwappableMetadata(loci.formats.IFormatReader r, int seriesNo)
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    loci.formats.CoreMetadata
    clone(loci.formats.IFormatReader r, int coreIndex)
     

    Methods inherited from class loci.formats.CoreMetadata

    toString

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • inputOrder

      public String inputOrder
      Order in which dimensions are stored. Must be one of the following:
      • XYCZT
      • XYCTZ
      • XYZCT
      • XYZTC
      • XYTCZ
      • XYTZC
  • Constructor Details

    • SwappableMetadata

      public SwappableMetadata()
    • SwappableMetadata

      public SwappableMetadata(loci.formats.IFormatReader r, int seriesNo)
    • SwappableMetadata

      public SwappableMetadata(SwappableMetadata c)
  • Method Details

    • clone

      public Object clone() throws CloneNotSupportedException
      Overrides:
      clone in class loci.formats.CoreMetadata
      Throws:
      CloneNotSupportedException
    • clone

      public loci.formats.CoreMetadata clone(loci.formats.IFormatReader r, int coreIndex)
      Overrides:
      clone in class loci.formats.CoreMetadata