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 TypeMethodDescriptionbooleanstatic List<ClassificationResolution>getDefaultResolutions(ImageData<?> imageData, ClassificationResolution selected) Get a list of default resolutions to show, derived fromPixelCalibrationobjects.getName()Get the simple name for this resolution.Get thePixelCalibrationused to apply this resolution.inthashCode()toString()
-
Method Details
-
getName
Get the simple name for this resolution.- Returns:
-
getPixelCalibration
Get thePixelCalibrationused 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 fromPixelCalibrationobjects.- Parameters:
imageData-selected-- Returns:
-