Package qupath.process.gui.commands.ml
Class ClassificationResolution
java.lang.Object
qupath.process.gui.commands.ml.ClassificationResolution
Wrapper for a
PixelCalibration
to be used to define classifier resolution.
This makes it possible to provide a name and override toString()
to return a
more readable representation of the resolution.
- Author:
- Pete Bankhead
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static List
<ClassificationResolution> getDefaultResolutions
(ImageData<?> imageData, ClassificationResolution selected) Get a list of default resolutions to show, derived fromPixelCalibration
objects.getName()
Get the simple name for this resolution.Get thePixelCalibration
used to apply this resolution.int
hashCode()
toString()
-
Method Details
-
getName
Get the simple name for this resolution.- Returns:
-
getPixelCalibration
Get thePixelCalibration
used to apply this resolution.- Returns:
-
toString
-
hashCode
public int hashCode() -
equals
-
getDefaultResolutions
public static List<ClassificationResolution> getDefaultResolutions(ImageData<?> imageData, ClassificationResolution selected) Get a list of default resolutions to show, derived fromPixelCalibration
objects.- Parameters:
imageData
-selected
-- Returns:
-