Package qupath.lib.plugins
Class ParallelTileObject
java.lang.Object
qupath.lib.objects.PathObject
qupath.lib.objects.PathROIObject
qupath.lib.objects.PathDetectionObject
qupath.lib.objects.PathTileObject
qupath.lib.plugins.ParallelTileObject
- All Implemented Interfaces:
- Externalizable,- Serializable,- MinimalMetadataStore,- TemporaryObject
A temporary object, used during parallel processing to represent a tile currently being used for object
 detection.
 
ParallelTileObjects maintain knowledge of adjacent tiles, and are thereby able to resolve overlaps after detection is complete (here, based on keeping the object with the larger area).
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumCurrent processing status for the tile.
- 
Method SummaryModifier and TypeMethodDescriptionGet the current status (pending, processing or done).booleanReturns true if setComplete() has been called.booleanReturns true if setIsProcessing(true) has recently been called.voidRequest that the tile object attempts to resolve overlaps with its neighboring tiles.voidsetComplete(boolean wasCancelled) Notify the tile that its processing is done.booleanRegister a neighboring tile, if it intersects with the bounds of this onevoidNotify the object if it is currently being processed.Methods inherited from class qupath.lib.objects.PathDetectionObjectcreateEmptyMeasurementList, isEditableMethods 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
- 
Method Details- 
suggestNeighborRegister a neighboring tile, if it intersects with the bounds of this one- Parameters:
- pto-
- Returns:
 
- 
updateStatusNotify the object if it is currently being processed. This is used to update how it is displayed (here implemented using a classification).- Parameters:
- status-
 
- 
getStatusGet the current status (pending, processing or done).- Returns:
 
- 
isProcessingpublic boolean isProcessing()Returns true if setIsProcessing(true) has recently been called.- Returns:
 
- 
isCompletepublic boolean isComplete()Returns true if setComplete() has been called.- Returns:
 
- 
setCompletepublic void setComplete(boolean wasCancelled) Notify the tile that its processing is done. This both changes its display color, and triggers a check to see if overlaps with detections made in adjacent tiles can be resolved.- Parameters:
- wasCancelled-
 
- 
resolveOverlapspublic void resolveOverlaps()Request that the tile object attempts to resolve overlaps with its neighboring tiles.
 
-