Class PathObjects
PathObject. This should be used in preference of any constructors,
which linger only for historical reasons and compatibility.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PathObjectCreate an unclassified annotation object.static PathObjectcreateAnnotationObject(ROI roi, PathClass pathClass) Create a classified annotation object.static PathObjectcreateAnnotationObject(ROI roi, PathClass pathClass, MeasurementList measurements) Create a classified annotation object with a specified measurement list.static PathObjectcreateCellObject(ROI roiCell, ROI roiNucleus) Create a cell object.static PathObjectcreateCellObject(ROI roiCell, ROI roiNucleus, PathClass pathClass) Create a cell object with an optional classification.static PathObjectcreateCellObject(ROI roiCell, ROI roiNucleus, PathClass pathClass, MeasurementList measurements) Create a cell object with an optional classification and measurements list.static PathObjectcreateDetectionObject(ROI roi) Create an unclassified detection object.static PathObjectcreateDetectionObject(ROI roi, PathClass pathClass) Create a classified detection object.static PathObjectcreateDetectionObject(ROI roi, PathClass pathClass, MeasurementList measurements) Create a classified detection object with a specified measurement list.static PathObjectcreateTileObject(ROI roi) Create an unclassified tile object.static PathObjectcreateTileObject(ROI roi, PathClass pathClass) Create a tile object.static PathObjectcreateTileObject(ROI roi, PathClass pathClass, MeasurementList measurements) Create a tile object, with a classification and measurements list.static TMACoreObjectcreateTMACoreObject(double xCenter, double yCenter, double diameter, boolean isMissing) Create a TMA core object with an circular ROI.static TMACoreObjectcreateTMACoreObject(double xCenter, double yCenter, double diameter, boolean isMissing, ImagePlane plane) Create a TMA core object with an circular ROI.static TMACoreObjectcreateTMACoreObject(double x, double y, double width, double height, boolean isMissing) Create a TMA core object with an ellipse ROI.static TMACoreObjectcreateTMACoreObject(double x, double y, double width, double height, boolean isMissing, ImagePlane plane) Create a TMA core object with an ellipse ROI.
-
Constructor Details
-
PathObjects
public PathObjects()
-
-
Method Details
-
createAnnotationObject
public static PathObject createAnnotationObject(ROI roi, PathClass pathClass, MeasurementList measurements) Create a classified annotation object with a specified measurement list.Annotation objects are used to represent mutable objects, prizing flexibility over efficiency.
- Parameters:
roi-pathClass-measurements-- Returns:
-
createAnnotationObject
Create a classified annotation object.Annotation objects are used to represent mutable objects, prizing flexibility over efficiency.
- Parameters:
roi-pathClass-- Returns:
-
createAnnotationObject
Create an unclassified annotation object.Annotation objects are used to represent mutable objects, prizing flexibility over efficiency.
- Parameters:
roi-- Returns:
-
createTMACoreObject
public static TMACoreObject createTMACoreObject(double xCenter, double yCenter, double diameter, boolean isMissing, ImagePlane plane) Create a TMA core object with an circular ROI.- Parameters:
xCenter-yCenter-diameter-isMissing-plane-- Returns:
-
createTMACoreObject
public static TMACoreObject createTMACoreObject(double xCenter, double yCenter, double diameter, boolean isMissing) Create a TMA core object with an circular ROI.- Parameters:
xCenter-yCenter-diameter-isMissing-- Returns:
-
createTMACoreObject
public static TMACoreObject createTMACoreObject(double x, double y, double width, double height, boolean isMissing) Create a TMA core object with an ellipse ROI.- Parameters:
x-y-width-height-isMissing-- Returns:
-
createTMACoreObject
public static TMACoreObject createTMACoreObject(double x, double y, double width, double height, boolean isMissing, ImagePlane plane) Create a TMA core object with an ellipse ROI.- Parameters:
x-y-width-height-isMissing-plane-- Returns:
-
createDetectionObject
public static PathObject createDetectionObject(ROI roi, PathClass pathClass, MeasurementList measurements) Create a classified detection object with a specified measurement list.Detection objects are used to represent immutable objects that could be very numerous, prizing efficiency over flexibility.
- Parameters:
roi-pathClass-measurements-- Returns:
- See Also:
-
createDetectionObject
Create a classified detection object.Detection objects are used to represent immutable objects that could be very numerous, prizing efficiency over flexibility.
- Parameters:
roi-pathClass-- Returns:
-
createDetectionObject
Create an unclassified detection object.Detection objects are used to represent immutable objects that could be very numerous, prizing efficiency over flexibility.
- Parameters:
roi-- Returns:
-
createTileObject
public static PathObject createTileObject(ROI roi, PathClass pathClass, MeasurementList measurements) Create a tile object, with a classification and measurements list.Tile objects represent a special case of a detection objects, were the ROI doesn't represent any particular structure (e.g. it is a superpixel or square tile representing a local collection of pixels used on the path to region segmentation).
- Parameters:
roi-pathClass-measurements-- Returns:
- See Also:
-
createTileObject
Create a tile object.Tile objects represent a special case of a detection objects, were the ROI doesn't represent any particular structure (e.g. it is a superpixel or square tile representing a local collection of pixels used on the path to region segmentation).
- Parameters:
roi-pathClass-- Returns:
- Since:
- v0.5.0
- See Also:
-
createTileObject
Create an unclassified tile object.Tile objects represent a special case of a detection objects, were the ROI doesn't represent any particular structure (e.g. it is a superpixel or square tile representing a local collection of pixels used on the path to region segmentation).
- Parameters:
roi-- Returns:
- See Also:
-
createCellObject
public static PathObject createCellObject(ROI roiCell, ROI roiNucleus, PathClass pathClass, MeasurementList measurements) Create a cell object with an optional classification and measurements list.Cell objects represent a special case of a detection objects, where an additional ROI can be stored representing the cell nucleus.
- Parameters:
roiCell-roiNucleus-pathClass-measurements-- Returns:
- See Also:
-
createCellObject
Create a cell object with an optional classification.Cell objects represent a special case of a detection objects, where an additional ROI can be stored representing the cell nucleus.
- Parameters:
roiCell-roiNucleus-pathClass-- Returns:
- Since:
- v0.5.0
- See Also:
-
createCellObject
Create a cell object.Cell objects represent a special case of a detection objects, where an additional ROI can be stored representing the cell nucleus.
- Parameters:
roiCell-roiNucleus-- Returns:
- Since:
- v0.5.0
- See Also:
-