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.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static List<qupath.lib.objects.PathObject>
    createObjectsFromROIs(ImagePlus imp, Collection<? extends Roi> rois, double downsample, boolean asDetection, boolean includeMeasurements, qupath.lib.regions.ImagePlane plane)
    Turn an array of ImageJ ROIs into a list of QuPath PathObjects, optionally adding measurements as well.
    static List<qupath.lib.objects.PathObject>
    createObjectsFromROIs(ImagePlus imp, Collection<? extends Roi> rois, double downsample, Function<qupath.lib.roi.interfaces.ROI,qupath.lib.objects.PathObject> creator, boolean includeMeasurements, qupath.lib.regions.ImagePlane plane)
    Turn an array of ImageJ ROIs into a list of QuPath PathObjects, optionally adding measurements as well.
    void
    run(String arg)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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
    • createObjectsFromROIs

      public static List<qupath.lib.objects.PathObject> createObjectsFromROIs(ImagePlus imp, Collection<? extends Roi> rois, double downsample, boolean asDetection, boolean includeMeasurements, qupath.lib.regions.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
    • createObjectsFromROIs

      public static List<qupath.lib.objects.PathObject> createObjectsFromROIs(ImagePlus imp, Collection<? extends Roi> rois, double downsample, Function<qupath.lib.roi.interfaces.ROI,qupath.lib.objects.PathObject> creator, boolean includeMeasurements, qupath.lib.regions.ImagePlane plane)
      Turn an array of ImageJ ROIs into a list of QuPath PathObjects, optionally adding measurements as well.
      Parameters:
      imp - the image to use for measurements
      rois - the ROIs to convert
      downsample - the downsample factor of the image
      creator - the function to create QuPath objects from ROIs
      includeMeasurements - request to include measurements for the objects that are created
      plane - the image plane for the created objects
      Returns:
      Since:
      v0.6.0