Interface ImgExport

All Known Implementing Classes:
DisplayImage, ExportLarge2DTIFF, ExportN5Api, OpenSeaDragon, Save3dTIFF

public interface ImgExport
  • Method Details

    • blocksize

      int[] blocksize()
      specify the desired 3d blocksize used for the Lazy instances
      Returns:
      - the desired 3d blocksize
    • finish

      boolean finish()
      Called last when the fusion is finished (e.g. to write the XML)
      Returns:
      - true if the spimdata was modified, otherwise false
    • exportImage

      <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> boolean exportImage(net.imglib2.algorithm.blocks.BlockSupplier<T> img, net.imglib2.Interval bb, double downsampling, double anisoF, String title, Group<? extends mpicbg.spim.data.sequence.ViewDescription> fusionGroup)
      Exports the image using a predefined min/max
      Type Parameters:
      T - pixel type
      Parameters:
      img - - Note, in rare cases this can be null (i.e. do nothing)
      bb - - the bounding box used to fuse this image
      downsampling - - how much it was downsampled (or NaN if not)
      anisoF - - how much the z-dimension was scaled (or NaN if not)
      title - - the name of the image
      fusionGroup - - which views are part of this fusion
      Returns:
      success? true or false
    • queryParameters

      boolean queryParameters(FusionExportInterface fusion)
    • newInstance

      ImgExport newInstance()
    • getDescription

      String getDescription()
      Returns:
      - to be displayed in the generic dialog