Package qupathj
Class QuPath_Send_Overlay_to_QuPath
java.lang.Object
qupathj.QuPath_Send_Overlay_to_QuPath
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.static List
<PathObject> createObjectsFromROIs
(ImagePlus imp, Collection<? extends Roi> rois, double downsample, Function<ROI, PathObject> creator, boolean includeMeasurements, ImagePlane plane) Turn an array of ImageJ ROIs into a list of QuPath PathObjects, optionally adding measurements as well.void
-
Constructor Details
-
QuPath_Send_Overlay_to_QuPath
public QuPath_Send_Overlay_to_QuPath()
-
-
Method Details
-
run
-
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
-
createObjectsFromROIs
public static List<PathObject> createObjectsFromROIs(ImagePlus imp, Collection<? extends Roi> rois, double downsample, Function<ROI, PathObject> creator, boolean includeMeasurements, 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 measurementsrois
- the ROIs to convertdownsample
- the downsample factor of the imagecreator
- the function to create QuPath objects from ROIsincludeMeasurements
- request to include measurements for the objects that are createdplane
- the image plane for the created objects- Returns:
- Since:
- v0.6.0
-