Class CellH5Writer

java.lang.Object
loci.formats.FormatHandler
loci.formats.FormatWriter
loci.formats.out.CellH5Writer
All Implemented Interfaces:
Closeable, AutoCloseable, loci.formats.ICompressedTileWriter, loci.formats.IFormatHandler, loci.formats.IFormatWriter, loci.formats.IMetadataConfigurable, loci.formats.IPyramidHandler

public class CellH5Writer extends loci.formats.FormatWriter
CellH5Writer is the file format writer for CellH5 format.
  • Field Summary

    Fields inherited from class loci.formats.FormatWriter

    cm, compression, compressionTypes, fps, initialized, interleaved, metadataRetrieve, options, out, resolution, resolutionData, sequential, series, validBits

    Fields inherited from class loci.formats.FormatHandler

    COMPRESSION_SUFFIXES, currentId, format, LOGGER, metadataOptions, suffixes
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    CellH5Writer(String format, String[] exts)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
     
    int[]
     
    int
     
    void
    saveBytes(int no, byte[] buf)
    Saves the given image to the specified (possibly already open) file.
    void
    saveBytes(int no, byte[] buf, int x, int y, int w, int h)
     
    void
     

    Methods inherited from class loci.formats.FormatWriter

    changeOutputFile, checkParams, createOutputStream, getCodecOptions, getColorModel, getCompression, getCompressionTypes, getFramesPerSecond, getMetadataRetrieve, getPixelTypes, getPlaneCount, getResolution, getResolutionCount, getResolutions, getSamplesPerPixel, getSamplesPerPixel, getSeries, getSizeX, getSizeY, getTileSizeX, getTileSizeY, hasResolutions, isFullPlane, isInterleaved, isSupportedType, saveBytes, savePlane, savePlane, savePlane, seekToPlaneOffset, setCodecOptions, setColorModel, setCompression, setFramesPerSecond, setInterleaved, setMetadataRetrieve, setResolution, setResolutions, setSeries, setTileSizeX, setTileSizeY, setValidBitsPerPixel, setWriteSequentially

    Methods inherited from class loci.formats.FormatHandler

    checkSuffix, checkSuffix, getFormat, getMetadataOptions, getNativeDataType, getSuffixes, getSupportedMetadataLevels, isThisType, setMetadataOptions

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface loci.formats.ICompressedTileWriter

    getCodec, saveCompressedBytes

    Methods inherited from interface loci.formats.IFormatHandler

    getFormat, getNativeDataType, getSuffixes, isThisType

    Methods inherited from interface loci.formats.IMetadataConfigurable

    getMetadataOptions, getSupportedMetadataLevels, setMetadataOptions
  • Constructor Details

    • CellH5Writer

      public CellH5Writer()
    • CellH5Writer

      public CellH5Writer(String format, String[] exts)
  • Method Details

    • setId

      public void setId(String id) throws loci.formats.FormatException, IOException
      Specified by:
      setId in interface loci.formats.IFormatHandler
      Overrides:
      setId in class loci.formats.FormatWriter
      Throws:
      loci.formats.FormatException
      IOException
    • saveBytes

      public void saveBytes(int no, byte[] buf) throws IOException, loci.formats.FormatException
      Saves the given image to the specified (possibly already open) file.
      Specified by:
      saveBytes in interface loci.formats.IFormatWriter
      Overrides:
      saveBytes in class loci.formats.FormatWriter
      Throws:
      IOException
      loci.formats.FormatException
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Overrides:
      close in class loci.formats.FormatWriter
      Throws:
      IOException
    • getPlaneCount

      public int getPlaneCount()
      Overrides:
      getPlaneCount in class loci.formats.FormatWriter
    • saveBytes

      public void saveBytes(int no, byte[] buf, int x, int y, int w, int h) throws loci.formats.FormatException, IOException
      Throws:
      loci.formats.FormatException
      IOException
      See Also:
      • IFormatWriter.saveBytes(int, byte[], int, int, int, int)
    • canDoStacks

      public boolean canDoStacks()
      Specified by:
      canDoStacks in interface loci.formats.IFormatWriter
      Overrides:
      canDoStacks in class loci.formats.FormatWriter
    • getPixelTypes

      public int[] getPixelTypes(String codec)
      Specified by:
      getPixelTypes in interface loci.formats.IFormatWriter
      Overrides:
      getPixelTypes in class loci.formats.FormatWriter