Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionv0.6.0. Use
MinimalMetadataStore
instead.v0.6.0, to be replaced byDelaunayTools.Subdivision
-
Deprecated ClassesClassDescriptionsince v0.6.0; use
ImageJScriptRunner
andImageJScriptRunnerController
instead.since 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.v0.6.0, to be replaced byDelaunayTools.Subdivision
since v0.6.0 (but really not used in recent versions)v0.6.0 to be replaced byDelaunayTools
. See https://github.com/qupath/qupath/issues/1590 for discussion of the problems with this command.v0.6.0, to be replaced byDelaunayTools.Subdivision
-
Deprecated FieldsFieldDescription
-
Deprecated MethodsMethodDescriptionsince v0.6.0; use
IJProcessing.labelsToRoisArray(ImageProcessor)
orIJProcessing.labelsToRois(ImageProcessor)
instead.since v0.6.0; useIJProcessing.wandToRoi(Wand)
instead.v0.6.0 useDelaunayTools.Subdivision.getObjects()
instead.The 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 ofGeneralTools.stripExtension(String)
, which does the same thing but has a more descriptive name. See https://github.com/qupath/qupath/pull/1275 for details.v0.6.0, usePixelProcessor.Builder.postProcess(ObjectProcessor)
insteaduseRenderedImageServer.Builder.renderer(ImageRenderer)
instead (since anImageDisplay
is also anImageRenderer
.v0.6.0 use insteadObservableMeasurementTableData.getBackingList()
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()
v0.6.0 as #paintConnections(DelaunayTools.Subdivision, PathObjectHierarchy, Graphics2D, Color, double, ImagePlane) is preferredsince 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)
insteadsince v0.6.0since v0.6.0since v0.6.0This 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.6.0 useMeasurementList.getNames()
insteadv0.6.0 useMeasurementList.removeAll(String...)
insteadsince 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)
v0.6.0, usePathObjectHierarchy.getAllObjectsForRegion(ImageRegion, Collection)
or its related methods instead.v0.6.0; usePathObjectHierarchy.getAllPointObjects()
instead, and filter by object type if required.as of v0.6.0. UseMinimalMetadataStore.getMetadata()
with theMap.keySet()
method insteadas of v0.6.0. UseMinimalMetadataStore.getMetadata()
with theMap.get(Object)
method insteadas of v0.6.0. UseMinimalMetadataStore.getMetadata()
with theMap.get(Object)
method insteadas of v0.6.0. UseMinimalMetadataStore.getMetadata()
with theMap.put(Object, Object)
method insteadv0.6.0, usePathObject.getMetadata()
to directly access the metadata instead.v0.6.0, usePathObject.getMetadata()
to directly access the metadata instead.v0.6.0, usePathObject.getMetadata()
to directly access the metadata instead.v0.6.0, usePathObject.getMetadata()
to directly access the metadata instead.v0.6.0, usePathObject.getMetadata()
to directly access the metadata instead.since v0.4.0v0.6.0. UsePathObject.getMetadata()
to directly access metadata instead.v0.6.0. UsePathObject.getMetadata()
to directly access metadata instead.v0.6.0. UsePathObject.getMetadata()
to directly access metadata instead.v0.6.0. UsePathObject.getMetadata()
to directly access metadata instead.v0.6.0. UseTMACoreObject.putMetadataValue(String, String)
instead.UseObjectMerger.process(Collection)
insteaduseParameterList.convertToJson(Map)
instead.useParameterList.convertToJson(ParameterList)
instead.v0.6.0, useMinimalMetadataStore.getMetadata()
instead to directly access the metadata.v0.6.0, useMinimalMetadataStore.getMetadata()
instead to directly access the metadata.v0.6.0, useMinimalMetadataStore.getMetadata()
instead to directly access the metadata.v0.6.0, useMinimalMetadataStore.getMetadata()
instead to directly access the metadata.v0.6.0, useMinimalMetadataStore.getMetadata()
instead to directly access the metadata.v0.6.0, useMinimalMetadataStore.getMetadata()
instead to directly access the metadata.v0.6.0, useMinimalMetadataStore.getMetadata()
instead to directly access the metadata.v0.4.0 useImageRegion.getImagePlane()
instead (changed for better consistency with other classes)v0.6.0, useRoiTools.getShapeROI(Shape, ImagePlane, double)
instead. This method does not necessarily give the expected results for shapes that do not represent an area.In the usual case whereBufferedImage
is the class, useQP.buildServer(String, String...)
instead because it handles default args.For naming consistency; use #removeAllObjects instead.For naming consistency; use #removeAllObjects instead.For consistency in naming; use #removeAnnotationMeasurements instead.For consistency in naming; use #removeMeasurements instead.For naming consistency; use #removeAnnotations instead.For consistency in naming; use #removeCellMeasurements instead.For consistency in naming; use #removeCellMeasurements instead.For consistency in naming; use #removeDetectionMeasurements instead.For consistency in naming; use #removeDetectionMeasurements instead.For naming consistency; use #removeDetections instead.For consistency in naming; use #removeMeasurements instead.For consistency in naming; use #removeMeasurements instead.For consistency in naming; use #removeMeasurements instead.For consistency in naming; use #removeMeasurements instead.For consistency in naming; use #removeMeasurements instead.For consistency in naming; use #removeRootMeasurements instead.For consistency in naming; use #removeRootMeasurements instead.For consistency in naming; use #removeSelectedObjects instead.For consistency in naming; use #removeSelectedObjects instead.For consistency in naming; use #removeTileMeasurements instead.For consistency in naming; use #removeTileMeasurements instead.For consistency in naming; use #removeTMACoreMeasurements instead.For consistency in naming; use #removeTMACoreMeasurements instead.For naming consistency; use #removeTMAGrid instead.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)
v0.6.0, useQP.createDirectoryInProject(String...)
instead.since v0.4.0; useDnnModels.registerDnnModel(Class, String)
instead.OpenCVTools.createDisk(int, boolean)
gives more reliable shapes.UseOpenCVTools.label(Mat, Mat, int)
instead.
-
Deprecated Constructors