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.protectedPathDetectionObject(ROI pathROI, PathClass pathClass) Create a new PathDetectionObject with a float measurement list. -
Method Summary
Modifier and TypeMethodDescriptionprotected MeasurementListDefault to a simple, float measurement list.booleanAlways returns false - detection objects shouldn't be edited.Methods inherited from class qupath.lib.objects.PathROIObject
getClassProbability, getPathClass, getROI, isLocked, readExternal, setLocked, setPathClass, setROI, writeExternalMethods 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:
isEditablein classPathROIObject- Returns:
-
createEmptyMeasurementList
Default to a simple, float measurement list.- Overrides:
createEmptyMeasurementListin classPathObject- Returns:
-