Package qupath.opencv.features
Class DelaunayTriangulation
java.lang.Object
qupath.opencv.features.DelaunayTriangulation
- All Implemented Interfaces:
qupath.lib.objects.PathObjectConnectionGroup
@Deprecated
public class DelaunayTriangulation
extends Object
implements qupath.lib.objects.PathObjectConnectionGroup
Deprecated.
Compute Delaunay triangulation using OpenCV.
-
Constructor Summary
ConstructorsConstructorDescriptionDelaunayTriangulation(List<qupath.lib.objects.PathObject> pathObjects, double pixelWidth, double pixelHeight, double distanceThresholdPixels, boolean limitByClass) Deprecated.Compute Delaunay triangulation - optionally omitting links above a fixed distance. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Compute mean measurements from clustering all connected objects.voidDeprecated.Add Delaunay measurements to each pathObject.booleancontainsObject(qupath.lib.objects.PathObject pathObject) Deprecated.Deprecated.Get a list of PathObjects that are connected to each other in this triangulation.Collection<double[]> getConnectedNodes(Collection<qupath.lib.objects.PathObject> pathObjects, Collection<double[]> connections) Deprecated.Collection<qupath.lib.objects.PathObject> getConnectedNodes(qupath.lib.objects.PathObject pathObject, Collection<qupath.lib.objects.PathObject> list) Deprecated.Get all the PathObjects immediately connected to the specified object, adding the points into a collection (or creating a new one).List<qupath.lib.objects.PathObject> getConnectedObjects(qupath.lib.objects.PathObject pathObject) Deprecated.Collection<qupath.lib.objects.PathObject> Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface qupath.lib.objects.PathObjectConnectionGroup
getPathObjectsForRegion
-
Constructor Details
-
DelaunayTriangulation
public DelaunayTriangulation(List<qupath.lib.objects.PathObject> pathObjects, double pixelWidth, double pixelHeight, double distanceThresholdPixels, boolean limitByClass) Deprecated.Compute Delaunay triangulation - optionally omitting links above a fixed distance.- Parameters:
pathObjects-pixelWidth-pixelHeight-distanceThresholdPixels- - Note, this is in *pixels* (and not scaled according to pixelWidth & pixelHeight)limitByClass-
-
-
Method Details
-
getConnectedObjects
public List<qupath.lib.objects.PathObject> getConnectedObjects(qupath.lib.objects.PathObject pathObject) Deprecated.- Specified by:
getConnectedObjectsin interfacequpath.lib.objects.PathObjectConnectionGroup
-
getPathObjects
Deprecated.- Specified by:
getPathObjectsin interfacequpath.lib.objects.PathObjectConnectionGroup
-
getConnectedNodes
@Deprecated public Collection<double[]> getConnectedNodes(Collection<qupath.lib.objects.PathObject> pathObjects, Collection<double[]> connections) Deprecated.Get connected nodes. Returned as a list where pairs are consecutive, i.e. get(i) links to get(i+1) (although get(i+1) doesn't necessarily link to get(i+2)...)- Parameters:
pathObjects-connections-- Returns:
-
getConnectedNodes
public Collection<qupath.lib.objects.PathObject> getConnectedNodes(qupath.lib.objects.PathObject pathObject, Collection<qupath.lib.objects.PathObject> list) Deprecated.Get all the PathObjects immediately connected to the specified object, adding the points into a collection (or creating a new one).- Parameters:
pathObject-list-- Returns:
-
getConnectedClusters
Deprecated.Get a list of PathObjects that are connected to each other in this triangulation. Warning: This list is recomputed on every call, therefore references should be cached by the caller if necessary to avoid too much recomputation.- Returns:
-
addClusterMeasurements
public void addClusterMeasurements()Deprecated.Compute mean measurements from clustering all connected objects. -
addNodeMeasurements
public void addNodeMeasurements()Deprecated.Add Delaunay measurements to each pathObject. -
containsObject
public boolean containsObject(qupath.lib.objects.PathObject pathObject) Deprecated.- Specified by:
containsObjectin interfacequpath.lib.objects.PathObjectConnectionGroup
-
DelaunayTools.Subdivision