Package qupathj

Class QuPath_Send_Overlay_to_QuPath

java.lang.Object
qupathj.QuPath_Send_Overlay_to_QuPath
All Implemented Interfaces:
PlugIn

public class QuPath_Send_Overlay_to_QuPath extends Object implements PlugIn
ImageJ plugin for sending back all the ROIs on an ImageJ overlay to QuPath. Optionally measure the ROIs first, and include the measurements as features.
Author:
Pete Bankhead
  • Constructor Details

    • QuPath_Send_Overlay_to_QuPath

      public QuPath_Send_Overlay_to_QuPath()
  • Method Details

    • run

      public void run(String arg)
      Specified by:
      run in interface PlugIn
    • createPathObjectsFromROIs

      @Deprecated public static List<PathObject> createPathObjectsFromROIs(ImagePlus imp, Roi[] rois, ImageServer<?> server, double downsample, boolean asDetection, boolean includeMeasurements, ImagePlane plane)
      Legacy method to turn an array of ImageJ ROIs into a list of QuPath PathObjects, optionally adding measurements as well.
      Parameters:
      imp -
      rois -
      server -
      downsample -
      asDetection -
      includeMeasurements -
      plane -
      Returns:
    • createObjectsFromROIs

      public static List<PathObject> createObjectsFromROIs(ImagePlus imp, Collection<? extends Roi> rois, double downsample, boolean asDetection, boolean includeMeasurements, ImagePlane plane)
      Turn an array of ImageJ ROIs into a list of QuPath PathObjects, optionally adding measurements as well.
      Parameters:
      imp -
      rois -
      downsample -
      asDetection -
      includeMeasurements -
      plane -
      Returns:
      Since:
      v0.4.0