Package qupath.lib.objects
Class PathAnnotationObject
java.lang.Object
qupath.lib.objects.PathObject
qupath.lib.objects.PathROIObject
qupath.lib.objects.PathAnnotationObject
- All Implemented Interfaces:
Externalizable
,Serializable
An annotation PathObject.
These tend to be larger and less common than PathDetectionObjects.
As such, they can be represented and displayed with more emphasis on flexibility, rather than efficiency.
- Author:
- Pete Bankhead
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet a free text description previously set for this annotation.void
setDescription
(String text) Set a free text description for this annotation.Methods inherited from class qupath.lib.objects.PathROIObject
getClassProbability, getPathClass, getROI, isEditable, isLocked, readExternal, setLocked, setPathClass, setROI, writeExternal
Methods inherited from class qupath.lib.objects.PathObject
addChildObject, addChildObjects, addPathObject, addPathObjects, clearChildObjects, clearMetadataMap, clearPathObjects, createEmptyMeasurementList, getChildObjects, getChildObjects, getChildObjectsAsArray, getClassifications, getColor, getColorRGB, getDescendantObjects, getDisplayedName, getID, getLevel, getMeasurementList, getMeasurements, getMetadata, getName, getParent, getUnmodifiableMetadataMap, hasChildObjects, hasChildren, hasMeasurements, hasROI, isAnnotation, isCell, isDetection, isRootObject, isTile, isTMACore, nChildObjects, nDescendants, objectCountPostfix, refreshID, removeChildObject, removeChildObjects, removePathObject, removePathObjects, resetPathClass, retrieveMetadataKeys, retrieveMetadataValue, setClassifications, setColor, setColor, setColorRGB, setID, setName, setPathClass, storeMetadataValue, toString
-
Constructor Details
-
PathAnnotationObject
public PathAnnotationObject()Default constructor. Should not be used directly, instead usePathObjects.createAnnotationObject(ROI)
.
-
-
Method Details
-
setDescription
Set a free text description for this annotation.- Parameters:
text
-
-
getDescription
Get a free text description previously set for this annotation.- Returns:
-