Package qupath.lib.objects
Class PathDetectionObject
java.lang.Object
qupath.lib.objects.PathObject
qupath.lib.objects.PathROIObject
qupath.lib.objects.PathDetectionObject
- All Implemented Interfaces:
Externalizable
,Serializable
,MinimalMetadataStore
- Direct Known Subclasses:
PathCellObject
,PathTileObject
A detection PathObject.
Detections tend to be very numerous (e.g. millions of nuclei, each one a detection), and so need to be represented and displayed very efficiently.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionDefault constructor.protected
PathDetectionObject
(ROI pathROI, PathClass pathClass) Create a new PathDetectionObject with a float measurement list. -
Method Summary
Modifier and TypeMethodDescriptionprotected MeasurementList
Default to a simple, float measurement list.boolean
Always returns false - detection objects shouldn't be edited.Methods inherited from class qupath.lib.objects.PathROIObject
getClassProbability, getPathClass, getROI, isLocked, readExternal, setLocked, setPathClass, setROI, writeExternal
Methods inherited from class qupath.lib.objects.PathObject
addChildObject, addChildObjects, clearChildObjects, clearMetadataMap, getChildObjects, getChildObjects, getChildObjectsAsArray, getClassification, getClassifications, getColor, getDescendantObjects, getDisplayedName, getID, getLevel, getMeasurementList, getMeasurements, getMetadata, getName, getParent, getUnmodifiableMetadataMap, hasChildObjects, hasMeasurements, hasMetadata, hasROI, isAnnotation, isCell, isDetection, isRootObject, isTile, isTMACore, nChildObjects, nDescendants, objectCountPostfix, refreshID, removeChildObject, removeChildObjects, resetPathClass, retrieveMetadataKeys, retrieveMetadataValue, setClassification, setClassification, setClassifications, setColor, setColor, setID, setName, setPathClass, storeMetadataValue, toString
-
Constructor Details
-
PathDetectionObject
public PathDetectionObject()Default constructor. Should not be used directly, instead usePathObjects.createDetectionObject(ROI)
. -
PathDetectionObject
Create a new PathDetectionObject with a float measurement list.- Parameters:
pathROI
-pathClass
-
-
-
Method Details
-
isEditable
public boolean isEditable()Always returns false - detection objects shouldn't be edited.- Overrides:
isEditable
in classPathROIObject
- Returns:
-
createEmptyMeasurementList
Default to a simple, float measurement list.- Overrides:
createEmptyMeasurementList
in classPathObject
- Returns:
-