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 SummaryConstructorsModifierConstructorDescriptionDefault constructor.protectedPathDetectionObject(ROI pathROI, PathClass pathClass) Create a new PathDetectionObject with a float measurement list.
- 
Method SummaryModifier 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.PathROIObjectgetClassProbability, getPathClass, getROI, isLocked, readExternal, setLocked, setPathClass, setROI, writeExternalMethods inherited from class qupath.lib.objects.PathObjectaddChildObject, 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- 
PathDetectionObjectpublic PathDetectionObject()Default constructor. Should not be used directly, instead usePathObjects.createDetectionObject(ROI).
- 
PathDetectionObjectCreate a new PathDetectionObject with a float measurement list.- Parameters:
- pathROI-
- pathClass-
 
 
- 
- 
Method Details- 
isEditablepublic boolean isEditable()Always returns false - detection objects shouldn't be edited.- Overrides:
- isEditablein class- PathROIObject
- Returns:
 
- 
createEmptyMeasurementListDefault to a simple, float measurement list.- Overrides:
- createEmptyMeasurementListin class- PathObject
- Returns:
 
 
-