Deprecated API
Contents
-
ClassDescriptionsince v0.5.0.since v0.4.0since v0.5.0;
GridPaneUtils
contains many of the features.since v0.4.0 in favor of methods added toPathClass
directly.
-
FieldDescription
-
MethodDescriptionThe naming and order of arguments is misleading. The output is a packed ARGB value, but arguments are provided in the order red, green, blue, alpha.v0.5.0 in favor of
GeneralTools.stripExtension(String)
, which does the same thing but has a more descriptive name. See https://github.com/qupath/qupath/pull/1275 for details.useRenderedImageServer.Builder.renderer(ImageRenderer)
instead (since anImageDisplay
is also anImageRenderer
.usePropertyItemBuilder
insteadusePropertyItemBuilder
insteadusePropertyItemBuilder
insteadusePropertyItemBuilder
insteadusePropertyItemBuilder
insteadusePropertyItemBuilder
insteadsince v0.5.0 - avoid direct use of thePreferences
object, since this may be invalidated by a call toPathPrefs.resetPreferences()
since v0.5.0; useQuPathGUI.getThreadPoolManager()
since v0.5.0; useQuPathGUI.getThreadPoolManager()
since v0.5.0; useQuPathGUI.getThreadPoolManager()
since v0.4.0. Implementations ofImageServer
should overrideImageServer.readRegion(RegionRequest)
instead. This method will be removed in a future release; it exists now only to maintain compatibility with QuPath extensions that have not yet been updated to use the newer method.in favor ofLabeledImageServer.Builder.useInstanceLabels()
v0.4.0 useTileRequest.getImagePlane()
instead (changed for better consistency with other classes)usePathIO.getObjectFileExtensions(boolean)
insteadThis was useful in QuPath v0.1.2 and earlier, since all information to construct a server was stored within its path. In v0.2 and later, the server path is in general not sufficient to construct a server, and this method lingers only for backwards compatibility. It will be removed in a later version.v0.4.0 useMeasurementList.put(String, double)
insteadsince v0.4.0; replaced byMeasurementList.containsKey(String)
since v0.4.0; using names is preferred over indexing butMeasurementList.getMeasurementNames()
can still be usedsince v0.4.0; usingMeasurementList.get(String)
is preferred over using an indexsince v0.4.0; useMeasurementList.get(String)
insteadsince v0.4.0; replaced byMeasurementList.put(String, double)
since v0.4.0, since there is no real need to create aMeasurement
object and we don't currently use dynamic measurementssince v0.4.0; the initial implementation of dynamic measurements was never usedsince v0.4.0, usePathClass.getInstance(PathClass, String, Integer)
since v0.4.0, usePathClass.getNegative(PathClass)
since v0.4.0, usePathClass.getOnePlus(PathClass)
since v0.4.0 in favor ofPathClass.getInstance(String, Integer)
orPathClass.fromString(String, Integer)
since v0.4.0 in favor ofPathClass.fromArray(String...)
since v0.4.0 in favor ofPathClass.fromCollection(java.util.Collection)
since v0.4.0, usePathClass.StandardPathClasses
since v0.4.0, use insteadPathClass.NULL_CLASS
since v0.4.0, usePathClass.getPositive(PathClass)
since v0.4.0 in favor ofPathClass.getSingleton(PathClass)
since v0.4.0, usePathClass.getThreePlus(PathClass)
since v0.4.0, usePathClass.getTwoPlus(PathClass)
since v0.4.0; usePathObjectHierarchy.addObject(PathObject)
instead (for naming consistency)since v0.4.0 (the name was confusing because it wasn't intended primarily to listen to changes within individual PathObjects)since v0.4.0; usePathObjectHierarchy.addObjects(Collection)
insteadsince v0.4.0, usePathObjectHierarchy.addObject(PathObject, boolean)
instead (for naming consistency)since v0.4.0 (the name was confusing because it wasn't intended primarily to listen to changes within individual PathObjects)since v0.4.0, replaced byPathObject.addChildObject(PathObject)
since v0.4.0, replaced byPathObject.addChildObjects(Collection)
since v0.4.0, replaced byPathObject.clearChildObjects()
since v0.4.0, usePathObject.getColor()
instead.since v0.4.0, replaced byPathObject.hasChildObjects()
since v0.4.0, replaced byPathObject.removeChildObject(PathObject)
since v0.4.0, replaced byPathObject.removeChildObjects(Collection)
since v0.4.0, usePathObject.setColor(Integer)
instead.since v0.4.0useParameterList.convertToJson(Map)
instead.useParameterList.convertToJson(ParameterList)
instead.use insteadUriResource.getURIs()
use insteadUriResource.updateURIs(Map)
v0.4.0 useImageRegion.getImagePlane()
instead (changed for better consistency with other classes)In the usual case whereBufferedImage
is the class, useQP.buildServer(String, String...)
instead because it handles default args.v0.4.0 useQP.createFullImageAnnotation(boolean)
insteadv0.4.0 useQP.createFullImageAnnotation(boolean, int, int)
insteadretained only for compatibility of v0.2.0 milestone releases; use instead #detectionCentroidDistances(boolean)retained only for compatibility of v0.2.0 milestone releases; use instead #detectionToAnnotationDistances(boolean)Use insteadQP.makeRGB(int, int, int)
orQP.makeARGB(int, int, int, int)
since v0.4.0; useDnnModels.registerDnnModel(Class, String)
instead.OpenCVTools.createDisk(int, boolean)
gives more reliable shapes.UseOpenCVTools.label(Mat, Mat, int)
instead.