Class TMADataIO

java.lang.Object
qupath.lib.gui.tma.TMADataIO

public class TMADataIO extends Object
Static methods for exporting TMA data, optionally with small images.
Author:
Pete Bankhead
See Also:
  • Field Details

  • Constructor Details

    • TMADataIO

      public TMADataIO()
  • Method Details

    • writeTMAData

      public static void writeTMAData(File file, ImageData<BufferedImage> imageData) throws IOException
      Write TMA summary data, without any image export.
      Parameters:
      file -
      imageData -
      Throws:
      IOException
    • writeTMAData

      public static void writeTMAData(File file, ImageData<BufferedImage> imageData, OverlayOptions overlayOptions, double downsampleFactor) throws IOException
      Write TMA data in a human-readable (and viewable) way, with JPEGs and TXT/CSV files.
      Parameters:
      file -
      imageData -
      overlayOptions -
      downsampleFactor - The downsample factor used for the TMA cores. If NaN, an automatic downsample value will be selected (>= 1). If <= 0, no cores are exported.
      Throws:
      IOException
    • importDearrayedTMAData

      public static TMAGrid importDearrayedTMAData(File file)
      Import a TMA grid from an exported TMA analysis file, i.e. with extension ".qptma"
      Parameters:
      file -
      Returns: